diff --git a/src/router/index.js b/src/router/index.js index 8bb46ed..ba44004 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -232,6 +232,20 @@ export const dynamicRoutes = [ meta: { title: '新增人员', activeMenu: '/enterpriseLibrary/personnel', noCache: true } } ] + }, + { + path: '/personnelDetail/', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:personnel:detail'], + children: [ + { + path: 'index', + component: () => import('@/views/enterpriseLibrary/personnel/components/PersonnelDetail'), + name: 'PersonnelDetail', + meta: { title: '人员详情', activeMenu: '/enterpriseLibrary/personnel', noCache: true } + } + ] } ] diff --git a/src/views/enterpriseLibrary/personnel/components/PersonnelDetail.vue b/src/views/enterpriseLibrary/personnel/components/PersonnelDetail.vue new file mode 100644 index 0000000..a7a39d1 --- /dev/null +++ b/src/views/enterpriseLibrary/personnel/components/PersonnelDetail.vue @@ -0,0 +1,175 @@ + + + + + \ No newline at end of file diff --git a/src/views/enterpriseLibrary/personnel/components/PersonnelForm.vue b/src/views/enterpriseLibrary/personnel/components/PersonnelForm.vue index ae4bc29..a22d9f8 100644 --- a/src/views/enterpriseLibrary/personnel/components/PersonnelForm.vue +++ b/src/views/enterpriseLibrary/personnel/components/PersonnelForm.vue @@ -1,4 +1,4 @@ - +