From e456f20e2d54f542800580c489f36c0b5eaf734f Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 29 八月 2024 17:33:29 +0800
Subject: [PATCH] update

---
 src/api/ecg/room/index.ts |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/src/api/ecg/room/index.ts b/src/api/ecg/room/index.ts
index 897a121..bccbf38 100644
--- a/src/api/ecg/room/index.ts
+++ b/src/api/ecg/room/index.ts
@@ -2,13 +2,13 @@
 
 // 璇婂鍜岃瘖鐤楀簥 VO
 export interface RoomVO {
-  id: number  //
-  roomId: number // 璇婂缂栧彿
-  roomName: string // 璇婂鍚嶇О
-  bedNo: string // 璇婄枟搴婄紪鍙�
-  status: number //寮�璇婄姸鎬�  0-鍏抽棴 1-鍏抽棴涓� 10-宸插紑閫� 20-鏈夊尰鐢� 30-鏆傚仠
+  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
+  docName: string | null
 }
 
 // 璇婂鍜岃瘖鐤楀簥 API
@@ -49,13 +49,17 @@
   },
 
   // 鑾峰彇璇婂绮剧畝淇℃伅鍒楄〃锛岀敤浜庡尰鐢熼�夋嫨鐧诲綍鐨勮瘖瀹�
-  getOnstageBedMap: async () => {
+  getOpeningBedMap: async () => {
     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` })
   }
 }

--
Gitblit v1.9.3