From 6ff1d0903a7adda6d4a97c189d38b20a2ac777f9 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 20 九月 2024 17:50:37 +0800
Subject: [PATCH] 拆机界面  设备详情显示

---
 src/api/ecg/room/index.ts |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/api/ecg/room/index.ts b/src/api/ecg/room/index.ts
index 945bbe0..b1b83c0 100644
--- a/src/api/ecg/room/index.ts
+++ b/src/api/ecg/room/index.ts
@@ -6,6 +6,7 @@
   roomId: number | null // 璇婂缂栧彿
   roomName: string | null // 璇婂鍚嶇О
   bedNo: string | null // 璇婄枟搴婄紪鍙�
+  ip: string | null // 璇婂IP
   status: number | null //寮�璇婄姸鎬�  0-鍏抽棴 1-鍏抽棴涓� 10-宸插紑閫� 20-鏈夊尰鐢� 30-鏆傚仠
   docId: number | null
   docName: string | null
@@ -29,6 +30,11 @@
     return await request.get({ url: `/clinic/room/get?id=` + id })
   },
 
+  // 鏌ヨ璇婂鍜岃瘖鐤楀簥璇︽儏
+  getRoomByIP: async () => {
+    return await request.get({ url: `/clinic/room/get-room-by-ip`})
+  },
+
   // 鏂板璇婂鍜岃瘖鐤楀簥
   createRoom: async (data: RoomVO) => {
     return await request.post({ url: `/clinic/room/create`, data })

--
Gitblit v1.9.3