菜单调整
This commit is contained in:
parent
99b7cba025
commit
debaf97510
@ -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',
|
||||
},
|
||||
],
|
||||
},
|
||||
]);
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user