From b3a5df43f282f5c9cd23131788a234f098c8cbbf Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 12 十二月 2024 10:37:58 +0800
Subject: [PATCH] BugFix: 预约确认有时不弹检查项目,但是患者信息显示正确的现象

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

diff --git a/src/views/ecg/appointment/AppointmentForm.vue b/src/views/ecg/appointment/AppointmentForm.vue
index f79ec29..864f5a3 100644
--- a/src/views/ecg/appointment/AppointmentForm.vue
+++ b/src/views/ecg/appointment/AppointmentForm.vue
@@ -26,7 +26,7 @@
               <el-radio
                   v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_USER_SEX)"
                   :key="dict.value"
-                  :label="dict.value"
+                  :value="dict.value"
               >
                 {{ dict.label }}
               </el-radio>
@@ -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