| | |
| | | :size="50" |
| | | src="" |
| | | ></el-avatar> |
| | | <div class="satisfaction"> |
| | | <div class="satisfaction" v-if="!hideReviews"> |
| | | <template v-if="client.satisfactionScore"> |
| | | TODO:隱藏滿意度 |
| | | <i class="icon-star pam-icon icon--yellow satisfaction"></i> |
| | | <span>{{client.satisfactionScore}}</span> |
| | | </template> |
| | |
| | | import { Vue, Component, Prop, Action } from 'nuxt-property-decorator'; |
| | | import { isMobileDevice } from '~/assets/ts/device'; |
| | | import { ClientInfo, markAsContact, recordRead } from '~/assets/ts/api/appointment'; |
| | | |
| | | import { hideReviews } from '~/assets/ts/const/hide-reviews'; |
| | | @Component({ |
| | | filters: { |
| | | formatNumber(index: number) { |
| | |
| | | @Prop() client!: ClientInfo; |
| | | isVisibleDialog = false; |
| | | width = ''; |
| | | hideReviews = hideReviews; |
| | | |
| | | get requirements() { |
| | | return this.client.requirement.split(','); |