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/queue/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/ecg/queue/index.vue b/src/views/ecg/queue/index.vue
index 84e4000..5fcf837 100644
--- a/src/views/ecg/queue/index.vue
+++ b/src/views/ecg/queue/index.vue
@@ -176,7 +176,7 @@
           <el-button
             link
             type="primary"
-            @click="openAppointmentForm('preview', scope.row.patId)"
+            @click="openAppointmentForm('preview', scope.row.patId, scope.row.bookCheckType)"
             v-hasPermi="['ecg:appointment:preview']"
           >
             鏌ョ湅
@@ -297,8 +297,8 @@
 const openForm = (type: string, id?: number) => {
   formRef.value.open(type, id)
 }
-const openAppointmentForm = (type: string, patId: string, status: number) => {
-  formRef.value.openByQueue(type, patId, status)
+const openAppointmentForm = (type: string, patId: string, checkType: number) => {
+  formRef.value.openByQueue(type, patId, checkType)
 }
 
 /** 鍒犻櫎鎸夐挳鎿嶄綔 */

--
Gitblit v1.9.3