diff --git a/Orchestrator/Web/Index.xhtml b/Orchestrator/Web/Index.xhtml index 47507567..1c7d7d55 100644 --- a/Orchestrator/Web/Index.xhtml +++ b/Orchestrator/Web/Index.xhtml @@ -82,6 +82,29 @@ dataType: "text" }); } + + ////////////////////////// + /////Controller JS module + ////////////////////////// + mGlobal.Controller={}; + mGlobal.Controller.CMDRun=function() { + ///Обнулить таблицу + lCMDCode=$(".openrpa-controller-cmd-run-input")[0].value + $.ajax({ + type: "POST", + url: 'ProcessingRun', + data: '{"actionList":[{"type":"ActivityCMDRun", "code":"'+lCMDCode+'"}]}', + success: + function(lData,l2,l3) + { + var lResponseJSON=JSON.parse(lData) + ///Отправить запрос на формирование таблицы + lHTMLCode=console.log("CMDRun result: "+lResponseJSON[0].result) + }, + dataType: "text" + }); + } + ////////////////////////// /////Monitor JS module ////////////////////////// @@ -346,7 +369,10 @@