|
@@ -1,4 +1,4 @@
|
|
|
-import { PayStatus, gameClassifyEnum } from "@/components/QueryForm/const"
|
|
|
+import { PayStatus, PayType, gameClassifyEnum } from "@/components/QueryForm/const"
|
|
|
import WidthEllipsis from "@/components/widthEllipsis"
|
|
|
import { Statistic } from "antd"
|
|
|
import React from "react"
|
|
@@ -32,7 +32,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '玩家注册时间', dataIndex: 'regTime', label: '订单明细', align: 'center', width: 135, default: 7,
|
|
|
+ title: '玩家注册时间', dataIndex: 'regTime', label: '订单明细', align: 'center', width: 135, default: 7, sorter: true,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
@@ -80,11 +80,11 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '订单金额', dataIndex: 'amount', label: '订单明细', align: 'center', width: 80, default: 16,
|
|
|
+ title: '订单金额', dataIndex: 'amount', label: '订单明细', align: 'center', width: 80, default: 16, sorter: true,
|
|
|
render: (a: any) => <Statistic value={a || 0} precision={2} />
|
|
|
},
|
|
|
{
|
|
|
- title: '订单实付金额', dataIndex: 'realAmount', label: '订单明细', align: 'center', width: 80, default: 17,
|
|
|
+ title: '订单实付金额', dataIndex: 'realAmount', label: '订单明细', align: 'center', width: 80, default: 17, sorter: true,
|
|
|
render: (a: any) => <Statistic value={a || 0} precision={2} />
|
|
|
},
|
|
|
{
|
|
@@ -93,7 +93,7 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
},
|
|
|
{
|
|
|
title: '支付方式', dataIndex: 'payway', label: '订单明细', align: 'center', width: 65, default: 19,
|
|
|
- render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
+ render: (a: string, b: any) => (<WidthEllipsis value={PayType[a]} />)
|
|
|
},
|
|
|
{
|
|
|
title: '支付场景', dataIndex: 'payScene', label: '订单明细', align: 'center', width: 95, default: 20,
|
|
@@ -125,11 +125,11 @@ function columns12(): { label: string, fieldSHow?: { label: string, saveField: s
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '下单时间', dataIndex: 'orderCreateTime', label: '订单明细', align: 'center', width: 135, default: 28,
|
|
|
+ title: '下单时间', dataIndex: 'orderCreateTime', label: '订单明细', align: 'center', width: 135, default: 28, sorter: true,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|
|
|
- title: '支付时间', dataIndex: 'payTime', label: '订单明细', align: 'center', width: 135, default: 29,
|
|
|
+ title: '支付时间', dataIndex: 'payTime', label: '订单明细', align: 'center', width: 135, default: 29, sorter: true,
|
|
|
render: (a: string, b: any) => (<WidthEllipsis value={a} />)
|
|
|
},
|
|
|
{
|