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() {
|
mounted() {
|
||||||
this.loadResOwners();
|
this.loadResOwners();
|
||||||
this.getResOwnerTree().then(rs => {
|
this.getResOwnerTree().then(rs => {
|
||||||
this.resOwnerListMap = rs;
|
this.resOwnerListMap = rs;
|
||||||
});
|
});
|
||||||
|
this.search();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
search(){
|
search(){
|
||||||
this.params.pageIndex = 1;
|
//this.params.pageIndex = 1;
|
||||||
|
this.page.pageIndex=1;
|
||||||
this.getSearch();
|
this.getSearch();
|
||||||
},
|
},
|
||||||
reset() {
|
reset() {
|
||||||
@@ -369,7 +368,8 @@ export default {
|
|||||||
this.params.resOwner1 = '';
|
this.params.resOwner1 = '';
|
||||||
this.params.resOwner2 = '';
|
this.params.resOwner2 = '';
|
||||||
this.params.resOwner3 = '';
|
this.params.resOwner3 = '';
|
||||||
this.params.pageIndex = 1;
|
//this.params.pageIndex = 1;
|
||||||
|
this.page.pageIndex=1;
|
||||||
this.getSearch();
|
this.getSearch();
|
||||||
},
|
},
|
||||||
...mapActions({
|
...mapActions({
|
||||||
|
|||||||
@@ -213,6 +213,9 @@ export default {
|
|||||||
this.showQrimage();
|
this.showQrimage();
|
||||||
this.isSignUp();
|
this.isSignUp();
|
||||||
}else{
|
}else{
|
||||||
|
if(rs.status==204){ //无查看此课程的权限
|
||||||
|
this.courseInfo.name=rs.result.course.name;
|
||||||
|
}
|
||||||
this.$message.error(rs.message);
|
this.$message.error(rs.message);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -447,6 +447,9 @@ export default {
|
|||||||
//study info
|
//study info
|
||||||
this.loadStudyInfo();
|
this.loadStudyInfo();
|
||||||
} else {
|
} else {
|
||||||
|
if(rs.status==204){ //无查看此课程的权限
|
||||||
|
this.courseInfo.name=rs.result.course.name;
|
||||||
|
}
|
||||||
this.$message.error(rs.message);
|
this.$message.error(rs.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user