gantt.ui.js 655 B

1234567891011121314151617181920
  1. window.clickAutoSchedule = function()
  2. {
  3. const minBuffering = $('.scheduleBox input[name=minBuffering]').val();
  4. $.getJSON($.createLink('execution', 'ajaxAutoScheduleForTask', `executionID=${executionID}&minBuffering=${minBuffering}`), function(response)
  5. {
  6. if(response.result == 'success')
  7. {
  8. zui.Messager.show({
  9. message: response.message,
  10. type: 'success',
  11. close: true
  12. });
  13. loadPage($.createLink('execution', 'gantt', `execution=${executionID}`));
  14. }
  15. else
  16. {
  17. zui.Modal.alert(response.message);
  18. }
  19. })
  20. }