|
@@ -39,7 +39,7 @@ let props = defineProps({
|
|
|
listData: Object,
|
|
|
});
|
|
|
|
|
|
-let maxY = ref(5)
|
|
|
+let maxY = ref(3)
|
|
|
//顶部区域数据
|
|
|
let topAreaList = reactive<any[]>([])
|
|
|
|
|
@@ -97,10 +97,10 @@ watch(() => props.listData, (val) => {
|
|
|
topAreaList.push({
|
|
|
title: el.strinstallpos,
|
|
|
content: [
|
|
|
- { ids: 0, label: '温度(°C)', value: el.readData.temperature || '/', },
|
|
|
- { ids: 1, label: '粉尘浓度(%)', value: el.readData.dustval || '/', },
|
|
|
- { ids: 2, label: '喷雾水压', value: el.readData.waterPressure || '/', },
|
|
|
- { ids: 3, label: '喷雾状态', value: el.readData.atomizingState || '/', },
|
|
|
+ { ids: 0, label: '温度(°C)', value: el.readData.temperature || '--', },
|
|
|
+ { ids: 1, label: '粉尘浓度(%)', value: el.readData.dustval || '--', },
|
|
|
+ { ids: 2, label: '喷雾水压', value: el.readData.waterPressure || '--', },
|
|
|
+ { ids: 3, label: '喷雾状态', value: el.readData.atomizingState || '--', },
|
|
|
],
|
|
|
},)
|
|
|
})
|
|
@@ -112,10 +112,10 @@ watch(() => props.listData, (val) => {
|
|
|
echartDataFc.xData.length = 0
|
|
|
if (choiceData[activeIndex.value]) {
|
|
|
centerAreaListB.push(
|
|
|
- { content: choiceData[activeIndex.value].readData.dustval || '/' },
|
|
|
- { content: choiceData[activeIndex.value].readData.totalDust || '/' },
|
|
|
- { content: choiceData[activeIndex.value].readData.breathWeighted || '/'},
|
|
|
- { content: choiceData[activeIndex.value].readData.atomizingState || '/' },
|
|
|
+ { content: choiceData[activeIndex.value].readData.dustval || '--' },
|
|
|
+ { content: choiceData[activeIndex.value].readData.totalDust || '--' },
|
|
|
+ { content: choiceData[activeIndex.value].readData.breathWeighted || '--'},
|
|
|
+ { content: choiceData[activeIndex.value].readData.atomizingState || '--' },
|
|
|
)
|
|
|
|
|
|
choiceData[activeIndex.value].history.forEach(el => {
|
|
@@ -129,10 +129,10 @@ watch(() => props.listData, (val) => {
|
|
|
} else {
|
|
|
activeIndex.value = 0
|
|
|
centerAreaListB.push(
|
|
|
- { content: choiceData[activeIndex.value].readData.dustval || '/' },
|
|
|
- { content: choiceData[activeIndex.value].readData.totalDust || '/' },
|
|
|
- { content: choiceData[activeIndex.value].readData.breathWeighted || '/' },
|
|
|
- { content: choiceData[activeIndex.value].readData.atomizingState || '/' },
|
|
|
+ { content: choiceData[activeIndex.value].readData.dustval || '--' },
|
|
|
+ { content: choiceData[activeIndex.value].readData.totalDust || '--' },
|
|
|
+ { content: choiceData[activeIndex.value].readData.breathWeighted || '--' },
|
|
|
+ { content: choiceData[activeIndex.value].readData.atomizingState || '--' },
|
|
|
)
|
|
|
choiceData[activeIndex.value].history.forEach(el => {
|
|
|
echartDataFc.maxData.data.push(el.dustval)
|