feat(platform): link alert queue to raw evidence
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user