修改
This commit is contained in:
parent
172464c741
commit
abf2a140ad
@ -300,10 +300,8 @@ export default {
|
|||||||
console.log(startDate, endDate);
|
console.log(startDate, endDate);
|
||||||
this.dischargeTime[0] = startDate;
|
this.dischargeTime[0] = startDate;
|
||||||
this.dischargeTime[1] = endDate;
|
this.dischargeTime[1] = endDate;
|
||||||
console.log(this.dischargeTime, 'dischargeTime')
|
|
||||||
this.queryParams.startTime = this.formatDate(this.dischargeTime[0]);
|
this.queryParams.startTime = this.formatDate(this.dischargeTime[0]);
|
||||||
this.queryParams.endTime = this.formatDate(this.dischargeTime[1]);
|
this.queryParams.endTime = this.formatDate(this.dischargeTime[1]);
|
||||||
console.log(this.queryParams, 'queryParams')
|
|
||||||
},
|
},
|
||||||
formatDate(date) {
|
formatDate(date) {
|
||||||
const year = date.getFullYear();
|
const year = date.getFullYear();
|
||||||
@ -348,7 +346,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
this.query = this.queryParams
|
this.query = this.queryParams
|
||||||
console.log(this.queryParams, 'this.queryPara1111111111ms')
|
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user