From 291dc518499cf9bf634a72829b065f42b3046208 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 30 Mar 2024 11:48:41 +0800 Subject: [PATCH] =?UTF-8?q?CRM=EF=BC=9A=E5=AE=8C=E5=96=84=E3=80=90?= =?UTF-8?q?=E6=8E=92=E8=A1=8C=E7=89=88=E3=80=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ContactCountRank.vue} | 2 +- .../{ => components}/ContractCountRank.vue | 0 .../{ => components}/ContractPriceRank.vue | 9 +++- .../{ => components}/CustomerCountRank.vue | 0 .../rank/{ => components}/FollowCountRank.vue | 0 .../FollowCustomerCountRank.vue | 0 .../{ => components}/ProductSalesRank.vue | 0 .../{ => components}/ReceivablePriceRank.vue | 9 +++- src/views/crm/statistics/rank/index.vue | 41 ++++++++++--------- 9 files changed, 38 insertions(+), 23 deletions(-) rename src/views/crm/statistics/rank/{ContactsCountRank.vue => components/ContactCountRank.vue} (98%) rename src/views/crm/statistics/rank/{ => components}/ContractCountRank.vue (100%) rename src/views/crm/statistics/rank/{ => components}/ContractPriceRank.vue (91%) rename src/views/crm/statistics/rank/{ => components}/CustomerCountRank.vue (100%) rename src/views/crm/statistics/rank/{ => components}/FollowCountRank.vue (100%) rename src/views/crm/statistics/rank/{ => components}/FollowCustomerCountRank.vue (100%) rename src/views/crm/statistics/rank/{ => components}/ProductSalesRank.vue (100%) rename src/views/crm/statistics/rank/{ => components}/ReceivablePriceRank.vue (91%) diff --git a/src/views/crm/statistics/rank/ContactsCountRank.vue b/src/views/crm/statistics/rank/components/ContactCountRank.vue similarity index 98% rename from src/views/crm/statistics/rank/ContactsCountRank.vue rename to src/views/crm/statistics/rank/components/ContactCountRank.vue index 199d94bd..5edc118b 100644 --- a/src/views/crm/statistics/rank/ContactsCountRank.vue +++ b/src/views/crm/statistics/rank/components/ContactCountRank.vue @@ -22,7 +22,7 @@ import { StatisticsRankApi, StatisticsRankRespVO } from '@/api/crm/statistics/ra import { EChartsOption } from 'echarts' import { clone } from 'lodash-es' -defineOptions({ name: 'ContactsCountRank' }) +defineOptions({ name: 'ContactCountRank' }) const props = defineProps<{ queryParams: any }>() // 搜索参数 const loading = ref(false) // 加载中 diff --git a/src/views/crm/statistics/rank/ContractCountRank.vue b/src/views/crm/statistics/rank/components/ContractCountRank.vue similarity index 100% rename from src/views/crm/statistics/rank/ContractCountRank.vue rename to src/views/crm/statistics/rank/components/ContractCountRank.vue diff --git a/src/views/crm/statistics/rank/ContractPriceRank.vue b/src/views/crm/statistics/rank/components/ContractPriceRank.vue similarity index 91% rename from src/views/crm/statistics/rank/ContractPriceRank.vue rename to src/views/crm/statistics/rank/components/ContractPriceRank.vue index 79794c4e..b69ebd20 100644 --- a/src/views/crm/statistics/rank/ContractPriceRank.vue +++ b/src/views/crm/statistics/rank/components/ContractPriceRank.vue @@ -13,7 +13,13 @@ - + @@ -21,6 +27,7 @@ import { StatisticsRankApi, StatisticsRankRespVO } from '@/api/crm/statistics/rank' import { EChartsOption } from 'echarts' import { clone } from 'lodash-es' +import { erpPriceTableColumnFormatter } from '@/utils' defineOptions({ name: 'ContractPriceRank' }) const props = defineProps<{ queryParams: any }>() // 搜索参数 diff --git a/src/views/crm/statistics/rank/CustomerCountRank.vue b/src/views/crm/statistics/rank/components/CustomerCountRank.vue similarity index 100% rename from src/views/crm/statistics/rank/CustomerCountRank.vue rename to src/views/crm/statistics/rank/components/CustomerCountRank.vue diff --git a/src/views/crm/statistics/rank/FollowCountRank.vue b/src/views/crm/statistics/rank/components/FollowCountRank.vue similarity index 100% rename from src/views/crm/statistics/rank/FollowCountRank.vue rename to src/views/crm/statistics/rank/components/FollowCountRank.vue diff --git a/src/views/crm/statistics/rank/FollowCustomerCountRank.vue b/src/views/crm/statistics/rank/components/FollowCustomerCountRank.vue similarity index 100% rename from src/views/crm/statistics/rank/FollowCustomerCountRank.vue rename to src/views/crm/statistics/rank/components/FollowCustomerCountRank.vue diff --git a/src/views/crm/statistics/rank/ProductSalesRank.vue b/src/views/crm/statistics/rank/components/ProductSalesRank.vue similarity index 100% rename from src/views/crm/statistics/rank/ProductSalesRank.vue rename to src/views/crm/statistics/rank/components/ProductSalesRank.vue diff --git a/src/views/crm/statistics/rank/ReceivablePriceRank.vue b/src/views/crm/statistics/rank/components/ReceivablePriceRank.vue similarity index 91% rename from src/views/crm/statistics/rank/ReceivablePriceRank.vue rename to src/views/crm/statistics/rank/components/ReceivablePriceRank.vue index a2f38422..06d7d9f3 100644 --- a/src/views/crm/statistics/rank/ReceivablePriceRank.vue +++ b/src/views/crm/statistics/rank/components/ReceivablePriceRank.vue @@ -13,7 +13,13 @@ - + @@ -21,6 +27,7 @@ import { StatisticsRankApi, StatisticsRankRespVO } from '@/api/crm/statistics/rank' import { EChartsOption } from 'echarts' import { clone } from 'lodash-es' +import { erpPriceTableColumnFormatter } from '@/utils' defineOptions({ name: 'ReceivablePriceRank' }) const props = defineProps<{ queryParams: any }>() // 搜索参数 diff --git a/src/views/crm/statistics/rank/index.vue b/src/views/crm/statistics/rank/index.vue index 50f2f43f..98340cc5 100644 --- a/src/views/crm/statistics/rank/index.vue +++ b/src/views/crm/statistics/rank/index.vue @@ -29,6 +29,7 @@ check-strictly node-key="id" placeholder="请选择归属部门" + class="!w-240px" /> @@ -62,8 +63,8 @@ - - + + @@ -77,14 +78,14 @@