From 2bc74ebfec4a30beddc66fd55be4947e5f7cf498 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 28 八月 2024 15:15:33 +0800
Subject: [PATCH] update

---
 src/api/ecg/room/index.ts |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/src/api/ecg/room/index.ts b/src/api/ecg/room/index.ts
index 05f5676..eee2ccd 100644
--- a/src/api/ecg/room/index.ts
+++ b/src/api/ecg/room/index.ts
@@ -2,9 +2,13 @@
 
 // 璇婂鍜岃瘖鐤楀簥 VO
 export interface RoomVO {
-  id: number  //
-  roomNo: string // 璇婂缂栧彿
-  bedNo: string // 璇婄枟搴婄紪鍙�
+  id: number | null  //
+  roomId: number | null // 璇婂缂栧彿
+  roomName: string | null // 璇婂鍚嶇О
+  bedNo: string | null // 璇婄枟搴婄紪鍙�
+  status: number | null //寮�璇婄姸鎬�  0-鍏抽棴 1-鍏抽棴涓� 10-宸插紑閫� 20-鏈夊尰鐢� 30-鏆傚仠
+  docId: number | null
+  docName: string | null
 }
 
 // 璇婂鍜岃瘖鐤楀簥 API
@@ -37,5 +41,21 @@
   // 瀵煎嚭璇婂鍜岃瘖鐤楀簥 Excel
   exportRoom: async (params) => {
     return await request.download({ url: `/clinic/room/export-excel`, params })
+  },
+
+  // 鑾峰彇閮ㄩ棬绮剧畝淇℃伅鍒楄〃 ECG 瀛愰儴闂�
+  getSimpleRoomList: async () => {
+    return await request.get({ url: `/clinic/room/simple-list` })
+  },
+
+  // 鑾峰彇璇婂绮剧畝淇℃伅鍒楄〃锛岀敤浜庡尰鐢熼�夋嫨鐧诲綍鐨勮瘖瀹�
+  getOnstageBedMap: async () => {
+    return await request.get({ url: `/clinic/room/list-simple-room` })
+  },
+
+
+  // 鑾峰彇璇婂簥Map
+  getAllBedMap: async () => {
+    return await request.get({ url: `/clinic/room/list-all-bed` })
   }
 }

--
Gitblit v1.9.3