eight
2024-08-16 edcb7331b540441738258f900bedc337c9651f64
src/api/ecg/room/index.ts
@@ -3,8 +3,10 @@
// 诊室和诊疗床 VO
export interface RoomVO {
  id: number  //
  roomNo: string // 诊室编号
  roomId: number // 诊室编号
  roomName: string // 诊室名称
  bedNo: string // 诊疗床编号
  onstage: boolean //开诊状态
}
// 诊室和诊疗床 API
@@ -37,5 +39,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` })
  }
}