Commit 70d4d8fc authored by youjie's avatar youjie

Merge branch 'master' of http://gitlab.oytour.com/youjie/thinkapp

parents 8d55b242 13a8b22b
...@@ -89,6 +89,7 @@ ...@@ -89,6 +89,7 @@
export default { export default {
props: { props: {
dataList:[], dataList:[],
CourseId :0
}, },
emits:['change'], emits:['change'],
components: {}, components: {},
...@@ -105,7 +106,7 @@ ...@@ -105,7 +106,7 @@
// Uid:726615, // Uid:726615,
// CourseId:44977497, // CourseId:44977497,
Uid:0, Uid:0,
CourseId:44977497, CourseId:props.CourseId,
ExamName:'' ExamName:''
}, },
fileList:[], fileList:[],
...@@ -134,19 +135,15 @@ ...@@ -134,19 +135,15 @@
}, },
// 重新导入 // 重新导入
clickReimport(item){ clickReimport(item){
// data.uploadParm.ExamName = item.ExamName
// data.uploadParm.Uid = data.userData.Id
// data.uploadParm.CourseId = data.Msg.CourseId
// data.uploadParm.ExamName = tem.ExamName
uni.showModal({ uni.showModal({
title: '提示', title: '提示',
content: '重新导入将要删除该数据,是否继续', content: '重新导入将要清除此考试数据,是否继续',
success: function (res) { success: function (res) {
if (res.confirm) { if (res.confirm) {
that.DelExamInfo(item) that.DelExamInfo(item)
} else if (res.cancel) { } else if (res.cancel) {
uni.showToast({ uni.showToast({
title:'已取消删除', title:'已取消',
icon:'none', icon:'none',
duration: 500 duration: 500
}) })
...@@ -166,7 +163,8 @@ ...@@ -166,7 +163,8 @@
icon:'none', icon:'none',
duration: 500 duration: 500
}) })
data.show = true data.show = true ;
proxy.$parent.getExamPageList();
} }
}) })
}, },
...@@ -231,7 +229,7 @@ ...@@ -231,7 +229,7 @@
data.userData = uni.getStorageSync('userInfo') data.userData = uni.getStorageSync('userInfo')
data.uploadParm = { data.uploadParm = {
Uid:data.userData.Id, Uid:data.userData.Id,
CourseId:data.Msg.CourseId, CourseId:data.uploadParm.CourseId,
ExamName: data.uploadParm.ExamName ExamName: data.uploadParm.ExamName
} }
data.loading = true data.loading = true
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
> >
<operation v-if="tabNme=='作业情况'" :dataList="homeWorks"></operation> <operation v-if="tabNme=='作业情况'" :dataList="homeWorks"></operation>
<studentList @selected="selectStuHandler" v-if="tabNme=='学生列表'" :dataList="students"></studentList> <studentList @selected="selectStuHandler" v-if="tabNme=='学生列表'" :dataList="students"></studentList>
<examList v-if="tabNme=='考试信息'" :dataList="exams"></examList> <examList v-if="tabNme=='考试信息'" :dataList="exams" :CourseId="currentCourseId"></examList>
</scroll-view> </scroll-view>
<Loadmore :state="pageState" /> <Loadmore :state="pageState" />
</view> </view>
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
}, },
changeCourseHandler(id){ changeCourseHandler(id){
console.log(id,'........................') console.log(id,'........................')
data.Msg.courseId=id data.Msg.CourseId=id
data.OperationMsg.courseId=id data.OperationMsg.courseId=id
data.currentCourseId=id data.currentCourseId=id
methods.getCourseStuList() methods.getCourseStuList()
......
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