| | |
| | | |
| | | // 预约 VO |
| | | export interface AppointmentVO { |
| | | id: string |
| | | id: number, |
| | | patId: string // 患者编号 |
| | | patName: string // 患者姓名 |
| | | patGender: number // 患者性别 |
| | |
| | | bookDate: Date // 预约日期 |
| | | bookTimeslot: number // 预约时间段 |
| | | bookTime: Date // 预约发生时间 |
| | | bookCheckType: boolean // 预约检查类型 |
| | | bookCheckType: number // 预约检查类型 |
| | | } |
| | | |
| | | // 预约 API |
| | |
| | | // 导出预约 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 }) |
| | | } |
| | | |
| | | } |