Commit 71f3606c authored by 罗超's avatar 罗超

1

parent 1ae80a50
......@@ -345,7 +345,11 @@
/>
</view>
<view class="answer-con" v-if="isShowNotice">
<examNotice :msg="msg" :ExamStatus="ExamStatus" @hideNotice="hideNotice" />
<examNotice
:msg="msg"
:ExamStatus="ExamStatus"
@hideNotice="hideNotice"
/>
</view>
<van-toast id="van-toast" />
</view>
......@@ -594,16 +598,19 @@ export default {
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
if (options.ExamStatus) {
this.ExamStatus = options.ExamStatus;
if(this.ExamStatus==3){
this.msg.isShowAnswer = true;
}
if(this.ExamStatus == 2||this.ExamStatus==1||this.ExamStatus==4){
if (
this.ExamStatus == 2 ||
this.ExamStatus == 1 ||
this.ExamStatus == 4
) {
this.isShowNotice = true;
this.isOperate = true;
this.autoTimeStart = true;
}
if(this.ExamStatus == 3||this.ExamStatus==5){
this.isOperate = false
if (this.ExamStatus == 3 || this.ExamStatus == 5) {
this.msg.isShowAnswer = true;
this.isShowAnswerSee = true;
this.isOperate = false;
this.msg.isShowAnswer = true;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment