1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

work complete

This commit is contained in:
GGB
2023-05-05 23:23:29 +08:00
parent 24318d36b7
commit 8b77ccf5e8
4 changed files with 59 additions and 13 deletions

View File

@@ -23,6 +23,52 @@ const router = createRouter({
requiresScrollbar: false,
requiresPadding: true
}
},
{
path: '/work',
name: 'work',
children: [
{
path: 'manage',
component: async () => await import('@/pages/work/Manage.vue'),
name: 'manage',
meta: {
title: '工作管理',
requiresScrollbar: false,
requiresPadding: true
}
},
{
path: 'task',
component: async () => await import('@/pages/work/Task.vue'),
name: 'task',
redirect: '/work/task/todo',
children: [
{
path: 'todo',
component: async () => await import('@/pages/work/Todo.vue'),
name: 'todo'
},
{
path: 'complete',
component: async () =>
await import('@/pages/work/Complete.vue'),
name: 'complete'
}
],
meta: {
title: '工作事项',
requiresScrollbar: false,
requiresPadding: true
}
}
],
meta: {
title: '工作事项',
icon: IconPinnacleWork,
requiresScrollbar: false,
requiresPadding: true
}
}
]
},