From a2346b299c8537318fbc245e3325b7a499ecce4e Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 21 八月 2024 18:32:33 +0800
Subject: [PATCH] update

---
 src/api/ecg/doctor/index.ts |   28 +++++++++++++++++++++++++---
 1 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index a3129f0..53ae9a0 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -5,12 +5,34 @@
   bedNo: string // 璇婄枟搴婄紪鍙�
 }
 
+export interface PatientStatisticVO {
+  finishedNum: number
+  readyNum: number
+  passedNum: number
+  queuingNum: number
+}
+
 // 鍖荤敓 API
 export const DoctorApi = {
 
-  // 涓嬩竴浣嶆偅鑰�
-  nextPatient: async (params: RoomBedVO) => {
-    return await request.get({ url: `/ecg/doctor/nextpatient`, params })
+  // 鐪嬪畬锛屽彇涓嬩竴浣嶆偅鑰�
+  finishNextPatient: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/finish-next-patient`, params })
+  },
+
+  // 杩囧彿锛屽彇涓嬩竴浣嶆偅鑰�
+  passNextPatient: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/pass-next-patient`, params })
+  },
+
+  // 鍙栧垵濮嬫偅鑰呭垪琛�
+  getPatientList: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-patient-list`, params })
+  },
+
+  // 鍙栨偅鑰呯粺璁�
+  getPatientStatistic: async (params: RoomBedVO) => {
+    return await request.get({ url: `/ecg/doctor/get-patient-statistic`, params })
   }
 
 }

--
Gitblit v1.9.3