| | |
| | | <system-monitoring v-if="setMenuFlag == 'systemMonitoring'"></system-monitoring> |
| | | <parameter-configuration v-if="setMenuFlag == 'parameterConfiguration'"></parameter-configuration> |
| | | <downlog v-if="setMenuFlag == 'downlog'"></downlog> |
| | | <template-manage v-if="setMenuFlag == 'templateManage'"></template-manage> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | import systemMonitoring from '@/views/maintenance/systemMonitoring.vue'; //系统监控 |
| | | import parameterConfiguration from '@/views/maintenance/parameterConfiguration.vue'; //系统配置 |
| | | import downlog from '@/views/maintenance/downlog.vue'; //下载日志 |
| | | import templateManage from '@/views/userManage/templateManage.vue'//模板管理 |
| | | import { selectMenuRecursive, queryMenuTree, getPerms } from '../../api/api'; |
| | | import customElMenu from '../../components/customElMenu.vue'; |
| | | |
| | | export default { |
| | | components: { |
| | | menuSettings, |
| | |
| | | systemMonitoring, |
| | | parameterConfiguration, |
| | | customElMenu, |
| | | downlog |
| | | downlog, |
| | | templateManage |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | if (res.children != null) { |
| | | this.setViewController(res.children[0]); |
| | | } else { |
| | | |
| | | this.$store.state.currentPerms = res.perms; |
| | | |
| | | this.setMenuFlag = res.url; |
| | | this.activeIndex = res.url; |
| | | } |
| | |
| | | index = 'dataIfream'; |
| | | } |
| | | } |
| | | |
| | | this.setMenuFlag = index; |
| | | |
| | | }, |