mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
提交权限控制
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
<el-menu-item index="/examine/notapproved">
|
||||
<span class="textl"><el-badge :value="messagesBeReviewed" class="item" :hidden="messagesBeReviewed == 0">待审核的课程</el-badge></span>
|
||||
</el-menu-item>
|
||||
<!-- 毛继禹 110858,只有这个人才可以看到这个菜单,当前-->
|
||||
<el-menu-item index="/course/opencourse/audit">
|
||||
<span class="textl">公开课审核</span>
|
||||
</el-menu-item>
|
||||
|
||||
@@ -587,27 +587,27 @@ export default {
|
||||
|
||||
},
|
||||
// 课程查询
|
||||
async searchData(pageReset) {
|
||||
if(pageReset){
|
||||
this.page.pageIndex=1;
|
||||
}
|
||||
this.params.resOwner1 = this.resOwner[0];
|
||||
this.params.resOwner2 = this.resOwner[1];
|
||||
this.params.resOwner3 = this.resOwner[2];
|
||||
this.params.pageIndex = this.page.pageIndex;
|
||||
this.params.pageSize = this.page.pageSize;
|
||||
this.params.sysType1 = this.sysTypeList[0];
|
||||
this.params.sysType2 = this.sysTypeList[1];
|
||||
this.params.sysType3 = this.sysTypeList[2];
|
||||
try {
|
||||
const {result, status} = await apiCourse.pageList(this.params);
|
||||
if(status === 200) {
|
||||
this.pageData = result.list;
|
||||
this.page.count = result.count;
|
||||
}
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
searchData(pageReset) {
|
||||
if(pageReset){
|
||||
this.page.pageIndex=1;
|
||||
}
|
||||
this.params.resOwner1 = this.resOwner[0];
|
||||
this.params.resOwner2 = this.resOwner[1];
|
||||
this.params.resOwner3 = this.resOwner[2];
|
||||
this.params.pageIndex = this.page.pageIndex;
|
||||
this.params.pageSize = this.page.pageSize;
|
||||
this.params.sysType1 = this.sysTypeList[0];
|
||||
this.params.sysType2 = this.sysTypeList[1];
|
||||
this.params.sysType3 = this.sysTypeList[2];
|
||||
apiCourse.pageList(this.params).then(rs=>{
|
||||
if(rs.status==200){
|
||||
this.pageData = rs.result.list;
|
||||
this.page.count = rs.result.count;
|
||||
}else{
|
||||
return this.$message.error(rs.message);
|
||||
}
|
||||
})
|
||||
|
||||
},
|
||||
viewTopic(row) {
|
||||
if(row.status == 1) {
|
||||
|
||||
Reference in New Issue
Block a user