eight
2024-08-28 3b8457c9c63f0996d8dae63ac988f976da956d38
src/api/ecg/doctor/index.ts
@@ -1,8 +1,15 @@
import request from '@/config/axios'
export interface RoomBedVO {
  roomId: number | null // 诊室编号
  bedNo: string | null // 诊疗床编号
}
export interface PatientVO {
  roomId: number // 诊室编号
  bedNo: string // 诊疗床编号
  patId: string // 患者编号
  jumpFlag: number // 插队标记
}
export interface PatientStatisticVO {
@@ -33,6 +40,16 @@
  // 取患者统计
  getPatientStatistic: async (params: RoomBedVO) => {
    return await request.get({ url: `/ecg/doctor/get-patient-statistic`, params })
  },
  // 召回过号患者
  recallPatient: async (params: PatientVO) => {
    return await request.get({ url: `/ecg/doctor/recall-patient`, params })
  },
  // 召回过号患者
  patientJump: async (params: PatientVO) => {
    return await request.get({ url: `/ecg/doctor/patient-jump`, params })
  }
}