|
|
@@ -242,9 +242,8 @@ export default {
|
|
|
this.reportData = []
|
|
|
getOnlineDurationReport({
|
|
|
deviceId: this.device.id,
|
|
|
- type: 1,
|
|
|
- sumDateFrom: this.date[0],
|
|
|
- sumDateTo: this.date[1]
|
|
|
+ from: this.date[0],
|
|
|
+ to: this.date[1]
|
|
|
}).then(({ data }) => {
|
|
|
this.reportData = data
|
|
|
this.initChart()
|
|
|
@@ -258,7 +257,7 @@ export default {
|
|
|
grid: {
|
|
|
top: '16px',
|
|
|
left: '16px',
|
|
|
- right: '24px',
|
|
|
+ right: '32px',
|
|
|
bottom: '8px',
|
|
|
containLabel: true
|
|
|
},
|