From 82fa4ca26cd0791f83d6e44c0c731af53efa1c25 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 25 十一月 2024 20:32:17 +0800
Subject: [PATCH] 设备小票打印 就诊流水号 条码

---
 src/views/ecg/appointment/AppointmentForm.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/ecg/appointment/AppointmentForm.vue b/src/views/ecg/appointment/AppointmentForm.vue
index 432e460..864f5a3 100644
--- a/src/views/ecg/appointment/AppointmentForm.vue
+++ b/src/views/ecg/appointment/AppointmentForm.vue
@@ -219,7 +219,7 @@
     }
   }
 }
-const openByQueue = async (type: string, patId: string) => {
+const openByQueue = async (type: string, patId: string, checkType: number) => {
   dialogVisible.value = true
   dialogTitle.value = t('action.' + type)
   formType.value = type
@@ -228,7 +228,7 @@
   if (patId) {
     formLoading.value = true
     try {
-      formData.value = await AppointmentApi.getCurAppointmentByPatId( patId )
+      formData.value = await AppointmentApi.getCurAppointmentByPatIdAndCheckType( patId, checkType )
     } finally {
       formLoading.value = false
     }

--
Gitblit v1.9.3