You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wkcrm_web/src/api/bi/business.js

51 lines
1003 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import request from '@/utils/request'
/**
* 新增商机数与金额趋势分析
* @param {*} data
* year 年
* status 1销售目标2回款目标
* user_id 员工ID
* structure_id 部门ID
*/
export function biBusinessTrendAPI(data) {
return request({
url: 'bi/business/businessTrend',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
})
}
/**
* 新增商机数与金额趋势分析 详情列表
* @param {*} data
*/
export function biBusinessTrendListAPI(data) {
return request({
url: 'bi/business/trendList',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
})
}
/**
* 赢单机会转化率趋势分析
* @param {*} data
*/
export function biBusinessWinAPI(data) {
return request({
url: 'bi/business/win',
method: 'post',
data: data,
headers: {
'Content-Type': 'application/json;charset=UTF-8'
}
})
}