|
@@ -1485,6 +1485,9 @@ export default {
|
|
this.examCycleWeekArr = [];
|
|
this.examCycleWeekArr = [];
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ getEndTimeStr() {
|
|
|
|
+ return "23:59";
|
|
|
|
+ },
|
|
getNowTimeStr() {
|
|
getNowTimeStr() {
|
|
let now = new Date();
|
|
let now = new Date();
|
|
let hour = now.getHours();
|
|
let hour = now.getHours();
|
|
@@ -1517,7 +1520,7 @@ export default {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
this.examCycleTimeRangeArr.push({
|
|
this.examCycleTimeRangeArr.push({
|
|
- timeRange: [this.getNowTimeStr(), this.getNowTimeStr()]
|
|
|
|
|
|
+ timeRange: [this.getNowTimeStr(), this.getEndTimeStr()]
|
|
});
|
|
});
|
|
this.$refs.form.validateField("examCycleTimeRangeArr");
|
|
this.$refs.form.validateField("examCycleTimeRangeArr");
|
|
},
|
|
},
|