| | |
| | | } |
| | | |
| | | |
| | | // 顧問登入顯示新預約單筆數後觸發 |
| | | export function allAppointmentsView() { |
| | | const headers = { |
| | | Authorization: 'Bearer ' + localStorage.getItem('id_token') |
| | | } |
| | | return service.post('/consultant/record/allAppointmentsView', undefined, {headers}) |
| | | } |
| | | |
| | | // 讀取預約單時觸發 |
| | | export function recordRead(appointmentId: number) { |
| | | const headers = { |
| | | Authorization: 'Bearer ' + localStorage.getItem('id_token') |
| | | } |
| | | return service.post('/appointment/recordRead/' + appointmentId, undefined, {headers}) |
| | | } |
| | | |
| | | |
| | | export interface ClientInfo { |
| | |
| | | job : string, |
| | | requirement : string, |
| | | communicateStatus: string, |
| | | hopeContactTime : string, |
| | | otherRequirement : string, |
| | | appointmentDate : Date, |
| | | agentNo : string, |
| | | customerId : number, |
| | | name : string |
| | | hopeContactTime: string, |
| | | otherRequirement: string, |
| | | appointmentDate: Date, |
| | | agentNo: string, |
| | | customerId: number, |
| | | name: string, |
| | | consultantViewTime: Date, |
| | | consultantReadTime: Date, |
| | | contactTime: Date, |
| | | satisfactionScore: number |
| | | } |