diff --git a/src/pages/learning/DataPages.tsx b/src/pages/learning/DataPages.tsx index c175cf2..65a0e6d 100644 --- a/src/pages/learning/DataPages.tsx +++ b/src/pages/learning/DataPages.tsx @@ -304,8 +304,9 @@ export function RecordPage() { }); const columns = [ - { title: '用户', dataIndex: 'userId', key: 'userId', width: 100, ellipsis: true }, - { title: '标题', dataIndex: 'title', key: 'title', width: 200 }, + { title: '用户', dataIndex: 'userId', key: 'userId', width: 90, ellipsis: true }, + { title: '资料', dataIndex: 'materialId', key: 'materialId', width: 100, ellipsis: true, render: (v?: string) => v?.slice(0,12) || '-' }, + { title: '标题', dataIndex: 'title', key: 'title', width: 180 }, { title: '类型', dataIndex: 'recordType', key: 'recordType', width: 100, render: (t: string) => {t} }, { title: '时长', dataIndex: 'durationSeconds', key: 'duration', width: 80 }, { title: '时间', dataIndex: 'occurredAt', key: 'occurredAt', width: 160, render: (t: string) => t ? dayjs(t).format('MM-DD HH:mm') : '-' }, @@ -315,6 +316,7 @@ export function RecordPage() { setFilters(f => ({ ...f, userId: e.target.value }))} style={{ width: 140 }} /> + setFilters(f => ({ ...f, materialId: e.target.value }))} style={{ width: 140 }} />