shuishen
2022-03-17 61ece754a673dfaa0930f8f3145e4e9e40eb0e6b
src/components/mobilePopupOur/index.vue
@@ -124,6 +124,13 @@
    // console.log("请求对应街道接口", this.popupOurOpenData);
    this.getDataHeardDown();
  },
  watch: {
    fullscreenLoading() {
      if (this.fullscreenLoading) {
        this.notLine();
      }
    },
  },
  methods: {
    handleClick(tab, event) {
      //头下部标签
@@ -143,9 +150,13 @@
      this.$store.commit("MSET_BIGPOPUP", false);
    },
    getDataHeardDown() {
      if (this.choiceMain == "机构单位" || this.choiceMain == "活动") {
      if (this.choiceMain == "活动") {
        //不请求头部标签页数据
        this.getOutList(this.choiceKey);
        return;
      }
      if (this.choiceMain == "机构单位") {
        this.getOutList("", this.choiceKey);
        return;
      }
      //获取头下部标签页
@@ -165,6 +176,7 @@
    },
    //请求
    getOutList(campus, type) {
      // console.log(this.choiceMain, campus, type, "see");
      let that = this;
      let d;
      if (this.choiceMain == "机构单位") {
@@ -289,7 +301,6 @@
        }
        that.tabTable[+campus - 1].child = outList;
      });
      this.notLine();
    },
    //搜索请求
    getListSearchMethod(name) {
@@ -335,11 +346,12 @@
        that.fullscreenLoading = false;
        that.onlyData = outList;
      });
      this.notLine();
    },
    notLine() {
      console.log("等待关闭");
      setTimeout(() => {
        this.fullscreenLoading = false;
        console.log("关闭dolog");
      }, 5000);
    },
  },