质量管理
标养室管理接口对接
This commit is contained in:
parent
5941472e20
commit
802f34713a
@ -53,6 +53,7 @@ export default {
|
|||||||
dustData_24: [],
|
dustData_24: [],
|
||||||
humidityList:[],//湿度
|
humidityList:[],//湿度
|
||||||
temperatureList:[],//温度
|
temperatureList:[],//温度
|
||||||
|
xData:[],//x轴时间
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -81,6 +82,7 @@ export default {
|
|||||||
this.dustData_24.forEach(item=>{
|
this.dustData_24.forEach(item=>{
|
||||||
this.humidityList.push(item.humidity)
|
this.humidityList.push(item.humidity)
|
||||||
this.temperatureList.push(item.temperature)
|
this.temperatureList.push(item.temperature)
|
||||||
|
this.xData.push(item.receiveTime.split(' ')[1])
|
||||||
})
|
})
|
||||||
this.createdEchart1();
|
this.createdEchart1();
|
||||||
this.createdEchart2();
|
this.createdEchart2();
|
||||||
@ -118,7 +120,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
axisTick: { show: true },
|
axisTick: { show: true },
|
||||||
data: ["8.00", "10.00", "12.00", "14.00", "16.00"],
|
data: this.xData,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
yAxis: [
|
yAxis: [
|
||||||
@ -176,7 +178,7 @@ export default {
|
|||||||
shadowBlur: 100, //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
shadowBlur: 100, //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data: [90, 105, 84, 125, 110],
|
data: this.temperatureList,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
@ -215,7 +217,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
axisTick: { show: true },
|
axisTick: { show: true },
|
||||||
data: ["8.00", "10.00", "12.00", "14.00", "16.00"],
|
data: this.xData,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
yAxis: [
|
yAxis: [
|
||||||
@ -273,7 +275,7 @@ export default {
|
|||||||
shadowBlur: 100, //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
shadowBlur: 100, //shadowBlur设图形阴影的模糊大小。配合shadowColor,shadowOffsetX/Y, 设置图形的阴影效果。
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data: [90, 105, 84, 125, 110],
|
data: this.humidityList,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user