You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
902 B
54 lines
902 B
2 years ago
|
/** 项目管理路由 */
|
||
|
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
|
||
|
]
|