|
|
@ -92,6 +92,7 @@ $(function() { |
|
|
|
{ |
|
|
|
{ |
|
|
|
"data": 'jobId', |
|
|
|
"data": 'jobId', |
|
|
|
"visible" : true, |
|
|
|
"visible" : true, |
|
|
|
|
|
|
|
"width":'10%', |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
var glueTypeTitle = row.glueType; |
|
|
|
var glueTypeTitle = row.glueType; |
|
|
|
if ('GLUE_GROOVY'==row.glueType) { |
|
|
|
if ('GLUE_GROOVY'==row.glueType) { |
|
|
@ -117,12 +118,14 @@ $(function() { |
|
|
|
{ "data": 'jobGroup', "visible" : false}, |
|
|
|
{ "data": 'jobGroup', "visible" : false}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"data": 'triggerTime', |
|
|
|
"data": 'triggerTime', |
|
|
|
|
|
|
|
"width":'16%', |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):""; |
|
|
|
return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):""; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"data": 'triggerCode', |
|
|
|
"data": 'triggerCode', |
|
|
|
|
|
|
|
"width":'12%', |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
var html = data; |
|
|
|
var html = data; |
|
|
|
if (data == 200) { |
|
|
|
if (data == 200) { |
|
|
@ -137,18 +140,21 @@ $(function() { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"data": 'triggerMsg', |
|
|
|
"data": 'triggerMsg', |
|
|
|
|
|
|
|
"width":'12%', |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
return data?'<a class="logTips" href="javascript:;" >查看<span style="display:none;">'+ data +'</span></a>':"无"; |
|
|
|
return data?'<a class="logTips" href="javascript:;" >查看<span style="display:none;">'+ data +'</span></a>':"无"; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"data": 'handleTime', |
|
|
|
"data": 'handleTime', |
|
|
|
|
|
|
|
"width":'16%', |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):""; |
|
|
|
return data?moment(new Date(data)).format("YYYY-MM-DD HH:mm:ss"):""; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"data": 'handleCode', |
|
|
|
"data": 'handleCode', |
|
|
|
|
|
|
|
"width":'12%', |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
var html = data; |
|
|
|
var html = data; |
|
|
|
if (data == 200) { |
|
|
|
if (data == 200) { |
|
|
@ -165,6 +171,7 @@ $(function() { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"data": 'handleMsg', |
|
|
|
"data": 'handleMsg', |
|
|
|
|
|
|
|
"width":'12%', |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
return data?'<a class="logTips" href="javascript:;" >查看<span style="display:none;">'+ data +'</span></a>':"无"; |
|
|
|
return data?'<a class="logTips" href="javascript:;" >查看<span style="display:none;">'+ data +'</span></a>':"无"; |
|
|
|
} |
|
|
|
} |
|
|
@ -172,7 +179,7 @@ $(function() { |
|
|
|
{ |
|
|
|
{ |
|
|
|
"data": 'handleMsg' , |
|
|
|
"data": 'handleMsg' , |
|
|
|
"bSortable": false, |
|
|
|
"bSortable": false, |
|
|
|
"width": "8%" , |
|
|
|
"width":'10%', |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
"render": function ( data, type, row ) { |
|
|
|
// better support expression or string, not function
|
|
|
|
// better support expression or string, not function
|
|
|
|
return function () { |
|
|
|
return function () { |
|
|
|