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