function createTreeNode(idarr,pidarr,dqdm,bmdm){
debugger;
var _pageUrl="${ctx}/j2Controller/goTbbPage";
for(var j=0;j<idarr.length;j++){
var node = left.getNodeById(idarr[j]);
if (Ext.isEmpty(node))
{
node = left.getRootNode();
}
var newNode="";
if(idarr[j].indexOf("550102")>0){
if(_pageUrl.indexOf("?")>0)
{
_pageUrl +="&mkbh=ftjcfsrb&id="+idarr[j]+"&dqdm="+dqdm+"&bmdm="+bmdm;
}
else
{
_pageUrl +="?mkbh=ftjcfsrb&id="+idarr[j]+"&dqdm="+dqdm+"&bmdm="+bmdm;
}
newNode=new Ext.tree.TreeNode({id:pidarr[j]+dqdm+bmdm,text:'非同级收入表-'+dqdm+'-'+bmdm,iconCls:"",
qtitle:true,"expanded":true,"leaf":true ,"method":'POST', "target":"iframe_list_${param.mkbh}","_pageUrl":_pageUrl });
}else{
if(_pageUrl.indexOf("?")>0)
{
_pageUrl +="&mkbh=ftjcfzcb&id="+idarr[j]+"&dqdm="+dqdm+"&bmdm="+bmdm;
}
else
{
_pageUrl +="?mkbh=ftjcfzcb&id="+idarr[j]+"&dqdm="+dqdm+"&bmdm="+bmdm;
}
newNode=new Ext.tree.TreeNode({id:pidarr[j]+dqdm+bmdm,text:'非同级收支出表-'+dqdm+'-'+bmdm,iconCls:"",
qtitle:true,"expanded":true,"leaf":true ,"method":'POST', "target":"iframe_list_${param.mkbh}","_pageUrl":_pageUrl });
}
node.leaf=false;
node.getUI().getIconEl().src="${ctx}/plugins/ext/resources/images/default/tree/folder.gif";
node.appendChild(newNode);
node.expand();
}
}