From 11a717959ab62a584d3abced91a2cc1973988f51 Mon Sep 17 00:00:00 2001 From: 23688nl <329261568@qq.com> Date: Tue, 27 Sep 2022 15:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=9A=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5=20=E5=9C=BA=E6=99=AF=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=20=E6=B7=BB=E5=8A=A0=20=E5=9C=BA=E6=99=AF=E8=A7=A6?= =?UTF-8?q?=E5=8F=91=E6=97=A5=E5=BF=97=EF=BC=8C=E4=BB=A5=E5=8F=8A=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E4=B8=80=E6=AC=A1=E7=9A=84=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/iot/project_new.js | 17 + .../profileV2/ESceneManage/ELogging.vue | 379 ++++++++++++ .../project/profileV2/ESceneManage/index.vue | 582 ++++++++++-------- 3 files changed, 711 insertions(+), 267 deletions(-) create mode 100644 src/views/iot/project/profileV2/ESceneManage/ELogging.vue diff --git a/src/api/iot/project_new.js b/src/api/iot/project_new.js index bca64cff..ecc28eeb 100644 --- a/src/api/iot/project_new.js +++ b/src/api/iot/project_new.js @@ -215,3 +215,20 @@ export function projectSceneChangeStatus(data) { data: data }) } + +// 查询 场景控制 新增 +export function projectSceneSingleRun(id) { + return request({ + url: "/iot/scene/execOnece/" + id, + method: "post" + }); +} + +// 查询 场景控制 日志 列表 +export function projectSceneLoggingList(query) { + return request({ + url: "/iot/scene/log", + method: "get", + params: query + }); +} diff --git a/src/views/iot/project/profileV2/ESceneManage/ELogging.vue b/src/views/iot/project/profileV2/ESceneManage/ELogging.vue new file mode 100644 index 00000000..4192dee3 --- /dev/null +++ b/src/views/iot/project/profileV2/ESceneManage/ELogging.vue @@ -0,0 +1,379 @@ + + + diff --git a/src/views/iot/project/profileV2/ESceneManage/index.vue b/src/views/iot/project/profileV2/ESceneManage/index.vue index 35c470ca..88ef47ad 100644 --- a/src/views/iot/project/profileV2/ESceneManage/index.vue +++ b/src/views/iot/project/profileV2/ESceneManage/index.vue @@ -1,179 +1,186 @@