| | |
| | | import request from '@/config/axios' |
| | | |
| | | export interface RoomProfileVO { |
| | | roomId: number | null // 诊室编号 |
| | | roomName: string | null |
| | | bedNum: number | null // 诊疗床数量 |
| | | callingScreenType: number | null // 叫号屏类型 |
| | | } |
| | | |
| | | export interface RoomBedVO { |
| | | roomId: number | null // 诊室编号 |
| | | roomName: string | null |
| | | bedNo: string | null // 诊疗床编号 |
| | | checkTypes: number[] | null |
| | | opType: number | null |
| | | } |
| | | |
| | | export interface PatientVO { |
| | | roomId: number // 诊室编号 |
| | | bedNo: string // 诊疗床编号 |
| | | patId: string // 患者编号 |
| | | jumpFlag: number // 插队标记 |
| | | checkType: number // 检查类型 |
| | | jumpFlag?: number // 插队标记 |
| | | roomId_operator: number | null |
| | | bedNo_operator: string | null |
| | | } |
| | | |
| | | export interface PatientStatisticVO { |
| | | finishedNum: number |
| | | readyNum: number |
| | | receivedNum: number |
| | | passedNum: number |
| | | queuingNum: number |
| | | finishedNum?: number |
| | | readyNum?: number |
| | | receivedNum?: number |
| | | passedNum?: number |
| | | queuingNum?: number |
| | | } |
| | | |
| | | // 医生 API |
| | |
| | | return await request.get({ url: `/ecg/doctor/pass-next-patient`, params }) |
| | | }, |
| | | |
| | | // 装机过号,取下一位患者 |
| | | passInstallNextPatient: async (params: RoomBedVO) => { |
| | | return await request.get({ url: `/ecg/doctor/pass-install-next-patient`, params }) |
| | | }, |
| | | |
| | | // 重叫 |
| | | callAgainPatient: async (params: RoomBedVO) => { |
| | | callPatientAgain: async (params: RoomBedVO) => { |
| | | return await request.get({ url: `/ecg/doctor/call-again`, params }) |
| | | }, |
| | | |
| | | // 取 常规检查、领用 患者列表 |
| | | getPatientList: async (params: RoomBedVO) => { |
| | | return await request.get({ url: `/ecg/doctor/get-patient-list`, params }) |
| | | // 重叫 安装 |
| | | callInstallingPatientAgain: async (params: RoomBedVO) => { |
| | | return await request.get({ url: `/ecg/doctor/call-install-again`, params }) |
| | | }, |
| | | |
| | | // 取 已领用 患者列表 |
| | | getReceivedPatientList: async (params: RoomBedVO) => { |
| | | return await request.get({ url: `/ecg/doctor/get-received-patient-list`, params }) |
| | | // 取 常规检查、领用 患者列表 |
| | | getToBeCheckedPatientList: async (params: RoomBedVO) => { |
| | | return await request.get({ url: `/ecg/doctor/get-to-be-checked-list`, params }) |
| | | }, |
| | | |
| | | // 取 [待装机] 患者列表 |
| | | getToBeInstalledPatientList: async (params: RoomBedVO) => { |
| | | return await request.get({ url: `/ecg/doctor/get-to-be-installed-list`, params }) |
| | | }, |
| | | |
| | | // 取患者统计 |
| | |
| | | return await request.get({ url: `/ecg/doctor/get-dev-install-statistic`, params }) |
| | | }, |
| | | |
| | | // 过号 [排队中] 患者 |
| | | passWaitingPatient: async (params: PatientVO) => { |
| | | return await request.get({ url: `/ecg/doctor/pass-waiting-patient`, params }) |
| | | }, |
| | | |
| | | // 召回 [过号-排队中] 患者 |
| | | recallPassWaitingPatient: async (params: PatientVO) => { |
| | | return await request.get({ url: `/ecg/doctor/recall-pass-waiting-patient`, params }) |
| | | }, |
| | | |
| | | // 召回过号患者 |
| | | recallPatient: async (params: PatientVO) => { |
| | | return await request.get({ url: `/ecg/doctor/recall-patient`, params }) |
| | | }, |
| | | |
| | | // 召回过号患者 |
| | | // 召回 安装过号 患者 |
| | | recallInstallPatient: async (params: PatientVO) => { |
| | | return await request.get({ url: `/ecg/doctor/recall-install-patient`, params }) |
| | | }, |
| | | |
| | | // 加急患者 |
| | | patientJump: async (params: PatientVO) => { |
| | | return await request.get({ url: `/ecg/doctor/patient-jump`, params }) |
| | | } |