| | |
| | | return await request.download({ url: `/ecg/queue/export-excel`, params }) |
| | | }, |
| | | |
| | | // 手动开诊 |
| | | startBiz: async () => { |
| | | return await request.get({ url: `/ecg/queue/startbiz` }) |
| | | }, |
| | | |
| | | // 工位开通 |
| | | bedOpen: async (params) => { |
| | | return await request.get({ url: `/ecg/queue/bed-open`, params }) |
| | |
| | | // |
| | | getOpeningFlag: async () => { |
| | | return await request.get({ url: `/clinic/room/get-opening-flag` }) |
| | | } |
| | | }, |
| | | |
| | | // 手动开诊 |
| | | startBiz: async () => { |
| | | return await request.get({ url: `/clinic/room/start-biz` }) |
| | | }, |
| | | |
| | | // 手动闭诊 |
| | | closeBiz: async () => { |
| | | return await request.get({ url: `/clinic/room/close-biz` }) |
| | | } |
| | | |
| | | } |
| | |
| | | </div> |
| | | <div> |
| | | <el-button @click="startBiz" > 手动开诊 </el-button> |
| | | <el-button @click="closeBiz" > 手动闭诊 </el-button> |
| | | <el-button @click="resetRoom" > 重置诊室 </el-button> |
| | | <el-button @click="resetSchedule" > 重置定时任务 </el-button> |
| | | <el-button @click="refresh" > 刷新 </el-button> |
| | |
| | | } |
| | | |
| | | const startBiz = async () => { |
| | | await QueueApi.startBiz(); |
| | | await RoomApi.startBiz(); |
| | | } |
| | | |
| | | const closeBiz = async () => { |
| | | await RoomApi.closeBiz(); |
| | | } |
| | | |
| | | const resetRoom = async () => { |