From 0b13963800eadb0a87a68809e8cbfecb6592fde7 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 25 九月 2024 18:30:36 +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