展示打手提现统计
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user