findPnode(data, nodeId){var result ={}
data.forEach(item =>{if(item.children && item.children.length){
item.children.forEach(vitem =>{if(vitem.id == nodeId){
result = item;return result;}elseif(vitem.children && vitem.children.length){
result =this.findPnode([vitem], nodeId)if(result){return result
}}})}})return result
}