订单监控加分页&驾驶舱样式调整

This commit is contained in:
2024-01-12 11:23:14 +08:00
parent 1438a1ff8b
commit cd416d7d01
11 changed files with 51 additions and 99 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div>
<NotMsg v-show="notMsg"/>
<div id='flueGasChart' class="flue-gas-chart" style="width:600px;height:250px;" v-show='!notMsg'></div>
<div id='flueGasChart' class="flue-gas-chart" style="width:575px;height:250px;" v-show='!notMsg'></div>
</div>
</template>
@@ -149,8 +149,8 @@ export default {
}
temp2.map(i => {
xData.push(i.time)
yData.push(i.value)
})
yData.push((i.value)?(Number(i.value)).toFixed(2):null)
})
if (yData.length == 0) {
seriesData = []
}else {

View File

@@ -29,7 +29,7 @@ export default {
if (newVal === oldVal) {
return false
}
// this.updateChart()
this.updateChart()
}
}
},