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