展示打手提现统计

This commit is contained in:
yml2213
2026-08-21 00:05:04 +08:00
parent 361b84931f
commit 2fbfaa0143
7 changed files with 63 additions and 2 deletions
@@ -201,13 +201,25 @@ export default function FinancePanel() {
const requestColumns: TableColumnsType<WorkerFinanceRequest> = [
{
title: '打手',
minWidth: 180,
minWidth: 250,
render: (_, row) => (
<div className="cell-stack">
<Typography.Text strong>
{row.worker?.displayName || row.worker?.username || '-'}
</Typography.Text>
<Typography.Text type="secondary">{row.worker?.username || '-'}</Typography.Text>
{row.worker ? (
<Space size={[4, 4]} wrap>
<Tag color={row.worker.workerType === 'internal' ? 'blue' : 'default'}>
{row.worker.workerType === 'internal' ? '内部打手' : '外部打手'}
</Tag>
<Tag>{row.worker.levelName || row.worker.levelKey || '未分级'}</Tag>
<Typography.Text type="secondary">
{row.worker.withdrawRequestCount}
{formatMoney(row.worker.totalWithdrawAmount)}
</Typography.Text>
</Space>
) : null}
</div>
),
},
@@ -99,6 +99,11 @@ export type WorkerFinanceRequest = {
username: string
displayName: string
phone: string
workerType: 'internal' | 'external'
levelKey: string
levelName: string
withdrawRequestCount: number
totalWithdrawAmount: number
}
}