fix: 修复多个组件的数据处理和API调用问题

修复QualityCalls组件录音数据处理逻辑,确保正确显示动态数据
修正sale.vue中选中客户后获取统计数据的调用顺序
更新API基础路径为生产环境地址
优化CenterOverview组件默认值和显示逻辑
修复SalesTimelineWithTaskList组件课程显示和阶段计数问题
This commit is contained in:
2025-08-26 20:54:37 +08:00
parent 14ee188856
commit abadcf2494
8 changed files with 62 additions and 16 deletions

View File

@@ -26,7 +26,7 @@
</span>
<span class="card-trend positive">{{ props.overallData.CenterPerformance?.center_monthly_vs_previous_deals }} vs 上期</span>
</div>
<div class="card-value">{{ props.overallData.CenterPerformance.center_monthly_deal_count || '552,000' }} </div>
<div class="card-value">{{ props.overallData.CenterPerformance.center_monthly_deal_count || '0' }} </div>
<div class="card-subtitle">月目标完成率: {{ props.overallData.CenterPerformance?.center_monthly_target_completion_rate || '56%' }}</div>
</div>
@@ -34,8 +34,7 @@
<div class="card-header">
<span class="card-title">
活跃组数
<i
@mouseenter="showTooltip($event, 'activeGroups')"
<i @mouseenter="showTooltip($event, 'activeGroups')"
@mouseleave="hideTooltip"></i>
</span>
<span class="card-trend stable">{{ props.overallData.TotalGroupCount?.center_total_team_count}}/{{ props.overallData.TotalGroupCount?.center_total_team_count }} </span>

View File

@@ -39,7 +39,7 @@
<!-- Top Section - Center Overview and Action Items -->
<div class="top-section">
<!-- Center Performance Overview -->
<CenterOverview :overall-data="overallCenterPerformance" @update-check-type="updateCheckType" />
<CenterOverview :key="CheckType" :overall-data="overallCenterPerformance" @update-check-type="updateCheckType" />
<!-- Action Items (Compact) -->
<div class="action-items-compact">