管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-02-10 03e5e6dbf617b3557936b7ba80c625beea7f48af
src/views/maintenance/mochaitmo.vue
@@ -41,6 +41,7 @@
        <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>
@@ -68,8 +69,10 @@
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,
@@ -91,7 +94,8 @@
    systemMonitoring,
    parameterConfiguration,
    customElMenu,
    downlog
    downlog,
    templateManage
  },
  data() {
    return {
@@ -220,7 +224,9 @@
      if (res.children != null) {
        this.setViewController(res.children[0]);
      } else {
        this.$store.state.currentPerms = res.perms;
        this.setMenuFlag = res.url;
        this.activeIndex = res.url;
      }
@@ -253,6 +259,7 @@
          index = 'dataIfream';
        }
      }
      this.setMenuFlag = index;
    },