su
su1124
2023-12-14 c3567454dcc7b6978370f5257e918c1774b58247
src/views/doctor/check/index.vue
@@ -500,6 +500,7 @@
      info: {},
      allList: [],
      autorule: [],
      vals:{},
      form: {
        createTime: new Date()
      },
@@ -716,17 +717,20 @@
      this.loading = true;
      this.queryParams.type = this.tjStatus;
      getProList(this.queryParams).then((response) => {
        if (response.data) {
        if (response.code == 200) {
          this.loading = false;
          if (response.data.date) {
            this.tableList = response.data.date;
          if (response.data) {
            if (response.data.date) {
              this.tableList = response.data.date;
            } else {
              this.tableList = response.data.customers;
            }
            this.total = response.data.total;
          } else {
            this.tableList = response.data.customers;
            this.tableList = [];
          }
          this.total = response.data.total;
        } else {
          this.tableList = [];
        }
      });
    },
@@ -735,13 +739,16 @@
      this.queryParams.type = val;
      this.loading = true;
      getProList(this.queryParams).then((response) => {
        if (response.data) {
        if (response.code == 200) {
          this.loading = false;
          this.tableList = response.data.date;
          this.total = response.data.total;
        } else {
          this.tableList = [];
          if (response.data) {
            this.tableList = response.data.date;
            this.total = response.data.total;
          } else {
            this.tableList = [];
          }
        }
      });
    },
@@ -793,6 +800,7 @@
    },
    checkboxchange(val) {
      this.vals = val
      this.project = val.project
      this.formIn.tjNumber = this.tableAll.tjNumber
      this.formIn.cusId = this.tableAll.cusId
@@ -808,6 +816,8 @@
      })
      if (val.isPositive == "1") {
        this.checkval = true;
        this.formIn.flag = "0"
       this.formIn.level=""
      } else {
        this.formIn.flag = "0"
        addBigPositive(this.formIn).then(res => {
@@ -825,6 +835,7 @@
    },
    cancell() {
      this.checkval = false;
      this.vals.isPositive = "0"
    },
    Hzlog(val) {
@@ -931,6 +942,7 @@
    cancel() {
      this.open = false;
      this.foropen = false;
    },
    Changeapply() {
@@ -965,7 +977,11 @@
          setTimeout(() => {
            loading.close();
          }, 3000);
          this.$message.msgSuccess("报告正在生成,请两分钟后预览!");
          // this.$message.msgSuccess("报告正在生成,请两分钟后预览!");
          this.$message({
            type: "warning ",
            message: "报告正在生成,请两分钟后预览!!",
          });
        } else {
          this.dialogVisible = true;