qinxianzhangyao
2024-04-25 76a5d23754b260701ff0c786a711c447ccc44fb2
src/views/doctor/check/index.vue
@@ -232,7 +232,7 @@
              性别:
            </td>
            <td style="border: 1px solid #dfe6ec; border-collapse: collapse">
              {{ tableAll.cusSex }}
              {{ tableAll.cusSex == 0? "男" :tableAll.cusSex == 1?"女":"未知"}}
            </td>
          </tr>
          <tr style="border: 1px solid #dfe6ec; border-collapse: collapse">
@@ -1284,15 +1284,15 @@
      this.loading = true;
      this.drawer = true;
      this.tableAll = row;
      if (this.tableAll.cusSex === 0) {
        this.tableAll.cusSex = "男";
      }
      if (this.tableAll.cusSex === 1) {
        this.tableAll.cusSex = "女";
      }
      if (this.tableAll.cusSex === 2) {
        this.tableAll.cusSex = "未知";
      }
      // if (this.tableAll.cusSex === 0) {
      //   this.tableAll.cusSex = "男";
      // }
      // if (this.tableAll.cusSex === 1) {
      //   this.tableAll.cusSex = "女";
      // }
      // if (this.tableAll.cusSex === 2) {
      //   this.tableAll.cusSex = "未知";
      // }
      this.tjNumber = row.tjNumber;
      let num = 0;
      getParentList(this.tjNumber).then((response) => {
@@ -1549,10 +1549,13 @@
          });
        })
        .catch((action) => {
          this.$message({
          if(action === "cancel"){
            this.$message({
            type: "warning",
            message: action === "cancel" ? "放弃保存并离开" : "停留在当前页面",
            message: "放弃保存并离开",
          });
          }
          this.proName = this.Parentcheck.proName;
          this.nums = tab.name;
          this.proId = tab.name;
@@ -1732,10 +1735,12 @@
          });
        })
        .catch((action) => {
          this.$message({
          if(action === "cancel"){
            this.$message({
            type: "warning",
            message: action === "cancel" ? "放弃保存并离开" : "停留在当前页面",
            message: "放弃保存并离开",
          });
          }
          this.proName = item.proName;
          this.nums = proParentId;
          this.proId = proParentId;