| | |
| | | 性别: |
| | | </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"> |
| | |
| | | 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) => { |
| | |
| | | }); |
| | | }) |
| | | .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; |
| | |
| | | }); |
| | | }) |
| | | .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; |