feat: CRM/数据统计/客户总量分析

This commit is contained in:
dhb52
2024-02-27 23:45:13 +08:00
parent 0db264dcac
commit 441b91381f
3 changed files with 262 additions and 0 deletions

View File

@ -0,0 +1,24 @@
import request from '@/config/axios'
export interface StatisticsCustomerRespVO {
count: number
category: string
}
// 客户总量分析 API
export const StatisticsCustomerApi = {
// 客户总量(新建)
getTotalCustomerCount: (params: any) => {
return request.get({
url: '/crm/statistics-customer/get-total-customer-count',
params
})
},
// 客户总量(成交)
getDealTotalCustomerCount: (params: any) => {
return request.get({
url: '/crm/statistics-customer/get-deal-total-customer-count',
params
})
},
}