修正: 保戶查看已聯絡清單,「未填滿意度」文字大小
| | |
| | | ></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"> |
| | |
| | | } |
| | | }, |
| | | 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 ''; |
| | | } |
| | | } |
| | | }) |
| | |
| | | } |
| | | |
| | | 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() { |
| | |
| | | |
| | | removeAgent() { |
| | | this.removeFromMyConsultantList(this.agentInfo.agentNo).then((removeOk) => { |
| | | console.log('removeOk?', removeOk); |
| | | }); |
| | | } |
| | | |
| | |
| | | font-weight: bold; |
| | | margin-top: 5px; |
| | | } |
| | | .unfilled { |
| | | font-size: 12px; |
| | | padding-top: 5px; |
| | | padding-bottom: 5px; |
| | | padding-left: 5px; |
| | | } |
| | | |
| | | .professionals { |
| | | height: 20px; |