|
@@ -1,4 +1,4 @@
|
|
|
-import { gameClassifyEnum } from "@/components/QueryForm/const"
|
|
|
+import { PayStatus, gameClassifyEnum } from "@/components/QueryForm/const"
|
|
|
import WidthEllipsis from "@/components/widthEllipsis"
|
|
|
import { Badge, Statistic } from "antd"
|
|
|
import React from "react"
|
|
@@ -36,11 +36,11 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '玩家注册渠道', dataIndex: 'agentId', label: '订单明细', align: 'center', width: 70, default: 8,
|
|
|
+ title: '玩家注册渠道', dataIndex: 'agentName', label: '订单明细', align: 'center', width: 70, default: 8,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '玩家注册游戏', dataIndex: 'gameId', label: '订单明细', align: 'center', width: 70, default: 9,
|
|
|
+ title: '玩家注册游戏', dataIndex: 'gameName', label: '订单明细', align: 'center', width: 70, default: 9,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
@@ -55,85 +55,93 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
title: '归因投放人员', dataIndex: 'zxPitcherName', label: '订单明细', align: 'center', width: 65, default: 12,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '归因推广账号', dataIndex: 'accountId', label: '订单明细', align: 'center', width: 80, default: 13,
|
|
|
+ // render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '归因媒体', dataIndex: 'accountType', label: '订单明细', align: 'center', width: 70, default: 14,
|
|
|
+ // render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '归因广告', dataIndex: 'adId', label: '订单明细', align: 'center', width: 70, default: 15,
|
|
|
+ // render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
+ // },
|
|
|
{
|
|
|
- title: '归因推广账号', dataIndex: 'accountId', label: '订单明细', align: 'center', width: 80, default: 13,
|
|
|
+ title: '玩家充值游戏', dataIndex: 'orderGameName', label: '订单明细', align: 'center', width: 70, default: 13,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '归因媒体', dataIndex: 'accountType', label: '订单明细', align: 'center', width: 70, default: 14,
|
|
|
- render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
+ title: '玩家充值游戏应用类型', dataIndex: 'orderGameClassify', label: '订单明细', align: 'center', width: 80, default: 14,
|
|
|
+ render: (a: string) => (<span>{gameClassifyEnum[a]}</span>)
|
|
|
},
|
|
|
{
|
|
|
- title: '归因广告', dataIndex: 'adId', label: '订单明细', align: 'center', width: 70, default: 15,
|
|
|
+ title: '充值产品名称', dataIndex: 'productName', label: '订单明细', align: 'center', width: 85, default: 15,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '玩家充值游戏', dataIndex: 'orderGameId', label: '订单明细', align: 'center', width: 70, default: 16,
|
|
|
- render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
+ title: '订单金额', dataIndex: 'amount', label: '订单明细', align: 'center', width: 80, default: 16,
|
|
|
+ render: (a: any) => <Statistic value={a || 0} precision={2} />
|
|
|
},
|
|
|
{
|
|
|
- title: '玩家充值游戏应用类型', dataIndex: 'orderGameClassify', label: '订单明细', align: 'center', width: 80, default: 17,
|
|
|
- render: (a: string) => (<span>{gameClassifyEnum[a]}</span>)
|
|
|
+ title: '订单实付金额', dataIndex: 'realAmount', label: '订单明细', align: 'center', width: 80, default: 17,
|
|
|
+ render: (a: any) => <Statistic value={a || 0} precision={2} />
|
|
|
},
|
|
|
{
|
|
|
- title: '充值产品名称', dataIndex: 'productName', label: '订单明细', align: 'center', width: 85, default: 18,
|
|
|
+ title: '购买商品', dataIndex: 'productName', label: '订单明细', align: 'center', width: 95, default: 18,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '订单金额', dataIndex: 'amount', label: '订单明细', align: 'center', width: 80, default: 19,
|
|
|
- render: (a: any) => <Statistic value={a || 0} precision={2} />
|
|
|
- },
|
|
|
- {
|
|
|
- title: '订单实付金额', dataIndex: 'realAmount', label: '订单明细', align: 'center', width: 80, default: 20,
|
|
|
- render: (a: any) => <Statistic value={a || 0} precision={2} />
|
|
|
+ title: '支付方式', dataIndex: 'payway', label: '订单明细', align: 'center', width: 65, default: 19,
|
|
|
+ render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '支付方式', dataIndex: 'payWay', label: '订单明细', align: 'center', width: 65, default: 21,
|
|
|
+ title: '支付场景', dataIndex: 'payScene', label: '订单明细', align: 'center', width: 95, default: 20,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '支付场景', dataIndex: 'payScene', label: '订单明细', align: 'center', width: 95, default: 22,
|
|
|
+ title: '收款账户', dataIndex: 'payAccountId', label: '订单明细', align: 'center', width: 95, default: 21,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
+ { title: '游戏区服', dataIndex: 'serverName', label: '订单明细', align: 'center', width: 85, default: 22 },
|
|
|
{
|
|
|
- title: '收款账户', dataIndex: 'payAccountId', label: '订单明细', align: 'center', width: 95, default: 23,
|
|
|
+ title: '游戏角色', dataIndex: 'roleName', label: '订单明细', align: 'center', width: 85, default: 23,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
- { title: '游戏区服', dataIndex: 'serverName', label: '订单明细', align: 'center', width: 85, default: 24 },
|
|
|
{
|
|
|
- title: '游戏角色', dataIndex: 'roleName', label: '订单明细', align: 'center', width: 85, default: 25,
|
|
|
+ title: '角色等级', dataIndex: 'roleLevel', label: '订单明细', align: 'center', width: 50, default: 24,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '角色等级', dataIndex: 'roleLevel', label: '订单明细', align: 'center', width: 50, default: 26,
|
|
|
+ title: '角色VIP', dataIndex: 'roleVip', label: '订单明细', align: 'center', width: 45, default: 25,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '角色VIP', dataIndex: 'roleVip', label: '订单明细', align: 'center', width: 45, default: 27,
|
|
|
+ title: '操作系统', dataIndex: 'os', label: '订单明细', align: 'center', width: 65, default: 26,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '操作系统', dataIndex: 'os', label: '订单明细', align: 'center', width: 65, default: 28,
|
|
|
+ title: '是否切量', dataIndex: 'orderIsSwitch', label: '订单明细', align: 'center', width: 45, default: 27,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '是否切量', dataIndex: 'orderIsSwitch', label: '订单明细', align: 'center', width: 45, default: 29,
|
|
|
+ title: '下单时间', dataIndex: 'orderCreateTime', label: '订单明细', align: 'center', width: 135, default: 28,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '支付时间', dataIndex: 'orderCreateTime', label: '订单明细', align: 'center', width: 135, default: 30,
|
|
|
+ title: '支付时间', dataIndex: 'payTime', label: '订单明细', align: 'center', width: 135, default: 29,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '支付状态', dataIndex: 'orderStatus', label: '订单明细', align: 'center', width: 85, default: 31,
|
|
|
+ title: '支付状态', dataIndex: 'orderStatus', label: '订单明细', align: 'center', width: 85, default: 30,
|
|
|
render: (a: string, b: any) => {
|
|
|
- return { '1': <Badge status="processing" text="待处理" />, '2': <Badge status="success" text="成功" />, '3': <Badge status="error" text="失败" /> }[a]
|
|
|
+ return PayStatus[a]
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title: '是否首充', dataIndex: 'isFirstRecharge', label: '订单明细', align: 'center', width: 45, default: 32,
|
|
|
+ title: '是否首充', dataIndex: 'isFirstRecharge', label: '订单明细', align: 'center', width: 45, default: 31,
|
|
|
render: (a: any) => {
|
|
|
- return a === 1 ? '是' : '否'
|
|
|
+ return a == 1 ? '是' : '否'
|
|
|
}
|
|
|
},
|
|
|
]
|