北京经济技术开发区经开区虚拟城市项目-【前端】-Web
Jin Lei
2023-11-15 9cee8c76b0b9bf384b1333a50ee443cd01ee4e31
src/components/menu/bottom-menu.vue
@@ -564,17 +564,15 @@
        "http://10.9.2.29:8080/#/login?token=1ed14c5157acb8088efe65bc93a032c3"
      );
    },
    switchMenu(id){
      if(id!=1)
      {
    switchMenu(id) {
      if (id != 1) {
        this.setViewer1Show(false);
      }
      if(id!=3)
      {
      if (id != 3) {
        this.closeSjxl();
      }
      if(id!=4)
      {
      if (id != 4) {
        this.closeSpjk();
      }
    },
@@ -584,7 +582,7 @@
    shoujixinling() {
      this.switchMenu(3);
      if (this.isShowSjxl) {
        const loading = this.$loading({
          lock: true,
          text: "手机信令数据加载中,请稍后",
@@ -704,18 +702,20 @@
      }
    },
    closeSpjk() {
      this.isShowSPJK = true;
      if (window.sxtkGeojson) {
        window.sxtkGeojson.deleteObject();
        window.sxtkGeojson = null;
        window.sxthandler.destroy();
        //关闭弹窗
        Bus.$emit("closeRightPop", true);
        layuiLayer.close(SmartEarthPopupData.layerProp);
        return;
      } else {
        Bus.$emit("closeSPJK");
        // this.spjkLoad();
      if (!this.isShowSPJK) {
        this.isShowSPJK = true;
        if (window.sxtkGeojson) {
          window.sxtkGeojson.deleteObject();
          window.sxtkGeojson = null;
          window.sxthandler.destroy();
          //关闭弹窗
          Bus.$emit("closeRightPop", true);
          layuiLayer.close(SmartEarthPopupData.layerProp);
          return;
        } else {
          Bus.$emit("closeSPJK");
          // this.spjkLoad();
        }
      }
    },
    // 分层分户