Last active
April 21, 2021 14:14
-
-
Save Taifunov/b904a0d4d66a405e88c5be151083c1ce to your computer and use it in GitHub Desktop.
Результат форича
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getSummaryReportSchema(transactionid) { | |
transactionService.getSummaryReportSchema(transactionid, orgName) | |
.then((result) => { | |
log(JSON.stringify(result)) | |
result.forEach(element => { | |
let values = element.Values; | |
vm.masterDetailResults.push(values); | |
vm.tabs.push({ | |
title: element.TaskName | |
}); | |
}); | |
}); | |
}; | |
[ | |
{ | |
"TaskName": "Return_To_WS", | |
"Values": "[\r\n {\r\n \"Key\": \"ExecuteStatus\",\r\n \"Value\": \"0\"\r\n },\r\n {\r\n \"Key\": \"ExecuteTime\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteMessege\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteEntityID\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"firstName\",\r\n \"Value\": \"1\"\r\n },\r\n {\r\n \"Key\": \"3\",\r\n \"Value\": \"test3\"\r\n },\r\n {\r\n \"Key\": \"2\",\r\n \"Value\": \"test2\"\r\n },\r\n {\r\n \"Key\": \"1\",\r\n \"Value\": \"test1\"\r\n },\r\n {\r\n \"Key\": \"ExecuteDetails\",\r\n \"Value\": \"\"\r\n }\r\n]" | |
}, | |
{ | |
"TaskName": "Return_To_WS", | |
"Values": "[\r\n {\r\n \"Key\": \"ExecuteStatus\",\r\n \"Value\": \"0\"\r\n },\r\n {\r\n \"Key\": \"ExecuteTime\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteMessege\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteEntityID\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"firstName\",\r\n \"Value\": \"Yaroslav\"\r\n },\r\n {\r\n \"Key\": \"3\",\r\n \"Value\": \"test3\"\r\n },\r\n {\r\n \"Key\": \"2\",\r\n \"Value\": \"test2\"\r\n },\r\n {\r\n \"Key\": \"1\",\r\n \"Value\": \"test1\"\r\n },\r\n {\r\n \"Key\": \"ExecuteDetails\",\r\n \"Value\": \"\"\r\n }\r\n]" | |
}, | |
{ | |
"TaskName": "Return_To_WS", | |
"Values": "[\r\n {\r\n \"Key\": \"ExecuteStatus\",\r\n \"Value\": \"0\"\r\n },\r\n {\r\n \"Key\": \"ExecuteTime\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteMessege\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteEntityID\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"firstName\",\r\n \"Value\": \"Yaroslav\"\r\n },\r\n {\r\n \"Key\": \"3\",\r\n \"Value\": \"test3\"\r\n },\r\n {\r\n \"Key\": \"2\",\r\n \"Value\": \"test2\"\r\n },\r\n {\r\n \"Key\": \"1\",\r\n \"Value\": \"test1\"\r\n },\r\n {\r\n \"Key\": \"ExecuteDetails\",\r\n \"Value\": \"\"\r\n }\r\n]" | |
}, | |
{ | |
"TaskName": "Task 3", | |
"Values": "[\r\n {\r\n \"Key\": \"ExecuteStatus\",\r\n \"Value\": \"0\"\r\n },\r\n {\r\n \"Key\": \"ExecuteTime\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteMessege\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteEntityID\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"1\",\r\n \"Value\": \"test1\"\r\n },\r\n {\r\n \"Key\": \"2\",\r\n \"Value\": \"test2\"\r\n },\r\n {\r\n \"Key\": \"3\",\r\n \"Value\": \"test3\"\r\n },\r\n {\r\n \"Key\": \"firstName\",\r\n \"Value\": \"Yaroslav\"\r\n },\r\n {\r\n \"Key\": \"ExecuteDetails\",\r\n \"Value\": \"\"\r\n }\r\n]" | |
}, | |
{ | |
"TaskName": "Task 3", | |
"Values": "[\r\n {\r\n \"Key\": \"ExecuteStatus\",\r\n \"Value\": \"0\"\r\n },\r\n {\r\n \"Key\": \"ExecuteTime\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteMessege\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteEntityID\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"1\",\r\n \"Value\": \"test1\"\r\n },\r\n {\r\n \"Key\": \"2\",\r\n \"Value\": \"test2\"\r\n },\r\n {\r\n \"Key\": \"3\",\r\n \"Value\": \"test3\"\r\n },\r\n {\r\n \"Key\": \"firstName\",\r\n \"Value\": \"Yaroslav\"\r\n },\r\n {\r\n \"Key\": \"ExecuteDetails\",\r\n \"Value\": \"\"\r\n }\r\n]" | |
}, | |
{ | |
"TaskName": "Task 3", | |
"Values": "[\r\n {\r\n \"Key\": \"ExecuteStatus\",\r\n \"Value\": \"0\"\r\n },\r\n {\r\n \"Key\": \"ExecuteTime\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteMessege\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"ExecuteEntityID\",\r\n \"Value\": \"\"\r\n },\r\n {\r\n \"Key\": \"1\",\r\n \"Value\": \"test1\"\r\n },\r\n {\r\n \"Key\": \"2\",\r\n \"Value\": \"test2\"\r\n },\r\n {\r\n \"Key\": \"3\",\r\n \"Value\": \"test3\"\r\n },\r\n {\r\n \"Key\": \"firstName\",\r\n \"Value\": \"1\"\r\n },\r\n {\r\n \"Key\": \"ExecuteDetails\",\r\n \"Value\": \"\"\r\n }\r\n]" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment