feat(platform): add alert realtime map action
This commit is contained in:
@@ -477,10 +477,15 @@ export function Quality({
|
||||
{ title: '说明', dataIndex: 'detail' },
|
||||
{
|
||||
title: '操作',
|
||||
width: 130,
|
||||
width: 210,
|
||||
render: (_: unknown, row: PriorityIssueRow) => {
|
||||
const lookup = qualityIssueVehicleLookup(row);
|
||||
return <Button size="small" disabled={!lookup.key} onClick={() => onOpenVehicle(lookup.key, row.protocol)}>进入车辆服务</Button>;
|
||||
return (
|
||||
<Space spacing={4} wrap>
|
||||
<Button size="small" disabled={!lookup.key || !onOpenRealtime} onClick={() => openIssueRealtime(row)}>实时定位</Button>
|
||||
<Button size="small" disabled={!lookup.key} onClick={() => onOpenVehicle(lookup.key, row.protocol)}>进入车辆服务</Button>
|
||||
</Space>
|
||||
);
|
||||
}
|
||||
}
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user