From 3f6bf89b1985b6668f02ffcc9af577b412e92e45 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期一, 24 三月 2025 17:17:45 +0800 Subject: [PATCH] bug修改 --- src/layout/components/Sidebar/menu.js | 80 ++++++++++++++++++++++++++++----------- 1 files changed, 57 insertions(+), 23 deletions(-) diff --git a/src/layout/components/Sidebar/menu.js b/src/layout/components/Sidebar/menu.js index 74bc42a..f5c83fb 100644 --- a/src/layout/components/Sidebar/menu.js +++ b/src/layout/components/Sidebar/menu.js @@ -1,10 +1,27 @@ import Layout from '@/layout' const menu = { adminMenu: [ + // { + // path: '/project', + // name: 'Project', + // meta: { title: '项目管理',icon: 'form',affix: true } + // }, { - path: '/project', - name: 'Project', - meta: { title: '项目管理',icon: 'form',affix: true } + path: '/projectManage', + redirect: '/projectManage/project', + meta: { title: '项目管理',icon: 'clipboard'}, + children: [ + { + path: 'project', + name: 'project', + meta: { title: '安全评价',icon: 'monitor'} + }, + { + path: 'test', + name: 'test', + meta: { title: '检验检测',icon: 'list'} + }, + ] }, { path: '/projectSupplement', @@ -48,23 +65,23 @@ } ] }, - { - path: '/expertManage', - redirect: '/expertManage/experts', - meta: { title: '厅专家库管理',icon: 'post'}, - children: [ - { - path: 'experts', - name: 'experts', - meta: { title: '厅专家库',icon: 'server'} - }, - { - path: 'applyRecords', - name: 'applyRecords', - meta: { title: '专家申请记录',icon: 'skill'} - } - ] - }, + // { + // path: '/expertManage', + // redirect: '/expertManage/experts', + // meta: { title: '厅专家库管理',icon: 'post'}, + // children: [ + // { + // path: 'experts', + // name: 'experts', + // meta: { title: '厅专家库',icon: 'server'} + // }, + // { + // path: 'applyRecords', + // name: 'applyRecords', + // meta: { title: '专家申请记录',icon: 'skill'} + // } + // ] + // }, { path: '/baseSet', redirect: '/baseSet/evaluate', @@ -101,10 +118,27 @@ ], agencyMenu: [ + // { + // path: '/project', + // name: 'Project', + // meta: { title: '项目管理',icon: 'form',affix: true } + // }, { - path: '/project', - name: 'Project', - meta: { title: '项目管理',icon: 'form',affix: true } + path: '/projectManage', + redirect: '/projectManage/project', + meta: { title: '项目管理',icon: 'clipboard'}, + children: [ + { + path: 'project', + name: 'project', + meta: { title: '安全评价',icon: 'monitor'} + }, + { + path: 'test', + name: 'test', + meta: { title: '检验检测',icon: 'list'} + }, + ] }, { path: '/projectSupplement', -- Gitblit v1.9.2