From cf291546de18b37530441ddf6ca47549c669d083 Mon Sep 17 00:00:00 2001 From: zhx Date: Mon, 18 May 2026 22:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/src/api/legacy/datav.ts | 1 + apps/src/views/statistics/datav.vue | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/apps/src/api/legacy/datav.ts b/apps/src/api/legacy/datav.ts index 0d8d94e..2a38d7d 100644 --- a/apps/src/api/legacy/datav.ts +++ b/apps/src/api/legacy/datav.ts @@ -37,6 +37,7 @@ export interface CountryDashboardMetric { periodKey: string; periodName: string; salaryExchange: number | string; + salaryTransfer: number | string; totalRecharge: number | string; } diff --git a/apps/src/views/statistics/datav.vue b/apps/src/views/statistics/datav.vue index 6cf5215..b5a0699 100644 --- a/apps/src/views/statistics/datav.vue +++ b/apps/src/views/statistics/datav.vue @@ -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, [