| | |
| | | docName: string | null |
| | | } |
| | | |
| | | export interface MonitorInfo { |
| | | queueNum : number |
| | | activeQueueNum : number |
| | | openingFlag : number |
| | | } |
| | | |
| | | // 诊室和诊疗床 API |
| | | export const RoomApi = { |
| | | // 查询诊室和诊疗床分页 |
| | |
| | | // |
| | | resetRoom: async () => { |
| | | return await request.get({ url: `/clinic/room/reset-room` }) |
| | | }, |
| | | |
| | | // |
| | | getMonitorInfo: async () => { |
| | | return await request.get({ url: `/clinic/room/monitor` }) |
| | | }, |
| | | |
| | | // 手动开诊 |
| | | startBiz: async () => { |
| | | return await request.get({ url: `/clinic/room/start-biz` }) |
| | | }, |
| | | |
| | | // 手动闭诊 |
| | | closeBiz: async () => { |
| | | return await request.get({ url: `/clinic/room/close-biz` }) |
| | | } |
| | | |
| | | } |