Explorar el Código

公告列表信息来源调整

长阳分支推送专用
liangkun hace 2 años
padre
commit
af94285ab2
Se han modificado 3 ficheros con 39 adiciones y 3 borrados
  1. +13
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/Index.js
  2. +13
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/IndexRecycle.js
  3. +13
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/ViewIndex.js

+ 13
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/Index.js Ver fichero

@@ -89,7 +89,19 @@ var bootstrap = function ($, learun) {
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_EnabledMark", index: "F_EnabledMark", width: 80, align: "center", autowidth: false,


+ 13
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/IndexRecycle.js Ver fichero

@@ -50,7 +50,19 @@ var bootstrap = function ($, learun) {
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_EnabledMark", index: "F_EnabledMark", width: 80, align: "center", autowidth: false,


+ 13
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/Notice/ViewIndex.js Ver fichero

@@ -53,7 +53,19 @@ var bootstrap = function ($, learun) {
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,
formatter: function (cellvalue) {


Cargando…
Cancelar
Guardar