...
|
...
|
@@ -16,6 +16,7 @@ layui.define(['table', 'form', 'laydate', 'laytpl','common','sessions','xmSelect |
|
|
reportId = '';
|
|
|
}
|
|
|
var sheetCollection = []; // 选择的资源ID
|
|
|
var protocolsSelect = {};
|
|
|
var sheetNameCollection=[];
|
|
|
var sheetTable;
|
|
|
var sessions = layui.sessions;
|
...
|
...
|
@@ -150,7 +151,17 @@ layui.define(['table', 'form', 'laydate', 'laytpl','common','sessions','xmSelect |
|
|
{type: 'checkbox', width: '3%'}
|
|
|
, {field: 'sheetName', title: 'sheet页名称', width: '20%'}
|
|
|
, {field: 'pollName', title: '数据源标识', width: '20%'}
|
|
|
, {field: 'headInfo', title: '列信息', width: '50%'}
|
|
|
, {field: 'line', title: '列信息', width: '50%',
|
|
|
templet: function (d) {
|
|
|
if(d.line) {
|
|
|
var array = [];
|
|
|
$.each(d.line.split(','), function (i, v) {
|
|
|
array.push(`<span class="layui-badge layui-bg-blue" style="margin:2px">${v}</span>`);
|
|
|
});
|
|
|
return array.join("")
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
, {title: '操作', width: '7%', align: 'center',
|
|
|
toolbar:'<div><span class="link" lay-event="sheetEdit">编辑</span></div>'}
|
|
|
]]
|
...
|
...
|
|