From d6d7549df4253e4d2a0571a5aeeb9dc4341f0656 Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Wed, 25 Feb 2026 11:26:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(aiot):=20ROI=E9=85=8D=E7=BD=AE=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96=20-=20=E8=BE=B9=E7=BC=98=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=BB=91=E5=AE=9A=E5=92=8C=E4=BC=98=E5=85=88=E7=BA=A7?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增ROI时默认关联 edge-001 边缘设备 - ROI属性中添加边缘设备选择框(支持修改) - 优先级字段添加最大值限制(0-100) - 优先级字段添加说明文本:"数值越大优先级越高,多个ROI重叠时优先处理高优先级区域" - 边缘设备字段添加说明文本:"关联的边缘推理节点,默认 edge-001" 修复问题:新增ROI时缺少device_id导致单独推送配置失败 现在所有新建ROI都自动关联edge-001,用户可在属性中修改 Co-Authored-By: Claude Opus 4.6 --- .../src/views/aiot/device/roi/index.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/apps/web-antd/src/views/aiot/device/roi/index.vue b/apps/web-antd/src/views/aiot/device/roi/index.vue index ea2c0bf8c..617dc7168 100644 --- a/apps/web-antd/src/views/aiot/device/roi/index.vue +++ b/apps/web-antd/src/views/aiot/device/roi/index.vue @@ -187,6 +187,7 @@ async function onRoiDrawn(data: { coordinates: string; roi_type: string }) { priority: 0, enabled: 1, description: '', + deviceId: 'edge-001', // 默认关联边缘设备 }; try { await saveRoi(newRoi); @@ -409,6 +410,19 @@ function handlePush() { @blur="updateRoiData(selectedRoi!)" /> + + +
+ 关联的边缘推理节点,默认 edge-001 +
+
+
+ 数值越大优先级越高(0-100),多个ROI重叠时优先处理高优先级区域 +