|
@@ -132,8 +132,8 @@ export default {
|
|
|
let time = new Date(timeArr[0], Number(timeArr[1]), 0);
|
|
|
this.getShiftInformation({
|
|
|
patrolRouteId: this.thisObj.id,
|
|
|
- startTime: `${timeArr[0]}-${timeArr[1]}-01`,
|
|
|
- endTime: `${timeArr[0]}-${timeArr[1]}-${time.getDate()}`
|
|
|
+ startTime: `${timeArr[0]}-${timeArr[1]}-01 00:00:00`,
|
|
|
+ endTime: `${timeArr[0]}-${timeArr[1]}-${time.getDate()} 23:59:59`
|
|
|
});
|
|
|
});
|
|
|
},
|
|
@@ -193,6 +193,7 @@ export default {
|
|
|
this.calendarData = calendarData;
|
|
|
this.trueArr = trueArr;
|
|
|
this.indexThis = 0;
|
|
|
+ this.$forceUpdate();
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -249,7 +250,6 @@ export default {
|
|
|
this.findUser = this.$parent.findUser;
|
|
|
this.thisObj = this.$parent.thisObj;
|
|
|
this.thisObj.periodType == 1;
|
|
|
- console.log(this.thisObj);
|
|
|
this.$el.querySelector('div.el-calendar__header').remove();
|
|
|
}
|
|
|
};
|