Commit 8f75b169 by 蒋勇

d

parent a42f6ffe
......@@ -14,6 +14,7 @@
refwhereorg:{isPosition:true},
crow:null,
selCompanyKey:null,
selComid:null,
}
},
mounted:function(){
......@@ -23,6 +24,8 @@
created:function(){
var cmpid=this.$router.history.current.query.compid;
this.selCompanyKey=cmpid;
var cmpid2=this.$router.history.current.query.comidnum;
this.selComid=cmpid2;
},
methods:{
beforesave(model){
......@@ -127,6 +130,7 @@
this.formatroles([orgroot.data]);
expandkeys.push(orgroot.data.id);
this.$refs.userGrid.linkInInitQuery("opath","/");
this.$refs.userGrid.linkInInitQuery("owner_id",this.selComid);
return resolve([orgroot.data]);
}else{
console.log(node.level,node.id);
......
......@@ -46,7 +46,7 @@
this.$router.push({path:"/comapps",query:{"compid":row.companykey}});
}
if(key=="comorgs"){
this.$router.push({path:"/comorgs",query:{"compid":row.companykey}});
this.$router.push({path:"/comorgs",query:{"compid":row.companykey,"comidnum":row.id}});
}
},
onColFormater(row,column,cellvalue,index){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment