保誠-保戶業務員媒合平台
Tomas
2021-12-27 c4657209fea6c0b74708de65d936e9033660a1b9
update: [顧問-客戶預約列表] row 顯示時間為 appointmentDate
刪除1個檔案
修改2個檔案
59 ■■■■■ 已變更過的檔案
PAMapp/components/Client/ClientCard.vue 10 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/shared/models/client.model.ts 31 ●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/shared/models/clientInfo.ts 18 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
PAMapp/components/Client/ClientCard.vue
@@ -175,21 +175,21 @@
        }
    }
    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];
    }
PAMapp/shared/models/client.model.ts
@@ -1,21 +1,22 @@
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,
}
PAMapp/shared/models/clientInfo.ts
檔案已刪除