From 549e0a0cda7fdaafc3d2e456b61187b7eed2c131 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 25 十一月 2024 20:14:34 +0800
Subject: [PATCH] Fix bug, 当天多个预约 打印小票检查项目不对
---
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