From 3cdcd67a6a4646c7fb9dbea32d97c317276d9039 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=89=E6=B5=A9=E6=B5=A9?= <1036606149@qq.com>
Date: Sun, 4 Feb 2024 23:55:26 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9ACRM=20=E5=95=86?=
=?UTF-8?q?=E4=B8=9A=E6=99=BA=E8=83=BD=EF=BC=8C=E5=85=B6=E4=BB=96=E6=8E=92?=
=?UTF-8?q?=E5=90=8D=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/crm/bi/rank.ts | 42 ++++++++
src/views/crm/bi/rank/ContactsCountRank.vue | 98 +++++++++++++++++++
src/views/crm/bi/rank/ContractCountRank.vue | 98 +++++++++++++++++++
src/views/crm/bi/rank/ContractPriceRank.vue | 13 +--
src/views/crm/bi/rank/CustomerCountRank.vue | 98 +++++++++++++++++++
src/views/crm/bi/rank/FollowCountRank.vue | 98 +++++++++++++++++++
.../crm/bi/rank/FollowCustomerCountRank.vue | 98 +++++++++++++++++++
src/views/crm/bi/rank/ProductSalesRank.vue | 98 +++++++++++++++++++
src/views/crm/bi/rank/ReceivablePriceRank.vue | 13 +--
src/views/crm/bi/rank/index.vue | 70 ++++++++++++-
10 files changed, 700 insertions(+), 26 deletions(-)
create mode 100644 src/views/crm/bi/rank/ContactsCountRank.vue
create mode 100644 src/views/crm/bi/rank/ContractCountRank.vue
create mode 100644 src/views/crm/bi/rank/CustomerCountRank.vue
create mode 100644 src/views/crm/bi/rank/FollowCountRank.vue
create mode 100644 src/views/crm/bi/rank/FollowCustomerCountRank.vue
create mode 100644 src/views/crm/bi/rank/ProductSalesRank.vue
diff --git a/src/api/crm/bi/rank.ts b/src/api/crm/bi/rank.ts
index 8c7f36e0..13ceb7ef 100644
--- a/src/api/crm/bi/rank.ts
+++ b/src/api/crm/bi/rank.ts
@@ -21,5 +21,47 @@ export const RankApi = {
url: '/crm/bi-rank/get-receivable-price-rank',
params
})
+ },
+ // 签约合同排行
+ getContractCountRank: (params: any) => {
+ return request.get({
+ url: '/crm/bi-rank/get-contract-count-rank',
+ params
+ })
+ },
+ // 产品销量排行
+ getProductSalesRank: (params: any) => {
+ return request.get({
+ url: '/crm/bi-rank/get-product-sales-rank',
+ params
+ })
+ },
+ // 新增客户数排行
+ getCustomerCountRank: (params: any) => {
+ return request.get({
+ url: '/crm/bi-rank/get-customer-count-rank',
+ params
+ })
+ },
+ // 新增联系人数排行
+ getContactsCountRank: (params: any) => {
+ return request.get({
+ url: '/crm/bi-rank/get-contacts-count-rank',
+ params
+ })
+ },
+ // 跟进次数排行
+ getFollowCountRank: (params: any) => {
+ return request.get({
+ url: '/crm/bi-rank/get-follow-count-rank',
+ params
+ })
+ },
+ // 跟进客户数排行
+ getFollowCustomerCountRank: (params: any) => {
+ return request.get({
+ url: '/crm/bi-rank/get-follow-customer-count-rank',
+ params
+ })
}
}
diff --git a/src/views/crm/bi/rank/ContactsCountRank.vue b/src/views/crm/bi/rank/ContactsCountRank.vue
new file mode 100644
index 00000000..bc6c6482
--- /dev/null
+++ b/src/views/crm/bi/rank/ContactsCountRank.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/bi/rank/ContractCountRank.vue b/src/views/crm/bi/rank/ContractCountRank.vue
new file mode 100644
index 00000000..83726c0f
--- /dev/null
+++ b/src/views/crm/bi/rank/ContractCountRank.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/bi/rank/ContractPriceRank.vue b/src/views/crm/bi/rank/ContractPriceRank.vue
index 1b12999f..689ff027 100644
--- a/src/views/crm/bi/rank/ContractPriceRank.vue
+++ b/src/views/crm/bi/rank/ContractPriceRank.vue
@@ -13,21 +13,13 @@
-
+
diff --git a/src/views/crm/bi/rank/FollowCountRank.vue b/src/views/crm/bi/rank/FollowCountRank.vue
new file mode 100644
index 00000000..207947ef
--- /dev/null
+++ b/src/views/crm/bi/rank/FollowCountRank.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/bi/rank/FollowCustomerCountRank.vue b/src/views/crm/bi/rank/FollowCustomerCountRank.vue
new file mode 100644
index 00000000..c54088b6
--- /dev/null
+++ b/src/views/crm/bi/rank/FollowCustomerCountRank.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/bi/rank/ProductSalesRank.vue b/src/views/crm/bi/rank/ProductSalesRank.vue
new file mode 100644
index 00000000..4de06292
--- /dev/null
+++ b/src/views/crm/bi/rank/ProductSalesRank.vue
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/crm/bi/rank/ReceivablePriceRank.vue b/src/views/crm/bi/rank/ReceivablePriceRank.vue
index 9eb83807..e7e5cff0 100644
--- a/src/views/crm/bi/rank/ReceivablePriceRank.vue
+++ b/src/views/crm/bi/rank/ReceivablePriceRank.vue
@@ -13,21 +13,13 @@
-
+