@@ -89,7 +89,19 @@ var bootstrap = function ($, learun) { | |||||
return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm'); | return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm'); | ||||
} | } | ||||
}, | }, | ||||
{ label: '信息来源', name: 'F_SourceName', index: 'F_SourceName', width: 100, align: 'center' }, | |||||
{ | |||||
label: '信息来源', name: 'F_SourceName', index: 'F_SourceName', width: 100, align: 'center', | |||||
formatterAsync: function (callback, value, row, op, $cell) { | |||||
learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', | |||||
key: value, | |||||
keyId: 'id', | |||||
callback: function (_data) { | |||||
callback(_data['name'] || value); | |||||
} | |||||
}); | |||||
} | |||||
}, | |||||
{ label: '阅读次数', name: 'F_PV', index: 'F_PV', width: 80, align: 'center' }, | { label: '阅读次数', name: 'F_PV', index: 'F_PV', width: 80, align: 'center' }, | ||||
{ | { | ||||
label: "发布状态", name: "F_EnabledMark", index: "F_EnabledMark", width: 80, align: "center", autowidth: false, | label: "发布状态", name: "F_EnabledMark", index: "F_EnabledMark", width: 80, align: "center", autowidth: false, | ||||
@@ -50,7 +50,19 @@ var bootstrap = function ($, learun) { | |||||
return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm'); | return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm'); | ||||
} | } | ||||
}, | }, | ||||
{ label: '信息来源', name: 'F_SourceName', index: 'F_SourceName', width: 100, align: 'center' }, | |||||
{ | |||||
label: '信息来源', name: 'F_SourceName', index: 'F_SourceName', width: 100, align: 'center', | |||||
formatterAsync: function (callback, value, row, op, $cell) { | |||||
learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', | |||||
key: value, | |||||
keyId: 'id', | |||||
callback: function (_data) { | |||||
callback(_data['name'] || value); | |||||
} | |||||
}); | |||||
} | |||||
}, | |||||
{ label: '阅读次数', name: 'F_PV', index: 'F_PV', width: 80, align: 'center' }, | { label: '阅读次数', name: 'F_PV', index: 'F_PV', width: 80, align: 'center' }, | ||||
{ | { | ||||
label: "发布状态", name: "F_EnabledMark", index: "F_EnabledMark", width: 80, align: "center", autowidth: false, | label: "发布状态", name: "F_EnabledMark", index: "F_EnabledMark", width: 80, align: "center", autowidth: false, | ||||
@@ -53,7 +53,19 @@ var bootstrap = function ($, learun) { | |||||
return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm'); | return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm'); | ||||
} | } | ||||
}, | }, | ||||
{ label: '信息来源', name: 'F_SourceName', index: 'F_SourceName', width: 100, align: 'center' }, | |||||
{ | |||||
label: '信息来源', name: 'F_SourceName', index: 'F_SourceName', width: 100, align: 'center', | |||||
formatterAsync: function (callback, value, row, op, $cell) { | |||||
learun.clientdata.getAsync('custmerData', { | |||||
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'classdata', | |||||
key: value, | |||||
keyId: 'id', | |||||
callback: function (_data) { | |||||
callback(_data['name'] || value); | |||||
} | |||||
}); | |||||
} | |||||
}, | |||||
{ | { | ||||
label: "阅读状态", name: "RNewsId", index: "RNewsId", width: 80, align: "center", autowidth: false, | label: "阅读状态", name: "RNewsId", index: "RNewsId", width: 80, align: "center", autowidth: false, | ||||
formatter: function (cellvalue) { | formatter: function (cellvalue) { | ||||