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 | 134 ++++++++++++++++++++++++++++++++++----------
1 files changed, 103 insertions(+), 31 deletions(-)
diff --git a/src/layout/components/Sidebar/menu.js b/src/layout/components/Sidebar/menu.js
index 7a0d0c2..44d750e 100644
--- a/src/layout/components/Sidebar/menu.js
+++ b/src/layout/components/Sidebar/menu.js
@@ -1,84 +1,116 @@
import Layout from '@/layout'
const menu = {
adminMenu: [
+ // {
+ // 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',
name: 'Institution',
- meta: { title: '机构公示',icon: 'form',affix: true }
+ meta: { title: '机构公示',icon: 'chart',affix: true }
},
{
path: '/notice',
name: 'Notice',
- meta: { title: '公告发布',icon: 'form', affix: true }
+ meta: { title: '公告发布',icon: 'email', affix: true }
},
{
path: '/law',
name: 'Law',
- meta: { title: '法律法规',icon: 'form', affix: true }
+ meta: { title: '法律法规',icon: 'excel', affix: true }
},
{
path: '/userManage',
redirect: '/userManage/supervise',
- meta: { title: '用户管理',icon: 'form'},
+ meta: { title: '用户管理',icon: 'peoples'},
children: [
{
path: 'supervise',
name: 'supervise',
- meta: { title: '监管用户管理',icon: 'form'}
+ meta: { title: '监管用户管理',icon: 'monitor'}
},
{
path: 'institutionUser',
name: 'institutionUser',
- meta: { title: '机构用户管理',icon: 'form'}
+ meta: { title: '机构用户管理',icon: 'list'}
},
{
path: 'expertUsers',
name: 'expertUsers',
- meta: { title: '专家用户管理',icon: 'form'}
+ meta: { title: '专家用户管理',icon: 'logininfor'}
}
]
},
- {
- path: '/expertManage',
- redirect: '/expertManage/experts',
- meta: { title: '厅专家库管理',icon: 'form'},
- children: [
- {
- path: 'experts',
- name: 'experts',
- meta: { title: '厅专家库',icon: 'form'}
- },
- {
- path: 'applyRecords',
- name: 'applyRecords',
- meta: { title: '专家申请记录',icon: 'form'}
- }
- ]
- },
+ // {
+ // 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',
- meta: { title: '基础设置',icon: 'form'},
+ meta: { title: '基础设置',icon: 'dict'},
children: [
{
path: 'evaluate',
name: 'evaluate',
- meta: { title: '评价类型管理',icon: 'form'}
+ meta: { title: '类型管理',icon: 'build'}
},
{
path: 'expertsType',
name: 'expertsType',
- meta: { title: '专家类型管理',icon: 'form'}
+ meta: { title: '专家类型管理',icon: 'clipboard'}
},
{
path: 'business',
name: 'business',
- meta: { title: '业务范围',icon: 'form'}
+ meta: { title: '业务范围管理',icon: 'cascader'}
},
{
path: 'area',
name: 'area',
- meta: { title: '地区维护',icon: 'form'}
+ meta: { title: '地区维护管理',icon: 'component'}
+ },
+ {
+ path: 'major',
+ name: 'major',
+ meta: { title: '专业方向管理',icon: 'documentation'}
}
]
@@ -86,18 +118,58 @@
],
agencyMenu: [
+ // {
+ // 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: 'form'},
+ meta: { title: '用户管理',icon: 'peoples'},
children: [
+ {
+ path: 'institutionUser',
+ name: 'institutionUser',
+ meta: { title: '机构用户管理',icon: 'list'}
+ },
{
path: 'expertUsers',
name: 'expertUsers',
- meta: { title: '专家用户管理',icon: 'form'}
+ meta: { title: '专家用户管理',icon: 'logininfor'}
} ,
]
},
+ ],
+ noMenu: [
+ {
+ path: '/noMenu',
+ name: 'noMenu',
+ meta: { title: '提示',icon: 'form',affix: true }
+ },
]
}
--
Gitblit v1.9.2