Merge remote-tracking branch 'origin/Phase3' into Phase3
| | |
| | | '~/plugins/filters/date.filter.ts', |
| | | '~/plugins/filters/age.filter.ts', |
| | | '~/plugins/filters/appointment-fail-reason.filter.ts', |
| | | '~/plugins/filters/serve-area.filter.ts', |
| | | ], |
| | | |
| | | // Auto import components: https://go.nuxtjs.dev/config-components |
| | |
| | | type="flex" |
| | | class="pam-paragraph"> |
| | | <UiField icon="company" label="æåå°å"> |
| | | {{ agentInfo.serveArea }} |
| | | {{ agentInfo.serveArea | toServeArea }} |
| | | </UiField> |
| | | </el-row> |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="client-detail-action" v-if="showWhenAppointmentHasClosed"> |
| | | <div class=" btn-center" v-if="showWhenAppointmentHasClosed"> |
| | | <el-button @click="inviteReview">ç¼é滿æåº¦</el-button> |
| | | </div> |
| | | |
| | |
| | | <el-button @click="sendMsg" style="margin-left: 0px">éç¥ç´è¨ª</el-button> |
| | | </div> |
| | | |
| | | <div class="client-detail-action btn-center" v-if="showWhenAppointmentHasCreate"> |
| | | <div class=" btn-center" v-if="showWhenAppointmentHasCreate"> |
| | | <el-button @click="sendMsg">å³éç´è¨ªéç¥</el-button> |
| | | </div> |
| | | </section> |
¤ñ¹ï·sÀÉ®× |
| | |
| | | import { taiwanCities } from '~/shared/const/taiwan-cities'; |
| | | |
| | | import Vue from 'vue' |
| | | |
| | | Vue.filter('toServeArea', (value: string): string => { |
| | | |
| | | if (!value || typeof value !== 'string') { |
| | | return '--'; |
| | | } |
| | | |
| | | const serveAreaLength = value.split('ã').length; |
| | | |
| | | return serveAreaLength === taiwanCities.length |
| | | ? 'å
¨å°' |
| | | : value; |
| | | }) |