Commit 8f75b169 by 蒋勇

d

parent a42f6ffe
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
refwhereorg:{isPosition:true}, refwhereorg:{isPosition:true},
crow:null, crow:null,
selCompanyKey:null, selCompanyKey:null,
selComid:null,
} }
}, },
mounted:function(){ mounted:function(){
...@@ -23,6 +24,8 @@ ...@@ -23,6 +24,8 @@
created:function(){ created:function(){
var cmpid=this.$router.history.current.query.compid; var cmpid=this.$router.history.current.query.compid;
this.selCompanyKey=cmpid; this.selCompanyKey=cmpid;
var cmpid2=this.$router.history.current.query.comidnum;
this.selComid=cmpid2;
}, },
methods:{ methods:{
beforesave(model){ beforesave(model){
...@@ -127,6 +130,7 @@ ...@@ -127,6 +130,7 @@
this.formatroles([orgroot.data]); this.formatroles([orgroot.data]);
expandkeys.push(orgroot.data.id); expandkeys.push(orgroot.data.id);
this.$refs.userGrid.linkInInitQuery("opath","/"); this.$refs.userGrid.linkInInitQuery("opath","/");
this.$refs.userGrid.linkInInitQuery("owner_id",this.selComid);
return resolve([orgroot.data]); return resolve([orgroot.data]);
}else{ }else{
console.log(node.level,node.id); console.log(node.level,node.id);
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
this.$router.push({path:"/comapps",query:{"compid":row.companykey}}); this.$router.push({path:"/comapps",query:{"compid":row.companykey}});
} }
if(key=="comorgs"){ 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){ 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