未合并前效果图:
表格初始化代码:
$(function () {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add/{id}",
exportUrl: prefix + "/export",
updateUrl: prefix + "/edit/{id}",
modalName: "业务资料库",
columns: [
{
field: 'platform',
title: '平台',
align: 'center'
},
{
field: 'businessType',
title: '业务类型',
align: 'center'
},
{
field: 'typeName',
title: '子类型',
halign: 'center',
align: 'left',
formatter: function (value, row, index) {
var typeInfo = row.typeInfo;
var m = "";
if (typeInfo != undefined && $.common.isNotEmpty(typeInfo)) {
m = "<br/><span style='color: red; font-size:11px'>(提示:" + typeInfo + ")</span>";
}
return value + m;
}
},
{
field: 'dataName',
title: '资料名称',
halign: 'center',