| | |
| | | bookId: string // 预约编号 |
| | | bookDate: Date // 预约日期 |
| | | bookTimeslot: number // 预约时间段 |
| | | bookTime: Date // 预约发生时间 |
| | | bookTime: Date // 预约发生时间, 点击预约的时间 |
| | | bookCheckType: number // 预约检查类型 |
| | | paid: number //已付款 |
| | | } |
| | | |
| | | // 预约 API |
| | |
| | | return await request.get({ url: `/ecg/appointment/get?id=` + id }) |
| | | }, |
| | | |
| | | // 查询预约详情 |
| | | getAppointmentByPatId: async (patId: string) => { |
| | | return await request.get({ url: `/ecg/appointment/get-by-patient?patId=` + patId }) |
| | | }, |
| | | |
| | | // 新增预约 |
| | | createAppointment: async (data: AppointmentVO) => { |
| | | return await request.post({ url: `/ecg/appointment/create`, data }) |