he wei
2025-05-19 397c6fb125d5fe877cb175dcf364bca3f8648545
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
const Layout = () => import('@/layout/index.vue');
 
const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: 'noRedirect',
  name: 'System',
  meta: {
    title: '系统管理',
    icon: 'sys-hdw'
  },
  children: [
    {
      path: 'power',
      component: () => import('@/views/user/powerMager.vue'),
      name: 'powerMager',
      meta: { title: '权限管理', icon: 'people-hdw', noCache: false, permit: 'permit_query_permit' }
    },
    {
      path: 'baoji',
      component: () => import('@/views/user/baojiMager.vue'),
      name: 'baojiMager',
      meta: { title: '包机组管理', icon: 'people-hdw', noCache: false, permit: 'usr_query_permit' }
    },
    {
      path: 'user',
      component: () => import('@/views/user/index.vue'),
      name: 'UserManage',
      meta: { title: '用户管理', icon: 'people-hdw', noCache: false, permit: 'usr_query_permit' }
    },
    // {
    //   path: 'logs',
    //   component: () => import('@/views/logs.vue'),
    //   name: 'sysLogs',
    //   meta: { title: '系统日志', icon: 'log-hdw', noCache: false }
    // },
    // {
    //   path: 'config',
    //   component: () => import('@/views/system/config.vue'),
    //   name: 'config',
    //   meta: { title: '系统配置', icon: 'log-hdw', noCache: false }
    // },
    // {
    //   path: 'mapSettings',
    //   component: () => import('@/views/system/mapSettings.vue'),
    //   name: 'mapSettings',
    //   meta: { title: '地图配置', icon: 'log-hdw', noCache: false, roles: ['admin', 'manager'] }
    // }
  ]
};
 
export default systemRouter;