plg 7 сар өмнө
parent
commit
30b50ac473

BIN
src/assets/report/home.png


BIN
src/assets/report/home1.png


BIN
src/assets/report/home2.png


+ 5 - 0
src/router/router.js

@@ -11,6 +11,11 @@ export const routerList = [
       unKeepAlive: true, // 需要被缓存
     },
     children: [
+      {
+        path: "generalSituation",
+        name: "generalSituation",
+        component: () => import("../views/manage/generalSituation"),
+      },
       {
         path: "adminHome",
         name: "adminHome",

+ 3 - 2
src/utils/http.js

@@ -17,8 +17,9 @@ import { router } from "@/router";
 // axios.defaults.baseURL = 'https://child.hhnao.com:8070';
 // axios.defaults.baseURL = 'https://child.hhnao.com:8070';
 //https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx01d1a44906973cf2&redirect_uri=http%3A%2F%2F192.168.18.51%3A8085&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect
-// export const basePath='http://10.113.248.3:8086'
-export const basePath = "http://10.113.248.4:8089";
+// export const basePath='http://10.113.248.4:8089'
+export const basePath = "http://43.143.198.30:8089";
+// const base_url = 'http://43.143.198.30:8089/'
 // const base_url = 'http://10.113.248.4:8090/'
 // export const basePath='http://43.143.198.30:8086'
 axios.defaults.baseURL = basePath;

+ 4 - 2
src/views/loginNew.vue

@@ -154,9 +154,11 @@ export default {
                 //如果类型返回的是1则为管理员用户
                 // this.$router.push({ path: "/manage/adminHome" });
                 if (res.data.user.roleType == "3") {
-                  this.$router.push({ path: "/manage/userManage" });
+                  this.$router.push({ path: "/manage/generalSituation" });
+                  // this.$router.push({ path: "/manage/userManage" });
                 } else if (res.data.user.roleType == "2") {
-                  this.$router.push({ path: "/manage/userManage" });
+                  // this.$router.push({ path: "/manage/userManage" });
+                  this.$router.push({ path: "/manage/generalSituation" });
                 } else if (res.data.user.roleType == "1") {
                   this.$message({
                     message: '请使用管理账号登录',

+ 11 - 0
src/views/manage/generalSituation.vue

@@ -0,0 +1,11 @@
+<template>
+    <div class="pp">
+        <img style="width:90%;" src="../../assets/report/home2.png" />
+    </div>
+</template>
+<style scoped>
+.pp{
+    display: flex;
+    justify-content: center;
+}
+</style>

+ 14 - 0
src/views/manage/manageMain.vue

@@ -357,6 +357,13 @@ export default {
       //假如是代理用户则 //代理用户菜单不显示
       if (this.userType == "3") {
         this.menuList = [
+          {
+            id: "10",
+            name: "概况",
+            icon: require("../../assets/menu/user.png"),
+            showItem: true,
+            path: "/manage/generalSituation",
+          },
           {
             id: "0",
             name: "用户管理",
@@ -433,6 +440,13 @@ export default {
       } else if (this.userType == "2") {
         //
         this.menuList = [
+          {
+            id: "10",
+            name: "概况",
+            icon: require("../../assets/menu/user.png"),
+            showItem: true,
+            path: "/manage/generalSituation",
+          },
           {
             id: "0",
             name: "用户管理",