@@ -93,9 +93,6 @@ | |||||
<a id="lr_editDept" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 修改部门、系部</a> | <a id="lr_editDept" class="btn btn-default"><i class="fa fa-pencil-square-o"></i> 修改部门、系部</a> | ||||
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | <a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i> 打印</a> | ||||
</div> | </div> | ||||
<div class=" btn-group btn-group-sm" learun-authorize="no"> | |||||
<a id="lr_import" class="btn btn-default"><i class="fa fa-print"></i> 导入</a> | |||||
</div> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
<div class="lr-layout-body" id="gridtable"></div> | <div class="lr-layout-body" id="gridtable"></div> | ||||
@@ -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) { | ||||
@@ -231,8 +231,10 @@ export default { | |||||
} | } | ||||
}) | }) | ||||
this.submitPostData = postData | this.submitPostData = postData | ||||
this.modal = true | |||||
return | |||||
if(this.reviewerList.length>1){ | |||||
this.modal = true | |||||
return | |||||
} | |||||
} | } | ||||
const success = await this.HTTP_POST( | const success = await this.HTTP_POST( | ||||