From dfb0501e095bc792977785683fa422d3756d3f88 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Wed, 25 Jun 2025 21:48:35 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90IoT=20=E7=89=A9=E8=81=94?= =?UTF-8?q?=E7=BD=91=E3=80=91=E7=A7=BB=E9=99=A4=20DataBridgeAction.vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/iot/rule/scene/scene.types.ts | 4 +-- .../rule/data/sink/config/HttpConfigForm.vue | 2 ++ .../components/action/ActionExecutor.vue | 16 --------- .../components/action/DataBridgeAction.vue | 34 ------------------- 4 files changed, 3 insertions(+), 53 deletions(-) delete mode 100644 src/views/iot/rule/scene/components/action/DataBridgeAction.vue diff --git a/src/api/iot/rule/scene/scene.types.ts b/src/api/iot/rule/scene/scene.types.ts index c8f4a05da..5d3d59a46 100644 --- a/src/api/iot/rule/scene/scene.types.ts +++ b/src/api/iot/rule/scene/scene.types.ts @@ -10,8 +10,7 @@ const IotRuleSceneTriggerTypeEnum = { const IotRuleSceneActionTypeEnum = { DEVICE_CONTROL: 1, // 设备执行 - ALERT: 2, // 告警执行 - DATA_BRIDGE: 3 // 桥接执行 + ALERT: 2 // 告警执行 } as const const IotDeviceMessageTypeEnum = { @@ -104,7 +103,6 @@ interface ActionConfig { type: number // 执行类型 deviceControl?: ActionDeviceControl // 设备控制 alert?: ActionAlert // 告警执行 - dataBridgeId?: number // 数据流转目的编号 } // 主接口 diff --git a/src/views/iot/rule/data/sink/config/HttpConfigForm.vue b/src/views/iot/rule/data/sink/config/HttpConfigForm.vue index 36dd341a3..5fa759bcd 100644 --- a/src/views/iot/rule/data/sink/config/HttpConfigForm.vue +++ b/src/views/iot/rule/data/sink/config/HttpConfigForm.vue @@ -3,6 +3,7 @@