From 3e8fb1ad1e73a1dca1b7a53c6e526a5425788d7b Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Mon, 29 May 2023 17:48:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E7=BA=A6=E7=9B=B8=E5=85=B3=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reservation/schedule/addPatientOrder.vue | 8 ++++++-- .../reservation/schedule/number-detail-manage.vue | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue index 37d51bc..67dd5a6 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue @@ -255,8 +255,8 @@ export default { if (!valid) { return false } - this.form.project = this.form.project.join(',') - this.form.preparation = this.form.preparation.join(',') + const project = this.form.project.join(',') + const preparation = this.form.preparation.join(',') if (!this.isEdit) { const params = { appointDate: `${this.form.date1} ${this.form.date2}:00`, @@ -267,6 +267,8 @@ export default { itemName: this.project.itemName, ...this.form } + params.project = project + params.preparation = preparation this.$http.post('/appoint/saveAppointInfo', params).then(res => { if (res.data.code !== 0) { return this.$message.error(res.data.msg) @@ -283,6 +285,8 @@ export default { itemId: this.patientDetail.itemId, ...this.form } + params.project = project + params.preparation = preparation this.$http.post('/appoint/updateAppointInfo', params).then(() => { this.$message.success('修改成功') this.$emit('updateAppoint') diff --git a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue index 572d094..09cc3bb 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/number-detail-manage.vue @@ -89,9 +89,9 @@ export default { changeOrder(value) { this.addPatientVisible = true this.addTitle = '修改预约' - this.curPatient = value - this.isEdit = true this.$nextTick(() => { + this.curPatient = value + this.isEdit = true this.$refs.addPatientOrder.init() }) },