From 66067d00f0b94c00cbb0fcf79aff11a4288f2c7a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 24 Feb 2024 22:26:10 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20CRM=EF=BC=9A=E5=B0=86=20bi=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=88=90=20statistics?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 12972cdf5c2eac84a703164f7b1005e97c1d1f37) --- src/api/crm/{bi => statistics}/rank.ts | 20 +++++++++---------- .../rank/ContactsCountRank.vue | 6 +++--- .../rank/ContractCountRank.vue | 6 +++--- .../rank/ContractPriceRank.vue | 6 +++--- .../rank/CustomerCountRank.vue | 6 +++--- .../rank/FollowCountRank.vue | 6 +++--- .../rank/FollowCustomerCountRank.vue | 6 +++--- .../rank/ProductSalesRank.vue | 6 +++--- .../rank/ReceivablePriceRank.vue | 6 +++--- .../crm/{bi => statistics}/rank/index.vue | 2 +- 10 files changed, 35 insertions(+), 35 deletions(-) rename src/api/crm/{bi => statistics}/rank.ts (65%) rename src/views/crm/{bi => statistics}/rank/ContactsCountRank.vue (91%) rename src/views/crm/{bi => statistics}/rank/ContractCountRank.vue (90%) rename src/views/crm/{bi => statistics}/rank/ContractPriceRank.vue (90%) rename src/views/crm/{bi => statistics}/rank/CustomerCountRank.vue (90%) rename src/views/crm/{bi => statistics}/rank/FollowCountRank.vue (90%) rename src/views/crm/{bi => statistics}/rank/FollowCustomerCountRank.vue (90%) rename src/views/crm/{bi => statistics}/rank/ProductSalesRank.vue (90%) rename src/views/crm/{bi => statistics}/rank/ReceivablePriceRank.vue (90%) rename src/views/crm/{bi => statistics}/rank/index.vue (99%) diff --git a/src/api/crm/bi/rank.ts b/src/api/crm/statistics/rank.ts similarity index 65% rename from src/api/crm/bi/rank.ts rename to src/api/crm/statistics/rank.ts index 13ceb7ef..a9b355e0 100644 --- a/src/api/crm/bi/rank.ts +++ b/src/api/crm/statistics/rank.ts @@ -1,66 +1,66 @@ import request from '@/config/axios' -export interface BiRankRespVO { +export interface StatisticsRankRespVO { count: number nickname: string deptName: string } // 排行 API -export const RankApi = { +export const StatisticsRankApi = { // 获得合同排行榜 getContractPriceRank: (params: any) => { return request.get({ - url: '/crm/bi-rank/get-contract-price-rank', + url: '/crm/statistics-rank/get-contract-price-rank', params }) }, // 获得回款排行榜 getReceivablePriceRank: (params: any) => { return request.get({ - url: '/crm/bi-rank/get-receivable-price-rank', + url: '/crm/statistics-rank/get-receivable-price-rank', params }) }, // 签约合同排行 getContractCountRank: (params: any) => { return request.get({ - url: '/crm/bi-rank/get-contract-count-rank', + url: '/crm/statistics-rank/get-contract-count-rank', params }) }, // 产品销量排行 getProductSalesRank: (params: any) => { return request.get({ - url: '/crm/bi-rank/get-product-sales-rank', + url: '/crm/statistics-rank/get-product-sales-rank', params }) }, // 新增客户数排行 getCustomerCountRank: (params: any) => { return request.get({ - url: '/crm/bi-rank/get-customer-count-rank', + url: '/crm/statistics-rank/get-customer-count-rank', params }) }, // 新增联系人数排行 getContactsCountRank: (params: any) => { return request.get({ - url: '/crm/bi-rank/get-contacts-count-rank', + url: '/crm/statistics-rank/get-contacts-count-rank', params }) }, // 跟进次数排行 getFollowCountRank: (params: any) => { return request.get({ - url: '/crm/bi-rank/get-follow-count-rank', + url: '/crm/statistics-rank/get-follow-count-rank', params }) }, // 跟进客户数排行 getFollowCustomerCountRank: (params: any) => { return request.get({ - url: '/crm/bi-rank/get-follow-customer-count-rank', + url: '/crm/statistics-rank/get-follow-customer-count-rank', params }) } diff --git a/src/views/crm/bi/rank/ContactsCountRank.vue b/src/views/crm/statistics/rank/ContactsCountRank.vue similarity index 91% rename from src/views/crm/bi/rank/ContactsCountRank.vue rename to src/views/crm/statistics/rank/ContactsCountRank.vue index 61ef91a6..199d94bd 100644 --- a/src/views/crm/bi/rank/ContactsCountRank.vue +++ b/src/views/crm/statistics/rank/ContactsCountRank.vue @@ -18,7 +18,7 @@