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;