eight
2024-12-12 cfd2621f98e34e348a0e7ca7466464f9886d4eb2
src/api/ecg/appointment/index.ts
@@ -3,7 +3,8 @@
// 预约 VO
export interface AppointmentVO {
  id: number,
  applyNo: string
  applyNo: string  // 预约申请编号
  episodeId: number //就诊流水号
  patSrc: number
  patId: string // 患者编号
  patName: string // 患者姓名
@@ -18,12 +19,12 @@
  patWardCode: string // 患者所在病区代码
  patWardDesc: string // 患者所在病区名称
  patBedNo: string // 床号
  bookId: string // 预约编号
  bookDate: Date // 预约日期
  bookTimeslot: number // 预约时间段
  bookTime: Date // 预约发生时间, 点击预约的时间
  bookCheckType: number // 预约检查类型
  paid: number //已付款
  bookSeqNum: number
}
// 预约 API
@@ -39,8 +40,8 @@
  },
  //
  getCurAppointmentByPatId: async (patId: string) => {
    return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId })
  getCurAppointmentByPatIdAndCheckType: async (patId: string, checkType: number) => {
    return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId + '&checkType=' + checkType })
  },
  // 从HIS或者DB查询预约详情