var treeObj = $.fn.zTree.getZTreeObj("tree");
//1. 获取当前被选中的节点数据集合
var nodes = treeObj.getSelectedNodes();