CRM:code review【客户画像】的实现

This commit is contained in:
YunaiV 2024-03-30 14:17:14 +08:00
parent 34b788cb88
commit 87d1047fa9
2 changed files with 6 additions and 4 deletions

View File

@ -143,31 +143,32 @@ export const StatisticsCustomerApi = {
params
})
},
// TODO @puhui999下面这些拆出去哈
// 6.1 获取客户行业统计数据
getCustomerIndustry: (params: any) => {
return request.get({
url: '/crm/statistics-customer/get-customer-industry-summary',
url: '/crm/statistics-portrait/get-customer-industry-summary',
params
})
},
// 6.1 获取客户来源统计数据
getCustomerSource: (params: any) => {
return request.get({
url: '/crm/statistics-customer/get-customer-source-summary',
url: '/crm/statistics-portrait/get-customer-source-summary',
params
})
},
// 6.1 获取客户行业统计数据
getCustomerLevel: (params: any) => {
return request.get({
url: '/crm/statistics-customer/get-customer-level-summary',
url: '/crm/statistics-portrait/get-customer-level-summary',
params
})
},
// 6.1 获取客户行业统计数据
getCustomerArea: (params: any) => {
return request.get({
url: '/crm/statistics-customer/get-customer-area-summary',
url: '/crm/statistics-portrait/get-customer-area-summary',
params
})
}

View File

@ -178,6 +178,7 @@ const handleQuery = () => {
case 'dealCycle': //
dealCycleRef.value?.loadData?.()
break
// TODO @puhui999 4
case 'addressRef':
addressRef.value?.loadData?.()
break