mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
提交测试
This commit is contained in:
@@ -346,18 +346,17 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getSearch();
|
||||
},
|
||||
mounted() {
|
||||
this.loadResOwners();
|
||||
this.getResOwnerTree().then(rs => {
|
||||
this.resOwnerListMap = rs;
|
||||
});
|
||||
this.search();
|
||||
},
|
||||
methods: {
|
||||
search(){
|
||||
this.params.pageIndex = 1;
|
||||
//this.params.pageIndex = 1;
|
||||
this.page.pageIndex=1;
|
||||
this.getSearch();
|
||||
},
|
||||
reset() {
|
||||
@@ -369,7 +368,8 @@ export default {
|
||||
this.params.resOwner1 = '';
|
||||
this.params.resOwner2 = '';
|
||||
this.params.resOwner3 = '';
|
||||
this.params.pageIndex = 1;
|
||||
//this.params.pageIndex = 1;
|
||||
this.page.pageIndex=1;
|
||||
this.getSearch();
|
||||
},
|
||||
...mapActions({
|
||||
|
||||
@@ -213,6 +213,9 @@ export default {
|
||||
this.showQrimage();
|
||||
this.isSignUp();
|
||||
}else{
|
||||
if(rs.status==204){ //无查看此课程的权限
|
||||
this.courseInfo.name=rs.result.course.name;
|
||||
}
|
||||
this.$message.error(rs.message);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -447,6 +447,9 @@ export default {
|
||||
//study info
|
||||
this.loadStudyInfo();
|
||||
} else {
|
||||
if(rs.status==204){ //无查看此课程的权限
|
||||
this.courseInfo.name=rs.result.course.name;
|
||||
}
|
||||
this.$message.error(rs.message);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user