|
@@ -6,8 +6,16 @@ $(function () {
|
|
|
{label: 'id', name: 'id', index: 'id', key: true, hidden: true},
|
|
|
{label: '请求/响应系统类型', name: 'sysType', index: 'sys_type', width: 80},
|
|
|
{label: '请求/响应接口类型', name: 'interfaceType', index: 'interface_type', width: 80},
|
|
|
- {label: '请求信息', name: 'requestMsg', index: 'request_msg', width: 100},
|
|
|
- {label: '响应结果', name: 'responseMsg', index: 'response_msg', width: 100},
|
|
|
+ {label: '请求信息', name: 'requestMsg', index: 'request_msg', width: 100, formatter: function (value) {
|
|
|
+ value = value.replace(/</g, '<');
|
|
|
+ value = value.replace(/>/g, '>');
|
|
|
+ return value;
|
|
|
+ }},
|
|
|
+ {label: '响应结果', name: 'responseMsg', index: 'response_msg', width: 100, formatter: function (value) {
|
|
|
+ value = value.replace(/</g, '<');
|
|
|
+ value = value.replace(/>/g, '>');
|
|
|
+ return value;
|
|
|
+ }},
|
|
|
{label: '发送时间', name: 'requestDate', index: 'request_date',align: 'center', width: 70,formatter:function(value){
|
|
|
return transDate(value, 'yyyy-MM-dd hh:mm:ss');
|
|
|
}},
|