月球大数据地理空间分析展示平台-【中台】
Surpriseplus
2023-07-12 e0390205f97847ae8e050873db51b619b7ebcc55
src/components/navMenu.vue
@@ -31,6 +31,7 @@
            <div
              class="secondMenuDiv   subpage_Div"
              v-show="index == showFlag ? true :false"
              v-if="item.children && item.children.length>0"
            >
              <div
                v-for="res in item.children"
@@ -221,7 +222,7 @@
    },
    //鼠标移入菜单事件
    setMenuMove(index, item) {
      debugger
      if (item.perms != null && item.perms != "") {
        this.$router.push(item.url);
        if (this.showFlag != null) {
@@ -229,8 +230,8 @@
          this.changeliSelect = '%%';
          this.showFlag = null;
        }
        if (item.url == "Thematic") {
          this.signInsertOpLog("综合展示", item.cnName)
        if (item.url == "/projectController") {
          this.signInsertOpLog("项目管理", item.cnName)
        }
        this.changeSelectStyle = index;
@@ -238,6 +239,12 @@
      } else {
        if (this.showFlag != index) {
          this.showFlag = index;
          this.changeSelectStyle = index;
          if (item.url && item.children && item.children.length == 0) {
            window.open(item.url)
          }
        } else {
          this.showFlag = null;
        }
@@ -333,7 +340,7 @@
        if (res[i].perms == null || res[i].perms == "") {
          const result = await selectMenuRecursive({ id: res[i].id });
          debugger
          if (result.code == 200) {
            res[i].children = result.result.filter((value) => {