| | |
| | | import databaseMonitoring from '@/views/maintenance/databaseMonitoring.vue'; //数据库监控 |
| | | import systemMonitoring from '@/views/maintenance/systemMonitoring.vue'; //系统监控 |
| | | import parameterConfiguration from '@/views/maintenance/parameterConfiguration.vue'; //系统配置 |
| | | import downlog from '@/views/maintenance/downlog.vue'; //下载日志 |
| | | import downlog from '@/views/maintenance/downlog.vue'; //下载日志 |
| | | import { selectMenuRecursive, queryMenuTree, getPerms } from '../../api/api'; |
| | | import customElMenu from '../../components/customElMenu.vue'; |
| | | export default { |
| | |
| | | let menuLists = data.result.filter((value) => { |
| | | return value.url == '/mochaitmo'; |
| | | }); |
| | | |
| | | |
| | | const res = await selectMenuRecursive({ name: menuLists[0].cnName }); |
| | | |
| | | |
| | | if (res.code == 200) { |
| | | if (res.result.length != 0) { |
| | | let menuList = res.result.filter((value) => { |
| | |
| | | this.getCookies(); |
| | | // |
| | | } else { |
| | | alert('暂无菜单栏数据'); |
| | | |
| | | this.$message.error('暂无菜单栏数据'); |
| | | } |
| | | } else { |
| | | console.log('接口报错'); |