From 6aa239fdef84cd493648579701833e704be5ce46 Mon Sep 17 00:00:00 2001 From: daihh Date: Wed, 11 Oct 2023 09:44:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=BE=E7=A8=8B=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E4=B8=AD=E5=AD=A6=E4=B9=A0=E4=BA=BA=E5=91=98=E7=9A=84?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Study/manager.vue | 9 +++++---- src/views/course/ManageList.vue | 3 +-- 2 files changed, 6 insertions(+), 6 deletions(-) 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 ff2bda18..d6caaf7a 100644 --- a/src/views/course/ManageList.vue +++ b/src/views/course/ManageList.vue @@ -153,8 +153,7 @@
-