义齿

1387 ワード

义齿
layui.use('table', function(){
		var table = layui.table;
		var group = {};
		group.groupName = $("#groupName").val();
		table.render({
			done: function(res, curr, count){
				var tableView = this.elem.next();
				//     
                var dataKeyList = [];
                var parentKeyList = [];
                var getChildrenKey = function(key){
                	var keyListTemp = tableView.find(".layui-table-box>.layui-table-header").find("th[data-parentkey='"+key+"']");
                	var keyList = tableView.find(".layui-table-box>.layui-table-header").find("th[data-parentkey='"+key+"']").last();
                	if(keyList && keyList.length>0){
                		for(var i=0; i.layui-table-header thead tr").first().find("th");
                for(var i=0; i