Compare commits

3 Commits

Author SHA1 Message Date
3d34c3f57f feat(aiot): 告警详情显示ROI名称
- Alert接口添加roiName字段
- 详情页显示'检测区域:{roiName}'
- 删除'(bbox)'英文提示
- 移除bbox坐标显示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 22:49:31 +08:00
3b65e27212 fix(aiot): 修复confirm_seconds描述格式 - 统一标点符号风格
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 10:44:43 +08:00
95354e09a7 feat(aiot): 更新周界入侵参数说明 - 支持自动告警处理
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 10:41:32 +08:00
3 changed files with 6 additions and 7 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>
<!-- 日志信息 -->

View File

@@ -47,7 +47,7 @@ const paramNameMap: Record<string, string> = {
working_hours: '工作时间段',
// 其他算法参数
cooldown_seconds: '告警冷却期(秒)',
confirm_seconds: '触发确认时间(秒)',
confirm_seconds: '确认时间(秒)',
min_confidence: '最小置信度',
max_targets: '最大目标数',
detection_interval: '检测间隔(秒)',
@@ -61,7 +61,7 @@ const paramDescMap: Record<string, string> = {
working_hours: '仅在指定时间段内进行监控留空表示24小时监控',
// 其他算法参数说明
cooldown_seconds: '触发告警后,多少秒内不再重复告警(用于周界入侵等算法)',
confirm_seconds: '检测到目标后,持续多少秒才触发告警(避免瞬间误报)',
confirm_seconds: '持续检测到人达到该时间后触发告警,持续无人达到该时间后自动结束告警',
};
// 获取参数的中文名称