diff --git a/client/src/router/index.js b/client/src/router/index.js index de757bd..b150116 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -61,6 +61,27 @@ export const constantRoutes = [ * the routes that need to be dynamically loaded based on user perms */ export const asyncRoutes = [ + { + path: '/application', + component: Layout, + redirect: '/application/', + name: 'ApplicationManage', + meta: { title: '认证申请', icon: 'example'}, + children: [ + { + path: 'application', + name: 'Applicaion', + component: () => import('@/views/employee/employee'), + meta: { title: '申请受理', icon: 'example', perms: ['application_view'] } + }, + { + path: 'application2', + name: 'Applicaion2', + component: () => import('@/views/employee/train'), + meta: { title: '客户申请受理', icon: 'example', perms: ['application_accept'] } + }, + ] + }, { path: '/employee', component: Layout, @@ -81,12 +102,12 @@ export const asyncRoutes = [ meta: { title: '人员信息变更', icon: 'example', perms: ['employee_update'] }, hidden: true }, - { - path: 'qualification_', - name: 'Qualification_', - component: () => import('@/views/qualification/qualification_'), - meta: { title: '注册资格检索', icon: 'example', perms: ['qualification_view'] } - }, + // { + // path: 'qualification_', + // name: 'Qualification_', + // component: () => import('@/views/qualification/qualification_'), + // meta: { title: '注册资格检索', icon: 'example', perms: ['qualification_view'] } + // }, { path: 'train', name: 'Train', @@ -162,10 +183,16 @@ export const asyncRoutes = [ { path: 'enterprise', - name: 'enterprise', + name: 'Enterprise', component: () => import('@/views/enterprise/enterprise'), meta: { title: '组织信息', icon: 'example', perms: ['enterprise_manage'] } }, + { + path: 'enterprise2', + name: 'Enterprise2', + component: () => import('@/views/enterprise/enterprise'), + meta: { title: '组织信息2', icon: 'example', perms: ['enterprise_manage'] } + }, { path: 'enterprise/create', name: 'EnterpriseCreate', diff --git a/client/src/views/employee/employee.vue b/client/src/views/employee/employee.vue index 94dd698..2d114bd 100644 --- a/client/src/views/employee/employee.vue +++ b/client/src/views/employee/employee.vue @@ -33,7 +33,7 @@ - + @@ -79,10 +79,15 @@ - + - + + + +