feat(aiot): 告警详情显示ROI名称
- Alert接口添加roiName字段
- 详情页显示'检测区域:{roiName}'
- 删除'(bbox)'英文提示
- 移除bbox坐标显示
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,7 @@ export namespace AiotAlarmApi {
|
||||
cameraId?: string;
|
||||
cameraName?: string;
|
||||
roiId?: string;
|
||||
roiName?: string;
|
||||
bindId?: string;
|
||||
deviceId?: string;
|
||||
alertType?: string;
|
||||
|
||||
@@ -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>
|
||||
|
||||
<!-- 日志信息 -->
|
||||
|
||||
Reference in New Issue
Block a user