mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 19:09:20 +08:00
fix(company-overview): 修复店铺经营健康度分层散点图不显示的问题
- 散点图改用 shopComparisons 数据,x轴=达成率,y轴=税后盈亏,气泡大小=销售额,颜色=费比 - 添加 watch + onMounted 确保图表正确渲染 - echarts 插件补充 ScatterChart 支持
This commit is contained in:
@@ -19,7 +19,7 @@ import { Page } from '@vben/common-ui';
|
||||
import { Button, DatePicker, InputNumber, Spin } from 'ant-design-vue';
|
||||
import dayjs from 'dayjs';
|
||||
|
||||
import { getCompanyOverviewApi, exportCompanyOverviewApi, exportCategoryOverviewApi } from '#/api/ecommerce/company-overview/apis';
|
||||
import { getCompanyOverviewApi } from '#/api/ecommerce/company-overview/apis';
|
||||
import { getShopPageApi } from '#/api/ecommerce/shop';
|
||||
import { exportByPost } from '#/utils/export';
|
||||
|
||||
@@ -536,6 +536,7 @@ const navigateToShopOverview = (shopId: number) => {
|
||||
ref="shopChartsRef"
|
||||
:shop-sales-ratios="overviewData?.shopSalesRatios"
|
||||
:shop-comparisons="overviewData?.shopComparisons"
|
||||
:shop-efficiency-quadrants="overviewData?.shopEfficiencyQuadrants"
|
||||
/>
|
||||
|
||||
<!-- 第三层:横向对比大表 -->
|
||||
|
||||
Reference in New Issue
Block a user