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={[
|
columns={[
|
||||||
{ title: 'VIN', dataIndex: 'vin', width: 160 },
|
{ title: 'VIN', dataIndex: 'vin', width: 160 },
|
||||||
{ title: '车牌', dataIndex: 'plate', width: 110 },
|
{ title: '车牌', dataIndex: 'plate', width: 110 },
|
||||||
|
{ title: '手机号', dataIndex: 'phone', width: 130 },
|
||||||
|
{ title: '来源地址', dataIndex: 'sourceEndpoint', width: 180 },
|
||||||
{ title: '来源', dataIndex: 'protocol', width: 110 },
|
{ title: '来源', dataIndex: 'protocol', width: 110 },
|
||||||
{ title: '问题', dataIndex: 'issueType', width: 140 },
|
{ title: '问题', dataIndex: 'issueType', width: 140 },
|
||||||
{ title: '级别', width: 90, render: (_: unknown, row: QualityIssueRow) => <Tag color={row.severity === 'error' ? 'red' : 'orange'}>{row.severity}</Tag> },
|
{ title: '级别', width: 90, render: (_: unknown, row: QualityIssueRow) => <Tag color={row.severity === 'error' ? 'red' : 'orange'}>{row.severity}</Tag> },
|
||||||
{ title: '最后时间', dataIndex: 'lastSeen', width: 170 },
|
{ title: '最后时间', dataIndex: 'lastSeen', width: 170 }
|
||||||
{ title: '说明', dataIndex: 'detail' }
|
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user