mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-22 01:06:43 +08:00
1期问题修改
This commit is contained in:
@@ -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, //报名方式
|
||||
|
||||
Reference in New Issue
Block a user