|
@@ -6,7 +6,8 @@ import React from "react"
|
|
function columns12(gameType: any) {
|
|
function columns12(gameType: any) {
|
|
|
|
|
|
let defaultStart = 19
|
|
let defaultStart = 19
|
|
- const roiC = Array(30).fill('').map((_item: string, index: number) => {
|
|
|
|
|
|
+ let index = 1
|
|
|
|
+ const roiC = Array(29).fill('').map((_item: string) => {
|
|
let data = {
|
|
let data = {
|
|
title: `${index + 1}日ROI`,
|
|
title: `${index + 1}日ROI`,
|
|
dataIndex: `roiDay${index + 1}`,
|
|
dataIndex: `roiDay${index + 1}`,
|
|
@@ -19,6 +20,7 @@ function columns12(gameType: any) {
|
|
if (index < 7) {
|
|
if (index < 7) {
|
|
data['default'] = defaultStart + index
|
|
data['default'] = defaultStart + index
|
|
}
|
|
}
|
|
|
|
+ index++;
|
|
return data
|
|
return data
|
|
})
|
|
})
|
|
|
|
|
|
@@ -125,9 +127,9 @@ function columns12(gameType: any) {
|
|
{
|
|
{
|
|
label: '付费数据',
|
|
label: '付费数据',
|
|
data: [
|
|
data: [
|
|
- { title: '新用户充值次数', dataIndex: 'userRechargeCount', label: '付费数据', align: 'center', width: 70, render: (a: string) => <Statistic value={a || 0} /> },
|
|
|
|
- { title: '新用户充值人数', dataIndex: 'userRechargeUser', label: '付费数据', align: 'center', width: 70, render: (a: string) => <Statistic value={a || 0} /> },
|
|
|
|
- { title: '新用户充值金额', dataIndex: 'userRechargeMoney', label: '付费数据', align: 'center', width: 70, render: (a: string) => <Statistic value={a || 0} /> },
|
|
|
|
|
|
+ { title: '新用户充值次数', tips: '消耗时间范围内用户,在充值时间内充值次数统计', dataIndex: 'userRechargeCount', label: '付费数据', align: 'center', width: 80, render: (a: string) => <Statistic value={a || 0} /> },
|
|
|
|
+ { title: '新用户充值人数', tips: '消耗时间范围内用户,在充值时间内充值人数统计', dataIndex: 'userRechargeUser', label: '付费数据', align: 'center', width: 80, render: (a: string) => <Statistic value={a || 0} /> },
|
|
|
|
+ { title: '新用户充值金额', tips: '消耗时间范围内用户,在充值时间内充值金额统计', dataIndex: 'userRechargeMoney', label: '付费数据', align: 'center', width: 80, render: (a: string) => <Statistic value={a || 0} /> },
|
|
{ title: '首日新用户充值次数', dataIndex: 'firstUserRechargeCount', label: '付费数据', align: 'center', width: 70, sorter: true, render: (a: string) => <Statistic value={a || 0} /> },
|
|
{ title: '首日新用户充值次数', dataIndex: 'firstUserRechargeCount', label: '付费数据', align: 'center', width: 70, sorter: true, render: (a: string) => <Statistic value={a || 0} /> },
|
|
{ title: '首日新用户充值人数', dataIndex: 'firstUserRechargeUser', label: '付费数据', align: 'center', width: 70, sorter: true, render: (a: string) => <Statistic value={a || 0} /> },
|
|
{ title: '首日新用户充值人数', dataIndex: 'firstUserRechargeUser', label: '付费数据', align: 'center', width: 70, sorter: true, render: (a: string) => <Statistic value={a || 0} /> },
|
|
{ title: '首日新用户充值金额', dataIndex: 'firstUserRechargeMoney', label: '付费数据', align: 'center', width: 70, sorter: true, render: (a: string) => <Statistic value={a || 0} /> },
|
|
{ title: '首日新用户充值金额', dataIndex: 'firstUserRechargeMoney', label: '付费数据', align: 'center', width: 70, sorter: true, render: (a: string) => <Statistic value={a || 0} /> },
|
|
@@ -145,11 +147,11 @@ function columns12(gameType: any) {
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '回收率', dataIndex: 'recoveryRate', label: '付费数据', align: 'center', width: 90, default: 16,
|
|
|
|
|
|
+ title: '回收率', tips: '回收率=新用户充值金额/实际消耗', dataIndex: 'recoveryRate', label: '付费数据', align: 'center', width: 90, default: 16,
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '当日回收率', dataIndex: 'todayRecoveryRate', label: '付费数据', align: 'center', width: 90, default: 17, sorter: true,
|
|
|
|
|
|
+ title: '至今回收率', tips: '至今回收率=新用户累计充值金额/实际消耗', dataIndex: 'todayRecoveryRate', label: '付费数据', align: 'center', width: 95, default: 17, sorter: true,
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -207,7 +209,7 @@ function columns12(gameType: any) {
|
|
// render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
// render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
// },
|
|
// },
|
|
{
|
|
{
|
|
- title: '新用户复充率', dataIndex: 'userRepeatRechargeRate', label: '付费数据', align: 'center', width: 70,
|
|
|
|
|
|
+ title: '新用户复充率', tips: '消耗时间范围内注册用户,在充值时间内重复充值(即用户累计充值次数n≥2)。计算公式:新用户复冲率=新用户复充人数/新用户累计充值人数', dataIndex: 'userRepeatRechargeRate', label: '付费数据', align: 'center', width: 80,
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
},
|
|
},
|
|
// {
|
|
// {
|
|
@@ -217,7 +219,7 @@ function columns12(gameType: any) {
|
|
{ title: '新增注册ARPPU', dataIndex: 'newRegArpu', label: '付费数据', align: 'center', width: 80, sorter: true, render: (a: string) => <Statistic value={a || 0} precision={2}/> },
|
|
{ title: '新增注册ARPPU', dataIndex: 'newRegArpu', label: '付费数据', align: 'center', width: 80, sorter: true, render: (a: string) => <Statistic value={a || 0} precision={2}/> },
|
|
{ title: '首日付费ARPPU', dataIndex: 'firstRechargeArpu', label: '付费数据', align: 'center', width: 80, sorter: true, render: (a: string) => <Statistic value={a || 0} precision={2}/> },
|
|
{ title: '首日付费ARPPU', dataIndex: 'firstRechargeArpu', label: '付费数据', align: 'center', width: 80, sorter: true, render: (a: string) => <Statistic value={a || 0} precision={2}/> },
|
|
{ title: '新用户付费ARPPU', dataIndex: 'userRechargeArpu', label: '付费数据', align: 'center', width: 80, render: (a: string) => <Statistic value={a || 0} precision={2}/> },
|
|
{ title: '新用户付费ARPPU', dataIndex: 'userRechargeArpu', label: '付费数据', align: 'center', width: 80, render: (a: string) => <Statistic value={a || 0} precision={2}/> },
|
|
- { title: '当天付费ARPPU', dataIndex: 'todayRechargeArpu', label: '付费数据', align: 'center', width: 80, sorter: true, render: (a: string) => <Statistic value={a || 0} precision={2}/> },
|
|
|
|
|
|
+ { title: '至今付费ARPPU', dataIndex: 'todayRechargeArpu', label: '付费数据', align: 'center', width: 80, sorter: true, render: (a: string) => <Statistic value={a || 0} precision={2}/> },
|
|
{ title: '账面ARPPU', dataIndex: 'showRechargeArpu', label: '付费数据', align: 'center', width: 80, render: (a: string) => <Statistic value={a || 0} precision={2}/> }
|
|
{ title: '账面ARPPU', dataIndex: 'showRechargeArpu', label: '付费数据', align: 'center', width: 80, render: (a: string) => <Statistic value={a || 0} precision={2}/> }
|
|
]
|
|
]
|
|
},
|
|
},
|