mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
考试提交后增加刷新最终成绩的处理
This commit is contained in:
@@ -586,7 +586,7 @@ export default {
|
|||||||
this.courseCoverurl = "";
|
this.courseCoverurl = "";
|
||||||
this.courseInfo.coverImg = "";
|
this.courseInfo.coverImg = "";
|
||||||
},
|
},
|
||||||
getDetail() {
|
getDetail(){
|
||||||
let $this = this;
|
let $this = this;
|
||||||
apiCoursePortal.detail(this.id,true).then(rs => {
|
apiCoursePortal.detail(this.id,true).then(rs => {
|
||||||
if (rs.status == 200) {
|
if (rs.status == 200) {
|
||||||
|
|||||||
@@ -456,6 +456,8 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.testStart = false;
|
this.testStart = false;
|
||||||
|
//获取最新的成绩
|
||||||
|
this.loadStudyItemId();
|
||||||
this.$emit('submit',this.lastScore);//考试提交回调处理
|
this.$emit('submit',this.lastScore);//考试提交回调处理
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.message);
|
this.$message.error(res.message);
|
||||||
|
|||||||
Reference in New Issue
Block a user