From 4e80712bf8eae6094baf1fae25d6e2979b423d9d Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 01 十一月 2024 18:22:56 +0800
Subject: [PATCH] 小票打印

---
 src/api/ecg/appointment/index.ts |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/api/ecg/appointment/index.ts b/src/api/ecg/appointment/index.ts
index 402e9d2..e5d9f03 100644
--- a/src/api/ecg/appointment/index.ts
+++ b/src/api/ecg/appointment/index.ts
@@ -7,6 +7,7 @@
   patName: string // 鎮h�呭鍚�
   patGender: number // 鎮h�呮�у埆
   patBirthday: Date // 鎮h�呯敓鏃�
+  patAge: number
   patMobile: string // 鎮h�呮墜鏈�
   patPhone: string // 鎮h�呯數璇�
   patIdentityId: string // 韬唤璇佸彿
@@ -36,9 +37,14 @@
     return await request.get({ url: `/ecg/appointment/get?id=` + id })
   },
 
+  //
+  getCurAppointmentByPatId: async (patId: string) => {
+    return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId })
+  },
+
   // 浠嶩IS鎴栬�匘B鏌ヨ棰勭害璇︽儏
-  getAppointmentByPatId: async (patId: string) => {
-    return await request.get({ url: `/ecg/appointment/get-by-patient?patId=` + patId })
+  queryAndCreateAppointmentByPatId: async (patId: string) => {
+    return await request.get({ url: `/ecg/appointment/query-and-create-by-patient?patId=` + patId })
   },
 
   // 浠嶩IS鏌ヨ棰勭害鎴栧紑鍗曚俊鎭�

--
Gitblit v1.9.3