feat(manager): 添加经理模块API及更新团队报表组件
- 新增manager.js包含团队管理相关API接口 - 更新TeamReport.vue中的报表卡片内容和对比周期 - 在manager.vue中添加useUserStore导入并调整sale组件样式
This commit is contained in:
43
my-vue-app/src/api/manager.js
Normal file
43
my-vue-app/src/api/manager.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import https from '../utils/https'
|
||||
|
||||
// 团队总通话 /api/v1/manager/week_total_call
|
||||
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)
|
||||
}
|
||||
|
||||
// 新增成交 /api/v1/manager/week_add_deal_total
|
||||
export const getWeekAddDealTotal = (params) => {
|
||||
return https.post('/api/v1/manager/week_add_deal_total', params)
|
||||
}
|
||||
// 总业绩 /api/v1/manager/week_add_fee_total
|
||||
export const getWeekAddFeeTotal = (params) => {
|
||||
return https.post('/api/v1/manager/week_add_fee_total', params)
|
||||
}
|
||||
// 定金转化率 /api/v1/manager/week_add_fee_total
|
||||
export const getWeekAddFeeTotal = (params) => {
|
||||
return https.post('/api/v1/manager/week_add_fee_total', params)
|
||||
}
|
||||
|
||||
// 团队漏斗 /api/v1/group_funnel/get_group_funnel
|
||||
export const getGroupFunnel = (params) => {
|
||||
return https.post('/api/v1/group_funnel/get_group_funnel', params)
|
||||
}
|
||||
// 团队成员业绩排名 /api/v1/manager/group_ranking
|
||||
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)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user