src/api/ecg/room/index.ts
@@ -10,6 +10,7 @@ status: number | null //开诊状态 0-关闭 1-关闭中 10-已开通 20-有医生 30-暂停 docId: number | null docName: string | null checkTypes: number[] } export interface MonitorInfo { @@ -30,6 +31,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 })