refactor(ecom-dmb): 平台维度概览改为对象结构(含合计行)并优化订单排序配置

This commit is contained in:
小蟑螂
2026-04-23 20:45:23 +08:00
parent 41b8b3d22c
commit 60e3efab81
5 changed files with 288 additions and 108 deletions
@@ -27,8 +27,8 @@ export namespace CompanyOverviewVO {
shopComparisons?: ShopComparison[];
/** 多品类数据横向对比 */
categoryComparisons?: CategoryComparison[];
/** 平台维度汇总 */
platformSummary?: PlatformSummary[];
/** 平台维度概览(包含合计行和平台列表) */
platformSummary?: PlatformOverview;
/** 汇总ROI */
totalROI?: number;
/** 总税后盈亏 */
@@ -194,4 +194,12 @@ export namespace CompanyOverviewVO {
/** 税后盈亏 */
profitAfterTax?: number;
}
/** 平台维度概览 */
export interface PlatformOverview {
/** 合计行 */
total: PlatformSummary;
/** 各平台汇总列表 */
platforms: PlatformSummary[];
}
}