|
@@ -63,7 +63,7 @@
|
|
</p>
|
|
</p>
|
|
<p class="mt5">
|
|
<p class="mt5">
|
|
<strong style="color: red;" class="pl20">
|
|
<strong style="color: red;" class="pl20">
|
|
- 专项练习10学时(累计答题100题:包含单选、多选、判断、案例)<br>全真模拟10学时(创建3份试卷不计成绩多少完成即可)
|
|
|
|
|
|
+ 专项练习{{tpl.testXs/10}}学时(累计答题100题:包含单选、多选、判断、案例)<br>全真模拟{{tpl.examXs/10}}学时(创建3份试卷不计成绩多少完成即可),学时时长5天
|
|
</strong>
|
|
</strong>
|
|
</p>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
@@ -136,6 +136,12 @@
|
|
this.$message.errorMsg("开考超过三天,不能继续考试")
|
|
this.$message.errorMsg("开考超过三天,不能继续考试")
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ let endDate = toDate( +new Date() - 5*86400*1000)
|
|
|
|
+ console.log("endDate", this.info.startDate, endDate)
|
|
|
|
+ if( this.info.startDate < endDate){
|
|
|
|
+ this.$message.errorMsg("开通超过5天,请联系管理员", 2)
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if( this.tpl.isClosed ==1 ) {
|
|
if( this.tpl.isClosed ==1 ) {
|
|
this.$message.errorMsg("课程已经关闭", 2)
|
|
this.$message.errorMsg("课程已经关闭", 2)
|
|
return;
|
|
return;
|