From 02e3e68b324cd4afc8a70936481bec5bd9890614 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期三, 08 十二月 2021 10:31:15 +0800 Subject: [PATCH] 修正: 保戶查看已聯絡清單,「未填滿意度」文字大小 --- PAMapp/components/Consultant/ConsultantCard.vue | 59 ++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 34 insertions(+), 25 deletions(-) diff --git a/PAMapp/components/Consultant/ConsultantCard.vue b/PAMapp/components/Consultant/ConsultantCard.vue index c3dad48..3dbea80 100644 --- a/PAMapp/components/Consultant/ConsultantCard.vue +++ b/PAMapp/components/Consultant/ConsultantCard.vue @@ -13,10 +13,14 @@ ></UiAvatar> <div> <i class="icon-star pam-icon icon--yellow satisfaction" v-if="!(latestContactedAppointment && !latestContactedAppointment.satisfactionScore)"></i> - <span v-if="agentInfo.contactStatus !== 'contacted'">{{ agentInfo.avgScore }}</span> - <span v-if="agentInfo.contactStatus === 'contacted'"> - {{ latestContactedAppointment && latestContactedAppointment.satisfactionScore || '�憛急遛��漲' }} + <span v-if="agentInfo.contactStatus === 'contacted' && latestContactedAppointment && latestContactedAppointment.satisfactionScore"> + {{ latestContactedAppointment && latestContactedAppointment.satisfactionScore}} </span> + <div class="unfilled text--center " + style="display:flex" + v-if="agentInfo.contactStatus === 'contacted' && + latestContactedAppointment && !latestContactedAppointment.satisfactionScore">�憛�<br />皛踵�漲</div> + <span v-if="agentInfo.contactStatus !== 'contacted'">{{ agentInfo.avgScore }}</span> </div> </el-col> <el-col :xs="10" :sm="15"> @@ -119,13 +123,13 @@ } }, formatHopeContactTime(item: string): string { - if (item) { + if (item) { const [hopeDay, hopeTime] = item.split('��'); const day = hopeDay.split(',').length > 6 ? '銝����' : hopeDay; const time = hopeTime.split(',').length > 3 ? '銝����' : hopeTime; return `${day}��${time}`; - } - return ''; + } + return ''; } } }) @@ -148,26 +152,26 @@ } appointmentDetail: any = { - age:'', - agentNo: '', - appointmentDate: '', - communicateStatus: '', + age : '', + agentNo : '', + appointmentDate : '', + communicateStatus : '', consultantReadTime: null, consultantViewTime: null, - contactTime:'', - contactType:'', - customerId:0, - email:'', - gender:'', - hopeContactTime: "", - id:0, - job: "", - lastModifiedDate:'', - name:'', - otherRequirement: null, - phone: "", - requirement:'', - satisfactionScore: 0, + contactTime : '', + contactType : '', + customerId : 0, + email : '', + gender : '', + hopeContactTime : "", + id : 0, + job : "", + lastModifiedDate : '', + name : '', + otherRequirement : null, + phone : "", + requirement : '', + satisfactionScore : 0, }; get avatarFileName() { @@ -232,7 +236,6 @@ removeAgent() { this.removeFromMyConsultantList(this.agentInfo.agentNo).then((removeOk) => { - console.log('removeOk?', removeOk); }); } @@ -277,6 +280,12 @@ font-weight: bold; margin-top: 5px; } + .unfilled { + font-size: 12px; + padding-top: 5px; + padding-bottom: 5px; + padding-left: 5px; + } .professionals { height: 20px; -- Gitblit v1.8.0