1期问题修改

This commit is contained in:
赵依梦
2025-12-18 14:11:38 +08:00
parent 5d2d8fcac6
commit 632aaf8e75

View File

@@ -40,7 +40,7 @@
</el-col>
<el-col :span="6">
<div class="grid-content bg-purple">
<el-button type="primary" @click="getSignupList()"> </el-button>
<el-button type="primary" @click="getSignupList(true)"> </el-button>
<el-button @click="resetSignupList()"> </el-button>
</div>
</el-col>
@@ -149,7 +149,7 @@
</el-col>
<el-col :span="5">
<div class="grid-content bg-purple">
<el-button type="primary" @click="getStudyRecords()"> </el-button>
<el-button type="primary" @click="getStudyRecords(true)"> </el-button>
<el-button @click="resetStudyRecords()"> </el-button>
</div>
</el-col>
@@ -213,7 +213,7 @@
</el-col>
<el-col :span="5">
<div class="grid-content bg-purple">
<el-button type="primary" @click="getResourseList"> </el-button>
<el-button type="primary" @click="getResourseList(true)"> </el-button>
<el-button @click="resetResourseList"> </el-button>
</div>
</el-col>
@@ -348,7 +348,7 @@
</el-col>
<el-col :span="8">
<div class="grid-content bg-purple">
<el-button type="primary" @click="queryResourceStudyPeopleList">查 询</el-button>
<el-button type="primary" @click="queryResourceStudyPeopleList(true)">查 询</el-button>
<el-button @click="resetCommonResourceQuery">重 置</el-button>
</div>
</el-col>
@@ -424,7 +424,7 @@
</el-col>
<el-col :span="8">
<div class="grid-content bg-purple">
<el-button type="primary" @click="queryExamStudyPeopleList">查 询</el-button>
<el-button type="primary" @click="queryExamStudyPeopleList(true)">查 询</el-button>
<el-button @click="resetExamCommonResourceQuery">重 置</el-button>
</div>
</el-col>
@@ -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, //报名方式