From 2aac44c550cdb242225a2a18f7238fb41c618779 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期一, 06 一月 2025 09:21:57 +0800 Subject: [PATCH] bug修改 --- src/router/index.js | 46 ++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 40 insertions(+), 6 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 49e47c5..7a208d4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -142,19 +142,40 @@ } ] }, + // { + // 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, @@ -177,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: '检验检测信息管理'} } ] }, -- Gitblit v1.9.2