From 16d88d3f3b6bfb362fcb58d4aeef9275c72e1ea3 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 26 十一月 2024 15:09:37 +0800
Subject: [PATCH] 预约确认单项时,确认完清除

---
 src/views/ecg/appointment/AppointmentConfirm.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue
index 41ae189..a3fd198 100644
--- a/src/views/ecg/appointment/AppointmentConfirm.vue
+++ b/src/views/ecg/appointment/AppointmentConfirm.vue
@@ -7,7 +7,7 @@
 
   <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" />
+      <CheckItemPanel  :appointment="_appointment"  @event_appoint_confirm="onEventAppointConfirm"/>
     </div>
   </div>
 
@@ -175,10 +175,17 @@
     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 = ""
+  }
+}
+
 /** 鍒濆鍖� **/
 onMounted(() => {
   resetForm()

--
Gitblit v1.9.3