| | |
| | | patientJump: async (params: PatientVO) => { |
| | | return await request.get({ url: `/ecg/doctor/patient-jump`, params }) |
| | | }, |
| | | |
| | | // ==================== 需求2:撤销「叫号 / 检查完成」 ==================== |
| | | |
| | | // 撤销检查完成:已就诊(40) → 候诊中(20)。必须带 patId + checkType 精确定位 |
| | | undoFinishPatient: async (params: PatientVO) => { |
| | | return await request.get({ url: `/ecg/doctor/undo-finish-patient`, params }) |
| | | }, |
| | | |
| | | // 撤销叫号:就诊中(30) → 候诊中(20) |
| | | undoCallPatient: async (params: { roomId: number | null; bedNo: string | null }) => { |
| | | return await request.get({ url: `/ecg/doctor/undo-call-patient`, params }) |
| | | }, |
| | | |
| | | // 取本工位今日最近一位已完成患者(供撤销提示) |
| | | lastFinishedPatient: async (params: { roomId: number | null; bedNo: string | null }) => { |
| | | return await request.get({ url: `/ecg/doctor/last-finished-patient`, params }) |
| | | }, |
| | | |
| | | // ==================== 需求3:停止候诊开关 ==================== |
| | | |
| | | // 停止候诊:不再新增候诊患者(已有候诊仍可叫号) |
| | | stopReady: async (params: { roomId: number | null; bedNo: string | null }) => { |
| | | return await request.get({ url: `/ecg/doctor/stop-ready`, params }) |
| | | }, |
| | | |
| | | // 恢复候诊:重新开始接收候诊患者 |
| | | resumeReady: async (params: { roomId: number | null; bedNo: string | null }) => { |
| | | return await request.get({ url: `/ecg/doctor/resume-ready`, params }) |
| | | }, |
| | | |
| | | // 查询停止候诊状态 |
| | | getStopReady: async (params: { roomId: number | null; bedNo: string | null }) => { |
| | | return await request.get({ url: `/ecg/doctor/get-stop-ready`, params }) |
| | | }, |
| | | |
| | | // 下载 |
| | | yddownload: async (id: number | string) => { |
| | | return await request.get({ url: `/ecg/template/download/${id}` }) |