diff --git a/src/api/crm/bi/ranking.ts b/src/api/crm/bi/ranking.ts index aa0b7fdb..d45d6995 100644 --- a/src/api/crm/bi/ranking.ts +++ b/src/api/crm/bi/ranking.ts @@ -14,7 +14,9 @@ export interface BiReceivablesRanKingRespVO { export interface BiRankReqVO { deptId: number - type: string + orderDate: Date[] + startTime: Date + endTime: Date } // 排行 API @@ -22,14 +24,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 @@