Ver Fonte

束管单位修改-提交

lxh há 1 ano atrás
pai
commit
6499426748

+ 1 - 1
src/views/vent/common/basicCard3.vue

@@ -9,7 +9,7 @@
       <div class="card3-box-title">{{ item.title }}</div>
       <div class="card3-box-nd">
         <span class="card3-box-label">{{ item.ndLabel }}</span>
-        <span class="card3-box-val">{{ `${item.ndVal}%` }}</span>
+        <span class="card3-box-val">{{ `${item.ndVal}${item.unit}` }}</span>
       </div>
       <div class="card3-box-time">
         <span class="card3-box-label">{{ item.tLabel }}</span>

+ 1 - 1
src/views/vent/fire/compositeWarn/index.vue

@@ -262,7 +262,7 @@ async function getSgjcRealDataByPointCodeList() {
   if (res.length != 0) {
     card3List.length = 0
     res.forEach(el => {
-      card3List.push({ title: el.type, ndLabel: '浓度', ndVal: el.currentValue, tLabel: '时间', tVal: el.time, aLabel: '位置', aVal: el.position })
+      card3List.push({ title: el.type, ndLabel: '浓度', ndVal: el.currentValue, tLabel: '时间', tVal: el.time, aLabel: '位置', aVal: el.position,unit:el.unit||'' })
     })
     gasType.value = gasType.value ? gasType.value : card3List[0]['title']
     //获取束管曲线数据