fix(PerformanceRanking): 简化选中成员的判断逻辑
feat(RawDataCards): 添加通话记录标签样式和显示 refactor(MemberDetails): 启用指导建议并修复空成员检查
This commit is contained in:
@@ -91,6 +91,10 @@
|
||||
<div class="call-header">
|
||||
<span class="call-type">用户: {{ call.user_name }}</span>
|
||||
<span class="call-duration">客户: {{ call.customer_name }}</span>
|
||||
<span class="call-tag" :class="{
|
||||
'tag-20min': call.record_tag === '20分钟通话',
|
||||
'tag-other': call.record_tag === '其他'
|
||||
}" v-if="call.record_tag">{{ call.record_tag }}</span>
|
||||
</div>
|
||||
<div class="call-actions">
|
||||
<div class="action-buttons">
|
||||
@@ -231,6 +235,7 @@ const callRecords = computed(() => {
|
||||
|
||||
// 从 props.callInfo 中获取真实的通话记录数据
|
||||
if (props.callInfo && Array.isArray(props.callInfo)) {
|
||||
console.log('通话记录:', props.callInfo)
|
||||
return props.callInfo
|
||||
}
|
||||
|
||||
@@ -581,6 +586,25 @@ const formatDateTime = (dateTimeString) => {
|
||||
font-size: 12px;
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
.call-tag {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
padding: 3px 8px;
|
||||
border-radius: 12px;
|
||||
|
||||
&.tag-20min {
|
||||
background: #dcfce7;
|
||||
color: #16a34a;
|
||||
border: 1px solid #bbf7d0;
|
||||
}
|
||||
|
||||
&.tag-other {
|
||||
background: #fef3c7;
|
||||
color: #d97706;
|
||||
border: 1px solid #fed7aa;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.call-actions {
|
||||
|
||||
Reference in New Issue
Block a user