From 9209e46a91f6a255ddfb1dc1db3a02dd2b349663 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期五, 26 十一月 2021 16:43:10 +0800 Subject: [PATCH] fixed: npm run generate fail --- PAMapp/assets/ts/api/consultant.ts | 73 +++++++++++++++++++----------------- 1 files changed, 38 insertions(+), 35 deletions(-) diff --git a/PAMapp/assets/ts/api/consultant.ts b/PAMapp/assets/ts/api/consultant.ts index 046cf4e..536e74d 100644 --- a/PAMapp/assets/ts/api/consultant.ts +++ b/PAMapp/assets/ts/api/consultant.ts @@ -104,50 +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 { - phone:string, - email:string, - contactType:string, - gender:string, - age:string, - job:string, - requirement:string, - hopeContactTime:string[], - otherRequirement:string, - agentNo: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; @@ -208,4 +211,4 @@ name: string, /** "SMS"嚗tp������"EMAIL":Otp�email */ contactType: string -} \ No newline at end of file +} -- Gitblit v1.8.0