This commit is contained in:
parent
920c0fc6ec
commit
06987849ea
|
|
@ -193,7 +193,7 @@
|
||||||
loading: true,
|
loading: true,
|
||||||
done: function (res) {
|
done: function (res) {
|
||||||
var tableView = this.elem.next();
|
var tableView = this.elem.next();
|
||||||
layui.each(res.data, function (i, item) {
|
layui.each(res.data, function (i, item1) {
|
||||||
if (item.isApprove == '1') { // Condition to make the row non-editable
|
if (item.isApprove == '1') { // Condition to make the row non-editable
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -212,15 +212,15 @@
|
||||||
let fileDom = '';
|
let fileDom = '';
|
||||||
|
|
||||||
// 只要有文件列表,并且文件列表数量大于0,添加文件信息
|
// 只要有文件列表,并且文件列表数量大于0,添加文件信息
|
||||||
if (item.fileList && item.fileList.length > 0) {
|
if (item1.fileList && item1.fileList.length > 0) {
|
||||||
// 根据文件列表的索引判断将哪个文件添加到相应的列
|
// 根据文件列表的索引判断将哪个文件添加到相应的列
|
||||||
fileDom = `<span>${item.fileList[index - 3]}</span>`;
|
fileDom = `<span>${item1.fileList[index - 3]}</span>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('fileDomfileDomfileDomfileDom', fileDom)
|
console.log('fileDomfileDomfileDomfileDom', fileDom)
|
||||||
|
|
||||||
// 将fileDom添加到当前单元格
|
// 将fileDom添加到当前单元格
|
||||||
$(this).prepend(fileDom);
|
$(this).append(fileDom);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue