From 5bec62ee89b4beb9d631670fe436fd3de2887317 Mon Sep 17 00:00:00 2001 From: bsw215583320 <baoshiwei121@163.com> Date: 星期六, 05 八月 2023 09:34:44 +0800 Subject: [PATCH] 优化车间大屏和机台大屏 --- src/views/dry/monitor/WorkShop.vue | 48 ++++++++++++++++++++++++------------------------ 1 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/views/dry/monitor/WorkShop.vue b/src/views/dry/monitor/WorkShop.vue index a2ade85..5d7f2c1 100644 --- a/src/views/dry/monitor/WorkShop.vue +++ b/src/views/dry/monitor/WorkShop.vue @@ -85,8 +85,8 @@ :marks="marks" vertical /> - <div - class="info-text">鐑锛�<span >{{ realTime.get(item.id)?.windTemp | 0 }}</span> 掳C</div + <div class="info-text" + >鐑锛�<span>{{ realTime.get(item.id)?.trendVo?.bellowsTemp | 0 }}</span> 掳C</div > </div> </div> @@ -387,7 +387,7 @@ defHttp.get({ url: queryRealTimeUrl, params: { tenantid: tenantId, machineid: eqpCode } }).then((res) => { console.log(`output->res`, res) if (res && res.trendVo) { - res.tempValue = [res.windTemp, 100] + res.tempValue = [res.trendVo.bellowsTemp, 100] res.percent = ((res.dryTime / (res.dryTime + res.remain)) * 100).toFixed(2) res.mois = [ (res.trendVo.moisture / 100).toFixed(2), @@ -450,13 +450,13 @@ .eqp-content { height: 100%; - background-color: #fdfdfd; - box-shadow: 0px 0px 23px #72727278; - background-image: url(/src/assets/images/dry/ganzaoji-x.png); - background-repeat: no-repeat; - background-size: 60% 60%; - background-position: 105px 127px; - border-radius: 8px; + background-color: #fdfdfd; + box-shadow: 0px 0px 23px #72727278; + background-image: url(/src/assets/images/dry/ganzaoji-x.png); + background-repeat: no-repeat; + background-size: 60% 60%; + background-position: 105px 127px; + border-radius: 8px; } .chart { @@ -477,13 +477,13 @@ } .eqpStatus { width: 170px; - background-position: -21px 19px; - background-image: url(/src/assets/images/dry/refeng2.gif); - background-size: 196px; - background-repeat: no-repeat; - display: inline-flex; - flex-direction: column-reverse; - padding: 15px; + background-position: -21px 19px; + background-image: url(/src/assets/images/dry/refeng2.gif); + background-size: 196px; + background-repeat: no-repeat; + display: inline-flex; + flex-direction: column-reverse; + padding: 15px; } .info { display: flex; @@ -517,13 +517,13 @@ } .eqpName { margin-top: 190px; - margin-left: 129px; - width: 95px; - /* font-size: 14px; */ - font-weight: bold; - text-align: center; - background-color: white; - height: 22px; + margin-left: 58px; + width: 205px; + /* font-size: 14px; */ + font-weight: bold; + text-align: center; + background-color: white; + height: 22px; } .tempChart { -- Gitblit v1.9.3