mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
attendance
This commit is contained in:
@@ -31,7 +31,7 @@ const router = createRouter({
|
||||
{
|
||||
path: 'manage',
|
||||
component: async () => await import('@/pages/work/Manage.vue'),
|
||||
name: 'manage',
|
||||
name: 'workManage',
|
||||
meta: {
|
||||
title: '工作管理',
|
||||
requiresScrollbar: false,
|
||||
@@ -69,6 +69,40 @@ const router = createRouter({
|
||||
requiresScrollbar: false,
|
||||
requiresPadding: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/attendance',
|
||||
name: 'attendance',
|
||||
children: [
|
||||
{
|
||||
path: 'manage',
|
||||
component: async () =>
|
||||
await import('@/pages/attendance/AttendanceHome.vue'),
|
||||
name: 'attendanceManage',
|
||||
meta: {
|
||||
title: '考勤管理',
|
||||
requiresScrollbar: false,
|
||||
requiresPadding: true
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'user',
|
||||
component: async () =>
|
||||
await import('@/pages/attendance/UserAttendance.vue'),
|
||||
name: 'user',
|
||||
meta: {
|
||||
title: '员工考勤',
|
||||
requiresScrollbar: false,
|
||||
requiresPadding: true
|
||||
}
|
||||
}
|
||||
],
|
||||
meta: {
|
||||
title: '考勤',
|
||||
icon: IconPinnacleAttendance,
|
||||
requiresScrollbar: false,
|
||||
requiresPadding: true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user