diff --git a/src/views/monitor/realtimeMonitor/components/callStatics.vue b/src/views/monitor/realtimeMonitor/components/callStatics.vue index fca396d..84c0ad2 100644 --- a/src/views/monitor/realtimeMonitor/components/callStatics.vue +++ b/src/views/monitor/realtimeMonitor/components/callStatics.vue @@ -80,7 +80,7 @@ }, fetchData() { this.listLoading = true - callInOutStatistics(this.listQuery).then(response => { + callInOutStatistics(this.query).then(response => { this.data = [response.data] this.listLoading = false }) diff --git a/src/views/monitor/realtimeMonitor/components/callStatics.vue b/src/views/monitor/realtimeMonitor/components/callStatics.vue index fca396d..84c0ad2 100644 --- a/src/views/monitor/realtimeMonitor/components/callStatics.vue +++ b/src/views/monitor/realtimeMonitor/components/callStatics.vue @@ -80,7 +80,7 @@ }, fetchData() { this.listLoading = true - callInOutStatistics(this.listQuery).then(response => { + callInOutStatistics(this.query).then(response => { this.data = [response.data] this.listLoading = false }) diff --git a/src/views/statistic/seatStatistic/seatStatistic.vue b/src/views/statistic/seatStatistic/seatStatistic.vue index 1570b54..30f8975 100644 --- a/src/views/statistic/seatStatistic/seatStatistic.vue +++ b/src/views/statistic/seatStatistic/seatStatistic.vue @@ -176,6 +176,9 @@ if (this.timeRange.length === 2) { this.listQuery.startTime = this.timeRange[0] this.listQuery.endTime = this.timeRange[1] + }else{ + this.listQuery.startTime = '' + this.listQuery.endTime = '' } seatStatistics(this.listQuery).then(response => { if (response.code === 200) {