diff --git a/src/components/Study/manager.vue b/src/components/Study/manager.vue index 044845f0..4356cb16 100644 --- a/src/components/Study/manager.vue +++ b/src/components/Study/manager.vue @@ -276,7 +276,7 @@ - + @@ -484,9 +484,8 @@ export default { status: this.learningSituation.status, //状态 name: this.learningSituation.name, //学习人的姓名 contentId: this.contentId, //课程内容id - pageIndex: this.learningRecords.pageIndex, - // 缺组织 - pageSize: this.learningRecords.pageSize + pageIndex: this.learningSituation.pageIndex, + pageSize: this.learningSituation.pageSize }; apicourseStudy.studyContentRecords(params).then(res => { if (res.status === 200) { @@ -504,6 +503,7 @@ export default { }, handleCurrentSituation(val) { this.learningSituation.pageIndex = val; + //console.log('learningSituation.pageIndex',this.learningSituation.pageIndex); this.studyContentRecords(); }, // 学习记录 @@ -696,6 +696,7 @@ export default { getCatalogue(row) { this.contentId = row.id; this.study.catalogueShow = true; + this.learningSituation.pageIndex = 1;//重置为第一页 this.studyContentRecords(); }, handleSelectionChange(val) { diff --git a/src/views/course/ManageList.vue b/src/views/course/ManageList.vue index 37f80101..5e758490 100644 --- a/src/views/course/ManageList.vue +++ b/src/views/course/ManageList.vue @@ -158,8 +158,7 @@
-