From 69b18cf813e7f742ff343a358c580c329c9acda5 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期三, 11 十二月 2024 11:37:40 +0800 Subject: [PATCH] 预约确认有时不会弹出的问题修改 --- src/views/ecg/appointment/AppointmentConfirm.vue | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue index 41ae189..6d11df4 100644 --- a/src/views/ecg/appointment/AppointmentConfirm.vue +++ b/src/views/ecg/appointment/AppointmentConfirm.vue @@ -6,8 +6,8 @@ </div> <div style="display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 20px"> - <div v-for="_appointment in appointmentVOList" :key="_appointment.applyNo"> - <CheckItemPanel :appointment="_appointment" /> + <div v-for="(_appointment, index) in appointmentVOList" :key="index"> + <CheckItemPanel :appointment="_appointment" @event_appoint_confirm="onEventAppointConfirm"/> </div> </div> @@ -175,10 +175,20 @@ bookTimeslot: 9301030, bookCheckType: checkTypeStore.getCheckTypeName(100), paid: 0, + bookSeqNum: 0 } formRef.value?.resetFields() } +const onEventAppointConfirm = () => { +/* + if (null !== appointmentVOList.value && appointmentVOList.value.length === 1) { + queryParams.patId = "" + } +*/ + queryParams.patId = "" +} + /** 鍒濆鍖� **/ onMounted(() => { resetForm() -- Gitblit v1.9.3