From 3b2000a905cdc619c0e8678849e4dff9adaf9954 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Wed, 10 May 2023 15:53:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E6=9C=AA=E5=BC=80=E6=94=BE?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=AE=B5=E4=B8=8D=E8=83=BD=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reservation/schedule/addPatientOrder.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 800595a..d37fe96 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/reservation/schedule/addPatientOrder.vue @@ -201,6 +201,7 @@ export default { // 确认提交 handleSave() { if (!this.isEdit) { + console.log('asdfasdf') this.$refs.addPatientForm.validate((valid) => { if (!valid) { return false @@ -214,7 +215,10 @@ export default { itemName: this.project.itemName, ...this.form } - this.$http.post('/appoint/saveAppointInfo', params).then(() => { + this.$http.post('/appoint/saveAppointInfo', params).then(res => { + if (res.data.code !== 0) { + return this.$message.error(res.data.msg) + } this.$message.success('添加成功') this.$emit('updateAppoint') this.visible = false