diff --git a/src/api/crm/statistics/customer.ts b/src/api/crm/statistics/customer.ts
index 37c93b47..f048d174 100644
--- a/src/api/crm/statistics/customer.ts
+++ b/src/api/crm/statistics/customer.ts
@@ -2,6 +2,7 @@ import request from '@/config/axios'
export interface StatisticsCustomerRespVO {
count: number
+ cycle: number
category: string
}
@@ -21,4 +22,32 @@ export const StatisticsCustomerApi = {
params
})
},
+ // 获取客户跟进次数
+ getRecordCount: (params: any) => {
+ return request.get({
+ url: '/crm/statistics-customer/get-record-count',
+ params
+ })
+ },
+ // 获取客户跟进次数
+ getDistinctRecordCount: (params: any) => {
+ return request.get({
+ url: '/crm/statistics-customer/get-distinct-record-count',
+ params
+ })
+ },
+ // 获取客户跟进方式统计数
+ getRecordTypeCount: (params: any) => {
+ return request.get({
+ url: '/crm/statistics-customer/get-record-type-count',
+ params
+ })
+ },
+ // 获取客户成交周期
+ getCustomerCycle: (params: any) => {
+ return request.get({
+ url: '/crm/statistics-customer/get-customer-cycle',
+ params
+ })
+ },
}
diff --git a/src/views/crm/statistics/customer/components/ConversionRate.vue b/src/views/crm/statistics/customer/components/ConversionRate.vue
new file mode 100644
index 00000000..5f3ad591
--- /dev/null
+++ b/src/views/crm/statistics/customer/components/ConversionRate.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/statistics/customer/components/CustomerCycle.vue b/src/views/crm/statistics/customer/components/CustomerCycle.vue
new file mode 100644
index 00000000..d28f345d
--- /dev/null
+++ b/src/views/crm/statistics/customer/components/CustomerCycle.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/statistics/customer/components/FollowupCount.vue b/src/views/crm/statistics/customer/components/FollowupCount.vue
new file mode 100644
index 00000000..e0ae1274
--- /dev/null
+++ b/src/views/crm/statistics/customer/components/FollowupCount.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/statistics/customer/components/FollowupType.vue b/src/views/crm/statistics/customer/components/FollowupType.vue
new file mode 100644
index 00000000..2debcb1c
--- /dev/null
+++ b/src/views/crm/statistics/customer/components/FollowupType.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/statistics/customer/components/TotalCustomerCount.vue b/src/views/crm/statistics/customer/components/TotalCustomerCount.vue
index c1c5dfcd..84c50d04 100644
--- a/src/views/crm/statistics/customer/components/TotalCustomerCount.vue
+++ b/src/views/crm/statistics/customer/components/TotalCustomerCount.vue
@@ -1,6 +1,6 @@
-
+
@@ -20,7 +20,6 @@