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 @@ + + + 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 @@ + + + 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 @@ + + + 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 @@ + + + +