refactor(manager): 优化团队成员详情和预警处理逻辑
- 移除硬编码的团队成员数据,改为从API获取 - 添加可选链操作符处理可能为空的成员数据 - 重构异常预警处理逻辑,动态生成预警消息 - 调整UI组件间距和样式 - 清理无用注释和代码
This commit is contained in:
@@ -10,8 +10,6 @@ export const getWeekTotalCall = (params) => {
|
||||
return https.post('/api/v1/manager/week_total_call', params)
|
||||
}
|
||||
|
||||
// 有效通话时长
|
||||
|
||||
// 新增意向客户 /api/v1/manager/week_add_customer_total
|
||||
export const getWeekAddCustomerTotal = (params) => {
|
||||
return https.post('/api/v1/manager/week_add_customer_total', params)
|
||||
@@ -38,11 +36,12 @@ export const getGroupFunnel = (params) => {
|
||||
export const getGroupRanking = (params) => {
|
||||
return https.post('/api/v1/manager/group_ranking', params)
|
||||
}
|
||||
|
||||
// 团队成员业绩详情 /api/v1/manager/group_detail
|
||||
export const getGroupDetail = (params) => {
|
||||
return https.post('/api/v1/manager/group_detail', params)
|
||||
}
|
||||
// 通话录音 /api/v1/sales/get_call_logs
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user