课程审核验证的处理,增加了一个消息

This commit is contained in:
daihh
2022-12-30 12:11:02 +08:00
parent 3edca40244
commit a880f9e3df
3 changed files with 19 additions and 9 deletions

View File

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