|
|
@ -430,6 +430,8 @@ $(function() { |
|
|
|
} |
|
|
|
} |
|
|
|
$("#addModal .form input[name='executorFailRetryCount']").val(executorFailRetryCount); |
|
|
|
$("#addModal .form input[name='executorFailRetryCount']").val(executorFailRetryCount); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// process-cronGen
|
|
|
|
|
|
|
|
$("#addModal .form input[name='jobCron']").val( $("#addModal .form input[name='cronGen_display']").val() ); |
|
|
|
|
|
|
|
|
|
|
|
$.post(base_url + "/jobinfo/add", $("#addModal .form").serialize(), function(data, status) { |
|
|
|
$.post(base_url + "/jobinfo/add", $("#addModal .form").serialize(), function(data, status) { |
|
|
|
if (data.code == "200") { |
|
|
|
if (data.code == "200") { |
|
|
@ -593,6 +595,9 @@ $(function() { |
|
|
|
} |
|
|
|
} |
|
|
|
$("#updateModal .form input[name='executorFailRetryCount']").val(executorFailRetryCount); |
|
|
|
$("#updateModal .form input[name='executorFailRetryCount']").val(executorFailRetryCount); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// process-cronGen
|
|
|
|
|
|
|
|
$("#updateModal .form input[name='jobCron']").val( $("#updateModal .form input[name='cronGen_display']").val() ); |
|
|
|
|
|
|
|
|
|
|
|
// post
|
|
|
|
// post
|
|
|
|
$.post(base_url + "/jobinfo/update", $("#updateModal .form").serialize(), function(data, status) { |
|
|
|
$.post(base_url + "/jobinfo/update", $("#updateModal .form").serialize(), function(data, status) { |
|
|
|
if (data.code == "200") { |
|
|
|
if (data.code == "200") { |
|
|
|