|
|
|
@ -418,18 +418,50 @@ const handleExport = async () => { |
|
|
|
}) |
|
|
|
.filter(id => id !== null && id !== 'null'); // 过滤无效值 |
|
|
|
} |
|
|
|
const areaPayTypeList = []; |
|
|
|
const options = toRaw(payPlatformOptionsList.value); |
|
|
|
const selectedPaths = queryParams.platformSelection; |
|
|
|
if (selectedPaths.length > 0 && options.length > 0) { |
|
|
|
selectedPaths.forEach(path => { |
|
|
|
const areaId = path[0]; |
|
|
|
const payMethodId = path[path.length - 1]; |
|
|
|
if (path.length === 1) { |
|
|
|
const countryNode = options.find(c => c.id === areaId); |
|
|
|
if (countryNode && countryNode.children) { |
|
|
|
countryNode.children.forEach(child => { |
|
|
|
areaPayTypeList.push({ |
|
|
|
areaId: areaId, |
|
|
|
payType: child.name |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
const countryNode = options.find(c => c.id === areaId); |
|
|
|
if (countryNode && countryNode.children) { |
|
|
|
const methodNode = countryNode.children.find(m => m.id === payMethodId); |
|
|
|
if (methodNode) { |
|
|
|
areaPayTypeList.push({ |
|
|
|
areaId: areaId, |
|
|
|
payType: methodNode.name |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
const params = { |
|
|
|
pageNum: queryParams.pageNum, |
|
|
|
pageSize: queryParams.pageSize, |
|
|
|
fundsDTO: { |
|
|
|
jwcode: queryParams.jwcode, |
|
|
|
localMarket: queryParams.markets, |
|
|
|
performanceMarkets:performanceMarkets, |
|
|
|
areaPayTypeList: areaPayTypeList, |
|
|
|
startTime: queryParams.timeRange?.[0] ? dayjs(queryParams.timeRange[0]).format('YYYY-MM-DD HH:mm:ss') : '', |
|
|
|
endTime: queryParams.timeRange?.[1] ? dayjs(queryParams.timeRange[1]).format('YYYY-MM-DD HH:mm:ss') : '', |
|
|
|
payType: normalizePayType(queryParams.payType || ''), |
|
|
|
orderCode: queryParams.orderCode, |
|
|
|
performanceMarkets: performanceMarkets, |
|
|
|
statuses: formatStatuses(queryParams.statuses), |
|
|
|
markets: [], |
|
|
|
} |
|
|
|
} |
|
|
|
|