eight
2025-04-15 49206ee0689d44367b9f5de3decf0c3ec02bfb51
src/api/ecg/doctor/index.ts
@@ -1,10 +1,17 @@
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,
  checkTypes: number[] | null
  opType: number | null
}
@@ -12,15 +19,18 @@
  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
@@ -111,6 +121,16 @@
    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 })