From 34a796de89b9d5e1fb660eb5bd4154a33ebf76f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=B5=A9=E6=B5=A9?= <1036606149@qq.com> Date: Wed, 31 Jan 2024 23:37:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E5=95=86=E4=B8=9A?= =?UTF-8?q?=E6=99=BA=E8=83=BD-=E6=8E=92=E8=A1=8C=E6=A6=9C=EF=BC=8C?= =?UTF-8?q?=E5=90=88=E5=90=8C=E9=87=91=E9=A2=9D=E6=8E=92=E8=A1=8C=E5=92=8C?= =?UTF-8?q?=E5=9B=9E=E6=AC=BE=E9=87=91=E9=A2=9D=E6=8E=92=E8=A1=8C=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=9D=A1=E4=BB=B6=E5=92=8C=E6=8E=A5=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/bi/ranking.ts | 8 +++-- .../components/RankingContractStatistics.vue | 14 ++++++-- .../RankingReceivablesStatistics.vue | 16 +++++++-- src/views/crm/bi/ranking/index.vue | 34 ++++++++++++------- 4 files changed, 52 insertions(+), 20 deletions(-) diff --git a/src/api/crm/bi/ranking.ts b/src/api/crm/bi/ranking.ts index 53c09e63..f68c2dd0 100644 --- a/src/api/crm/bi/ranking.ts +++ b/src/api/crm/bi/ranking.ts @@ -12,7 +12,9 @@ export interface BiReceivablesRanKingRespVO { } export interface BiRankReqVO { deptId: number - type: string + orderDate: Date[] + startTime: Date + endTime: Date } // 排行 API @@ -20,14 +22,14 @@ export const RankingStatisticsApi = { // 获得合同排行榜 contractAmountRanking: (params: any) => { return request.get({ - url: '/bi/ranking/contract-ranking', + url: '/crm/bi-ranking/contract-ranking', params }) }, // 获得回款排行榜 receivablesAmountRanking: (params: any) => { return request.get({ - url: '/bi/ranking/receivables-ranking', + url: '/crm/bi-ranking/receivables-ranking', params }) } diff --git a/src/views/crm/bi/ranking/components/RankingContractStatistics.vue b/src/views/crm/bi/ranking/components/RankingContractStatistics.vue index b560131c..cf0c22f9 100644 --- a/src/views/crm/bi/ranking/components/RankingContractStatistics.vue +++ b/src/views/crm/bi/ranking/components/RankingContractStatistics.vue @@ -18,14 +18,21 @@