feat: 更新组件类型和统计数据展示

- 在组件类型中新增 'ApiCascader' 以支持更多业务需求
- 在商品统计概览中为多个统计项添加 tooltip,提供更清晰的数据解释
- 优化交易统计页面,重构数据加载逻辑,提升用户体验
This commit is contained in:
lrl
2025-07-17 10:35:33 +08:00
parent d2a2227c4c
commit a442eab9ea
3 changed files with 68 additions and 23 deletions

View File

@@ -242,6 +242,7 @@ const loadOverview = () => {
totalTitle: '昨日数据',
totalValue: trendSummary.value?.reference?.orderPayCount || 0,
value: trendSummary.value?.value?.orderPayCount || 0,
tooltip: '在选定条件下,成功付款订单的商品件数之和',
},
{
icon: SvgBellIcon,
@@ -249,6 +250,7 @@ const loadOverview = () => {
totalTitle: '昨日数据',
totalValue: trendSummary.value?.reference?.afterSaleCount || 0,
value: trendSummary.value?.value?.orderPayPrice || 0,
tooltip: '在选定条件下,成功付款订单的商品金额之和',
},
{
icon: SvgBellIcon,
@@ -256,6 +258,7 @@ const loadOverview = () => {
totalTitle: '昨日数据',
totalValue: trendSummary.value?.reference?.afterSaleCount || 0,
value: trendSummary.value?.value?.afterSaleCount || 0,
tooltip: '在选定条件下,成功退款的商品件数之和',
},
{
icon: SvgBellIcon,
@@ -263,6 +266,7 @@ const loadOverview = () => {
totalTitle: '昨日数据',
totalValue: trendSummary.value?.reference?.afterSaleRefundPrice || 0,
value: trendSummary.value?.value?.afterSaleRefundPrice || 0,
tooltip: '在选定条件下,成功退款的商品金额之和',
},
];
};