From d26d14e5bcd8e999f8b1bf156007568aa50b7c6a Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期三, 19 十一月 2025 10:57:36 +0800
Subject: [PATCH] bug修改
---
src/layout/components/Sidebar/menu.js | 103 ++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 80 insertions(+), 23 deletions(-)
diff --git a/src/layout/components/Sidebar/menu.js b/src/layout/components/Sidebar/menu.js
index 95c8ca5..44d750e 100644
--- a/src/layout/components/Sidebar/menu.js
+++ b/src/layout/components/Sidebar/menu.js
@@ -1,10 +1,32 @@
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',
+ name: 'projectSupplement',
+ meta: { title: '项目补录',icon: 'form',affix: true }
},
{
path: '/institution',
@@ -43,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',
@@ -96,23 +118,58 @@
],
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',
+ name: 'projectSupplement',
+ meta: { title: '项目补录',icon: 'form',affix: true }
+ },
+
{
path: '/userManage',
redirect: '/userManage/supervise',
meta: { title: '用户管理',icon: 'peoples'},
children: [
{
+ path: 'institutionUser',
+ name: 'institutionUser',
+ meta: { title: '机构用户管理',icon: 'list'}
+ },
+ {
path: 'expertUsers',
name: 'expertUsers',
meta: { title: '专家用户管理',icon: 'logininfor'}
} ,
]
},
+ ],
+ noMenu: [
+ {
+ path: '/noMenu',
+ name: 'noMenu',
+ meta: { title: '提示',icon: 'form',affix: true }
+ },
]
}
--
Gitblit v1.9.2