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/api/ecg/appointment/index.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts
index af3fe39..d2338b0 100644
--- a/src/api/ecg/appointment/index.ts
+++ b/src/api/ecg/appointment/index.ts
@@ -40,8 +40,8 @@
   },
 
   //
-  getCurAppointmentByPatId: async (patId: string) => {
-    return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId })
+  getCurAppointmentByPatIdAndCheckType: async (patId: string, checkType: number) => {
+    return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId + '&checkType=' + checkType })
   },
 
   // 浠嶩IS鎴栬�匘B鏌ヨ棰勭害璇︽儏

--
Gitblit v1.9.3