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.
53 lines
1.4 KiB
53 lines
1.4 KiB
|
6 years ago
|
/*路由表:系统管理*/
|
||
|
|
|
||
|
|
const router = {
|
||
|
6 years ago
|
path: 'system',
|
||
|
6 years ago
|
meta: {title: '系统管理', icon: 'svg-system', alwaysShow: true},
|
||
|
6 years ago
|
children: [
|
||
|
|
{
|
||
|
|
path: 'department',
|
||
|
|
name: 'departmentManagement',
|
||
|
6 years ago
|
component: 'admin/system/department/',
|
||
|
6 years ago
|
meta: {title: '部门管理'}
|
||
|
|
},
|
||
|
6 years ago
|
{
|
||
|
|
path: 'menu',
|
||
|
|
name: 'menuManagement',
|
||
|
6 years ago
|
component: 'admin/system/menu/',
|
||
|
6 years ago
|
meta: {title: '菜单管理', noCache: true}
|
||
|
|
},
|
||
|
6 years ago
|
{
|
||
|
|
path: 'role',
|
||
|
|
name: 'roleManagement',
|
||
|
6 years ago
|
component: 'admin/system/role/',
|
||
|
6 years ago
|
meta: {title: '角色管理'}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'user',
|
||
|
|
name: 'userManagement',
|
||
|
6 years ago
|
component: 'admin/system/user/',
|
||
|
6 years ago
|
meta: {title: '用户管理'}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'category',
|
||
|
|
name: 'categorySetting',
|
||
|
6 years ago
|
component: 'admin/system/category/',
|
||
|
6 years ago
|
meta: {title: '商品分类'}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'customer',
|
||
|
|
name: 'customerManagement',
|
||
|
6 years ago
|
component: 'admin/system/customer/',
|
||
|
6 years ago
|
meta: {title: '客户管理'}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'supplier',
|
||
|
|
name: 'supplierManagement',
|
||
|
6 years ago
|
component: 'admin/system/supplier/',
|
||
|
6 years ago
|
meta: {title: '供应商管理'}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
|
||
|
|
export default router
|