From ebee36ca9a39b59d98da3613804791faa8dd2da6 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期六, 22 十一月 2025 16:20:52 +0800
Subject: [PATCH] 打印完善
---
src/api/ecg/room/index.ts | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/api/ecg/room/index.ts b/src/api/ecg/room/index.ts
index b68a677..d78f8a1 100644
--- a/src/api/ecg/room/index.ts
+++ b/src/api/ecg/room/index.ts
@@ -10,12 +10,16 @@
status: number | null //寮�璇婄姸鎬� 0-鍏抽棴 1-鍏抽棴涓� 10-宸插紑閫� 20-鏈夊尰鐢� 30-鏆傚仠
docId: number | null
docName: string | null
+ checkTypes: number[] | null
+ opType: number | null
}
export interface MonitorInfo {
- queueNum : number
- activeQueueNum : number
+ openingBedNum : number
+ docBedNum : number
+ routingBedNum : number
openingFlag : number
+ checkTypeBedInfo: object
}
// 璇婂鍜岃瘖鐤楀簥 API
@@ -30,6 +34,15 @@
return await request.get({ url: `/clinic/room/get?id=` + id })
},
+ // 鏌ヨ璇婂鍜岃瘖鐤楀簥璇︽儏
+ getRoomByIP: async (roomId :number) => {
+ if (roomId == null || roomId === 0) {
+ return await request.get({url: `/clinic/room/get-room-by-ip`})
+ }
+
+ return await request.get({url: `/clinic/room/get-room-by-ip?roomId=` + roomId})
+ },
+
// 鏂板璇婂鍜岃瘖鐤楀簥
createRoom: async (data: RoomVO) => {
return await request.post({ url: `/clinic/room/create`, data })
--
Gitblit v1.9.3