feat(platform): show quality issue identity on dashboard

This commit is contained in:
lingniu
2026-07-03 23:44:53 +08:00
parent 562c26f061
commit fe92b34356

View File

@@ -122,11 +122,12 @@ export function Dashboard({ onOpenVehicle, onOpenQuality }: { onOpenVehicle: (vi
columns={[
{ title: 'VIN', dataIndex: 'vin', width: 160 },
{ title: '车牌', dataIndex: 'plate', width: 110 },
{ title: '手机号', dataIndex: 'phone', width: 130 },
{ title: '来源地址', dataIndex: 'sourceEndpoint', width: 180 },
{ title: '来源', dataIndex: 'protocol', width: 110 },
{ title: '问题', dataIndex: 'issueType', width: 140 },
{ title: '级别', width: 90, render: (_: unknown, row: QualityIssueRow) => <Tag color={row.severity === 'error' ? 'red' : 'orange'}>{row.severity}</Tag> },
{ title: '最后时间', dataIndex: 'lastSeen', width: 170 },
{ title: '说明', dataIndex: 'detail' }
{ title: '最后时间', dataIndex: 'lastSeen', width: 170 }
]}
/>
</Card>