mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 22:06:43 +08:00
修改正式环境bug
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<div>
|
||||
<el-tabs v-model="tabName" @tab-click="handleTabClick">
|
||||
<el-tab-pane label="报名管理" name="second">
|
||||
<div>已报名{{study.list.length}}人,共有0人报名未成功,共有{{study.list.length}}人通过审核</div>
|
||||
<!-- <div>已报名{{study.list.length}}人,共有0人报名未成功,共有{{study.list.length}}人通过审核</div> -->
|
||||
<el-row style="margin: 20px 0;" :gutter="20">
|
||||
<!-- <el-col :span="4">
|
||||
<div class="grid-content bg-purple"><el-input v-model="input" placeholder="手动添加:姓名/工号" /></div>
|
||||
@@ -390,6 +390,22 @@ export default {
|
||||
}
|
||||
};
|
||||
},
|
||||
watch:{
|
||||
manageStudyData(val){
|
||||
if(val){
|
||||
this.tabName = 'second';
|
||||
this.study.list = [];
|
||||
if (this.tabName === "second") {
|
||||
this.getSignupList();
|
||||
} else if (this.tabName === "third") {
|
||||
this.getStudyRecords();
|
||||
} else {
|
||||
// 资源
|
||||
this.getDetail();
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getSignupList();
|
||||
this.getResOwnerTree().then(rs=>{
|
||||
@@ -626,9 +642,9 @@ export default {
|
||||
|
||||
apicourseStudy.findSignup(params).then(res => {
|
||||
if (res.status === 200) {
|
||||
|
||||
let ids = [];
|
||||
res.result.list.forEach(item => {
|
||||
item.code = '';
|
||||
ids.push(item.aid);
|
||||
});
|
||||
this.getQaUserData(res.result.list, ids);
|
||||
|
||||
Reference in New Issue
Block a user