|
@@ -2,7 +2,7 @@ import { gameClassifyEnum } from "@/components/QueryForm/const"
|
|
|
import WidthEllipsis from "@/components/widthEllipsis"
|
|
|
import { Statistic } from "antd"
|
|
|
import React from "react"
|
|
|
-
|
|
|
+import '../../adlist/monitor/index.less'
|
|
|
|
|
|
function columns12(): { label: string, fieldSHow?: { label: string, saveField: string, defaultValue: any[], data: any[] }, data: any[] }[] {
|
|
|
|
|
@@ -55,8 +55,45 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '新用户充值金额', dataIndex: 'newUserAmount', label: '付费数据', align: 'center', width: 70, default: 6,
|
|
|
- render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ title: '新用户充值金额', dataIndex: 'newUserAmount', label: '付费数据', align: 'center', default: 6,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '总',
|
|
|
+ dataIndex: 'newUserAmount',
|
|
|
+ key: 'newUserAmount',
|
|
|
+ align: 'right',
|
|
|
+ width: 70,
|
|
|
+ className: 'adDataBackColorClass',
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '支付宝',
|
|
|
+ dataIndex: 'alipayAmount',
|
|
|
+ key: 'alipayAmount',
|
|
|
+ align: 'right',
|
|
|
+ width: 80,
|
|
|
+ className: 'payDataBackColorClass',
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '微信',
|
|
|
+ dataIndex: 'wxAmount',
|
|
|
+ key: 'wxAmount',
|
|
|
+ align: 'right',
|
|
|
+ width: 70,
|
|
|
+ className: 'payDataBackColorClass',
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '米大师',
|
|
|
+ dataIndex: 'miMasterAmount',
|
|
|
+ key: 'miMasterAmount',
|
|
|
+ align: 'right',
|
|
|
+ width: 80,
|
|
|
+ className: 'payDataBackColorClass',
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
title: '新用户充值成本', dataIndex: 'newUserRechargeCost', label: '付费数据', align: 'center', width: 80, default: 14,
|
|
@@ -111,8 +148,45 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
render: (a: string) => <Statistic value={a || 0} />
|
|
|
},
|
|
|
{
|
|
|
- title: '新用户累计充值金额', dataIndex: 'newUserTotalAmount', label: '付费数据', align: 'center', width: 70, sorter: true, default: 10,
|
|
|
- render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ title: '新用户累计充值金额', dataIndex: 'newUserTotalAmount', label: '付费数据', align: 'center', default: 10,
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ title: '总',
|
|
|
+ dataIndex: 'newUserTotalAmount',
|
|
|
+ key: 'newUserTotalAmount',
|
|
|
+ align: 'right',
|
|
|
+ width: 70,
|
|
|
+ className: 'adDataBackColorClass',
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '支付宝累计(自然量)',
|
|
|
+ dataIndex: 'natureNewUserTotalZfbAmount',
|
|
|
+ key: 'natureNewUserTotalZfbAmount',
|
|
|
+ align: 'right',
|
|
|
+ width: 80,
|
|
|
+ className: 'payDataBackColorClass',
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '微信累计(自然量)',
|
|
|
+ dataIndex: 'natureNewUserTotalWxAmount',
|
|
|
+ key: 'natureNewUserTotalWxAmount',
|
|
|
+ align: 'right',
|
|
|
+ width: 70,
|
|
|
+ className: 'payDataBackColorClass',
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '米大师累计(自然量)',
|
|
|
+ dataIndex: 'natureNewUserTotalMdsAmount',
|
|
|
+ key: 'natureNewUserTotalMdsAmount',
|
|
|
+ align: 'right',
|
|
|
+ width: 80,
|
|
|
+ className: 'payDataBackColorClass',
|
|
|
+ render: (a: string) => <Statistic value={a || 0} />
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
title: '首日充值成本', dataIndex: 'firstNewUserRechargeCost', label: '付费数据', align: 'center', width: 70, sorter: true, default: 15,
|