feat(topone): 实现任务下发功能并优化界面布局
- 添加任务下发API接口并在任务列表组件中引入 - 修改任务创建逻辑,对接后端API - 获取下属人员列表用于任务分配 - 优化表格布局,移除总业绩列 - 删除不必要的指导建议模块
This commit is contained in:
@@ -346,8 +346,6 @@ async function fetchAbnormalResponseRate() {
|
||||
console.error('获取异常预警失败:', error)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 统计指标--活跃客户沟通率
|
||||
async function fetchCustomerCommunicationRate() {
|
||||
const params = getRequestParams()
|
||||
@@ -401,57 +399,6 @@ async function fetchUrgentNeedToAddress() {
|
||||
try {
|
||||
const response = await getUrgentNeedToAddress(hasParams ? params : undefined)
|
||||
problemRanking.value = response.data
|
||||
/**
|
||||
* "data": {
|
||||
"user_name": "陈盼良",
|
||||
"user_level": 3,
|
||||
"calculate_urgent_issue_ratio": {
|
||||
"成绩提升": "0.00%",
|
||||
"少玩手机": "0.00%",
|
||||
"回归学校": "0.00%",
|
||||
"心理健康": "0.00%"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 团队详情加载样式
|
||||
.team-loading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3rem;
|
||||
|
||||
.loading-spinner {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid #f3f3f3;
|
||||
border-top: 4px solid #3498db;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.loading-text {
|
||||
color: #666;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); },
|
||||
"urgent_issue_consultations": {
|
||||
"成绩提升": 0,
|
||||
"少玩手机": 0,
|
||||
"回归学校": 0,
|
||||
"心理健康": 0
|
||||
}
|
||||
}
|
||||
*/
|
||||
// console.log('客户迫切解决的问题:', response.data)
|
||||
} catch (error) {
|
||||
console.error('获取客户迫切解决的问题失败:', error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user