From 1d08de208c93dba281f39cbbc59bdc336841a3e4 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期二, 15 十月 2024 16:33:45 +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