From debaf975106abda5941aece154a59efff3568668 Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Thu, 14 Nov 2024 15:59:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SysMenu.vue | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/src/components/SysMenu.vue b/src/components/SysMenu.vue index 57eabd0..39e6192 100644 --- a/src/components/SysMenu.vue +++ b/src/components/SysMenu.vue @@ -45,12 +45,6 @@ import { reactive } from 'vue'; const userStore = useUserStore(); const list = reactive([ - { - show: true, - path: getMonitorPath(userStore.roles).monitorPath, - label: '监控', - icon: 'computer', - }, { show: userStore.defaultRole == 'ADMIN', path: '', @@ -106,6 +100,7 @@ const list = reactive([ icon: 'manage_accounts', }, { + show: userStore.defaultRole == 'ADMIN', path: '/sysManage/role', label: '权限管理', icon: 'nature_people', @@ -127,5 +122,30 @@ const list = reactive([ }, ], }, + { + show: true, + path: getMonitorPath(userStore.roles).monitorPath, + label: '监控管理', + icon: 'computer', + }, + { + show: true, + path: '/sysManage/alarmRecord', + label: '报警管理', + icon: 'alarm_on', + }, + { + show: true, + path: '', + label: '辅助决策', + icon: 'developer_board', + children: [ + { + path: '/dataManage/decisionInfo', + label: '辅助决策方案管理查询', + icon: 'format_align_center', + }, + ], + }, ]);