diff --git a/src/api/crm/statistics/customer.ts b/src/api/crm/statistics/customer.ts new file mode 100644 index 00000000..37c93b47 --- /dev/null +++ b/src/api/crm/statistics/customer.ts @@ -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 + }) + }, +} diff --git a/src/views/crm/statistics/customer/components/TotalCustomerCount.vue b/src/views/crm/statistics/customer/components/TotalCustomerCount.vue new file mode 100644 index 00000000..c1c5dfcd --- /dev/null +++ b/src/views/crm/statistics/customer/components/TotalCustomerCount.vue @@ -0,0 +1,113 @@ + + + diff --git a/src/views/crm/statistics/customer/index.vue b/src/views/crm/statistics/customer/index.vue new file mode 100644 index 00000000..ea2edef4 --- /dev/null +++ b/src/views/crm/statistics/customer/index.vue @@ -0,0 +1,125 @@ + + +