From 797cf8371ef2927f0e844e6aeae0216afb557be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E6=B4=81?= <209192278@qq.com> Date: Wed, 17 Jan 2024 15:17:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=93=E6=B4=81:=20=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/tunnelManage.js | 15 - src/views/device-manage/index.vue | 439 +++++++++--------------------- src/views/login/index.vue | 2 +- src/views/tunnel/index.vue | 1 - 4 files changed, 135 insertions(+), 322 deletions(-) diff --git a/src/api/tunnelManage.js b/src/api/tunnelManage.js index 7b85487..8ade33e 100644 --- a/src/api/tunnelManage.js +++ b/src/api/tunnelManage.js @@ -43,14 +43,6 @@ export const editTunnel = (data) => { data }) } -//设备管理-风机设备信息修改 -export const editFan = (data) => { - return request({ - url: '/tunnel/equipment/frequency/equipments', - method: 'put', - data - }) -} export const editEquipment = (data) => { return request({ url: '/tunnel/equipment/equipments', @@ -58,10 +50,3 @@ export const editEquipment = (data) => { data }) } -export const editAcquisitions = (data) => { - return request({ - url: '/tunnel/equipment/frequency/acquisitions', - method: 'put', - data - }) -} diff --git a/src/views/device-manage/index.vue b/src/views/device-manage/index.vue index debc774..cc33760 100644 --- a/src/views/device-manage/index.vue +++ b/src/views/device-manage/index.vue @@ -36,13 +36,11 @@ 风机设备管理
采集频率 - - - + + +
@@ -54,19 +52,19 @@ @@ -74,13 +72,13 @@
启用
停用
@@ -93,7 +91,7 @@
取消
-
+
确定
@@ -103,13 +101,11 @@ 风压设备管理
采集频率 - - - + + +
@@ -121,12 +117,12 @@ @@ -134,13 +130,13 @@
启用
停用
@@ -153,7 +149,7 @@
取消
-
+
确定
@@ -163,13 +159,11 @@ 其他传感器设备管理
采集频率 - - - + + +
@@ -181,12 +175,12 @@ @@ -194,13 +188,13 @@
启用
停用
@@ -213,7 +207,7 @@
取消
-
+
确定
@@ -223,25 +217,23 @@ 分流器设备管理
采集频率 - - - + + +
+ :cell-style="{textAlign: 'center',borderBottom: 'none'}" :data="fenLiuData"> @@ -249,13 +241,13 @@
启用
停用
@@ -279,10 +271,8 @@ @@ -613,12 +439,12 @@ getList() .device-content { display: flex; justify-content: center; - padding-top: 220px; + padding-top: 190px; .device-box { display: flex; width: 2194px; - height: 1500px; + height: 1600px; background: #064B66; border-radius: 20px; border: 2px solid #05FEFF; @@ -627,7 +453,7 @@ getList() .box-left { padding-left: 24px; width: 300px; - height: 1498px; + height: 1596px; background: #0D5A7A; border-radius: 20px 0px 0px 20px; @@ -683,36 +509,39 @@ getList() } .collection-frequency { + height: 60px; + display: flex; + align-items: center; position: absolute; right: 102px; > span:first-child { font-size: 38px !important; + white-space: pre; + margin-right: 15px; } - .units { - position: relative; + :deep(.el-input__wrapper) { + width: 166px; + height: 56px; + background-color: transparent; + box-shadow: none; + border-radius: 6px; + border: 1px solid #05FEFF; + transform: none; + transition: none; - input { - width: 220px; - height: 50px; - border: 1px solid #05FEFF; - background: transparent; - margin-left: 14px; - font-size: 35px; + .el-input__inner { + height: 54px; + font-size: 30px; color: #FFFFFF; - outline: none; } - } - .units::after { - content: "秒/次"; - position: absolute; - right: 6px; - top: 26%; - transform: translateY(-50%); - font-size: 35px; - color: #08B7B8; + .el-input__suffix-inner { + font-size: 30px; + color: #08B7B8; + line-height: 40px; + } } } } diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 3ced737..804a9a2 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -115,7 +115,7 @@ onBeforeUnmount(() => { .login-box { height: 100%; - background-color: #4158d0; + background-color: #063247; //background-image: linear-gradient( // 43deg, // #4158d0 0%, diff --git a/src/views/tunnel/index.vue b/src/views/tunnel/index.vue index 7128a52..4c7ae8c 100644 --- a/src/views/tunnel/index.vue +++ b/src/views/tunnel/index.vue @@ -325,7 +325,6 @@ const nextBtn = () => { const initWebSocket = () => { // let wsUrl = `ws://192.168.31.175:9000/websocket/equipment/${token}/${serialNumber.value}` let wsUrl = `ws://web-tunnel.feashow.com/api/wstunnel/websocket/equipment/${token}/${serialNumber.value}`; - console.log(wsUrl); socket = new WebSocket(wsUrl); //连接发生错误的回调方法 socket.onerror = function () {