From 835ee2af5a5c966d58ea5bbdb72b55ed38f9f79a Mon Sep 17 00:00:00 2001
From: fhysy <1149505133@qq.com>
Date: Fri, 20 Sep 2024 16:47:33 +0800
Subject: [PATCH] =?UTF-8?q?=20fix(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86):?=
=?UTF-8?q?=20=E5=9C=BA=E6=99=AF=E8=81=94=E5=8A=A8=E8=B0=83=E6=95=B4?=
=?UTF-8?q?=E9=98=B2=E6=8A=96=E9=BB=98=E8=AE=A4=E4=BA=8B=E4=BB=B6=E5=92=8C?=
=?UTF-8?q?=E5=BC=80=E5=90=AF=EF=BC=8C=E8=AE=BE=E5=A4=87=E8=A7=A6=E5=8F=91?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=AD=9B=E9=80=89=E4=BA=8B=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ESceneTriggers/src/EConditionTemp.vue | 9 +-
.../ESceneManage/ESceneTriggers/src/index.js | 2 +-
.../project/profileV2/ESceneManage/index.vue | 90 +++++++++----------
3 files changed, 51 insertions(+), 50 deletions(-)
diff --git a/src/views/iot/project/profileV2/ESceneManage/ESceneTriggers/src/EConditionTemp.vue b/src/views/iot/project/profileV2/ESceneManage/ESceneTriggers/src/EConditionTemp.vue
index 0ffd1535..cd8e0fdb 100644
--- a/src/views/iot/project/profileV2/ESceneManage/ESceneTriggers/src/EConditionTemp.vue
+++ b/src/views/iot/project/profileV2/ESceneManage/ESceneTriggers/src/EConditionTemp.vue
@@ -1,12 +1,12 @@
@@ -49,7 +49,8 @@ export default {
getProductCmdList(id) {
this.propertyList = [];
getDeviceFunList({
- deviceId: id
+ deviceId: id,
+ cmdKey:'event'
}).then(res => {
this.propertyList = this.uniqueFunc([...res.data], 'funKey');
// this.propertyList= res.data;
diff --git a/src/views/iot/project/profileV2/ESceneManage/ESceneTriggers/src/index.js b/src/views/iot/project/profileV2/ESceneManage/ESceneTriggers/src/index.js
index d98fecd8..00501bd7 100644
--- a/src/views/iot/project/profileV2/ESceneManage/ESceneTriggers/src/index.js
+++ b/src/views/iot/project/profileV2/ESceneManage/ESceneTriggers/src/index.js
@@ -87,7 +87,7 @@ export default {
watch: {
isAntiShake() {
if(this.isAntiShake === false) {
- this.dataItem['intervalVal'] = 0;
+ this.dataItem['intervalVal'] = 60;
}
}
},
diff --git a/src/views/iot/project/profileV2/ESceneManage/index.vue b/src/views/iot/project/profileV2/ESceneManage/index.vue
index 52cc51ba..67acc580 100644
--- a/src/views/iot/project/profileV2/ESceneManage/index.vue
+++ b/src/views/iot/project/profileV2/ESceneManage/index.vue
@@ -4,15 +4,15 @@
新增
- 刷新
+ 刷新
@@ -23,51 +23,51 @@
:height="total > 0 ? '470px' : '510px'"
>
-
+
{{ scope.row.sceneName }}
-
+
{{ scope.row.sceneCode }}
-
+
{{ scope.row.relation }}
-
+
{{ scope.row.runStatus == "0" ? "启用" : "停止" }}
@@ -76,70 +76,70 @@
-
+
{{ scope.row.createTime }}
编辑
删除
{{ scope.row.runStatus == "0" ? "停止" : "启用" }}
执行
指令历史
@@ -148,9 +148,9 @@
@@ -163,12 +163,12 @@
@close="open = false"
>
@@ -212,9 +212,9 @@
新增动作
@@ -291,18 +291,18 @@
{
isLoggingViewShow = false;
@@ -449,7 +449,7 @@ export default {
orderBy: triggersPop ? triggersPop.orderBy + 1 : 1,
method: "",
conditions: [],
- intervalVal: "",
+ intervalVal: "60",
intervalUnit: "SECONDS",
sceneTriggerDevices: [],
execScript: "",