From 852e0f0918dc58b616cc81702efbfde3940866bb Mon Sep 17 00:00:00 2001 From: bsw215583320 <baoshiwei121@163.com> Date: 星期二, 16 四月 2024 14:50:43 +0800 Subject: [PATCH] 增加生产分支 --- src/views/dry/bigScreen/BigWorkShop.vue | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/dry/bigScreen/BigWorkShop.vue b/src/views/dry/bigScreen/BigWorkShop.vue index c7cde21..1ed239e 100644 --- a/src/views/dry/bigScreen/BigWorkShop.vue +++ b/src/views/dry/bigScreen/BigWorkShop.vue @@ -34,12 +34,12 @@ <div class="statistics putincolor"> <div class="stat_label font16"> 鎬绘姇鏂欓噺 </div> <div class="stat_value"> - {{ originWeight.toFixed(2) }} + {{ originWeight?.toFixed(2) || 0 }} <span class="font16"> Kg </span> </div> <div class="stat_avg"> <div> 棰勮浜ч噺 </div> - <div> {{ totalYield.toFixed(2) }} kg </div> + <div> {{ totalYield?.toFixed(2) || 0 }} kg </div> </div> </div> </dv-border-box7> @@ -47,12 +47,12 @@ <div class="statistics putincolor"> <div class="stat_label font16"> 鐢甸噺娑堣�� </div> <div class="stat_value"> - {{ watt.toFixed(2) }} + {{ watt?.toFixed(2) || 0 }} <span class="font16"> Kwh </span> </div> <div class="stat_avg"> <div> 骞冲潎鐢佃�� </div> - <div> {{wattAvg.toFixed(2)}} Kwh/kg </div> + <div> {{wattAvg?.toFixed(2) || 0}} Kwh/kg </div> </div> </div> </dv-border-box7> @@ -60,12 +60,12 @@ <div class="statistics putincolor"> <div class="stat_label font16"> 钂告苯娑堣�� </div> <div class="stat_value"> - {{ steam.toFixed(2) }} + {{ steam?.toFixed(2) || 0 }} <span class="font16"> m鲁 </span> </div> <div class="stat_avg"> <div> 骞冲潎姹借�� </div> - <div> {{steamAvg.toFixed(2)}} m鲁/kg </div> + <div> {{steamAvg?.toFixed(2) || 0}} m鲁/kg </div> </div> </div> </dv-border-box7> @@ -155,11 +155,11 @@ <div class="eqp-timer"> <div ><Icon style="color: #1850b7" icon="ic:twotone-water-drop" :size="20" /> - {{ realTime.get(eqpCodes[num - 1])?.trendVo?.moisture.toFixed(1) || '0' }} % + {{ realTime.get(eqpCodes[num - 1])?.trendVo?.moisture?.toFixed(1) || '0' }} % </div> <div ><Icon style="color: #873853" icon="fluent:temperature-20-regular" :size="20" /> - {{ realTime.get(eqpCodes[num - 1])?.trendVo?.bellowsTemp.toFixed(0) || '0' }} 鈩� + {{ realTime.get(eqpCodes[num - 1])?.trendVo?.bellowsTemp?.toFixed(0) || '0' }} 鈩� </div> <div ><Icon style="color: rgb(134 207 106)" icon="gg:sand-clock" :size="20" /> @@ -247,11 +247,11 @@ <div class="eqp-timer"> <div ><Icon style="color: #1850b7" icon="ic:twotone-water-drop" :size="20" /> - {{ realTime.get(eqpCodes[num + 3])?.trendVo?.moisture.toFixed(1) || '0' }} % + {{ realTime.get(eqpCodes[num + 3])?.trendVo?.moisture?.toFixed(1) || '0' }} % </div> <div ><Icon style="color: #873853" icon="fluent:temperature-20-regular" :size="20" /> - {{ realTime.get(eqpCodes[num + 3])?.trendVo?.bellowsTemp.toFixed(0) || '0' }} 鈩� + {{ realTime.get(eqpCodes[num + 3])?.trendVo?.bellowsTemp?.toFixed(0) || '0' }} 鈩� </div> <!-- <div><Icon style="color: rgb(42 154 234)" icon="mdi:clock-outline" :size="20" /> {{realTime.get(eqpCodes[num + 3])?.dryTime || 0}} min @@ -289,7 +289,7 @@ const eqpMap = ref(new Map()) const eqpCodes = ref(['GM001', 'GM002', 'GM003', 'GM004', 'GM005', 'GM006', 'GM007', 'GM008']) const eqps = ref([] as dryEquipment[]) - const title = ref('鍏版郸鏅鸿兘骞茬嚗杞﹂棿') + const title = ref('鏅鸿兘骞茬嚗杞﹂棿') const userStore = useUserStore() const envHum = ref(0) const envTemp = ref(0) -- Gitblit v1.9.3