chenjun 1 жил өмнө
parent
commit
5e0a19476b

+ 1 - 1
src/router/routes/routes-file-five.ts

@@ -76,7 +76,7 @@ const HomeRoutes = {
     {
     {
       path: '/dataQuery/messageQuery',
       path: '/dataQuery/messageQuery',
       name: 'MessageQuery',
       name: 'MessageQuery',
-      meta: { title: '局方报文' },
+      meta: { title: '局方报文', roles: ['messageQuery_page']  },
       component: () => import('@/views/dataQuery/message/index.vue'),
       component: () => import('@/views/dataQuery/message/index.vue'),
     },
     },
   ],
   ],

+ 3 - 0
src/router/routes/routes-file-one.ts

@@ -16,6 +16,9 @@ const HomeRoutes = [
   {
   {
     path: '/dashboard',
     path: '/dashboard',
     component: Layout,
     component: Layout,
+    meta: {
+      roles: ['decision_management_cockpit_menu'],
+    },
     children: [
     children: [
       {
       {
         path: '/dashboard',
         path: '/dashboard',