设备监控-点位清单
This commit is contained in:
@ -35,12 +35,13 @@ export default {
|
||||
this.chart = null;
|
||||
},
|
||||
methods: {
|
||||
init(siteId) {
|
||||
init(siteId,timeRange) {
|
||||
this.chart.showLoading();
|
||||
const x = [];
|
||||
const data1 = [],
|
||||
data2 = [];
|
||||
batteryAveTemp(siteId)
|
||||
const [startTime='', endTime=''] = timeRange;
|
||||
batteryAveTemp(siteId,startTime,endTime)
|
||||
.then((response) => {
|
||||
this.setOption(response?.data?.batteryAveTempList || []);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user