Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4bf24cb6fd | |||
| 5acfb05c57 | |||
| c30a5cabb7 | |||
| bea35fb707 | |||
| 93c3daa784 |
@@ -333,6 +333,14 @@ export default function ComparisonRecordsPage() {
|
||||
<b style={{ color: r.saved_amount_cents > 0 ? '#3f8600' : '#999' }}>{yuan(r.saved_amount_cents)}</b>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: '是否下单',
|
||||
dataIndex: 'ordered',
|
||||
width: 84,
|
||||
render: (ordered: boolean) => (
|
||||
<Tag color={ordered ? 'green' : 'default'}>{ordered ? '已下单' : '未下单'}</Tag>
|
||||
),
|
||||
},
|
||||
{ title: 'LLM', dataIndex: 'llm_call_count', width: 56, render: (v) => v ?? '-' },
|
||||
{
|
||||
title: 'TOKEN',
|
||||
|
||||
@@ -570,6 +570,7 @@ export function WithdrawReviewPage({ mode = 'other' }: { mode?: WithdrawReviewMo
|
||||
},
|
||||
{
|
||||
title: '失败/拒绝原因',
|
||||
key: 'fail_reason',
|
||||
dataIndex: 'fail_reason',
|
||||
ellipsis: true,
|
||||
render: (v: string | null) => v || <Text type="secondary">-</Text>,
|
||||
@@ -647,6 +648,10 @@ export function WithdrawReviewPage({ mode = 'other' }: { mode?: WithdrawReviewMo
|
||||
},
|
||||
},
|
||||
];
|
||||
const visibleColumns =
|
||||
activeStatus === 'pending' || activeStatus === 'success'
|
||||
? columns.filter((column) => column.key !== 'fail_reason')
|
||||
: columns;
|
||||
|
||||
const inviteeColumns: ColumnsType<InviteeDetail> = [
|
||||
{ title: '手机号', dataIndex: 'phone', width: 130 },
|
||||
@@ -945,7 +950,7 @@ export function WithdrawReviewPage({ mode = 'other' }: { mode?: WithdrawReviewMo
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
columns={columns}
|
||||
columns={visibleColumns}
|
||||
dataSource={items}
|
||||
loading={loading}
|
||||
pagination={{
|
||||
@@ -989,12 +994,6 @@ export function WithdrawReviewPage({ mode = 'other' }: { mode?: WithdrawReviewMo
|
||||
<Descriptions.Item label="金额">
|
||||
<Text strong>{yuan(detail.order.amount_cents)}</Text>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="提现类型">
|
||||
{detail.order.source === 'invite_cash' ? '邀请奖励提现' : '福利页提现'}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="累计成功提现">
|
||||
{yuan(detail.cumulative_success_cents)}
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="提交时间">
|
||||
{dt(detail.order.created_at)}
|
||||
</Descriptions.Item>
|
||||
|
||||
@@ -457,6 +457,7 @@ export interface ComparisonRecordListItem {
|
||||
source_price_cents: number | null;
|
||||
best_price_cents: number | null;
|
||||
saved_amount_cents: number | null;
|
||||
ordered: boolean;
|
||||
total_ms: number | null;
|
||||
step_count: number | null;
|
||||
llm_call_count: number | null;
|
||||
|
||||
Reference in New Issue
Block a user