From 632aaf8e75f66555cc83ad96e5bde829cb06fb49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BE=9D=E6=A2=A6?= <15822465730@163.com> Date: Thu, 18 Dec 2025 14:11:38 +0800 Subject: [PATCH] =?UTF-8?q?1=E6=9C=9F=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/course/CourseManage.vue | 38 +++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/src/views/course/CourseManage.vue b/src/views/course/CourseManage.vue index 6c816349..13d9af4a 100644 --- a/src/views/course/CourseManage.vue +++ b/src/views/course/CourseManage.vue @@ -40,7 +40,7 @@
- 查 询 + 查 询 重 置
@@ -149,7 +149,7 @@
- 查 询 + 查 询 重 置
@@ -213,7 +213,7 @@
- 查 询 + 查 询 重 置
@@ -348,7 +348,7 @@
- 查 询 + 查 询 重 置
@@ -424,7 +424,7 @@
- 查 询 + 查 询 重 置
@@ -804,7 +804,10 @@ export default { } }, - queryExamStudyPeopleList() { + queryExamStudyPeopleList(resetPage) { + if (resetPage) { + this.examResourceStudyPeopleQuery.pageIndex = 1 + } apicourseStudy .contentsExam({ courseId: this.courseDetail.id, @@ -858,9 +861,10 @@ export default { }); }, - queryResourceStudyPeopleList() { - console.log(this.rousourceRow); - console.log(888); + queryResourceStudyPeopleList(resetPage) { + if (resetPage) { + this.commonResourceStudyPeopleQuery.pageIndex = 1 + } apicourseStudy .studyContentRecords({ courseId: this.courseDetail.id, @@ -1012,7 +1016,11 @@ export default { } return this.sysTypeMap.get(code); }, - getResourseList() { + getResourseList(resetPage) { + if (resetPage) { + this.recourseListQuery.pageIndex = 1; + + } apiCoursePortal.pageListResource(this.recourseListQuery).then((rs) => { if (rs.status == 200) { this.recourseList = rs.result.list; @@ -1136,7 +1144,10 @@ export default { this.getStudyDetail(); }, // 学习记录 - getStudyRecords() { + getStudyRecords(resetPage) { + if (resetPage) { + this.learningRecords.pageIndex = 1; + } let params = { courseId: this.courseDetail.id, //课程的id status: this.learningRecords.status, //状态 @@ -1202,7 +1213,10 @@ export default { this.getSignupList(); }, // 报名列表 - getSignupList() { + getSignupList(resetPage) { + if (resetPage) { + this.study.pageIndex = 1; + } let params = { courseId: this.courseDetail.id, //课程的id signType: this.signup.signType, //报名方式