保誠-保戶業務員媒合平台
Tomas
2021-12-14 497f54b264eba626b77e79fec2ca6947ccae19e4
PAMapp/components/Client/ClientCard.vue
@@ -15,8 +15,9 @@
                    :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>
@@ -97,7 +98,7 @@
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) {
@@ -124,6 +125,7 @@
    @Prop() client!: ClientInfo;
    isVisibleDialog = false;
    width = '';
    hideReviews = hideReviews;
    get requirements() {
        return this.client.requirement.split(',');