From 6657e1941f1b517c66a47ec14ef5ed65afb75e21 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 24 十月 2024 17:27:20 +0800 Subject: [PATCH] update --- src/api/ecg/room/index.ts | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/api/ecg/room/index.ts b/src/api/ecg/room/index.ts index 945bbe0..870f954 100644 --- a/src/api/ecg/room/index.ts +++ b/src/api/ecg/room/index.ts @@ -6,15 +6,20 @@ 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 + checkTypes: number[] + opType: number } export interface MonitorInfo { queueNum : number activeQueueNum : number + priorityQueueNum : number openingFlag : number + checkTypeBedInfo: object } // 璇婂鍜岃瘖鐤楀簥 API @@ -29,6 +34,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