/** 项目管理路由 */ import Layout from '@/layout/managerLayout' /** * 系统管理里的 客户管理 */ const customerAuth = { requiresAuth: true, index: 1, type: 'manager', subType: 'customer' } const customerRouter = { path: 'customer', meta: { icon: 'employeestatistics', title: 'vueTest1', ...customerAuth }, hidden: false, children: [{ path: 'workbench', // 工作台 component: () => import('@/views/test/slot'), meta: { requiresAuth: false, title: 'vueTest-slot1', icon: 'dashboard' } }] } export const managerRouter = { path: '/manager', component: Layout, // redirect: '/bi/customerTotal', name: 'manager', hidden: true, meta: { title: '组织选择', index: 0, type: 'manager' }, children: [ ...customerRouter.children ] } export const managerRouterMenu = [ customerRouter ]