From fe792c0638eeaaba49289de00c4c59bd6279ecd9 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期二, 27 八月 2024 17:11:37 +0800
Subject: [PATCH] update
---
src/api/ecg/doctor/index.ts | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/src/api/ecg/doctor/index.ts b/src/api/ecg/doctor/index.ts
index a2fdb31..b9073a4 100644
--- a/src/api/ecg/doctor/index.ts
+++ b/src/api/ecg/doctor/index.ts
@@ -5,6 +5,20 @@
bedNo: string // 璇婄枟搴婄紪鍙�
}
+export interface PatientVO {
+ roomId: number // 璇婂缂栧彿
+ bedNo: string // 璇婄枟搴婄紪鍙�
+ patId: string // 鎮h�呯紪鍙�
+ jumpFlag: number // 鎻掗槦鏍囪
+}
+
+export interface PatientStatisticVO {
+ finishedNum: number
+ readyNum: number
+ passedNum: number
+ queuingNum: number
+}
+
// 鍖荤敓 API
export const DoctorApi = {
@@ -21,6 +35,21 @@
// 鍙栧垵濮嬫偅鑰呭垪琛�
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 })
+ },
+
+ // 鍙洖杩囧彿鎮h��
+ recallPatient: async (params: PatientVO) => {
+ return await request.get({ url: `/ecg/doctor/recall-patient`, params })
+ },
+
+ // 鍙洖杩囧彿鎮h��
+ patientJump: async (params: PatientVO) => {
+ return await request.get({ url: `/ecg/doctor/patient-jump`, params })
}
}
--
Gitblit v1.9.3