大屏
This commit is contained in:
parent
2dcd19a3ff
commit
cf291546de
@ -37,6 +37,7 @@ export interface CountryDashboardMetric {
|
||||
periodKey: string;
|
||||
periodName: string;
|
||||
salaryExchange: number | string;
|
||||
salaryTransfer: number | string;
|
||||
totalRecharge: number | string;
|
||||
}
|
||||
|
||||
|
||||
@ -198,6 +198,7 @@ const metricColumns = new Set([
|
||||
'mifapayRecharge',
|
||||
'newUserRecharge',
|
||||
'salaryExchange',
|
||||
'salaryTransfer',
|
||||
'totalRecharge',
|
||||
]);
|
||||
|
||||
@ -227,6 +228,7 @@ const summaryMetricKeys = [
|
||||
'mifapayRecharge',
|
||||
'googleRecharge',
|
||||
'salaryExchange',
|
||||
'salaryTransfer',
|
||||
'totalRecharge',
|
||||
'giftConsume',
|
||||
'luckyGiftTotalFlow',
|
||||
@ -253,6 +255,7 @@ const summaryMetricDefinitions = [
|
||||
{ key: 'mifapayRecharge', label: 'MifaPay 充值' },
|
||||
{ key: 'googleRecharge', label: 'Google 充值' },
|
||||
{ key: 'salaryExchange', label: '工资兑换' },
|
||||
{ key: 'salaryTransfer', label: '工资转移' },
|
||||
{ key: 'totalRecharge', label: '总充值' },
|
||||
{ key: 'giftConsume', label: '礼物消耗' },
|
||||
{ key: 'luckyGiftTotalFlow', label: '幸运礼物流水' },
|
||||
@ -301,6 +304,7 @@ const overviewColumns: any[] = [
|
||||
{ align: 'right', dataIndex: 'mifapayRecharge', key: 'mifapayRecharge', title: 'MifaPay 充值', width: 150 },
|
||||
{ align: 'right', dataIndex: 'googleRecharge', key: 'googleRecharge', title: 'Google 充值', width: 140 },
|
||||
{ align: 'right', dataIndex: 'salaryExchange', key: 'salaryExchange', title: '工资兑换', width: 130 },
|
||||
{ align: 'right', dataIndex: 'salaryTransfer', key: 'salaryTransfer', title: '工资转移', width: 130 },
|
||||
{ align: 'right', dataIndex: 'totalRecharge', key: 'totalRecharge', title: '总充值', width: 130 },
|
||||
{ align: 'right', dataIndex: 'giftConsume', key: 'giftConsume', title: '礼物消耗', width: 130 },
|
||||
{ align: 'right', dataIndex: 'luckyGiftTotalFlow', key: 'luckyGiftTotalFlow', title: '幸运礼物流水', width: 150 },
|
||||
@ -893,6 +897,7 @@ function emptySummary(): SummaryMetric {
|
||||
mifapayRecharge: 0,
|
||||
newUserRecharge: 0,
|
||||
salaryExchange: 0,
|
||||
salaryTransfer: 0,
|
||||
totalRecharge: 0,
|
||||
};
|
||||
}
|
||||
@ -1109,6 +1114,7 @@ async function renderVisualCharts() {
|
||||
amountSeries('MifaPay 充值', 'mifapayRecharge', list),
|
||||
amountSeries('Google 充值', 'googleRecharge', list),
|
||||
amountSeries('工资兑换', 'salaryExchange', list),
|
||||
amountSeries('工资转移', 'salaryTransfer', list),
|
||||
amountSeries('总充值', 'totalRecharge', list),
|
||||
]));
|
||||
renderFlowChart(baseChartOption('核心流水', list, [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user