feat(platform): link alert queue to raw evidence

This commit is contained in:
lingniu
2026-07-04 12:42:55 +08:00
parent a0f17f35c4
commit 773338cce9
2 changed files with 96 additions and 1 deletions

View File

@@ -477,13 +477,14 @@ export function Quality({
{ title: '说明', dataIndex: 'detail' },
{
title: '操作',
width: 290,
width: 360,
render: (_: unknown, row: PriorityIssueRow) => {
const lookup = qualityIssueVehicleLookup(row);
return (
<Space spacing={4} wrap>
<Button size="small" disabled={!lookup.key || !onOpenRealtime} onClick={() => openIssueRealtime(row)}></Button>
<Button size="small" disabled={!lookup.key || !onOpenHistory} onClick={() => openIssueHistory(row)}></Button>
<Button size="small" disabled={!lookup.key || !onOpenRaw} onClick={() => openIssueRaw(row)}>RAW证据</Button>
<Button size="small" disabled={!lookup.key} onClick={() => onOpenVehicle(lookup.key, row.protocol)}></Button>
</Space>
);