ソースを参照

Merge branch 'bugfix' into 'develop'

隐藏部分菜单

See merge request dcuc-bujz/auth-web!6
林倩 3 年 前
コミット
6a0042ae39

+ 30 - 30
src/router/index.js

@@ -16,9 +16,9 @@ import authObjectManageRouter from './modules/auth-object-manage';
 // 应用功能授权管理
 import appfunAuthManageRouter from './modules/appfun-auth-manage';
 // 数据授权管理
-import dataAuthManageRouter from './modules/data-auth-manage';
+// import dataAuthManageRouter from './modules/data-auth-manage';
 // 名单管理
-import listManageRouter from './modules/list-manage';
+// import listManageRouter from './modules/list-manage';
 // 日志管理
 import logManage from './modules/log-manage';
 // 统计报表
@@ -111,34 +111,34 @@ export const asyncRouterMap = [
       }
     ]
   },
-  dataAuthManageRouter,
+  // dataAuthManageRouter,
   // // 权限自助管理
-  {
-    path: '/permission-selfhelp-manage',
-    component: Layout,
-    meta: { title: '权限自助管理', icon: 'icon-handle', noCache: true },
-    children: [
-      {
-        path: 'init',
-        component: () => import('@/pages/permission-selfhelp-manage'),
-        name: 'permission-selfhelp-manage',
-        meta: { title: '权限自助管理', noCache: true }
-      }
-    ]
-  },
-  {
-    path: '/data-auth-search',
-    component: Layout,
-    meta: { title: '数据权限查询', icon: 'icon-othersearch', noCache: true },
-    children: [
-      {
-        path: 'init',
-        component: () => import('@/pages/permission-to-search/data-auth-search.vue'),
-        name: 'data-auth-search',
-        meta: { title: '数据权限查询', noCache: true, layout: "page" }
-      }
-    ]
-  },
+  // {
+  //   path: '/permission-selfhelp-manage',
+  //   component: Layout,
+  //   meta: { title: '权限自助管理', icon: 'icon-handle', noCache: true },
+  //   children: [
+  //     {
+  //       path: 'init',
+  //       component: () => import('@/pages/permission-selfhelp-manage'),
+  //       name: 'permission-selfhelp-manage',
+  //       meta: { title: '权限自助管理', noCache: true }
+  //     }
+  //   ]
+  // },
+  // {
+  //   path: '/data-auth-search',
+  //   component: Layout,
+  //   meta: { title: '数据权限查询', icon: 'icon-othersearch', noCache: true },
+  //   children: [
+  //     {
+  //       path: 'init',
+  //       component: () => import('@/pages/permission-to-search/data-auth-search.vue'),
+  //       name: 'data-auth-search',
+  //       meta: { title: '数据权限查询', noCache: true, layout: "page" }
+  //     }
+  //   ]
+  // },
   // 权限综合查询
   //   path: '/permission-to-searchS',
   //   component: Layout,
@@ -152,7 +152,7 @@ export const asyncRouterMap = [
   //     }
   //   ]
   // },
-  listManageRouter,
+  // listManageRouter,
   ...logManage,
   statisticsManageRouter
 ];

+ 6 - 6
src/router/modules/auth-object-manage.js

@@ -27,12 +27,12 @@ const componentsRouter = {
       name: 'service-resource-manage',
       meta: { title: '服务资源管理', noCache: true, permission: ['QXGL_SQGL_KTGL_FWZYGL'] }
     },
-    {
-      path: 'sort-code-manage',
-      component: () => import('@/pages/auth-object-manage/sort-code-manage'),
-      name: 'sort-code-manage',
-      meta: { title: '数据分级分类管理', noCache: true, permission: ['QXGL_SQGL_KTGL_SJFJFLBM'] }
-    },
+    // {
+    //   path: 'sort-code-manage',
+    //   component: () => import('@/pages/auth-object-manage/sort-code-manage'),
+    //   name: 'sort-code-manage',
+    //   meta: { title: '数据分级分类管理', noCache: true, permission: ['QXGL_SQGL_KTGL_SJFJFLBM'] }
+    // },
     {
       path: 'object-prop-manage',
       component: () => import('@/pages/auth-object-manage/object-prop-manage'),

+ 6 - 6
src/router/modules/auth-subject-manage.js

@@ -30,12 +30,12 @@ const componentsRouter =
           name: 'app-prop-manage',
           meta: { title: '应用管理', noCache: true, permission: ['QXGL_SQGL_ZTGL_YYSXGL'] }
         },
-        {
-          path: 'subject-prop-manage',
-          component: () => import('@/pages/auth-subject-manage/subject-prop-manage'),
-          name: 'subject-prop-manage',
-          meta: { title: '主体属性管理', noCache: true, permission: ['QXGL_SQGL_ZTGL_ZTSXLGL'],layout: 'page' }
-        }
+        // {
+        //   path: 'subject-prop-manage',
+        //   component: () => import('@/pages/auth-subject-manage/subject-prop-manage'),
+        //   name: 'subject-prop-manage',
+        //   meta: { title: '主体属性管理', noCache: true, permission: ['QXGL_SQGL_ZTGL_ZTSXLGL'],layout: 'page' }
+        // }
       ]
     }
 export default componentsRouter;

+ 28 - 28
src/router/modules/log-manage.js

@@ -9,34 +9,34 @@
 import Layout from '@/pages/layout/layout';
 const componentsRouter = [
   // // 异常鉴权预警管理
-  {
-    path: '/err-auth-earlywarning-manage',
-    component: Layout,
-    meta: { title: '异常鉴权预警管理', icon: 'icon-alarm', noCache: true, permission: ['QXGL_RZGL_YCJQYJGL'] },
-    alwaysShow: true,
-    children: [
-      {
-        path: 'auth-earlywarning-plan',
-        component: () => import('@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-plan'),
-        name: 'auth-earlywarning-plan',
-        meta: {
-          title: '异常鉴权预警管理',
-          noCache: true,
-          permission: ['QXGL_RZGL_YCJQYJGL_JQYJFA']
-        }
-      },
-      {
-        path: 'auth-earlywarning-info',
-        component: () => import('@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-info'),
-        name: 'auth-earlywarning-info',
-        meta: {
-          title: '异常鉴权预警查询',
-          noCache: true,
-          permission: ['QXGL_RZGL_YCJQYJGL_JQYJXX']
-        }
-      }
-    ]
-  },
+  // {
+  //   path: '/err-auth-earlywarning-manage',
+  //   component: Layout,
+  //   meta: { title: '异常鉴权预警管理', icon: 'icon-alarm', noCache: true, permission: ['QXGL_RZGL_YCJQYJGL'] },
+  //   alwaysShow: true,
+  //   children: [
+  //     {
+  //       path: 'auth-earlywarning-plan',
+  //       component: () => import('@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-plan'),
+  //       name: 'auth-earlywarning-plan',
+  //       meta: {
+  //         title: '异常鉴权预警管理',
+  //         noCache: true,
+  //         permission: ['QXGL_RZGL_YCJQYJGL_JQYJFA']
+  //       }
+  //     },
+  //     {
+  //       path: 'auth-earlywarning-info',
+  //       component: () => import('@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-info'),
+  //       name: 'auth-earlywarning-info',
+  //       meta: {
+  //         title: '异常鉴权预警查询',
+  //         noCache: true,
+  //         permission: ['QXGL_RZGL_YCJQYJGL_JQYJXX']
+  //       }
+  //     }
+  //   ]
+  // },
   {
     path: '/auth-risk-detection',
     component: Layout,