lex-xin vor 3 Jahren
Ursprung
Commit
d3301f5ae1

+ 33 - 21
src/store/modules/permission.js

@@ -830,7 +830,19 @@ function setDetailRoute(accessedRoutes) {
             activeMenu: '/parameter/adminManager',
             id: '3993'
           }
-        },
+        }, {
+          name: '扣费记录',
+          path: 'chargingRecord',
+          component: () => import('@/views/tenantSetting/chargingRecord.vue'),
+          hidden: true,
+          meta: {
+            noCache: '1',
+            title: '扣费记录',
+            belongTopMenu: "/systemManager",
+            activeMenu: '/productService',
+            id: '4741'
+          }
+        }
         // /parameter/adminManager adminOperation
       ])
     }
@@ -847,13 +859,7 @@ function setDetailRoute(accessedRoutes) {
           activeMenu: '/serviceManager/serviceList',
           id: '4631'
         }
-      }])
-    }
-    if (route.path == '/federationManager') {
-      if (!route.children) {
-        route.children = []
-      }
-      route.children = route.children.concat([{
+      }, {
         name: '添加&修改',
         path: 'organOperation',
         component: () => import('@/views/organManager/organOperation'),
@@ -861,24 +867,30 @@ function setDetailRoute(accessedRoutes) {
         meta: {
           noCache: '1',
           title: '添加&修改',
-          belongTopMenu: "/federationManager",
+          belongTopMenu: "/platformManager",
           activeMenu: '/organManager/organList',
           id: '4652'
         }
-      }, {
-        name: '扣费记录',
-        path: 'chargingRecord',
-        component: () => import('@/views/tenantSetting/chargingRecord.vue'),
-        hidden: true,
-        meta: {
-          noCache: '1',
-          title: '扣费记录',
-          belongTopMenu: "/federationManager",
-          activeMenu: '/productService',
-          id: '4741'
-        }
       }])
     }
+    // if (route.path == '/federationManager') {
+    //   if (!route.children) {
+    //     route.children = []
+    //   }
+    //   route.children = route.children.concat([{
+    //     name: '扣费记录',
+    //     path: 'chargingRecord',
+    //     component: () => import('@/views/tenantSetting/chargingRecord.vue'),
+    //     hidden: true,
+    //     meta: {
+    //       noCache: '1',
+    //       title: '扣费记录',
+    //       belongTopMenu: "/federationManager",
+    //       activeMenu: '/productService',
+    //       id: '4741'
+    //     }
+    //   }])
+    // }
   })
   return accessedRoutes
 }

+ 1 - 1
src/views/organManager/index.vue

@@ -218,7 +218,7 @@ export default {
       }
 
       this.$router.push({
-        path: '/federationManager/organOperation',
+        path: '/platformManager/organOperation',
         query: {
           type: type,
           id: row?.id || null

+ 1 - 1
src/views/productService/index.vue

@@ -115,7 +115,7 @@ export default {
       } catch(e) { }
     },
     onDetail() {
-      this.$router.push('/federationManager/chargingRecord')
+      this.$router.push('/systemManager/chargingRecord')
     }
   }
 };