{"action":"created","issue":{"url":"https://api.github.com/repos/e-government-ua/i/issues/243","labels_url":"https://api.github.com/repos/e-government-ua/i/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/e-government-ua/i/issues/243/comments","events_url":"https://api.github.com/repos/e-government-ua/i/issues/243/events","html_url":"https://github.com/e-government-ua/i/issues/243","id":77437993,"number":243,"title":"На главном портале, при вкюченных \"дополнительных админ-возможностях\", отрабатывать дополнительные кнопки управления - услугой в разных областях и населенных пунктах (войдя в услугу)","user":{"login":"bvv4ik","id":4208821,"avatar_url":"https://avatars.githubusercontent.com/u/4208821?v=3","gravatar_id":"","url":"https://api.github.com/users/bvv4ik","html_url":"https://github.com/bvv4ik","followers_url":"https://api.github.com/users/bvv4ik/followers","following_url":"https://api.github.com/users/bvv4ik/following{/other_user}","gists_url":"https://api.github.com/users/bvv4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/bvv4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvv4ik/subscriptions","organizations_url":"https://api.github.com/users/bvv4ik/orgs","repos_url":"https://api.github.com/users/bvv4ik/repos","events_url":"https://api.github.com/users/bvv4ik/events{/privacy}","received_events_url":"https://api.github.com/users/bvv4ik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/e-government-ua/i/labels/active","name":"active","color":"eb6420"},{"url":"https://api.github.com/repos/e-government-ua/i/labels/hi%20priority","name":"hi priority","color":"e11d21"},{"url":"https://api.github.com/repos/e-government-ua/i/labels/test","name":"test","color":"5319e7"},{"url":"https://api.github.com/repos/e-government-ua/i/labels/_central-js","name":"_central-js","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"tseshevsky","id":5630311,"avatar_url":"https://avatars.githubusercontent.com/u/5630311?v=3","gravatar_id":"","url":"https://api.github.com/users/tseshevsky","html_url":"https://github.com/tseshevsky","followers_url":"https://api.github.com/users/tseshevsky/followers","following_url":"https://api.github.com/users/tseshevsky/following{/other_user}","gists_url":"https://api.github.com/users/tseshevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tseshevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tseshevsky/subscriptions","organizations_url":"https://api.github.com/users/tseshevsky/orgs","repos_url":"https://api.github.com/users/tseshevsky/repos","events_url":"https://api.github.com/users/tseshevsky/events{/privacy}","received_events_url":"https://api.github.com/users/tseshevsky/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/e-government-ua/i/milestones/1","html_url":"https://github.com/e-government-ua/i/milestones/FrontEnd_NodeJS","labels_url":"https://api.github.com/repos/e-government-ua/i/milestones/1/labels","id":1063341,"number":1,"title":"FrontEnd_NodeJS","description":"Консолидированный дашборд-портал, изначально кастомный вариант активити-эксплорера, предназначенный для работы в нем именно работников гос-службы (обработка заявок граждан), со временем там-же будут выводиться для \"продвинутых админов\" разные важные показатели и статистика  (и, возможно, появится классический функционал портала для граждан","creator":{"login":"bvv4ik","id":4208821,"avatar_url":"https://avatars.githubusercontent.com/u/4208821?v=3","gravatar_id":"","url":"https://api.github.com/users/bvv4ik","html_url":"https://github.com/bvv4ik","followers_url":"https://api.github.com/users/bvv4ik/followers","following_url":"https://api.github.com/users/bvv4ik/following{/other_user}","gists_url":"https://api.github.com/users/bvv4ik/gists{/gist_id}","starred_url":"https://api.github.com/users/bvv4ik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvv4ik/subscriptions","organizations_url":"https://api.github.com/users/bvv4ik/orgs","repos_url":"https://api.github.com/users/bvv4ik/repos","events_url":"https://api.github.com/users/bvv4ik/events{/privacy}","received_events_url":"https://api.github.com/users/bvv4ik/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":246,"state":"open","created_at":"2015-04-11T19:08:57Z","updated_at":"2015-11-14T19:48:11Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-05-18T00:24:20Z","updated_at":"2015-11-16T20:34:15Z","closed_at":null,"body":"После реализации задачи: https://github.com/e-government-ua/i/issues/242\r\n(оживив кнопки)\r\n\r\n1) Кнопка \"изменить\" (диалог изменения URL-а, тип-а услуги и oData обьекта с параметрами)\r\n2) Кнопка \"добавить\" (диалог добавления URL-а и тип-а услуги и oData обьекта с параметрами)\r\n3) Кнопка \"удалить\" (диалог подтверждения удаления)\r\n\r\nСервис \"setServicesTree\" и \"removeServiceData\""},"comment":{"url":"https://api.github.com/repos/e-government-ua/i/issues/comments/157161449","html_url":"https://github.com/e-government-ua/i/issues/243#issuecomment-157161449","issue_url":"https://api.github.com/repos/e-government-ua/i/issues/243","id":157161449,"user":{"login":"brunneng","id":1325616,"avatar_url":"https://avatars.githubusercontent.com/u/1325616?v=3","gravatar_id":"","url":"https://api.github.com/users/brunneng","html_url":"https://github.com/brunneng","followers_url":"https://api.github.com/users/brunneng/followers","following_url":"https://api.github.com/users/brunneng/following{/other_user}","gists_url":"https://api.github.com/users/brunneng/gists{/gist_id}","starred_url":"https://api.github.com/users/brunneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunneng/subscriptions","organizations_url":"https://api.github.com/users/brunneng/orgs","repos_url":"https://api.github.com/users/brunneng/repos","events_url":"https://api.github.com/users/brunneng/events{/privacy}","received_events_url":"https://api.github.com/users/brunneng/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T20:34:15Z","updated_at":"2015-11-16T20:34:15Z","body":"Насчет\r\n\"В целом сделал. Есть проблема с добавлением первого места в новосозданную услугу. Но на существующих услугах добавление и удаление места работает нормально.\"\r\nЯ там поправил одну штуку, теперь oPlace можно указать вот так (полный пример)\r\nметод setService\r\n\r\n{\r\n    \"sSubjectOperatorName\": \"Реєстраційна служба управління юстиції\",\r\n    \"subjectOperatorName\": \"Реєстраційна служба управління юстиції\",\r\n    \"nID\": 3,\r\n    \"sName\": \"Легалізація об’єднань громадян шляхом повідомлення\",\r\n    \"nOrder\": 3,\r\n    \"aServiceData\": [\r\n        {\r\n            \"oPlace\": {\r\n                \"nID\": 3\r\n            },\r\n            \"bTest\": true,\r\n            \"sNote\": \"\",\r\n            \"asAuth\": \"BankID,EDS\",\r\n            \"nID_Server\": 0,\r\n            \"note\": \"df\",\r\n            \"nID_Service\": {\r\n               \"nID\": 3\r\n            },\r\n            \"test\": true,\r\n            \"nID_City\": {\r\n                \"sID_UA\": \"1211000000\",\r\n                \"nID\": 2,\r\n                \"sName\": \"Кривий Ріг\",\r\n                \"nID_Region\": {\r\n                    \"sID_UA\": \"1200000000\",\r\n                    \"nID\": 1,\r\n                    \"sName\": \"Дніпропетровська\"\r\n                }\r\n            },\r\n            \"nID_ServiceType\": {\r\n                \"nID\": 1,\r\n                \"sName\": \"Внешняя\",\r\n                \"sNote\": \"Пользователь переходит по ссылке на услугу, реализованную на сторонней платформе\"\r\n            },\r\n            \"oSubject_Operator\": {\r\n                \"oSubject\": {\r\n                    \"sID\": \"ПАО\",\r\n                    \"sLabel\": \"ПАО ПриватБанк\",\r\n                    \"sLabelShort\": \"ПриватБанк\",\r\n                    \"nID\": 1\r\n                },\r\n                \"sOKPO\": \"093205\",\r\n                \"sFormPrivacy\": \"ПАО\",\r\n                \"sNameFull\": \"Банк ПриватБанк\",\r\n                \"nID\": 1,\r\n                \"sName\": \"ПриватБанк\"\r\n            },\r\n            \"oData\": \"{}\",\r\n            \"sURL\": \"https://dniprorada.igov.org.ua\",\r\n            \"bHidden\": false\r\n        }\r\n    ],\r\n    \"sInfo\": \"\",\r\n    \"sFAQ\": \"\",\r\n    \"sLaw\": \"\",\r\n    \"nSub\": 0,\r\n    \"nStatus\": 0,\r\n    \"nID_Status\": 1\r\n}\r\n\r\nТут важно:\r\n\"oPlace\": {\r\n    \"nID\": 3\r\n },\r\nОдним айдишником можно указать или изменить место."}}