| | |
| | | children: [ |
| | | { |
| | | path: 'inspectionApplication', |
| | | name: 'InspectionApplication', |
| | | name: 'inspectionApplication', |
| | | component: () => import('@/views/experiment/inspectionApplication/index'), |
| | | meta: { title: '检验申请', icon: 'tree' } |
| | | meta: { title: '新增检验', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'Viewdetails', |
| | | name: 'Viewdetails', |
| | | hidden: true , |
| | | component: () => import('@/views/experiment/inspectionApplication/Viewdetails/index'), |
| | | meta: { title: '详情页', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'planAssignments', |
| | | name: 'PlanAssignments', |
| | | component: () => import('@/views/experiment/planAssignments/index'), |
| | | meta: { title: '检验计划分配', icon: 'tree' } |
| | | component: () => import('@/views/experiment/planAssignments/plan'), |
| | | meta: { title: '检验计划', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'checkTheReport', |
| | |
| | | name: 'Personnel', |
| | | component: () => import('@/views/laboratory/personnel/index'), |
| | | meta: { title: '人员管理', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'org', |
| | | name: 'Organizational', |
| | | component: () => import('@/views/laboratory/organizational/index.vue'), |
| | | meta: { title: '组织架构', icon: 'tree'} |
| | | }, |
| | | { |
| | | path: 'role', |
| | | name: 'Role', |
| | | component: () => import('@/views/laboratory/role/index'), |
| | | meta: { title: '角色管理', icon: 'tree' } |
| | | } |
| | | ] |
| | | }, |
| | |
| | | { |
| | | path: '/message', |
| | | component: Layout, |
| | | redirect: '/message/message', |
| | | redirect: '/message/toDo', |
| | | name: 'Message', |
| | | meta: { title: '消息待办', icon: 'el-icon-s-help' }, |
| | | children: [ |
| | | { |
| | | path: 'toDo', |
| | | name: 'ToDo', |
| | | component: () => import('@/views/message/toDo/index'), |
| | | meta: { title: '我的待办', icon: 'tree' } |
| | | }, |
| | | { |
| | | path: 'message', |
| | | name: 'Message', |
| | | // hidden: true, |
| | | component: () => import('@/views/message/message/index'), |
| | | meta: { title: '我的消息', icon: 'table' } |
| | | // meta: { title: '我的消息', icon: 'table' } |
| | | }, |
| | | { |
| | | path: 'toDo', |
| | | name: 'ToDo', |
| | | component: () => import('@/views/message/toDo/index'), |
| | | meta: { title: '我的待办', icon: 'tree' } |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | |
| | | } |
| | | ] |
| | | }, |
| | | { |
| | | path: '/baseData', |
| | | component: Layout, |
| | | redirect: '/baseData/basicDataMessage', |
| | | meta: { title: '基础数据', icon: 'el-icon-s-tools' }, |
| | | children: [ |
| | | { |
| | | path: '/basicDataMessage', |
| | | name: 'BasicDataMessage', |
| | | component: () => import('@/views/basicData/index'), |
| | | meta: { title: '基础数据', icon: 'el-icon-s-tools' } |
| | | } |
| | | ] |
| | | }, |
| | | // 404 page must be placed at the end !!! |
| | | { path: '*', redirect: '/404', hidden: true } |
| | | ] |