|
@@ -118,8 +118,8 @@ export default {
|
|
searchData.name = this.optionData.find(item => item.stationNo == searchData.stationNo).name || ''
|
|
searchData.name = this.optionData.find(item => item.stationNo == searchData.stationNo).name || ''
|
|
}
|
|
}
|
|
if (this.time && this.time.length) {
|
|
if (this.time && this.time.length) {
|
|
- searchData.beginDate = moment(this.time[0])
|
|
|
|
- searchData.endDate = moment(this.time[1])
|
|
|
|
|
|
+ searchData.beginDate = moment(this.time[0]).format('YYYY-MM-DD HH:00:00')
|
|
|
|
+ searchData.endDate = moment(this.time[1]).format('YYYY-MM-DD HH:00:00')
|
|
} else {
|
|
} else {
|
|
searchData.beginDate = ''
|
|
searchData.beginDate = ''
|
|
searchData.endDate = ''
|
|
searchData.endDate = ''
|
|
@@ -172,8 +172,8 @@ export default {
|
|
handleExport () {
|
|
handleExport () {
|
|
const params = this.queryParam
|
|
const params = this.queryParam
|
|
if (this.time && this.time.length) {
|
|
if (this.time && this.time.length) {
|
|
- params.beginDate = moment(this.time[0])
|
|
|
|
- params.endDate = moment(this.time[1])
|
|
|
|
|
|
+ params.beginDate = moment(this.time[0]).format('YYYY-MM-DD HH:00:00')
|
|
|
|
+ params.endDate = moment(this.time[1]).format('YYYY-MM-DD HH:00:00')
|
|
} else {
|
|
} else {
|
|
params.beginDate = ''
|
|
params.beginDate = ''
|
|
params.endDate = ''
|
|
params.endDate = ''
|
|
@@ -239,8 +239,8 @@ export default {
|
|
stationNo: this.queryParam.stationNo // 网点名称
|
|
stationNo: this.queryParam.stationNo // 网点名称
|
|
}
|
|
}
|
|
if (this.time && this.time.length) {
|
|
if (this.time && this.time.length) {
|
|
- params.beginDate = moment(this.time[0])
|
|
|
|
- params.endDate = moment(this.time[1])
|
|
|
|
|
|
+ params.beginDate = moment(this.time[0]).format('YYYY-MM-DD HH:00:00')
|
|
|
|
+ params.endDate = moment(this.time[1]).format('YYYY-MM-DD HH:00:00')
|
|
} else {
|
|
} else {
|
|
params.beginDate = ''
|
|
params.beginDate = ''
|
|
params.endDate = ''
|
|
params.endDate = ''
|