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

View File

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