From aa5b8b8266912d4b02d432049a66d29f56245115 Mon Sep 17 00:00:00 2001 From: Jack <jack.su@pollex.com.tw> Date: 星期五, 26 十一月 2021 18:33:23 +0800 Subject: [PATCH] Merge branch 'master' of ssh://192.168.0.10:29418/pcalife/PAM --- PAMapp/assets/ts/api/consultant.ts | 71 +++++++++++++++++++---------------- 1 files changed, 38 insertions(+), 33 deletions(-) diff --git a/PAMapp/assets/ts/api/consultant.ts b/PAMapp/assets/ts/api/consultant.ts index 382a492..536e74d 100644 --- a/PAMapp/assets/ts/api/consultant.ts +++ b/PAMapp/assets/ts/api/consultant.ts @@ -104,48 +104,53 @@ return service.get('/appointment/getDetail/'+apointmentId, {headers}) } export interface Consultants { - agentNo: string, - name: string, - img: string, - new: boolean, - avgScore: number, - expertise: string[], - updateTime: Date, - seniority: string, - contactStatus?: string; + agentNo : string, + name : string, + img : string, + new : boolean, + avgScore : number, + expertise : string[], + updateTime : Date, + seniority : string, + contactStatus? : string; latestAppointmentId: number; - role: string; - image?: string; - expertises?: string; + role : string; + image? : string; + expertises? : string; } export interface FastQueryParams { - gender: string, + gender : string, communicationStyles: string[], - avgScore: number, - status: string + avgScore : number, + status : string } export interface AppointmentRequests { - connectDevices: any[], - hopeContactTime: any, - email?: string, - job?: string, - otherJob?: string, - gender?: string, - myQuestion: any[], - age?: string, + phone : string, + email : string, + contactType : string, + gender : string, + age : string, + job : string, + requirement : string[], + hopeContactTime: ContactTime[], + agentNo : string, +} +export interface ContactTime { + selectWeekOptions : string[], + selectTimesOptions: string[] } export interface AppointmentParams { - phone?: string, - email?: string, - contactType: string, - gender?: string, - age?: string, - job?: string, - requirement: string, - hopeContactTime?: string, - agentNo: string + phone : string, + email : string, + contactType : string, + gender : string, + age : string, + job : string, + requirement : string, + hopeContactTime: string, + agentNo : string } export interface StrictQueryParams{ gender: string; @@ -206,4 +211,4 @@ name: string, /** "SMS"嚗tp������"EMAIL":Otp�email */ contactType: string -} \ No newline at end of file +} -- Gitblit v1.8.0