| | |
| | | // 预约 VO |
| | | export interface AppointmentVO { |
| | | id: number, |
| | | applyNo: string |
| | | episodeId: number //就诊流水号 |
| | | applyNo: string // 预约申请编号 |
| | | episodeId: string //就诊流水号 |
| | | patSrc: number |
| | | tolerance:number// 是否耐药 |
| | | patId: string // 患者编号 |
| | | patName: string // 患者姓名 |
| | | patGender: number // 患者性别 |
| | |
| | | patWardCode: string // 患者所在病区代码 |
| | | patWardDesc: string // 患者所在病区名称 |
| | | patBedNo: string // 床号 |
| | | bookId: string // 预约编号 |
| | | bookDate: Date // 预约日期 |
| | | bookTimeslot: number // 预约时间段 |
| | | bookTime: Date // 预约发生时间, 点击预约的时间 |
| | |
| | | createAppointment: async (data: AppointmentVO) => { |
| | | return await request.post({ url: `/ecg/appointment/create`, data }) |
| | | }, |
| | | // 状态更新 |
| | | alterAppointment: async (data: AppointmentVO) => { |
| | | return await request.post({ url: `/ecg/appointment/updateStatus`, data }) |
| | | }, |
| | | |
| | | // 修改预约 |
| | | updateAppointment: async (data: AppointmentVO) => { |