feat(aiot): 告警详情显示ROI名称

- Alert接口添加roiName字段
- 详情页显示'检测区域:{roiName}'
- 删除'(bbox)'英文提示
- 移除bbox坐标显示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-14 22:49:31 +08:00
parent 3b65e27212
commit 3d34c3f57f
2 changed files with 4 additions and 5 deletions

View File

@@ -11,6 +11,7 @@ export namespace AiotAlarmApi {
cameraId?: string;
cameraName?: string;
roiId?: string;
roiName?: string;
bindId?: string;
deviceId?: string;
alertType?: string;

View File

@@ -371,11 +371,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
</div>
<!-- 检测区域 -->
<div v-if="currentAlert.bbox">
<span class="text-gray-500">检测区域 (bbox)</span>
<code class="ml-2 text-xs bg-gray-100 px-2 py-1 rounded">{{
currentAlert.bbox
}}</code>
<div v-if="currentAlert.roiName">
<span class="text-gray-500">检测区域</span>
<span class="font-medium">{{ currentAlert.roiName }}</span>
</div>
<!-- 日志信息 -->