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.
55 lines
1.8 KiB
55 lines
1.8 KiB
export default [
|
|
{
|
|
path: '/uc',
|
|
name: 'UserCenter',
|
|
component: () => import('@/layouts/default.vue'),
|
|
meta: {
|
|
title: '权限中台',
|
|
icon: 'admin-fill',
|
|
layout: true,
|
|
},
|
|
children: [
|
|
{
|
|
path: 'dept',
|
|
name: 'DeptManagement',
|
|
component: () => import('@/views/permission/dept/index.vue'),
|
|
meta: {
|
|
title: '组织架构',
|
|
icon: 'organization-chart',
|
|
},
|
|
},
|
|
{
|
|
path: 'employee',
|
|
name: 'EmployeeManagement',
|
|
component: () => import('@/views/permission/employee/index.vue'),
|
|
meta: {
|
|
title: '员工管理',
|
|
icon: 'Avatar',
|
|
},
|
|
children: [
|
|
{
|
|
path: 'create',
|
|
name: 'CreateEmployee',
|
|
component: () => import('@/views/permission/employee/form.vue'),
|
|
meta: {
|
|
title: '创建员工',
|
|
icon: 'Avatar',
|
|
hidden: true,
|
|
},
|
|
},
|
|
{
|
|
path: 'update/:id',
|
|
name: 'UpdateEmployee',
|
|
component: () => import('@/views/permission/employee/form.vue'),
|
|
meta: {
|
|
title: '编辑员工',
|
|
icon: 'Avatar',
|
|
hidden: true,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
];
|