From bb0920c4b930393bfd25b28d7f71d71956f0e264 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 2 Aug 2025 11:38:45 +0800 Subject: [PATCH] =?UTF-8?q?review=EF=BC=9A=E3=80=90iot=20=E7=89=A9?= =?UTF-8?q?=E8=81=94=E7=BD=91=E3=80=91=E5=9C=BA=E6=99=AF=E8=81=94=E5=8A=A8?= =?UTF-8?q?=E7=9A=84=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/iot/rule/scene/scene.types.ts | 4 +++ .../iot/rule/scene/form/RuleSceneForm.vue | 7 ++-- .../scene/form/configs/ConditionConfig.vue | 2 ++ .../configs/ConditionGroupContainerConfig.vue | 9 ++--- .../configs/DeviceStatusConditionConfig.vue | 8 +++-- .../form/configs/MainConditionConfig.vue | 1 + .../form/configs/MainConditionInnerConfig.vue | 1 + .../scene/form/sections/TriggerSection.vue | 1 + .../form/selectors/ProductDeviceSelector.vue | 35 ++++++++----------- 9 files changed, 38 insertions(+), 30 deletions(-) diff --git a/src/api/iot/rule/scene/scene.types.ts b/src/api/iot/rule/scene/scene.types.ts index 7e3771683..b74832bcc 100644 --- a/src/api/iot/rule/scene/scene.types.ts +++ b/src/api/iot/rule/scene/scene.types.ts @@ -4,6 +4,8 @@ // ========== IoT物模型TSL数据类型定义 ========== +// TODO @puhui999:看看有些是不是在别的模块已经定义了。物模型的 + /** 物模型TSL响应数据结构 */ export interface IotThingModelTSLRespVO { productId: number @@ -294,6 +296,8 @@ interface FormValidationRules { [key: string]: ValidationRule[] } +// TODO @puhui999:这个文件,目标最终没有哈,和别的模块一致; + export { IotRuleScene, IotRuleSceneDO, diff --git a/src/views/iot/rule/scene/form/RuleSceneForm.vue b/src/views/iot/rule/scene/form/RuleSceneForm.vue index b765f230d..17607168c 100644 --- a/src/views/iot/rule/scene/form/RuleSceneForm.vue +++ b/src/views/iot/rule/scene/form/RuleSceneForm.vue @@ -1,5 +1,4 @@