feat(platform): expose missing sources per vehicle
This commit is contained in:
@@ -125,6 +125,17 @@ export function Vehicles({
|
||||
</Space>
|
||||
)
|
||||
},
|
||||
{
|
||||
title: '缺失来源',
|
||||
width: 220,
|
||||
render: (_: unknown, row: VehicleCoverageRow) => (
|
||||
<Space spacing={4} wrap>
|
||||
{(row.missingProtocols ?? []).length > 0
|
||||
? row.missingProtocols.map((protocol) => <Tag key={protocol} color="orange">缺 {protocol}</Tag>)
|
||||
: <Tag color="green">完整</Tag>}
|
||||
</Space>
|
||||
)
|
||||
},
|
||||
{ title: '证据覆盖', width: 120, render: (_: unknown, row: VehicleCoverageRow) => sourceEvidenceText(row) },
|
||||
{ title: '在线', width: 90, render: (_: unknown, row: VehicleCoverageRow) => <StatusTag status={row.online ? 'ok' : 'offline'} /> },
|
||||
{ title: '最后在线', dataIndex: 'lastSeen', width: 170 },
|
||||
|
||||
Reference in New Issue
Block a user