Selaa lähdekoodia

新增员工档案信息路由

duy 2 vuotta sitten
vanhempi
commit
67d0f2b046
2 muutettua tiedostoa jossa 8 lisäystä ja 1 poistoa
  1. 7 1
      src/router/modules/base.js
  2. 1 0
      src/router/modules/token.js

+ 7 - 1
src/router/modules/base.js

@@ -308,7 +308,13 @@ export default [
                 path: '/people/archive',
                 name: 'people-archive',
                 meta: {title: '员工档案'},
-                component: () => import('~src/views/people/archive.vue')
+                component: () => import('~src/views/people/archive/index.vue')
+            },
+            {
+                path: '/people/archive-info',
+                name: 'people-archive-info',
+                meta: {title: '员工档案信息'},
+                component: () => import('~src/views/people/archive/info.vue')
             },
             {
                 path: '/people/contract',

+ 1 - 0
src/router/modules/token.js

@@ -37,6 +37,7 @@ export default [
     'people',
     'people-company-rule',
     'people-archive',
+    'people-archive-info',
     'people-contract',
     'people-salary',
     'people-entry',