From a8ed4654962dc8ac13bfd36436b79f25ba2e05de Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 02 九月 2024 17:10:59 +0800
Subject: [PATCH] monitor info function
---
src/api/ecg/room/index.ts | 28 +++++++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/src/api/ecg/room/index.ts b/src/api/ecg/room/index.ts
index 32fdc98..945bbe0 100644
--- a/src/api/ecg/room/index.ts
+++ b/src/api/ecg/room/index.ts
@@ -11,6 +11,12 @@
docName: string | null
}
+export interface MonitorInfo {
+ queueNum : number
+ activeQueueNum : number
+ openingFlag : number
+}
+
// 璇婂鍜岃瘖鐤楀簥 API
export const RoomApi = {
// 鏌ヨ璇婂鍜岃瘖鐤楀簥鍒嗛〉
@@ -53,9 +59,29 @@
return await request.get({ url: `/clinic/room/list-simple-room` })
},
-
// 鑾峰彇璇婂簥Map
getAllBedMap: async () => {
return await request.get({ url: `/clinic/room/list-all-bed` })
+ },
+
+ //
+ resetRoom: async () => {
+ return await request.get({ url: `/clinic/room/reset-room` })
+ },
+
+ //
+ getMonitorInfo: async () => {
+ return await request.get({ url: `/clinic/room/monitor` })
+ },
+
+ // 鎵嬪姩寮�璇�
+ startBiz: async () => {
+ return await request.get({ url: `/clinic/room/start-biz` })
+ },
+
+ // 鎵嬪姩闂瘖
+ closeBiz: async () => {
+ return await request.get({ url: `/clinic/room/close-biz` })
}
+
}
--
Gitblit v1.9.3