提交测试

This commit is contained in:
daihh
2022-07-22 10:51:13 +08:00
parent 0b9acf52fb
commit e8d1361c8d
3 changed files with 17 additions and 11 deletions

View File

@@ -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({

View File

@@ -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);
}
})

View File

@@ -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);
}
});