feat(platform): show quality issue identity on dashboard
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user