diff --git a/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html b/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html
index b7b20bb..8c1d9f4 100644
--- a/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html
+++ b/src/main/resources/static/pages/evaluate/outsourceAudit/outsourceAuditForm.html
@@ -164,14 +164,21 @@
var columsIndex = [1];//需要合并的列索引值 [2,3,5,6,14,15];
merge(res, columsName, columsIndex);
tableLoading && layer.close(tableLoading);
- cols.each(function (index, item) {
- if (index > 2 && index != cols.length - 1) {
- let dataId = $(this).data('field')
- if (item1[`${dataId}-file`] && item1[`${dataId}-file`]['fileName'] != '') {
- $(this).find('.layui-table-cell').append(` `)
+
+ 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')
+ if (item1[`${dataId}-file`] && item1[`${dataId}-file`]['fileName'] != '') {
+ $(this).find('.layui-table-cell').append(` `)
+ }
}
- }
+ })
})
+
}
});
table.on('tool(test)', function (obj) {