eight
2024-08-28 2bc74ebfec4a30beddc66fd55be4947e5f7cf498
src/api/ecg/appointment/index.ts
@@ -2,6 +2,7 @@
// 预约 VO
export interface AppointmentVO {
  id: number,
  patId: string // 患者编号
  patName: string // 患者姓名
  patGender: number // 患者性别
@@ -16,10 +17,10 @@
  patWardDesc: string // 患者所在病区名称
  patBedNo: string // 床号
  bookId: string // 预约编号
  bookPeriodStart: Date // 预约检查时间段
  bookPeriodEnd: Date // 预约检查时间段
  bookTime: Date // 预约发生时间
  bookCheckType: boolean // 预约检查类型
  bookDate: Date // 预约日期
  bookTimeslot: number // 预约时间段
  bookTime: Date // 预约发生时间, 点击预约的时间
  bookCheckType: number // 预约检查类型
}
// 预约 API
@@ -52,5 +53,11 @@
  // 导出预约 Excel
  exportAppointment: async (params) => {
    return await request.download({ url: `/ecg/appointment/export-excel`, params })
  },
  // 修改预约
  confirmAppointment: async (data: AppointmentVO) => {
      return await request.post({ url: `/ecg/appointment/confirm`, data })
  }
}