qinxianzhangyao
2024-07-19 e1e0b477de0623e3370fd717e263343e1c8576dc
src/views/doctor/examination/index.vue
@@ -311,7 +311,7 @@
      exaList: [],
      // 表单参数
      form: {},
      clearTimeSet:null,
      clearTimeSet: null,
      tjNumbers: "",
      multipleSelection: "",
      tjnum: "",
@@ -479,7 +479,6 @@
    },
    // 单选框选中数据
    handleSelectionChange(selection) {
      console.log(11111);
      this.selectList = selection;
      this.multipleSelection = [];
      if (selection.length > 1) {
@@ -560,15 +559,20 @@
      this.$modal.loading("正在同步,请稍候...");
      this.setTime();
      let tjNumber = row.tjNumber;
      dataSynchronization(tjNumber).then((res) => {
      dataSynchronization(tjNumber).then((res, error) => {
        if (res.code == 200) {
          // this.$forceUpdate();
          // this.getList();
          clearInterval(this.clearTimeSet)
          this.clearTimeSet=null
          this.handleCurrentChange(row);
          clearInterval(this.clearTimeSet);
          this.clearTimeSet = null;
          this.$modal.closeLoading();
          this.$modal.msgSuccess("同步成功!");
        }
        }
      }).catch(error => {
        this.handleCurrentChange(row);
          clearInterval(this.clearTimeSet);
          this.clearTimeSet = null;
          this.$modal.closeLoading();
      });
    },
    // 驳回按钮