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', + }, + ], + }, ]);