feat: add edit dutytable page

This commit is contained in:
Dawn1Ocean
2024-09-19 13:59:56 +08:00
parent f023e4b64a
commit d74cbcb229
4 changed files with 190 additions and 2 deletions
+12 -1
View File
@@ -13,7 +13,11 @@ export default [
routes: [
{ path: '/admin', redirect: '/admin/dutyinfo' },
{ path: '/admin/dutyinfo', name: '值班信息', component: './Admin/DutyInfo' },
{ path: '/admin/dutytable', name: '值班表管理', component: './Admin/DutyTable' },
{
path: '/admin/dutytable',
name: '值班表管理',
component: './Admin/DutyTable',
},
{ path: '/admin/logs', name: '日志', component: './Admin/Logs' },
],
},
@@ -29,6 +33,13 @@ export default [
{ path: '/leader/askleave', name: '请假管理', component: './Leader/AskLeave' },
],
},
{
path: '/admin/dutytable/edit',
component: './Admin/DutyTable/EditTable',
menu: {
hideInMenu: true,
},
},
{ name: '关于我们', icon: 'thunderbolt', path: '/about', component: './About' },
{ path: '/', redirect: '/welcome' },
{ path: '*', layout: false, component: './404' },