|
|
@@ -203,8 +203,8 @@ setWeekNum() {
|
|
|
const fromTime = newTime - day * oneDayTime;
|
|
|
const endTime = newTime + (7 - day) * oneDayTime;
|
|
|
const fromDate = new Date(fromTime);
|
|
|
- this.startDate = fromDate.getFullYear() + '-' + this.p((fromDate.getMonth() + 1)) + '-' + this.p(fromDate.getDate() + 1);
|
|
|
const toDate = new Date(endTime);
|
|
|
+ this.startDate = fromDate.getFullYear() + '-' + this.p((fromDate.getMonth() + 1)) + '-' + this.p(fromDate.getDate() + 1);
|
|
|
this.endDate = toDate.getFullYear() + '-' + this.p((toDate.getMonth() + 1)) + '-' + this.p(toDate.getDate());
|
|
|
this.queryParams.startDate = this.startDate;
|
|
|
this.queryParams.endDate = this.endDate;
|