eight
2024-10-31 f98ab75bf0f7fb54e7e3955a5f6e5a4935a86cbe
src/api/ecg/appointment/index.ts
@@ -19,8 +19,9 @@
  bookId: string // 预约编号
  bookDate: Date // 预约日期
  bookTimeslot: number // 预约时间段
  bookTime: Date // 预约发生时间
  bookTime: Date // 预约发生时间, 点击预约的时间
  bookCheckType: number // 预约检查类型
  paid: number //已付款
}
// 预约 API
@@ -35,6 +36,16 @@
    return await request.get({ url: `/ecg/appointment/get?id=` + id })
  },
  // 从HIS或者DB查询预约详情
  getAppointmentByPatId: async (patId: string) => {
    return await request.get({ url: `/ecg/appointment/get-by-patient?patId=` + patId })
  },
  // 从HIS查询预约或开单信息
  queryAppointmentFromHis: async (patId: string) => {
    return await request.get({ url: `/ecg/appointment/query-his-by-patient?patId=` + patId })
  },
  // 新增预约
  createAppointment: async (data: AppointmentVO) => {
    return await request.post({ url: `/ecg/appointment/create`, data })