From 59d213c1ce9e5e576fcca1f5c4251f06b301c5ac Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 22 八月 2024 14:32:49 +0800
Subject: [PATCH] update

---
 src/api/ecg/doctor/index.ts |   29 +++++++++++++++++++++++------
 1 files changed, 23 insertions(+), 6 deletions(-)

diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index f6f9089..53ae9a0 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -5,17 +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 })
   },
 
-  // 鐪嬪畬鎮h��
-  finishPatient: async (params: RoomBedVO) => {
-    return await request.get({ url: `/ecg/doctor/finishpatient`, 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