From 16c6f56f60a6cc7ae13b5e26e8001e9dfcc28500 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 13:07:26 +0800
Subject: [PATCH] fix(crm): 营销管理排行榜数据展示问题
---
src/views/crm/statistics/rank/index.vue | 15 +++------------
1 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/src/views/crm/statistics/rank/index.vue b/src/views/crm/statistics/rank/index.vue
index 9c4bec2..f4e7b6b 100644
--- a/src/views/crm/statistics/rank/index.vue
+++ b/src/views/crm/statistics/rank/index.vue
@@ -2,7 +2,7 @@
import type { EchartsUIType } from '@vben/plugins/echarts';
import type { VxeTableGridOptions } from '#/adapter/vxe-table';
-import type { CrmStatisticsCustomerApi } from '#/api/crm/statistics/customer';
+import type { CrmStatisticsRankApi } from '#/api/crm/statistics/rank';
import { onMounted, ref } from 'vue';
@@ -13,7 +13,7 @@
import { useVbenForm } from '#/adapter/form';
import { useVbenVxeGrid } from '#/adapter/vxe-table';
-import { getDatas } from '#/api/crm/statistics/customer';
+import { getDatas } from '#/api/crm/statistics/rank';
import { $t } from '#/locales';
import { getChartOptions } from './chartOptions';
@@ -48,15 +48,6 @@
pagerConfig: {
enabled: false,
},
- proxyConfig: {
- ajax: {
- query: async (_, formValues) => {
- const res = await getDatas(activeTabName.value, formValues);
- await renderEcharts(getChartOptions(activeTabName.value, res));
- return res;
- },
- },
- },
rowConfig: {
keyField: 'id',
isHover: true,
@@ -64,7 +55,7 @@
toolbarConfig: {
enabled: false,
},
- } as VxeTableGridOptions<CrmStatisticsCustomerApi.CustomerSummaryByUserRespVO>,
+ } as VxeTableGridOptions<CrmStatisticsRankApi.RankRespVO>,
});
/** tab 鍒囨崲 */
--
Gitblit v1.9.3