|
@ -138,12 +138,12 @@ Vue.component('xx-situation', {
|
|
|
size: this.size
|
|
|
}
|
|
|
if (this.yearType == '1') {
|
|
|
params.startDate = this.chooseYear + '-01-01'
|
|
|
params.endDate = this.chooseYear + '-12-31'
|
|
|
params.startTime = this.chooseYear + '-01-01' + ' 00:00:00'
|
|
|
params.endTime = this.chooseYear + '-12-31' + ' 11:59:59'
|
|
|
} else {
|
|
|
if (this.chooseTime) {
|
|
|
params.startDate = this.chooseTime[0]
|
|
|
params.endDate = this.chooseTime[1]
|
|
|
params.startTime = this.chooseTime[0] + ' 00:00:00'
|
|
|
params.endTime = this.chooseTime[1] + ' 11:59:59'
|
|
|
}
|
|
|
}
|
|
|
|