|
@@ -8,10 +8,10 @@ import { gameClassifyEnum } from "@/components/QueryForm/const"
|
|
|
|
|
|
function columns12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] {
|
|
function columns12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] {
|
|
|
|
|
|
- const roiC = Array(30).fill('').map((_item: string, index: number) => {
|
|
|
|
|
|
+ const roiC = Array(29).fill('').map((_item: string, index: number) => {
|
|
let data = {
|
|
let data = {
|
|
- title: `${index + 1}日ROI`,
|
|
|
|
- dataIndex: `roi${index + 1}`,
|
|
|
|
|
|
+ title: `${index + 2}日ROI`,
|
|
|
|
+ dataIndex: `roi${index + 2}`,
|
|
label: '付费数据',
|
|
label: '付费数据',
|
|
align: 'center',
|
|
align: 'center',
|
|
width: 80,
|
|
width: 80,
|
|
@@ -232,7 +232,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
render: (a: string, b: any) => (<WidthEllipsis value={gameClassifyEnum[a]} />)
|
|
render: (a: string, b: any) => (<WidthEllipsis value={gameClassifyEnum[a]} />)
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '充值时间', dataIndex: 'dt', label: '基本信息', align: 'center', width: 110, default: 5, sorter: true,
|
|
|
|
|
|
+ title: '时间', dataIndex: 'dt', label: '基本信息', align: 'center', width: 110, default: 5, sorter: true,
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -266,7 +266,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '创角人数', dataIndex: 'roleNum', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
title: '创角人数', dataIndex: 'roleNum', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
- render: (a: string) => <Statistic value={a || 0} precision={2} />
|
|
|
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '首日创角人数', dataIndex: 'firstRoleNum', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
title: '首日创角人数', dataIndex: 'firstRoleNum', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
@@ -274,7 +274,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '新用户累计创角人数', dataIndex: 'newUserTotalRoleNum', label: '用户数据', align: 'center', width: 100, sorter: true,
|
|
title: '新用户累计创角人数', dataIndex: 'newUserTotalRoleNum', label: '用户数据', align: 'center', width: 100, sorter: true,
|
|
- render: (a: string) => <Statistic value={a || 0} precision={2} />
|
|
|
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '首日创角成本', dataIndex: 'firstRoleCost', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
title: '首日创角成本', dataIndex: 'firstRoleCost', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
@@ -298,11 +298,11 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
// },
|
|
// },
|
|
{
|
|
{
|
|
title: '首日创角率', dataIndex: 'firstRoleRate', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
title: '首日创角率', dataIndex: 'firstRoleRate', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
- render: (a: number) => <Statistic value={a} precision={2} valueStyle={!a ? {} : a >= 50 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
|
|
|
|
+ render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 50 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '新用户创角率', dataIndex: 'roleNumRate', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
title: '新用户创角率', dataIndex: 'roleNumRate', label: '用户数据', align: 'center', width: 70, sorter: true,
|
|
- render: (a: number) => <Statistic value={a} precision={2} valueStyle={!a ? {} : a >= 50 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
|
|
|
|
+ render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={!a ? {} : a >= 50 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -407,7 +407,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- title: '买量客单价', dataIndex: 'buyAvg', label: '付费数据', align: 'center', width: 70, sorter: true,
|
|
|
|
|
|
+ title: '至今客单价', dataIndex: 'buyAvg', label: '付费数据', align: 'center', width: 70, sorter: true,
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
},
|
|
},
|
|
{
|
|
{
|