update: [顧問-客戶預約列表] row 顯示時間為 appointmentDate
| | |
| | | } |
| | | } |
| | | |
| | | get latestUpdateTime() { |
| | | get displayTime(): string { |
| | | if (this.isReserved) { |
| | | return this.client.consultantReadTime ? this.client.consultantReadTime : this.client.appointmentDate; |
| | | return this.client.appointmentDate; |
| | | } else { |
| | | return this.client.contactTime; |
| | | return this.client.lastModifiedDate; |
| | | } |
| | | } |
| | | |
| | | get time() { |
| | | const formatDate = (this.$options.filters as any).formatDate(this.latestUpdateTime); |
| | | const formatDate = (this.$options.filters as any).formatDate(this.displayTime); |
| | | return formatDate.split(' ')[1] |
| | | } |
| | | |
| | | get date() { |
| | | const formatDate = (this.$options.filters as any).formatDate(this.latestUpdateTime); |
| | | const formatDate = (this.$options.filters as any).formatDate(this.displayTime); |
| | | return formatDate.split(' ')[0]; |
| | | } |
| | | |
| | |
| | | export interface ClientInfo { |
| | | id : number, |
| | | phone : string, |
| | | email : string, |
| | | contactType : string, |
| | | gender : string, |
| | | age : string, |
| | | job : string, |
| | | requirement : string, |
| | | communicateStatus : string, |
| | | hopeContactTime : string, |
| | | otherRequirement : string, |
| | | appointmentDate : string, |
| | | agentNo : string, |
| | | customerId : number, |
| | | name : string, |
| | | consultantViewTime: string, |
| | | appointmentDate : string, |
| | | communicateStatus : string, |
| | | consultantReadTime: string, |
| | | consultantViewTime: string, |
| | | contactTime : string, |
| | | satisfactionScore : number |
| | | contactType : string, |
| | | customerId : number, |
| | | email : string, |
| | | gender : string, |
| | | hopeContactTime : string, |
| | | id : number, |
| | | job : string, |
| | | lastModifiedDate : string, |
| | | name : string, |
| | | otherRequirement : string, |
| | | phone : string, |
| | | requirement : string, |
| | | satisfactionScore : number, |
| | | } |