mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 13:49:19 +08:00
refactor(ecom-dmb): 店铺概览商品/品类对比表改为对象结构含合计行
This commit is contained in:
@@ -149,10 +149,10 @@ export namespace ShopVO {
|
||||
salesAmountTrend?: TrendData;
|
||||
/** 单量趋势分析 */
|
||||
orderCountTrend?: TrendData;
|
||||
/** 多商品数据横向对比 */
|
||||
productComparisons?: ProductComparison[];
|
||||
/** 品类多维度数据对比 */
|
||||
categoryComparisons?: CategoryComparison[];
|
||||
/** 多商品数据横向对比(含合计行) */
|
||||
productOverview?: ProductOverview;
|
||||
/** 品类多维度数据对比(含合计行) */
|
||||
categoryOverview?: CategoryOverview;
|
||||
}
|
||||
|
||||
/** 商品对比数据 */
|
||||
@@ -244,4 +244,20 @@ export namespace ShopVO {
|
||||
/** 对应的值 */
|
||||
value: number;
|
||||
}
|
||||
|
||||
/** 商品概览(含合计行和商品列表) */
|
||||
export interface ProductOverview {
|
||||
/** 合计行 */
|
||||
total: ProductComparison;
|
||||
/** 各商品对比列表 */
|
||||
products: ProductComparison[];
|
||||
}
|
||||
|
||||
/** 品类概览(含合计行和品类列表) */
|
||||
export interface CategoryOverview {
|
||||
/** 合计行 */
|
||||
total: CategoryComparison;
|
||||
/** 各品类对比列表 */
|
||||
categories: CategoryComparison[];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user