mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-19 07:46:43 +08:00
课程审核验证的处理,增加了一个消息
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
dlgShow:false,
|
||||
orgName:'',
|
||||
chooseOrg:{},
|
||||
chooseParent:{},
|
||||
treeData:[],
|
||||
departData:[],
|
||||
departProps: {
|
||||
@@ -122,7 +123,7 @@
|
||||
});
|
||||
}else{
|
||||
parentId = node.data.id;
|
||||
|
||||
|
||||
apiUserBasic.getOrgInfo(parentId).then(rs=>{
|
||||
if(rs.status==200){
|
||||
let treeList=[];
|
||||
@@ -159,8 +160,11 @@
|
||||
handleSelectionChange(val) {
|
||||
this.multipleSelection = val;
|
||||
},
|
||||
handleDepartNodeClick(data){
|
||||
handleDepartNodeClick(data,node,element){
|
||||
this.chooseOrg = data;
|
||||
this.chooseParent=node.parent.data;
|
||||
//console.log(node,'node');
|
||||
//console.log(element,'element');
|
||||
},
|
||||
confirm(){
|
||||
if(!this.chooseOrg.id){
|
||||
@@ -168,7 +172,7 @@
|
||||
return;
|
||||
}
|
||||
//this.dlgShow=false;
|
||||
this.$emit('confirm',this.chooseOrg);
|
||||
this.$emit('confirm',this.chooseOrg,this.chooseParent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user