界面:表格长文本列统一左对齐,保留名称与属性对齐
This commit is contained in:
@@ -1582,7 +1582,7 @@ export function RecordsDrawer({
|
||||
{ title: '产业部', dataIndex: 'department', key: 'department', width: 160 },
|
||||
{ title: '业务分组', dataIndex: 'group', key: 'group', width: 190 },
|
||||
{ title: '产品', dataIndex: 'product', key: 'product', width: 190 },
|
||||
...visibleRawFields.map(name => ({ title: name, key: `raw:${name}`, width: 180, ellipsis: true, render: (_: unknown, record: RecordRow) => String(record.raw?.[name] ?? '—') })),
|
||||
...visibleRawFields.map(name => ({ title: name, key: `raw:${name}`, dataIndex: ['raw', name], width: 180, ellipsis: true, render: (_: unknown, record: RecordRow) => String(record.raw?.[name] ?? '—') })),
|
||||
{ title: '规范化值与转换说明', key: 'transform', width: 260, render: (_: unknown, record: RecordRow) => <details className="source-fields"><summary>查看本行转换</summary><strong>规范化值</strong><BusinessValue value={withoutSystemVersionFields(record.normalized || {})} /><strong>转换说明</strong><ul>{(record.transformNotes || []).map((note, index) => <li key={index}>{typeof note === 'string' ? note : <BusinessValue value={withoutSystemVersionFields(note)} />}</li>)}</ul></details> },
|
||||
{ title: '计算分量', dataIndex: 'components', key: 'components', width: 270, render: value => <details className="source-fields"><summary>查看计算分量</summary><BusinessValue value={withoutSystemVersionFields(value)} /></details> },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user