Merge branch '2023_CR2' of ssh://dev.pollex.com.tw:29418/pcalife/PAM into 2023_CR2
| | |
| | | <p>æ§å¥ï¼<span>{{gender}}</span></p> |
| | | <p>年齡ï¼<span>{{client.age | toAgeLabel }}</span></p> |
| | | <p>è·æ¥ï¼<span>{{client.job}}</span></p> |
| | | <p>諮詢æ¹å¼ï¼<span>{{client.consultationMethod | toConsulType }}</span></p> |
| | | <p>諮詢æ¹å¼ï¼<span>{{client.consultationMethod | toConsultationMethod }}</span></p> |
| | | <p>éæ±ï¼<span>{{ client.requirement ? client.requirement.split(',').join('ã') : '--' }}</span></p> |
| | | <p v-for="(item, index) in hopeContactTime" |
| | | :key="index" |
| | |
| | | <p>æ§å¥ï¼{{gender}}</p> |
| | | <p>年齡ï¼{{appointmentDetail.age | toAgeLabel }}</p> |
| | | <p>è·æ¥ï¼{{appointmentDetail.job}}</p> |
| | | <p>諮詢æ¹å¼ï¼{{appointmentDetail.consultationMethod | toConsulType }}</p> |
| | | <p>諮詢æ¹å¼ï¼{{appointmentDetail.consultationMethod | toConsultationMethod }}</p> |
| | | <p>éæ±ï¼{{appointmentDetail.requirement ? appointmentDetail.requirement.split(',').join('ã') : '--'}}</p> |
| | | <p |
| | | v-for="(item, index) in hopeContactTime" |
| | |
| | | '~/plugins/vue-scroll-picker', |
| | | '~/plugins/filters/date.filter.ts', |
| | | '~/plugins/filters/age.filter.ts', |
| | | '~/plugins/filters/consult-type.filter.ts', |
| | | '~/plugins/filters/consultation-method.filter.ts', |
| | | '~/plugins/filters/appointment-fail-reason.filter.ts', |
| | | '~/plugins/filters/serve-area.filter.ts', |
| | | ], |
| | |
| | | |
| | | <div class="client-detail-demand__demand-list mb-10"> |
| | | <div class="client-detail-demand__demand-list-label">諮詢<br />æ¹å¼</div> |
| | | <div class="client-detail-demand__demand-list-content">{{ appointmentDetail.consultationMethod | toConsulType }}</div> |
| | | <div class="client-detail-demand__demand-list-content">{{ appointmentDetail.consultationMethod | toConsultationMethod }}</div> |
| | | </div> |
| | | |
| | | <div class="client-detail-demand__demand-list mb-10"> |
| | |
| | | <p>æ§å¥ï¼{{gender}}</p> |
| | | <p>年齡ï¼{{appointmentDetail.age | toAgeLabel }}</p> |
| | | <p>è·æ¥ï¼{{appointmentDetail.job}}</p> |
| | | <p>諮詢æ¹å¼ï¼{{appointmentDetail.consultationMethod | toConsulType }}</p> |
| | | <p>諮詢æ¹å¼ï¼{{appointmentDetail.consultationMethod | toConsultationMethod }}</p> |
| | | <p>éæ±ï¼{{ appointmentDetail.requirement ? appointmentDetail.requirement.split(',').join('ã') : '--'}}</p> |
| | | <p |
| | | v-for="(item, index) in hopeContactTime" |
¤ñ¹ï·sÀÉ®× |
| | |
| | | import Vue from 'vue' |
| | | |
| | | Vue.filter('toConsultationMethod', (value: string): string => { |
| | | |
| | | if (!value || typeof value !== 'string') { |
| | | return '--'; |
| | | }; |
| | | |
| | | const consultationMethodLabel = { |
| | | 'online': 'ç·ä¸', |
| | | 'offline': 'ç·ä¸', |
| | | }; |
| | | |
| | | return consultationMethodLabel[value]; |
| | | }) |