he wei
2025-04-24 6580deff14f23b8051edf26db58a3b9425ed5b77
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
53
54
55
56
57
58
59
60
61
62
63
64
const Layout = () => import('@/layout/index.vue');
 
const systemRouter = {
  path: '/system',
  component: Layout,
  redirect: 'noRedirect',
  name: 'System',
  meta: {
    title: '系统管理',
    icon: 'sys-hdw'
  },
  children: [
    // {
    //   path: 'region',
    //   component: () => import('@/views/system/region/index.vue'),
    //   name: 'RegionManage',
    //   meta: { title: '区域管理', icon: 'tree', noCache: false }
    // },
    {
      path: 'power',
      component: () => import('@/views/system/user/powerMager.vue'),
      name: 'powerMager',
      meta: { title: '权限管理', icon: 'people-hdw', noCache: false, roles: ['admin', 'manager'] }
    },
    {
      path: 'baoji',
      component: () => import('@/views/system/user/baojiMager.vue'),
      name: 'baojiMager',
      meta: { title: '包机组管理', icon: 'people-hdw', noCache: false, roles: ['admin', 'manager'] }
    },
    {
      path: 'user',
      component: () => import('@/views/system/user/index.vue'),
      name: 'UserManage',
      meta: { title: '用户管理', icon: 'people-hdw', noCache: false, roles: ['admin', 'manager'] }
    },
    {
      path: 'face',
      component: () => import('@/views/system/user/userFaceManager.vue'),
      name: 'UserFaceManage',
      meta: { title: '用户人脸管理', icon: 'people-hdw', noCache: false }
    },
    {
      path: 'logs',
      component: () => import('@/views/system/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;