Commit 567277ea authored by 罗超's avatar 罗超

1

parent 79624c66
......@@ -71,7 +71,7 @@
</view>
</view>
</view>
<view class="submitBox" v-if="ExamStatus === 1">
<view class="submitBox" v-if="ExamStatus === 2">
<view class="submit" @click="savePaper">立即提交</view>
</view>
<van-toast id="van-toast" />
......
......@@ -54,7 +54,7 @@
<van-image width="58rpx" height="66rpx" fit="cover" :src="item.img" />
</view>
</view>
<view class="LearningGarden flex flex_wrap">
<!-- <view class="LearningGarden flex flex_wrap">
<view
v-for="(item, index) in learnList"
:key="index"
......@@ -65,7 +65,7 @@
<view class="LearningGarden-item-desc">{{ item.desc }}</view>
<image :src="item.img" class="LearningGarden-item-img" />
</view>
</view>
</view> -->
<view class="timetable">
<view class="timetable_item flex flex_between_center">
<text class="timetable_title">我的课表</text>
......@@ -280,19 +280,19 @@ export default {
data.baseInfo[5].desc = res.Data.TeacherName;
}
},
//根据状态跳转
getItemStatus(item){
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
if(item.ExamStatus==5){
this.jumpPage(
`/pages/exam/examScore?GuestId=${item.GuestId}&&PaperId=${item.PaperId}&&Id=${item.Id}&&Exam_Student_Id=${item.Exam_Student_Id}&&ExamStatus=${item.ExamStatus}`
)
}else{
this.jumpPage(
`/pages/exam/examPaper?GuestId=${item.GuestId}&&PaperId=${item.PaperId}&&Id=${item.Id}&&Exam_Student_Id=${item.Exam_Student_Id}&&ExamStatus=${item.ExamStatus}`
)
}
}
//根据状态跳转
getItemStatus(item) {
//ExamStatus 1未开始 2已开始 3已考试 4缺考 5已阅卷
if (item.ExamStatus == 5) {
this.jumpPage(
`/pages/exam/examScore?GuestId=${item.GuestId}&&PaperId=${item.PaperId}&&Id=${item.Id}&&Exam_Student_Id=${item.Exam_Student_Id}&&ExamStatus=${item.ExamStatus}`
);
} else {
this.jumpPage(
`/pages/exam/examPaper?GuestId=${item.GuestId}&&PaperId=${item.PaperId}&&Id=${item.Id}&&Exam_Student_Id=${item.Exam_Student_Id}&&ExamStatus=${item.ExamStatus}`
);
}
},
};
onMounted(() => {
......
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