From 107bb47a563a7b551ea2bb616fa2ba3d8a52ee7a Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 08 十一月 2024 16:17:12 +0800
Subject: [PATCH] update

---
 src/views/ecg/appointment/AppointmentConfirm.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue
index badefc0..3d5d74c 100644
--- a/src/views/ecg/appointment/AppointmentConfirm.vue
+++ b/src/views/ecg/appointment/AppointmentConfirm.vue
@@ -90,17 +90,14 @@
 import { AppointmentApi, AppointmentVO } from '@/api/ecg/appointment'
 import {useCheckTypeStore} from "@/store/modules/checkType";
 import CheckItemPanel from "@/views/ecg/appointment/CheckItemPanel.vue";
-import {RoomStatus} from "@/components/RoomStatus";
 
 /** 棰勭害纭 琛ㄥ崟 */
 defineOptions({ name: 'AppointmentConfirm' })
 
 const checkTypeStore = useCheckTypeStore();
 
-const message = useMessage() // 娑堟伅寮圭獥
-
 const queryParams = reactive({
-    patId: undefined
+    patId: ''
 })
 
 const appointmentVOList = ref<AppointmentVO[]>([])
@@ -126,7 +123,8 @@
   bookTime: new Date(),
   bookDate: new Date(),
   bookTimeslot: 9301030,
-  bookCheckType: checkTypeStore.getCheckTypeName(100)
+  bookCheckType: checkTypeStore.getCheckTypeName(100),
+  paid: 0,
 })
 const formRef = ref() // 琛ㄥ崟 Ref
 
@@ -175,10 +173,18 @@
     bookTime: new Date(),
     bookDate: new Date(),
     bookTimeslot: 9301030,
-    bookCheckType: checkTypeStore.getCheckTypeName(100)
+    bookCheckType: checkTypeStore.getCheckTypeName(100),
+    paid: 0,
   }
   formRef.value?.resetFields()
 }
+
+/** 鍒濆鍖� **/
+onMounted(() => {
+  resetForm()
+})
+
+
 </script>
 
 <style lang="scss" scoped>

--
Gitblit v1.9.3