From 63ef4fe2eae482c8ce03185441019111994628cb Mon Sep 17 00:00:00 2001 From: 23688nl <329261568@qq.com> Date: Thu, 13 Oct 2022 18:37:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=9A=20=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E8=AF=A6=E6=83=85=E9=A1=B5=20=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 +- src/config/env.js | 4 +- .../DeviceDetailsView/deviceSelectNav.vue | 436 ++++++++++++------ src/views/profile/DeviceDetailsView/index.vue | 9 +- src/views/profile/DeviceRunStarts/index.vue | 1 + 5 files changed, 292 insertions(+), 160 deletions(-) diff --git a/public/index.html b/public/index.html index ff072f2c..98fbbf47 100644 --- a/public/index.html +++ b/public/index.html @@ -11,7 +11,7 @@ - + diff --git a/src/config/env.js b/src/config/env.js index 0f22d4c1..47c92eaa 100644 --- a/src/config/env.js +++ b/src/config/env.js @@ -10,7 +10,7 @@ let prodApi = window.dasConfig.ip || '/prod-api'; let wsProtocol = 'ws://'; let iotWebSocketAlarmBaseUrl = '' let bigWebSocketUrl = '' -let port = '8899' +let port = '32024' let webSocketProjectGatewayUrl = '' let hrefHostUrl = ''; @@ -28,7 +28,7 @@ let httpProtocol = 'http'; if (env.NODE_ENV == 'development') { flowIotUrl = 'http://127.0.0.1:1880/#flow/' - hrefHost = "192.168.10.241" + hrefHost = "power-tcore.histron.cn" } else if(env.NODE_ENV == 'production') { // if (hrefHost.indexOf('.gkiiot.com') >= 0) { // iotHost = 'iot.gkiiot.com' diff --git a/src/views/profile/DeviceDetailsView/deviceSelectNav.vue b/src/views/profile/DeviceDetailsView/deviceSelectNav.vue index 0bf3de4b..47637312 100644 --- a/src/views/profile/DeviceDetailsView/deviceSelectNav.vue +++ b/src/views/profile/DeviceDetailsView/deviceSelectNav.vue @@ -1,29 +1,128 @@