This commit is contained in:
PC-202306242200\Administrator
2024-09-21 21:36:56 +08:00
parent 414440b6d1
commit ee8c853b79
5 changed files with 9 additions and 9 deletions

2
dist/index.html vendored
View File

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.a43f4fc6.js"></script>
<script src="/umi.60eced26.js"></script>
</body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -97,12 +97,12 @@ const LogTableList: React.FC = () => {
},
{
title: '支付类型',
dataIndex: 'businessPayType',
dataIndex: 'orderPlatform',
valueType: 'text',
search: true,
render: (_: any, record: any) => {
let color = record.businessPayType == 1 ? 'volcano' : record.businessPayType == 2 ? 'orange' : 'red'
return <Tag color={color}>{record.businessPayType == 1 ? '微信' : record.businessPayType == 2 ? '支付宝' : '钱包'}</Tag>
let color = record.orderPlatform == 1 ? 'volcano' : record.orderPlatform == 2 ? 'orange' : 'red'
return <Tag color={color}>{record.orderPlatform == 2 ? '微信' : record.orderPlatform == 3 ? '支付宝' : record.orderPlatform == 1 ? '钱包' : '-'}</Tag>
},
renderFormItem: (
_,
@@ -110,9 +110,9 @@ const LogTableList: React.FC = () => {
form,
) => {
const statusMap = [
{ label: '微信', value: 1 },
{ label: '支付宝', value: 2 },
{ label: '钱包', value: 3 },
{ label: '微信', value: 2 },
{ label: '支付宝', value: 3 },
{ label: '钱包', value: 1 },
]
return <Select
{...fieldProps}