From b57a2c50a9e0276202ce066f7dd7a52a1e09fc6a Mon Sep 17 00:00:00 2001
From: scholar <1145227973@qq.com>
Date: Wed, 3 Apr 2024 18:43:34 +0800
Subject: [PATCH] =?UTF-8?q?CRM=E5=91=98=E5=B7=A5=E4=B8=9A=E7=BB=A9?=
=?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=88=86=E6=9E=90v2.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/crm/statistics/performance.ts | 33 +++
.../components/ContractCountPerformance.vue | 215 ++++++++++++++++++
.../components/ContractPricePerformance.vue | 215 ++++++++++++++++++
.../components/ReceivablePricePerformance.vue | 215 ++++++++++++++++++
.../crm/statistics/performance/index.vue | 148 ++++++++++++
5 files changed, 826 insertions(+)
create mode 100644 src/api/crm/statistics/performance.ts
create mode 100644 src/views/crm/statistics/performance/components/ContractCountPerformance.vue
create mode 100644 src/views/crm/statistics/performance/components/ContractPricePerformance.vue
create mode 100644 src/views/crm/statistics/performance/components/ReceivablePricePerformance.vue
create mode 100644 src/views/crm/statistics/performance/index.vue
diff --git a/src/api/crm/statistics/performance.ts b/src/api/crm/statistics/performance.ts
new file mode 100644
index 00000000..2318505e
--- /dev/null
+++ b/src/api/crm/statistics/performance.ts
@@ -0,0 +1,33 @@
+import request from '@/config/axios'
+
+export interface StatisticsPerformanceRespVO {
+ time: string
+ currentMonthCount: number
+ lastMonthCount: number
+ lastYearCount: number
+}
+
+// 排行 API
+export const StatisticsPerformanceApi = {
+ // 员工获得合同金额统计
+ getContractPricePerformance: (params: any) => {
+ return request.get({
+ url: '/crm/statistics-performance/get-contract-price-performance',
+ params
+ })
+ },
+ // 员工获得回款统计
+ getReceivablePricePerformance: (params: any) => {
+ return request.get({
+ url: '/crm/statistics-performance/get-receivable-price-performance',
+ params
+ })
+ },
+ //员工获得签约合同数量统计
+ getContractCountPerformance: (params: any) => {
+ return request.get({
+ url: '/crm/statistics-performance/get-contract-count-performance',
+ params
+ })
+ }
+}
diff --git a/src/views/crm/statistics/performance/components/ContractCountPerformance.vue b/src/views/crm/statistics/performance/components/ContractCountPerformance.vue
new file mode 100644
index 00000000..6519e557
--- /dev/null
+++ b/src/views/crm/statistics/performance/components/ContractCountPerformance.vue
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row[item.prop]}}
+
+
+
+
+
+
diff --git a/src/views/crm/statistics/performance/components/ContractPricePerformance.vue b/src/views/crm/statistics/performance/components/ContractPricePerformance.vue
new file mode 100644
index 00000000..ae3c50df
--- /dev/null
+++ b/src/views/crm/statistics/performance/components/ContractPricePerformance.vue
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row[item.prop]}}
+
+
+
+
+
+
diff --git a/src/views/crm/statistics/performance/components/ReceivablePricePerformance.vue b/src/views/crm/statistics/performance/components/ReceivablePricePerformance.vue
new file mode 100644
index 00000000..b4dcaa80
--- /dev/null
+++ b/src/views/crm/statistics/performance/components/ReceivablePricePerformance.vue
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row[item.prop]}}
+
+
+
+
+
+
diff --git a/src/views/crm/statistics/performance/index.vue b/src/views/crm/statistics/performance/index.vue
new file mode 100644
index 00000000..8997a50c
--- /dev/null
+++ b/src/views/crm/statistics/performance/index.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+