From 4883b055177b952ddfab59e7b37f8e1e17acbd2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Tue, 23 Apr 2024 10:43:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/blacklist/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/manage/blacklist/index.vue b/src/views/manage/blacklist/index.vue index dc152c5..36cc0b8 100644 --- a/src/views/manage/blacklist/index.vue +++ b/src/views/manage/blacklist/index.vue @@ -172,7 +172,6 @@ export default { data() { //验证身份证 var isCardId = (rule, value, callback) => { - console.log(value) if (value == null) { callback(new Error("请输入患者身份证号")); } else { @@ -362,6 +361,12 @@ export default { if (this.form.departmentId && this.form_departmentlist?.length > 0) { this.form.departmentName = this.form_departmentlist.find(e => e.id == this.form.departmentId)?.departmentName } + if (this.form.abnormalCauseId && this.abnormalCauselist?.length > 0) { + this.form.abnormalCauseValue = this.abnormalCauselist.find(e => e.id == this.form.abnormalCauseId)?.abnormalCauseValue + } + if (this.form.supplementIllustrateId && this.supplementIllustratelist?.length > 0) { + this.form.supplementIllustrateValue = this.supplementIllustratelist.find(e => e.id == this.form.supplementIllustrateId)?.abnormalCauseValue + } this.$refs["form"].validate(valid => { if (valid) { if (this.form.id != null) {