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;