From c6421e15ecc9df14dbb2f29ab76a73ce7aa7f603 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 25 十一月 2024 21:32:09 +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