feat(Calendar): 添加历史营期查看功能并优化排序逻辑

- 在Calendar组件中添加历史营期查看功能,包括弹窗和样式
- 修改secondTop组件中的成员排序逻辑,从按成交单数改为按排名排序
- 启用之前注释掉的优秀录音数据获取功能
This commit is contained in:
2025-08-28 15:03:40 +08:00
parent 71d2432df5
commit 4eea8f8a8a
2 changed files with 248 additions and 15 deletions

View File

@@ -747,7 +747,7 @@ const conversionRateVsAverage = ref({})
deals: member.deals_this_period || 0,
rank: member.rank || 0
}))
.sort((a, b) => b.deals - a.deals) // 根据成交单数从高到低排序
.sort((a, b) => a.rank - b.rank) // 根据排名降序排列(排名数字越大越靠后)
// 更新selectedGroup的members数据
selectedGroup.value = {
@@ -893,7 +893,7 @@ const excellentRecord = ref({});
await CenterUrgentNeedToAddress()
await CenterConversionRateVsAverage()
await CenterSeniorManagerList()
// await CentergetGoodRecord()
await CentergetGoodRecord()
await CenterGroupList('all')
console.log('[强制刷新] 所有数据已重新加载')
@@ -929,7 +929,7 @@ const excellentRecord = ref({});
await CenterConversionRateVsAverage()
await CenterSeniorManagerList()
// 获取优秀录音
// await CentergetGoodRecord()
await CentergetGoodRecord()
await CenterGroupList('all') // 初始化加载全部高级经理数据
// 输出缓存信息