eight
2024-08-20 6f251b714260edadcaf82fc7bcc4e7c40491d64f
src/api/ecg/doctor/index.ts
@@ -8,14 +8,19 @@
// 医生 API
export const DoctorApi = {
  // 下一位患者
  nextPatient: async (params: RoomBedVO) => {
    return await request.get({ url: `/ecg/doctor/nextpatient`, params })
  // 看完,取下一位患者
  finishNextPatient: async (params: RoomBedVO) => {
    return await request.get({ url: `/ecg/doctor/finish-next-patient`, params })
  },
  // 看完患者
  finishPatient: async (params: RoomBedVO) => {
    return await request.get({ url: `/ecg/doctor/finishpatient`, params })
  // 过号,取下一位患者
  passNextPatient: async (params: RoomBedVO) => {
    return await request.get({ url: `/ecg/doctor/pass-next-patient`, params })
  },
  // 取初始患者列表
  getPatientList: async (params: RoomBedVO) => {
    return await request.get({ url: `/ecg/doctor/get-patient-list`, params })
  }
}