拆镜复刻
{total} 条记录
} onClick={() => setReloadKey(v => v + 1)}>刷新
`共 ${value} 条`, onChange: setPage }}
scroll={{ x: 1500 }}
columns={[
{ title: '任务集ID', dataIndex: 'id', width: 150, render: (v: string) => {shortId(v)} },
{
title: '用户',
width: 180,
render: (_, record) => (
{record.userName || '-'}
{shortId(record.userId)}
),
},
{
title: '任务信息',
width: 300,
render: (_, record) => (
{record.title || '-'}
分类:{record.originalVideoCategory || '-'}
受众:{record.originalVideoAudience || '-'}
),
},
{ title: '总状态', dataIndex: 'status', width: 120, render: (v: string) => },
{ title: '分析状态', dataIndex: 'analysisStatus', width: 110, render: (v: string) => },
{ title: '拆镜状态', dataIndex: 'splitStatus', width: 110, render: (v: string) => },
{
title: '切片进度',
width: 180,
render: (_, record) => {
const totalSegments = record.segmentCount || 0;
const done = record.completedSegmentCount || 0;
const percent = totalSegments ? Math.round((done / totalSegments) * 100) : 0;
return