wjx 10 bulan lalu
induk
melakukan
d43921c21e
1 mengubah file dengan 79 tambahan dan 4 penghapusan
  1. 79 4
      src/pages/gameDataStatistics/pitcher/total/tableConfig.tsx

+ 79 - 4
src/pages/gameDataStatistics/pitcher/total/tableConfig.tsx

@@ -1,5 +1,6 @@
 import WidthEllipsis from "@/components/widthEllipsis"
 import { Statistic } from "antd"
+import classNames from "classnames"
 import React from "react"
 
 function columns12() {
@@ -119,8 +120,45 @@ function columns12() {
                     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: 'firstNewUserAmountCount', label: '付费数据', align: 'center', width: 70, sorter: true,
@@ -167,8 +205,45 @@ function columns12() {
                     render: (a: string) => <Statistic value={a || 0} />
                 },
                 {
-                    title: '新用户累计充值金额', dataIndex: 'buyNewUserTotalAmount', label: '付费数据', align: 'center', width: 70, sorter: true, default: 10,
-                    render: (a: string) => <Statistic value={a || 0} />
+                    title: '新用户累计充值金额', dataIndex: 'buyNewUserTotalAmount', label: '付费数据', align: 'center', default: 10,
+                    children: [
+                        {
+                            title: '总', 
+                            dataIndex: 'buyNewUserTotalAmount',
+                            key: 'buyNewUserTotalAmount', 
+                            align: 'right', 
+                            width: 70, 
+                            className: 'adDataBackColorClass',
+                            render: (a: string) => <Statistic value={a || 0} />
+                        },
+                        {
+                            title: '支付宝累计', 
+                            dataIndex: 'newUserTotalZfbAmount', 
+                            key: 'newUserTotalZfbAmount', 
+                            align: 'right', 
+                            width: 80, 
+                            className: 'payDataBackColorClass',
+                            render: (a: string) => <Statistic value={a || 0} />
+                        },
+                        {
+                            title: '微信累计', 
+                            dataIndex: 'newUserTotalWxAmount', 
+                            key: 'newUserTotalWxAmount', 
+                            align: 'right', 
+                            width: 70, 
+                            className: 'payDataBackColorClass',
+                            render: (a: string) => <Statistic value={a || 0} />
+                        },
+                        {
+                            title: '米大师累计', 
+                            dataIndex: 'newUserTotalMdsAmount', 
+                            key: 'newUserTotalMdsAmount', 
+                            align: 'right', 
+                            width: 80, 
+                            className: 'payDataBackColorClass',
+                            render: (a: string) => <Statistic value={a || 0} />
+                        }
+                    ]
                 },
                 {
                     title: '首日ROI', dataIndex: 'firstRoi', label: '付费数据', align: 'center', width: 70, sorter: true, default: 12,