From 57596361efe4e966249fa55cb61b8a459e3245b2 Mon Sep 17 00:00:00 2001 From: panda <1565636758@qq.com> Date: Tue, 26 May 2026 11:22:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF?= =?UTF-8?q?=E8=81=94=E5=8A=A8=E9=85=8D=E7=BD=AE=E4=B8=AD=E6=89=80=E6=9C=89?= =?UTF-8?q?=E5=BF=85=E5=A1=AB=E5=AD=97=E6=AE=B5=E7=BC=BA=E5=B0=91=E4=BA=86?= =?UTF-8?q?=E5=AE=9E=E9=99=85=E7=9A=84=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iot/rule/scene/form/RuleSceneForm.vue | 142 +++------ .../rule/scene/form/configs/AlertConfig.vue | 56 +++- .../scene/form/configs/ConditionConfig.vue | 106 ++++--- .../configs/CurrentTimeConditionConfig.vue | 16 +- .../form/configs/DeviceControlConfig.vue | 179 +++++------ .../form/configs/DeviceTriggerConfig.vue | 49 ++++ .../form/configs/MainConditionInnerConfig.vue | 96 +++++- .../form/configs/SubConditionGroupConfig.vue | 39 +++ .../configs/TimerConditionGroupConfig.vue | 39 +++ .../scene/form/sections/ActionSection.vue | 73 ++++- .../scene/form/sections/TriggerSection.vue | 77 ++++- .../iot/rule/scene/form/utils/actionRules.ts | 110 +++++++ .../scene/form/utils/triggerConditionRules.ts | 277 ++++++++++++++++++ 13 files changed, 1000 insertions(+), 259 deletions(-) create mode 100644 src/views/iot/rule/scene/form/utils/actionRules.ts create mode 100644 src/views/iot/rule/scene/form/utils/triggerConditionRules.ts diff --git a/src/views/iot/rule/scene/form/RuleSceneForm.vue b/src/views/iot/rule/scene/form/RuleSceneForm.vue index a5b2efede..66f4aaf5e 100644 --- a/src/views/iot/rule/scene/form/RuleSceneForm.vue +++ b/src/views/iot/rule/scene/form/RuleSceneForm.vue @@ -4,7 +4,7 @@ :title="drawerTitle" size="80%" direction="rtl" - :close-on-click-modal="false" + :close-on-click-modal="true" :close-on-press-escape="false" @close="handleClose" > @@ -12,9 +12,9 @@ - + - +