This commit is contained in:
parent
1cee686c16
commit
ae68501483
|
|
@ -164,6 +164,11 @@
|
|||
var columsIndex = [1];//需要合并的列索引值 [2,3,5,6,14,15];
|
||||
merge(res, columsName, columsIndex);
|
||||
tableLoading && layer.close(tableLoading);
|
||||
|
||||
var tableView = this.elem.next();
|
||||
|
||||
layui.each(res.data, function (i, item1) {
|
||||
var cols = tableView.find('tr[data-index=' + i + ']').find('td');
|
||||
cols.each(function (index, item) {
|
||||
if (index > 2 && index != cols.length - 1) {
|
||||
let dataId = $(this).data('field')
|
||||
|
|
@ -172,6 +177,8 @@
|
|||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
});
|
||||
table.on('tool(test)', function (obj) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue