From 39f97341210dabcffbd50f1cea5bd697a602bb7b Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期三, 05 三月 2025 15:34:30 +0800 Subject: [PATCH] bug修改 --- src/router/index.js | 72 +++++++++++++++++++++++++++++++++--- 1 files changed, 66 insertions(+), 6 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index c5f551d..7a208d4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -91,6 +91,19 @@ // ] // }, { + path: '/noMenu', + component: Layout, + redirect: '/noMenu', + children: [ + { + path: '/noMenu', + component: () => import('@/views/error/noMenu.vue'), + name: 'noMenu', + meta: { title: '提示',icon: 'form', affix: true } + } + ] + }, + { path: '', component: Layout, redirect: '/institution', @@ -129,16 +142,50 @@ } ] }, + // { + // 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: '/project', + path: '/projectManage', component: Layout, - redirect: '/project', + redirect: '/projectManage/project', + meta: { title: '项目管理'}, children: [ { - path: '/project', + path: 'project', component: () => import('@/views/safetyReview/projectManage/index.vue'), name: 'Project', - meta: { title: '项目管理',icon: 'form', affix: true } + meta: { title: '安全评价',icon: 'form', affix: true } + }, + { + path: 'test', + component: () => import('@/views/safetyReview/testManage/index.vue'), + name: 'Test', + 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 } } ] }, @@ -151,7 +198,20 @@ path: '/process', component: () => import('@/views/safetyReview/projectManage/process.vue'), name: 'Process', - meta: { title: '项目信息管理'} + meta: { title: '安全评价信息管理'} + } + ] + }, + { + path: '/processTest', + component: Layout, + redirect: '/processTest', + children: [ + { + path: '/processTest', + component: () => import('@/views/safetyReview/testManage/process.vue'), + name: 'ProcessTest', + meta: { title: '检验检测信息管理'} } ] }, @@ -218,7 +278,7 @@ path: 'evaluate', component: () => import('@/views/safetyReview/baseSet/evaluateType/index.vue'), name: 'evaluate', - meta: { title: '评价类型管理',icon: 'form'} + meta: { title: '类型管理',icon: 'form'} }, { path: 'expertsType', -- Gitblit v1.9.2