|
@@ -5,7 +5,7 @@ import WidthEllipsis from "@/components/widthEllipsis"
|
|
|
|
|
|
function columnsUser12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] {
|
|
|
|
|
|
- let defaultStart = 12
|
|
|
+ let defaultStart = 13
|
|
|
// 用户LTV
|
|
|
const userLtvDay = Array(90).fill('').map((_item: string, index: number) => {
|
|
|
let field = `userLtv${index + 1}`
|
|
@@ -22,7 +22,7 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
})
|
|
|
|
|
|
// 用户LTV月
|
|
|
- let defaultStartM = 102
|
|
|
+ let defaultStartM = 103
|
|
|
let userLtvMonth = [4, 5, 6, 7, 8, 9, 10, 11].map((item, index) => {
|
|
|
let field = `userLtvM${item}`
|
|
|
let data = {
|
|
@@ -42,7 +42,7 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
label: "用户LTV",
|
|
|
align: "center",
|
|
|
width: 70,
|
|
|
- default: 110,
|
|
|
+ default: 111,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
} as any)
|
|
|
userLtvMonth.push({
|
|
@@ -51,7 +51,7 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
label: "用户LTV",
|
|
|
align: "center",
|
|
|
width: 70,
|
|
|
- default: 111,
|
|
|
+ default: 112,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
} as any)
|
|
|
|
|
@@ -104,7 +104,7 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
label: '游戏信息',
|
|
|
data: [
|
|
|
{
|
|
|
- title: '推广游戏名称', dataIndex: 'gameName', label: '游戏信息', align: 'center', width: 70,
|
|
|
+ title: '推广游戏名称', dataIndex: 'gameName', label: '游戏信息', align: 'center', width: 70, default: 2,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis isCopy={b?.costDate !== '总计'} value={a} />)
|
|
|
},
|
|
|
{
|
|
@@ -126,7 +126,7 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
label: '消耗',
|
|
|
data: [
|
|
|
{
|
|
|
- title: '消耗', dataIndex: 'cost', label: '消耗', align: 'center', width: 90, sorter: true, default: 2,
|
|
|
+ title: '消耗', dataIndex: 'cost', label: '消耗', align: 'center', width: 90, sorter: true, default: 3,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
}
|
|
|
]
|
|
@@ -135,7 +135,7 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
label: '用户数据',
|
|
|
data: [
|
|
|
{
|
|
|
- title: '注册人数', dataIndex: 'regNum', label: '用户数据', align: 'center', width: 70, sorter: true, default: 3,
|
|
|
+ title: '注册人数', dataIndex: 'regNum', label: '用户数据', align: 'center', width: 70, sorter: true, default: 4,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
@@ -152,11 +152,11 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '首日新用户充值人数', dataIndex: 'firstNewUserAmountNum', label: '付费数据', align: 'center', width: 70, sorter: true, default: 4,
|
|
|
+ title: '首日新用户充值人数', dataIndex: 'firstNewUserAmountNum', label: '付费数据', align: 'center', width: 70, sorter: true, default: 5,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '首日新用户充值金额', dataIndex: 'firstNewUserAmount', label: '付费数据', align: 'center', width: 70, sorter: true, default: 5,
|
|
|
+ title: '首日新用户充值金额', dataIndex: 'firstNewUserAmount', label: '付费数据', align: 'center', width: 70, sorter: true, default: 6,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
@@ -188,19 +188,19 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '新用户累计充值人数', dataIndex: 'newUserTotalAmountNum', label: '付费数据', align: 'center', width: 70, sorter: true, default: 6,
|
|
|
+ title: '新用户累计充值人数', dataIndex: 'newUserTotalAmountNum', label: '付费数据', align: 'center', width: 70, sorter: true, default: 7,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '新用户累计充值金额', dataIndex: 'newUserTotalAmount', label: '付费数据', align: 'center', width: 70, sorter: true, default: 7,
|
|
|
+ title: '新用户累计充值金额', dataIndex: 'newUserTotalAmount', label: '付费数据', align: 'center', width: 70, sorter: true, default: 8,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '首日ROI', dataIndex: 'firstRoi', label: '付费数据', align: 'center', width: 70, sorter: true, default: 8,
|
|
|
+ title: '首日ROI', dataIndex: 'firstRoi', label: '付费数据', align: 'center', width: 70, sorter: true, default: 9,
|
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
|
},
|
|
|
{
|
|
|
- title: '总ROI', dataIndex: 'totalRoi', label: '付费数据', align: 'center', width: 70, sorter: true, default: 11,
|
|
|
+ title: '总ROI', dataIndex: 'totalRoi', label: '付费数据', align: 'center', width: 70, sorter: true, default: 12,
|
|
|
render: (a: number) => <Statistic value={a ? a * 100 : 0} precision={2} valueStyle={a >= 1 ? { color: 'red' } : { color: '#0f990f' }} suffix="%" />
|
|
|
},
|
|
|
{
|
|
@@ -220,11 +220,11 @@ function columnsUser12(): { label: string, fieldSHow?: { label: string, saveFiel
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '首日充值成本', dataIndex: 'firstNewUserRechargeCost', label: '付费数据', align: 'center', width: 70, sorter: true, default: 9,
|
|
|
+ title: '首日充值成本', dataIndex: 'firstNewUserRechargeCost', label: '付费数据', align: 'center', width: 70, sorter: true, default: 10,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '总充值成本', dataIndex: 'totalRechargeCost', label: '付费数据', align: 'center', width: 70, sorter: true, default: 10,
|
|
|
+ title: '总充值成本', dataIndex: 'totalRechargeCost', label: '付费数据', align: 'center', width: 70, sorter: true, default: 11,
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|