|
@@ -643,7 +643,8 @@ export default {
|
|
|
.studyrecordgoodsAllListWithExam({
|
|
|
gradeId: this.goodsData.gradeId,
|
|
|
goodsId: this.goodsData.goodsId,
|
|
|
- courseId: this.courseList[0].courseId
|
|
|
+ courseId: this.courseList[0].courseId,
|
|
|
+ orderGoodsId:this.goodsData.orderGoodsId
|
|
|
// rebuild: this.rebuild
|
|
|
})
|
|
|
.then(res => {
|
|
@@ -738,6 +739,15 @@ export default {
|
|
|
if (this.isActive(item)) return;
|
|
|
this.$bus.$emit("toPlay", item);
|
|
|
this.activeSection = item;
|
|
|
+ let query = {
|
|
|
+ gradeId: this.goodsData.gradeId,
|
|
|
+ orderGoodsId: this.goodsData.orderGoodsId,
|
|
|
+ courseId: item.courseId,
|
|
|
+ moduleId: item.moduleId || 0,
|
|
|
+ chapterId: item.chapterId || 0,
|
|
|
+ sectionId: item.sectionId || 0
|
|
|
+ };
|
|
|
+ this.$router.replace({ path: this.$route.path, query });
|
|
|
},
|
|
|
//回放或直播
|
|
|
async watchJumpSection(item) {
|
|
@@ -938,6 +948,8 @@ export default {
|
|
|
let data = res.data;
|
|
|
if (!data.sectionId) {
|
|
|
data = this.allSectionList[0];
|
|
|
+ } else {
|
|
|
+ data.type = 3;
|
|
|
}
|
|
|
if (
|
|
|
data.learning == 1 &&
|