onFiltersChange({ appCode: event.target.value })}>
{options.apps.map((app) => (
))}
onFiltersChange({ operation: event.target.value })}>
{operations.map((operation) => (
))}
onFiltersChange({ status: event.target.value })}>
{APPLICATION_STATUS.map(([value, label]) => (
))}
onFiltersChange({ keyword: event.target.value })} />
} variant="outlined" onClick={onReload}>
刷新列表
} variant="contained" onClick={onCreate}>
添加
{error ? {error}
: null}
{loading && !items.length ? : null}
{!loading || items.length ? (
APP
操作
目标用户
金币数量
充值金额
凭证
状态
发起申请时间
审批人
审核时间
{items.length ? (
items.map((item) => (
{item.appName || item.appCode || "-"}
{item.targetUserId || "-"}
{formatAmount(item.coinAmount)}
{formatAmount(item.rechargeAmount)}
{formatTime(item.createdAtMs)}
{formatTime(item.auditedAtMs)}
))
) : (
当前无数据
)}
) : null}
{total > pageSize ? (
第 {page} 页 / 共 {total} 条
) : null}
);
}
function Evidence({ item }) {
if (!item.credentialImageUrl && !item.credentialText) {
return "-";
}
return (