From 3150343a40ee02b1829acbf21e4f61bced75261c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E6=B4=81?= <209192278@qq.com> Date: Sat, 30 Dec 2023 20:11:32 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=93=E6=B4=81:=20=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/tunnelManage.js | 7 ++ src/components/content/airInfo/AirInfo.vue | 2 +- .../content/badGasInfo/BadGasInfo.vue | 2 +- src/components/content/fanInfo/FanInfo.vue | 10 +- .../content/windPressure/WindPressureList.vue | 2 +- src/views/device-manage/index.vue | 105 ++++++++++++------ src/views/edit/edit.vue | 14 ++- src/views/tunnel/index.vue | 7 +- 8 files changed, 100 insertions(+), 49 deletions(-) diff --git a/src/api/tunnelManage.js b/src/api/tunnelManage.js index 35160d3..7b85487 100644 --- a/src/api/tunnelManage.js +++ b/src/api/tunnelManage.js @@ -58,3 +58,10 @@ export const editEquipment = (data) => { data }) } +export const editAcquisitions = (data) => { + return request({ + url: '/tunnel/equipment/frequency/acquisitions', + method: 'put', + data + }) +} diff --git a/src/components/content/airInfo/AirInfo.vue b/src/components/content/airInfo/AirInfo.vue index fad3f92..1eaf2f4 100644 --- a/src/components/content/airInfo/AirInfo.vue +++ b/src/components/content/airInfo/AirInfo.vue @@ -377,7 +377,7 @@ const initAirChart = (type, values) => { position: absolute; z-index: 100; width: 824px; - height: 400px; + //height: 400px; top: 1003px; right: 72px; background-image: url(@/assets/images/airInfo/bg.png); diff --git a/src/components/content/badGasInfo/BadGasInfo.vue b/src/components/content/badGasInfo/BadGasInfo.vue index 5a00814..9132857 100644 --- a/src/components/content/badGasInfo/BadGasInfo.vue +++ b/src/components/content/badGasInfo/BadGasInfo.vue @@ -358,7 +358,7 @@ const initChart = (type, values) => { cursor: pointer; position: absolute; width: 824px; - height: 621px; + //height: 621px; top: 1441px; right: 72px; background-image: url(../../../assets/images/badGasInfo/bg.png); diff --git a/src/components/content/fanInfo/FanInfo.vue b/src/components/content/fanInfo/FanInfo.vue index 14161e0..b8aa4d4 100644 --- a/src/components/content/fanInfo/FanInfo.vue +++ b/src/components/content/fanInfo/FanInfo.vue @@ -223,6 +223,7 @@ const getBasicData = (data) => { } const handleOnMounted = () => { + // console.log('socketData.value[i]',socketData.value) const chart = document.getElementsByClassName('echart'); for (let i = 0; i < chart.length; i++) { Echarts_info1 = echarts.init(chart[i]); @@ -514,13 +515,13 @@ input[type="number"] { #fan_info { //height: 1465px; - height: 1000px; + //height: 1000px; width: 830px; position: absolute; z-index: 100; top: 184px; left: 68px; - padding: 10px; + padding: 10px 10px 20px 10px; background-image: url(../../../assets/images/fanInfo/bg.png); color: #2fb0df; box-sizing: border-box; @@ -541,16 +542,17 @@ input[type="number"] { .fan-item { //height: 33.5%; height: 50%; + padding-bottom:10px; display: flex; flex-direction: column; font-size: 14px; - border-bottom: 2px solid rgba(107, 163, 237, 0.4); + //border-bottom: 2px solid rgba(107, 163, 237, 0.4); > div:first-child { display: flex; .echart { - height: 100%; + height: 270px; width: 30%; margin: 0px 0px 0px 10px; position: relative; diff --git a/src/components/content/windPressure/WindPressureList.vue b/src/components/content/windPressure/WindPressureList.vue index 19c0e84..c57c7ec 100644 --- a/src/components/content/windPressure/WindPressureList.vue +++ b/src/components/content/windPressure/WindPressureList.vue @@ -205,7 +205,7 @@ const initChart = (type, values) => {