From ca0fdc71abca0635a7ba0bc905fa93a05384cb5d Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 20 九月 2024 16:08:30 +0800 Subject: [PATCH] 装机界面 显示设备详情 --- src/views/ecg/appointment/AppointmentConfirm.vue | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue index db8a21c..0e57f85 100644 --- a/src/views/ecg/appointment/AppointmentConfirm.vue +++ b/src/views/ecg/appointment/AppointmentConfirm.vue @@ -126,7 +126,7 @@ patId: undefined }) -const formData = ref({ +const formData = ref<AppointmentVO>({ id: 0, patId: "", patName: "", @@ -144,7 +144,7 @@ bookId: "", bookTime: new Date(), bookDate: new Date(), - bookTimeslot: 10001015, + bookTimeslot: 9000930, bookCheckType: 10 }) const formRef = ref() // 琛ㄥ崟 Ref @@ -176,9 +176,12 @@ const _confirmAppointment = async () => { const data = await AppointmentApi.confirmAppointment(formData.value) - message.info(data) + ElNotification({ + title: '娓╅Θ鎻愮ず', + message: data, + type: 'warning' + }) } - /** 閲嶇疆琛ㄥ崟 */ const resetForm = () => { @@ -200,7 +203,7 @@ bookId: "", bookTime: new Date(), bookDate: new Date(), - bookTimeslot: 10001015, + bookTimeslot: 9000930, bookCheckType: 10 } formRef.value?.resetFields() -- Gitblit v1.9.3