Commit 4ce3b85e authored by zhengke's avatar zhengke

no message

parent 8faf508b
......@@ -98,7 +98,6 @@
url: '/pages/index/workSituation?tabNme=' + '作业情况' +'&courseId=' + item.courseId
});
},500)
},
//计算完成百分比
calcPercentage(item) {
......
<template>
<view class="examList-box">
<view class="examList-import" @click="ImportInformation">
<view class="examList-import" @click.stop="ImportInformation">
<van-icon name="plus" />
<text>导入考试信息</text>
</view>
......@@ -114,15 +114,9 @@
url: '/pages/index/examDetails?examId=' + item
});
},
//获取考试信息列表
getExamPageList(){
proxy.$request("/Exam/GetExamPageList", data.Msg).then(res => {
data.dataList = res.Data;
})
},
ImportInformation(){
this.show = true
data.show = true
},
uploadFilesBefore(){
......
......@@ -43,9 +43,9 @@
@scrolltolower="lower"
v-if="dataList.length > 0"
>
<operation v-if="tabNme=='作业情况'&&dataList" :dataList="dataList"></operation>
<studentList v-if="tabNme=='学生列表'&&dataList" :dataList="dataList"></studentList>
<examList v-if="tabNme=='考试信息'&&dataList" :dataList="dataList"></examList>
<operation v-if="tabNme=='作业情况'" :dataList="dataList"></operation>
<studentList v-if="tabNme=='学生列表'" :dataList="dataList"></studentList>
<examList v-if="tabNme=='考试信息'" :dataList="dataList"></examList>
<Loadmore :state="pageState" />
</scroll-view>
</view>
......@@ -123,6 +123,7 @@
},
toggleTitle(t) {
data.tabNme = t
data.dataList = []
if(this.tabNme=='学生列表'){
that.getCourseStuList()
}else if(this.tabNme=='作业情况'){
......@@ -218,11 +219,14 @@
this.Msg.courseId = option.courseId
},
onShow() {
this.getCourseStuList()
this.getExamPageList()
setTimeout(()=>{
this.dataList = []
if(this.tabNme=='学生列表'){
this.getCourseStuList()
}else if(this.tabNme=='作业情况'){
this.getGetCourseHomeWorkList()
},200)
}else{
this.getExamPageList()
}
},
onShareAppMessage() {
......
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