mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 10:29:19 +08:00
feat(工作台): 经营概览饼图展示各平台实际销售额占比
- 接口 finance.costStructure 改为 platformSalesShare,按平台聚合实际销售额及占比 - 饼图标题与交互改为「各平台实际销售额分布」,前端类型 PieSlice - 汇总表组件 ShopComparisonTable/CategoryComparisonTable 重命名为 ShopSummaryTable/CategorySummaryTable
This commit is contained in:
@@ -44,17 +44,20 @@ export namespace WorkbenchVO {
|
||||
refundYuan?: number;
|
||||
}
|
||||
|
||||
export interface CostSlice {
|
||||
/** 饼图扇区(平台销售额占比等) */
|
||||
export interface PieSlice {
|
||||
name: string;
|
||||
/** 金额(元,两位小数) */
|
||||
value?: number;
|
||||
/** 占实际销售额合计的比例 % */
|
||||
pct?: number;
|
||||
}
|
||||
|
||||
export interface FinancePanel {
|
||||
kpis: KpiItem[];
|
||||
gmvTrend: TrendPoint[];
|
||||
costStructure: CostSlice[];
|
||||
/** 各平台实际销售额占比 */
|
||||
platformSalesShare: PieSlice[];
|
||||
/** 环比对比期起(yyyy-MM-dd) */
|
||||
momCompareDateStart?: string | null;
|
||||
momCompareDateEnd?: string | null;
|
||||
|
||||
Reference in New Issue
Block a user