feat: view personnel info (wip)
This commit is contained in:
parent
7a9f0451a9
commit
dfeb1061c7
2 changed files with 360 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{ path: '/test', component: () => import('pages/99-test/MainPage.vue') },
|
||||
{
|
||||
path: '',
|
||||
redirect: { name: 'Home' },
|
||||
|
|
@ -21,6 +22,12 @@ const routes: RouteRecordRaw[] = [
|
|||
name: 'PersonnelManagement',
|
||||
component: () => import('pages/02_personnel-management/MainPage.vue'),
|
||||
},
|
||||
{
|
||||
path: '/personnel-management/:id',
|
||||
name: 'PersonnelInfo',
|
||||
component: () =>
|
||||
import('pages/02_personnel-management/person-info/MainPage.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue