|
|
@ -12,7 +12,7 @@ $(function() {
|
|
|
|
d.jobName = $('#jobName').val()
|
|
|
|
d.jobName = $('#jobName').val()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"scrollX": true,
|
|
|
|
//"scrollX": true, // X轴滚动条,取消自适应
|
|
|
|
"columns": [
|
|
|
|
"columns": [
|
|
|
|
{ "data": 'id', "bSortable": false, "visible" : false},
|
|
|
|
{ "data": 'id', "bSortable": false, "visible" : false},
|
|
|
|
{ "data": 'jobName', "bSortable": false},
|
|
|
|
{ "data": 'jobName', "bSortable": false},
|
|
|
@ -27,7 +27,11 @@ $(function() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ "data": 'triggerStatus', "bSortable": false},
|
|
|
|
{ "data": 'triggerStatus', "bSortable": false},
|
|
|
|
{ "data": 'triggerMsg',"bSortable": false},
|
|
|
|
{ "data": 'triggerMsg',"bSortable": false,
|
|
|
|
|
|
|
|
"render": function ( data, type, row ) {
|
|
|
|
|
|
|
|
return data?'<a class="logTips" title="'+ data +'">调度日志</a>':"无";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"data": 'handleTime',
|
|
|
|
"data": 'handleTime',
|
|
|
|
"bSortable": false,
|
|
|
|
"bSortable": false,
|
|
|
@ -36,7 +40,11 @@ $(function() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{ "data": 'handleStatus',"bSortable": false},
|
|
|
|
{ "data": 'handleStatus',"bSortable": false},
|
|
|
|
{ "data": 'handleMsg' , "bSortable": false}
|
|
|
|
{ "data": 'handleMsg' , "bSortable": false,
|
|
|
|
|
|
|
|
"render": function ( data, type, row ) {
|
|
|
|
|
|
|
|
return data?'<a class="logTips" title="'+ data +'">执行日志</a>':"无";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"searching": false,
|
|
|
|
"searching": false,
|
|
|
|
"ordering": true,
|
|
|
|
"ordering": true,
|
|
|
@ -66,6 +74,12 @@ $(function() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 日志弹框提示
|
|
|
|
|
|
|
|
$('#joblog_list').on('click', '.logTips', function(){
|
|
|
|
|
|
|
|
var title = $(this).attr('title');
|
|
|
|
|
|
|
|
ComAlert.show(2, title);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
// 过滤时间
|
|
|
|
// 过滤时间
|
|
|
|
$('#filterTime').daterangepicker({
|
|
|
|
$('#filterTime').daterangepicker({
|
|
|
|
timePicker: true, //是否显示小时和分钟
|
|
|
|
timePicker: true, //是否显示小时和分钟
|
|
|
|