|
@@ -8,7 +8,7 @@ import { getNumber } from "@/utils/utils"
|
|
|
|
|
|
function columns12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] {
|
|
|
|
|
|
- let defaultStart = 9
|
|
|
+ let defaultStart = 10
|
|
|
const day = Array(90).fill('').map((_item: string, index: number) => {
|
|
|
let field = `daRetention${index + 1}`
|
|
|
let data = {
|
|
@@ -172,21 +172,30 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
return a
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '开服天数', dataIndex: 'days', label: '游戏信息', align: 'center', width: 70, default: 6,
|
|
|
+ render: (a: string, b: { gameName: string }) => {
|
|
|
+ if (b.gameName === '总计') {
|
|
|
+ return '--'
|
|
|
+ }
|
|
|
+ return <WidthEllipsis value={a} />
|
|
|
+ }
|
|
|
+ },
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
label: '数据',
|
|
|
data: [
|
|
|
{
|
|
|
- title: '新用户人数', dataIndex: 'totalRegNum', label: '数据', align: 'center', width: 70, sorter: true, default: 6,
|
|
|
+ title: '新用户人数', dataIndex: 'totalRegNum', label: '数据', align: 'center', width: 70, sorter: true, default: 7,
|
|
|
render: (a: number) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '创角人数', dataIndex: 'totalRoleNum', label: '数据', align: 'center', width: 70, sorter: true, default: 7,
|
|
|
+ title: '创角人数', dataIndex: 'totalRoleNum', label: '数据', align: 'center', width: 70, sorter: true, default: 8,
|
|
|
render: (a: number) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '付费人数', dataIndex: 'totalAmountNum', label: '数据', align: 'center', width: 70, sorter: true, default: 8,
|
|
|
+ title: '付费人数', dataIndex: 'totalAmountNum', label: '数据', align: 'center', width: 70, sorter: true, default: 9,
|
|
|
render: (a: number) => <Statistic value={a || 0} />
|
|
|
}
|
|
|
]
|