eight
2024-08-08 18acf59e72e031632e798d13fd06f13a4ff738e1
src/api/ecg/appointment/index.ts
@@ -2,7 +2,7 @@
// 预约 VO
export interface AppointmentVO {
  id: string
  id: number,
  patId: string // 患者编号
  patName: string // 患者姓名
  patGender: number // 患者性别
@@ -20,7 +20,7 @@
  bookDate: Date // 预约日期
  bookTimeslot: number // 预约时间段
  bookTime: Date // 预约发生时间
  bookCheckType: boolean // 预约检查类型
  bookCheckType: number // 预约检查类型
}
// 预约 API
@@ -53,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 })
  }
}