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/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