保誠-保戶業務員媒合平台
Tomas
2021-12-10 3b2586dc9499e16919a8a333b3b78c2ca792d416
PAMapp/components/Consultant/ConsultantCard.vue
@@ -181,19 +181,22 @@
                .sort((preAppointment, nextAppointment) => +nextAppointment.sortDate - +preAppointment.sortDate)[0];
    }
    get displayTime(): string {
        let time = '';
        let time: Date | string = '';
        switch(this.agentInfo.contactStatus) {
            case 'reserved':
                time = this.agentInfo.updateTime
                time = this.agentInfo.updateTime
                break;
            case 'contacted':
                time = this.agentInfo.updateTime
                time = this.agentInfo.updateTime
                break;
            case 'picked':
                time = this.agentInfo.createTime
                time = this.agentInfo.createTime
                break;
        }
        return time;
        if (typeof time !== 'string') {
          time.toString();
        }
        return time as string;
    }
    appointmentDetail: any = {