From 1073d84e9e9af6b9ac5c0136dfd2b828c676ef8a Mon Sep 17 00:00:00 2001 From: su1124 <1583764726@qq.com> Date: 星期四, 25 四月 2024 11:29:08 +0800 Subject: [PATCH] su --- src/views/doctor/check/index.vue | 33 +++++++++++++++++++-------------- 1 files changed, 19 insertions(+), 14 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index ce52fdc..b2a43e5 100644 --- a/src/views/doctor/check/index.vue +++ b/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; -- Gitblit v1.8.0