From 6220967c172b82aef0cd3ca7279cfca07050ab9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 13 Mar 2023 17:23:03 +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/system/hospitalPerson/index.vue | 48 ++++++----------------- 1 file changed, 13 insertions(+), 35 deletions(-) diff --git a/src/views/system/hospitalPerson/index.vue b/src/views/system/hospitalPerson/index.vue index f4cf37d..45f87dd 100644 --- a/src/views/system/hospitalPerson/index.vue +++ b/src/views/system/hospitalPerson/index.vue @@ -275,6 +275,7 @@ @@ -478,13 +479,6 @@ align="center" > - - - - @@ -748,7 +739,7 @@ export default { pageNum: 1, pageSize: 10, hospitalCode: "", - hospitalName: "", + }, departmentqueryParams: { pageNum: 1, @@ -1002,19 +993,6 @@ export default { this.innerVisible = false; this.addresetQuery(); }, - // choicenurseItem(e) { - // console.log(e) - // this.nurseitemid = e.id; - // if (this.homenumber) { - // this.queryParams.nurseItemName = e.nurseItemName; - // this.queryParams.nurseItemId = e.id; - // this.form.nurseItemId = e.id; - // } else { - // this.form.nurseItemId = e.id; - // this.form.nurseItemName = e.nurseItemName; - // } - // this.nurseItemshow = false; - // }, // 科室 departmentclick(row) { console.log(row); @@ -1224,17 +1202,17 @@ export default { }, /** 新增按钮操作 */ handleAdd() { - // this.form = { - // hospitalPersonCertificateList: [ - // { - // certificateSort: "", - // certificateName: "", - // certificateUrl: "", + this.form = { + hospitalPersonCertificateList: [ + { + certificateSort: "", + certificateName: "", + certificateUrl: "", - // idd: this.idd, - // }, - // ], - // }; + idd: this.idd, + }, + ], + }; this.departmentId=""; this.reset(); this.addopen = true; @@ -1242,6 +1220,7 @@ export default { }, /** 修改按钮操作 */ handleUpdate(row) { + console.log(row) this.reset(); const id = row.id || this.ids; getHospitalPerson(id).then((response) => { @@ -1259,7 +1238,6 @@ export default { if (this.form.consultingFee) { this.form.consultingFee = Number(this.form.consultingFee); } - this.$refs["form"].validate((valid) => { if (valid) { if (this.form.id != null) {