diff --git a/Orchestrator/Web/Index.xhtml b/Orchestrator/Web/Index.xhtml index ab8ee2c6..47507567 100644 --- a/Orchestrator/Web/Index.xhtml +++ b/Orchestrator/Web/Index.xhtml @@ -58,7 +58,33 @@ ///Вернуть результат return lResultHTMLCode } - + ////////////////////////// + /////Info JS module + ////////////////////////// + mGlobal.Info={}; + + mGlobal.Info.TableActivityLogScheduleListRefresh=function() { + ///Обнулить таблицу + $(".openrpa-info-table-activitylogschedulelist").html("") + $.ajax({ + type: "POST", + url: 'ProcessingRun', + data: '{"actionList":[{"type":"ActivityLogScheduleListGet"}]}', + success: + function(lData,l2,l3) + { + var lResponseJSON=JSON.parse(lData) + ///Отправить запрос на формирование таблицы + lHTMLCode=mGlobal.GeneralGenerateHTMLCodeHandlebars(".openrpa-hidden-info-table-activitylogschedulelist",lResponseJSON["actionListResult"][0]) + ///Установить HTML код + $(".openrpa-info-table-activitylogschedulelist").html(lHTMLCode) + }, + dataType: "text" + }); + } + ////////////////////////// + /////Monitor JS module + ////////////////////////// mGlobal.Monitor={}; mGlobal.Monitor.ScreenshotModal={}; mGlobal.Monitor.GenerateUniqueID=function(inPrefix="tempUID=") { @@ -102,6 +128,11 @@ dataType: "text" }); } + + ///////////////////////////////////// + ///Инициализация страницы + //////////////////////////////////// + mGlobal.Info.TableActivityLogScheduleListRefresh(); }) ; @@ -152,11 +183,11 @@
This example shows how to use lazy loaded images, a sticky menu, and a simple text container
-