From 36185b6da7383751f9bf56b427b50e075e686005 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期四, 14 十一月 2024 11:10:19 +0800 Subject: [PATCH] 新增页面 --- src/router/index.js | 152 +++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 123 insertions(+), 29 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 4d25555..02582a3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -52,7 +52,16 @@ component: () => import('@/views/error/401'), hidden: true }, - + { + path: '/fillForm', + component: () => import('@/views/safetyReview/expertManage/fillForm/index.vue'), + hidden: true + }, + { + path: '/checkProgress', + component: () => import('@/views/safetyReview/expertManage/checkProgress/index.vue'), + hidden: true + }, { path: '/expertUser', component: () => import('@/views/safetyReview/userManage/expertUsers/index.vue'), @@ -73,21 +82,34 @@ component: () => import('@/views/safetyReview/baseSet/area/index.vue'), hidden: true }, + // { + // path: '', + // component: Layout, + // redirect: '/index', + // children: [ + // { + // path: '/index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '首页',icon: 'form', affix: true } + // } + // ] + // }, { - path: '', + path: '/noMenu', component: Layout, - redirect: '/index', + redirect: '/noMenu', children: [ { - path: '/index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '首页',icon: 'form', affix: true } + path: '/noMenu', + component: () => import('@/views/error/noMenu.vue'), + name: 'noMenu', + meta: { title: '提示',icon: 'form', affix: true } } ] }, { - path: '/institution', + path: '', component: Layout, redirect: '/institution', children: [ @@ -126,6 +148,46 @@ ] }, { + path: '/project', + component: Layout, + redirect: '/project', + children: [ + { + path: '/project', + component: () => import('@/views/safetyReview/projectManage/index.vue'), + name: 'Project', + meta: { title: '项目管理',icon: 'form', affix: true } + } + ] + }, + { + path: '/projectSupplement', + component: Layout, + redirect: '/projectSupplement', + children: [ + { + path: '/projectSupplement', + component: () => import('@/views/safetyReview/projectSupplement/index.vue'), + name: 'projectSupplement', + meta: { title: '项目补录',icon: 'form', affix: true } + } + ] + }, + { + path: '/process', + component: Layout, + redirect: '/process', + children: [ + { + path: '/process', + component: () => import('@/views/safetyReview/projectManage/process.vue'), + name: 'Process', + meta: { title: '项目信息管理'} + } + ] + }, + + { path: '/userManage', component: Layout, redirect: '/userManage/supervise', @@ -154,19 +216,19 @@ { path: '/expertManage', component: Layout, - redirect: '/expertManage/expert', + redirect: '/expertManage/experts', meta: { title: '厅专家库管理'}, children: [ { - path: 'expert', - component: () => import('@/views/index'), + path: 'experts', + component: () => import('@/views/safetyReview/expertManage/experts/index.vue'), name: 'expert', meta: { title: '厅专家库',icon: 'form'} }, { - path: 'record', - component: () => import('@/views/index'), - name: 'record', + path: 'applyRecords', + component: () => import('@/views/safetyReview/expertManage/applyRecords/index.vue'), + name: 'applyRecords', meta: { title: '专家申请记录',icon: 'form'} }, { @@ -178,29 +240,61 @@ ] }, { - path: '/baseSet', + path: '/postEvaluation', component: Layout, - redirect: '/baseSet/evaluate', - meta: { title: '基础设置'}, + redirect: '/postEvaluation', children: [ + { + path: '/postEvaluation', + component: () => import('@/views/safetyReview/expertManage/postEvaluation/index.vue'), + name: 'postEvaluation', + meta: { title: '事后考评'} + } + ] + }, + { + path: '/evaluateRecord', + component: Layout, + redirect: '/evaluateRecord', + children: [ + { + path: '/evaluateRecord', + component: () => import('@/views/safetyReview/expertManage/evaluateRecord/index.vue'), + name: 'evaluateRecord', + meta: { title: '专家考评记录'} + } + ] + }, + { + path: '/system', + component: Layout, + redirect: '/system/post', + meta: { title: '系统设置'}, + children: [ + { + path: 'dept', + component: () => import('@/views/system/dept/index.vue'), + name: 'dept', + meta: { title: '部门处室管理',icon: 'form'} + }, + { + path: 'expertsType', + component: () => import('@/views/safetyReview/baseSet/expertsType/index.vue'), + name: 'expertsType', + meta: { title: '专业领域管理',icon: 'form'} + }, { path: 'evaluate', component: () => import('@/views/safetyReview/baseSet/evaluateType/index.vue'), name: 'evaluate', - meta: { title: '评价类型管理',icon: 'form'} + meta: { title: '考评项目管理',icon: 'form'} }, { - path: 'business', - component: () => import('@/views/safetyReview/baseSet/business/index.vue'), - name: 'business', - meta: { title: '业务范围',icon: 'form'} - }, - { - path: 'area', - component: () => import('@/views/safetyReview/baseSet/area/index.vue'), - name: 'area', - meta: { title: '地区维护',icon: 'form'} - }, + path: 'openApply', + component: () => import('@/views/safetyReview/baseSet/openApply/index.vue'), + name: 'openApply', + meta: { title: '专家申请设置',icon: 'form'} + } ] }, -- Gitblit v1.9.2