qx
1 天以前 e48af621e9c9a6fd97cdcff2cafa515347d05995
src/views/doctor/check/index.vue
@@ -909,6 +909,7 @@
      hzReplyLogsList: [],
      hasdeptList: [],
      radio: "",
      lastClickedTab: null,
      nums: "",
      proParentList: [],
      tjNumber: "",
@@ -1821,6 +1822,9 @@
    },
    handleTabClick(tab, event) {
      if(this.lastClickedTab ==null){
        this.lastClickedTab = tab
      }
      this.Parent.forEach((item) => {
        if (tab.name == item.proId) this.Parentcheck = item;
      });
@@ -1858,11 +1862,13 @@
          for (var i = 0; i < this.proParentList.sons.length; i++) {
            //判断新数组是否有这个元素值,没有的话,就把arr[i]给push到新数组newArr中
            if (this.proParentList.sons[i].proResult == "" || this.proParentList.sons[i].proResult == null) {
                this.radio =  this.lastClickedTab.name
              this.$modal.msgError("请填写资料");
              this.minedis = true
              return
            } else if (this.proParentList.sons[i].proResult.includes(" ")) {
              this.$modal.msgError("请查看是否有空格");
               this.radio =  this.lastClickedTab.name
              this.minedis = true
              return
            } else {
@@ -1896,6 +1902,7 @@
            this.proName = this.Parentcheck.proName;
            this.nums = tab.name;
            this.proId = tab.name;
              this.lastClickedTab = tab
            this.getParentIdsss();
            this.getbzlist();
          }
@@ -1906,6 +1913,7 @@
          this.proName = this.Parentcheck.proName;
          this.nums = tab.name;
          this.proId = tab.name;
           this.lastClickedTab = tab
          this.getParentIdsss();
          this.getbzlist();
        });