xuqiaoying преди 2 години
родител
ревизия
b96f253398
променени са 3 файла, в които са добавени 7 реда и са изтрити 2 реда
  1. 1 0
      components/course/courseChapter.vue
  2. 2 0
      components/course/courseSection.vue
  3. 4 2
      pages2/class/questionBank.vue

+ 1 - 0
components/course/courseChapter.vue

@@ -208,6 +208,7 @@ export default {
 
       this.$emit("playEnd", { isRebuild: isRebuild.isRebuild });
       this.newMenuAllList = await this.studyRecordMenuAllList()
+      console.log('播放器节:', this.newMenuAllList);
     },
     findNextSection(index) {
       for (let i = index + 1; i < this.list.length; i++) {

+ 2 - 0
components/course/courseSection.vue

@@ -162,6 +162,7 @@ export default {
 	onLoad() {
 	},
 	created() {
+		console.log('--------created');
 		this.newMenuAllList = this.menuAllList
 		if (this.testType == 3) {
 			// 模块下的所有节试卷列表
@@ -222,6 +223,7 @@ export default {
 				console.log('playEnd----');
 				this.$emit('playEnd',{isRebuild:this.isRebuild})
 				this.newMenuAllList = await this.studyRecordMenuAllList()
+				console.log('====this.newMenuAllList', this.newMenuAllList);
 			}
 		});
 	},

+ 4 - 2
pages2/class/questionBank.vue

@@ -1913,8 +1913,10 @@ export default {
         this.$api
           .bankRecord({
             courseId: this.courseId,
-            chapterExamId: this.chapterId || 0,
-            moduleExamId: this.moduleId || 0,
+            // chapterExamId: this.chapterId || 0,
+            // moduleExamId: this.moduleId || 0,
+            chapterId: this.chapterId || 0,
+            moduleId: this.moduleId || 0,
             sectionId: this.sectionId || 0,
             examId: this.id,
             goodsId: this.goodsId,