mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 22:29:19 +08:00
refactor(ecom-dmb): 店铺/品类/平台概览统一改为对象结构(含后端计算的合计行)
This commit is contained in:
+19
-3
@@ -23,10 +23,10 @@ export namespace CompanyOverviewVO {
|
||||
shopSalesRatios?: ShopSalesRatio[];
|
||||
/** 店铺效率象限(ROI vs 净利) */
|
||||
shopEfficiencyQuadrants?: ShopEfficiencyQuadrant[];
|
||||
/** 多店铺数据横向对比(16维度) */
|
||||
shopComparisons?: ShopComparison[];
|
||||
/** 多店铺数据横向对比 */
|
||||
shopComparisons?: ShopOverview;
|
||||
/** 多品类数据横向对比 */
|
||||
categoryComparisons?: CategoryComparison[];
|
||||
categoryComparisons?: CategoryOverview;
|
||||
/** 平台维度概览(包含合计行和平台列表) */
|
||||
platformSummary?: PlatformOverview;
|
||||
/** 汇总ROI */
|
||||
@@ -202,4 +202,20 @@ export namespace CompanyOverviewVO {
|
||||
/** 各平台汇总列表 */
|
||||
platforms: PlatformSummary[];
|
||||
}
|
||||
|
||||
/** 多店铺概览 */
|
||||
export interface ShopOverview {
|
||||
/** 合计行 */
|
||||
total: ShopComparison;
|
||||
/** 各店铺对比列表 */
|
||||
shops: ShopComparison[];
|
||||
}
|
||||
|
||||
/** 多品类概览 */
|
||||
export interface CategoryOverview {
|
||||
/** 合计行 */
|
||||
total: CategoryComparison;
|
||||
/** 各品类对比列表 */
|
||||
categories: CategoryComparison[];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user