|
@@ -50,7 +50,7 @@ const tableConfig = (backValueEnum: any, appObj: any) => {
|
|
text: '头条小游戏'
|
|
text: '头条小游戏'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- render: (_, row) => {
|
|
|
|
|
|
+ render: (_: any, row: { accountType: string; }) => {
|
|
return AccountTypeEnum[row.accountType as keyof typeof AccountTypeEnum]
|
|
return AccountTypeEnum[row.accountType as keyof typeof AccountTypeEnum]
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -85,7 +85,7 @@ const tableConfig = (backValueEnum: any, appObj: any) => {
|
|
width: 120,
|
|
width: 120,
|
|
ellipsis: true,
|
|
ellipsis: true,
|
|
valueEnum: backValueEnum,
|
|
valueEnum: backValueEnum,
|
|
- render: (_, row) => {
|
|
|
|
|
|
+ render: (_: any, row: { iaaAgentBackPolicyDTO: { backPolicyName: any; }; }) => {
|
|
return row?.iaaAgentBackPolicyDTO?.backPolicyName || '-'
|
|
return row?.iaaAgentBackPolicyDTO?.backPolicyName || '-'
|
|
},
|
|
},
|
|
},
|
|
},
|
|
@@ -117,7 +117,7 @@ const tableConfig = (backValueEnum: any, appObj: any) => {
|
|
valueType: 'dateRange',
|
|
valueType: 'dateRange',
|
|
hideInTable: true,
|
|
hideInTable: true,
|
|
search: {
|
|
search: {
|
|
- transform: (value) => {
|
|
|
|
|
|
+ transform: (value: any[]) => {
|
|
return {
|
|
return {
|
|
createBeginTime: value[0],
|
|
createBeginTime: value[0],
|
|
createEndTime: value[1],
|
|
createEndTime: value[1],
|
|
@@ -137,7 +137,7 @@ const tableConfig = (backValueEnum: any, appObj: any) => {
|
|
key: 'option',
|
|
key: 'option',
|
|
width: 125,
|
|
width: 125,
|
|
valueType: 'option',
|
|
valueType: 'option',
|
|
- render: (_, row, index, action) => row?.iaaAgentBackPolicyDTO ? [
|
|
|
|
|
|
+ render: (_: any, row: { iaaAgentBackPolicyDTO: any; id: number; }, index: any, action: { reload: () => void; }) => row?.iaaAgentBackPolicyDTO ? [
|
|
<div key={'qx'}><CancelBackPolicy id={row.id} onChange={() => action?.reload()}/></div>
|
|
<div key={'qx'}><CancelBackPolicy id={row.id} onChange={() => action?.reload()}/></div>
|
|
] : '-'
|
|
] : '-'
|
|
},
|
|
},
|