feat: add mobile leave form + list + home entry + routes

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-12 13:18:07 +08:00
parent 82bc0d9e41
commit 4debecd523
3 changed files with 210 additions and 0 deletions
+3
View File
@@ -42,6 +42,9 @@ const router = createRouter({
{ path: 'key-visit/new', name: 'KeyVisitForm', component: () => import('@/views/mobile/KeyVisitForm.vue') },
{ path: 'note/new', name: 'DailyNoteForm', component: () => import('@/views/mobile/DailyNoteForm.vue') },
{ path: 'note/:id/edit', name: 'DailyNoteEdit', component: () => import('@/views/mobile/DailyNoteForm.vue') },
{ path: 'leaves', name: 'LeavesList', component: () => import('@/views/mobile/LeavesList.vue') },
{ path: 'leave/new', name: 'LeaveForm', component: () => import('@/views/mobile/LeaveForm.vue') },
{ path: 'leave/:id/edit', name: 'LeaveEdit', component: () => import('@/views/mobile/LeaveForm.vue') },
],
},
// Desktop routes (director/leader-facing)