| | |
| | | } |
| | | } |
| | | |
| | | 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]; |
| | | } |
| | | |