       });
            },
            batchdel: function (that) {
                var checkData = treeGridInst.treegrid('getCheckedNodes');
                if(checkData.length === 0){
                    return kvfKit.warningMsg('请选择数据');
                }
                layer.confirm('确定删除吗？', function(index) {
                    var ids = [];
                    $.each(checkData, function(i, n){
                        ids[i] = n.id;
                    });

                    //�