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.
shop-admin/src/router/modules/system.js

46 lines
1.5 KiB

export default [
{
path: '/system',
name: 'SystemManagement',
component: () => import('@/layouts/default.vue'),
meta: {
title: '系统管理',
icon: 'settings-3-fill',
layout: true,
},
children: [
{
path: 'employee',
name: 'EmployeeManagement',
component: () => import('@/views/system/employee/index.vue'),
meta: {
title: '员工管理',
icon: 'Avatar',
},
children: [
{
path: 'create',
name: 'CreateEmployee',
component: () => import('@/views/system/employee/form.vue'),
meta: {
title: '创建员工',
icon: 'Avatar',
hidden: true,
},
},
{
path: 'update/:id',
name: 'UpdateEmployee',
component: () => import('@/views/system/employee/form.vue'),
meta: {
title: '编辑员工',
icon: 'Avatar',
hidden: true,
},
},
],
},
],
},
];