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

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