feat: add dept management page

This commit is contained in:
Vben
2021-03-01 22:54:21 +08:00
parent 37669d067c
commit 3b8ca420c7
26 changed files with 662 additions and 168 deletions

View File

@@ -11,6 +11,16 @@ const menu: MenuModule = {
path: 'account',
name: t('routes.demo.system.account'),
},
{
path: 'dept',
name: t('routes.demo.system.dept'),
},
{
path: 'changePassword',
name: t('routes.demo.system.password'),
},
],
},
};

View File

@@ -15,12 +15,31 @@ const system: AppRouteModule = {
children: [
{
path: 'account',
name: 'Account',
name: 'AccountManagement',
meta: {
title: t('routes.demo.system.account'),
ignoreKeepAlive: true,
},
component: () => import('/@/views/demo/system/account/index.vue'),
},
{
path: 'dept',
name: 'DeptManagement',
meta: {
title: t('routes.demo.system.dept'),
ignoreKeepAlive: true,
},
component: () => import('/@/views/demo/system/dept/index.vue'),
},
{
path: 'changePassword',
name: 'ChangePassword',
meta: {
title: t('routes.demo.system.password'),
ignoreKeepAlive: true,
},
component: () => import('/@/views/demo/system/password/index.vue'),
},
],
};