Browse Source

修改路由词不达意名称

plg 6 months ago
parent
commit
4e745fb7da
3 changed files with 30 additions and 44 deletions
  1. 12 12
      src/router/router.js
  2. 2 2
      src/utils/http.js
  3. 16 30
      src/views/manage/manageMain.vue

+ 12 - 12
src/router/router.js

@@ -38,20 +38,20 @@ export const routerList = [
       },
       //渠道信息、、签约详情
       {
-        path: "channelInfo",
-        name: "channelInfo",
+        path: "principal",
+        name: "principal",
         component: () => import("../views/manage/channelInfo/channelInfo"),
       },
       //渠道信息、、订单结算
       {
-        path: "orderSettlement",
-        name: "orderSettlement",
+        path: "organizational",
+        name: "organizational",
         component: () => import("../views/manage/channelInfo/orderSettlement"),
       },
       //渠道信息、、邀请链接
       {
-        path: "invite",
-        name: "invite",
+        path: "testPlan",
+        name: "testPlan",
         component: () => import("../views/manage/channelInfo/invite"),
       },
       //渠道信息、、邀请链接、、查看记录
@@ -68,15 +68,15 @@ export const routerList = [
       },
       //渠道信息、、员工信息
       {
-        path: "channelUserManage",
-        name: "channelUserManage",
+        path: "userReport",
+        name: "userReport",
         component: () =>
           import("../views/manage/channelInfo/channelUserManage"),
       },
       //渠道管理 、、渠道信息
       {
-        path: "channelManagement",
-        name: "channelManagement",
+        path: "planReport",
+        name: "planReport",
         component: () =>
           import("../views/manage/channelManagement/channelManagement"),
       },
@@ -89,8 +89,8 @@ export const routerList = [
 
       //渠道管理  签约详情
       {
-        path: "contract",
-        name: "contract",
+        path: "comparaAnalysis",
+        name: "comparaAnalysis",
         component: () => import("../views/manage/channelManagement/contract"),
       },
       //渠道管理  签约详情  编辑首页

+ 2 - 2
src/utils/http.js

@@ -17,8 +17,8 @@ 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.4:8089'
-// export const basePath = "http://43.143.198.30: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'

+ 16 - 30
src/views/manage/manageMain.vue

@@ -288,21 +288,21 @@ export default {
           name: "院管理员管理",
           icon: require("../../assets/menu/yuan.png"),
           showItem: true,
-          path: "/manage/channelInfo",
+          path: "/manage/principal",
         },
         {
           id: "2",
           name: "组织架构",
           icon: require("../../assets/menu/zu.png"),
           showItem: true,
-          path: "/manage/orderSettlement",
+          path: "/manage/organizational",
         },
         {
           id: "3",
           name: "测试计划",
           icon: require("../../assets/menu/plan.png"),
           showItem: true,
-          path: "/manage/invite",
+          path: "/manage/testPlan",
         },
         {
           id: "4",
@@ -316,7 +316,7 @@ export default {
               name: "用户报告",
               parentName: "报告分析",
               icon: "el-icon-user-solid",
-              path: "/manage/channelUserManage",
+              path: "/manage/userReport",
               showItem: true,
             },
             {
@@ -324,7 +324,7 @@ export default {
               name: "计划报告",
               parentName: "报告分析",
               icon: "el-icon-user-solid",
-              path: "/manage/channelManagement",
+              path: "/manage/planReport",
               showItem: true,
             },
             {
@@ -332,7 +332,7 @@ export default {
               name: "对比分析",
               parentName: "报告分析",
               icon: "el-icon-user-solid",
-              path: "/manage/contract",
+              path: "/manage/comparaAnalysis",
               showItem: true,
             },
           ],
@@ -390,21 +390,21 @@ export default {
             name: "院管理员管理",
             icon: require("../../assets/menu/yuan.png"),
             showItem: true,
-            path: "/manage/channelInfo",
+            path: "/manage/principal",
           },
           {
             id: "2",
             name: "组织架构",
             icon: require("../../assets/menu/zu.png"),
             showItem: true,
-            path: "/manage/orderSettlement",
+            path: "/manage/organizational",
           },
           {
             id: "3",
             name: "测试计划",
             icon: require("../../assets/menu/plan.png"),
             showItem: true,
-            path: "/manage/invite",
+            path: "/manage/testPlan",
           },
           {
             id: "4",
@@ -418,7 +418,7 @@ export default {
                 name: "用户报告",
                 parentName: "报告分析",
                 icon: "el-icon-user-solid",
-                path: "/manage/channelUserManage",
+                path: "/manage/userReport",
                 showItem: true,
               },
               {
@@ -426,7 +426,7 @@ export default {
                 name: "计划报告",
                 parentName: "报告分析",
                 icon: "el-icon-user-solid",
-                path: "/manage/channelManagement",
+                path: "/manage/planReport",
                 showItem: true,
               },
               {
@@ -434,7 +434,7 @@ export default {
                 name: "对比分析",
                 parentName: "报告分析",
                 icon: "el-icon-user-solid",
-                path: "/manage/contract",
+                path: "/manage/comparaAnalysis",
                 showItem: true,
               },
             ],
@@ -468,26 +468,12 @@ export default {
             showItem: true,
             path: "/manage/userManage",
           },
-          // {
-          //   id: "1",
-          //   name: "院管理员管理",
-          //   icon: require("../../assets/menu/yuan.png"),
-          //   showItem: true,
-          //   path: "/manage/channelInfo",
-          // },
-          // {
-          //   id: "2",
-          //   name: "组织架构",
-          //   icon: require("../../assets/menu/zu.png"),
-          //   showItem: true,
-          //   path: "/manage/orderSettlement",
-          // },
           {
             id: "3",
             name: "测试计划",
             icon: require("../../assets/menu/plan.png"),
             showItem: true,
-            path: "/manage/invite",
+            path: "/manage/testPlan",
           },
           {
             id: "4",
@@ -501,7 +487,7 @@ export default {
                 name: "用户报告",
                 parentName: "报告分析",
                 icon: "el-icon-user-solid",
-                path: "/manage/channelUserManage",
+                path: "/manage/userReport",
                 showItem: true,
               },
               {
@@ -509,7 +495,7 @@ export default {
                 name: "计划报告",
                 parentName: "报告分析",
                 icon: "el-icon-user-solid",
-                path: "/manage/channelManagement",
+                path: "/manage/planReport",
                 showItem: true,
               },
               {
@@ -517,7 +503,7 @@ export default {
                 name: "对比分析",
                 parentName: "报告分析",
                 icon: "el-icon-user-solid",
-                path: "/manage/contract",
+                path: "/manage/comparaAnalysis",
                 showItem: true,
               },
             ],