| | |
| | | bookTimeslot: number // 预约时间段 |
| | | bookTime: Date // 预约发生时间, 点击预约的时间 |
| | | bookCheckType: number // 预约检查类型 |
| | | paid: number //已付款 |
| | | } |
| | | |
| | | // 预约 API |
| | |
| | | return await request.get({ url: `/ecg/appointment/get?id=` + id }) |
| | | }, |
| | | |
| | | // |
| | | getCurAppointmentByPatId: async (patId: string) => { |
| | | return await request.get({ url: `/ecg/appointment/get-current-by-patient?patId=` + patId }) |
| | | }, |
| | | |
| | | // 从HIS或者DB查询预约详情 |
| | | queryAndCreateAppointmentByPatId: async (patId: string) => { |
| | | return await request.get({ url: `/ecg/appointment/query-and-create-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 }) |