| | |
| | | if (project.length < 1) { |
| | | SweetAlert.swal($filter("translate")("common.failedToIssueListLookUp"), $filter("translate")("common.selectToProjectListLookUp"), "error"); // "프로젝트를 먼저 선택 해 주세요." |
| | | } |
| | | projectIds.push(project[0].id); |
| | | if ($rootScope.isDefined(project[0])) { |
| | | projectIds.push(project[0].id); |
| | | } |
| | | } |
| | | return projectIds; |
| | | })() |
| | |
| | | var deferred = $q.defer(); |
| | | |
| | | |
| | | //워크플로우에 속해있는 담당부서 찾기 |
| | | UserWorkspace.findWorkflowDepartment($resourceProvider.getContent( // 페이징 업데이트가 필요한 컴포넌트 일경우, page 업데이트가 있을 경우 기본 10개씩 가져오고 아닐경우 25개씩 가져온다. |
| | | //프로젝트에 속해있는 담당부서 찾기 |
| | | UserWorkspace.findProjectDepartment($resourceProvider.getContent( // 페이징 업데이트가 필요한 컴포넌트 일경우, page 업데이트가 있을 경우 기본 10개씩 가져오고 아닐경우 25개씩 가져온다. |
| | | conditions, $resourceProvider.getPageContent($rootScope.isDefined(page) ? page : 0, $rootScope.isDefined(page) ? 10 : 25))).then(function (result) { |
| | | if (result.data.message.status === "success") { |
| | | const departments = result.data.data; |
| | |
| | | conditions, $resourceProvider.getPageContent($rootScope.isDefined(page) ? page : 0, $rootScope.isDefined(page) ? 100 : 1000))).then(function (result) { |
| | | if (result.data.message.status === "success") { |
| | | if ($rootScope.isDefined(callBack)) { |
| | | callBack(result); |
| | | callBack(result, query); |
| | | } |
| | | deferred.resolve(result.data.data); |
| | | } |