| | |
| | | return deferred.promise; |
| | | } |
| | | |
| | | function getIssueDepartmentList(query, excludeList, page, callBack) { |
| | | function getIssueDepartmentList(issueTypeId, query, excludeList, page, callBack) { |
| | | var conditions = { |
| | | //issueTypeId : $scope.vm.form.issueTypeId, |
| | | issueTypeId : (function () { |
| | | var issueTypeId = ""; |
| | | if ($rootScope.currentDetailIssueId != null) { |
| | | issueTypeId = $rootScope.currentDetailIssueId; |
| | | } else { |
| | | issueTypeId = $scope.vm.form.issueTypeId; |
| | | } |
| | | return issueTypeId; |
| | | })(), |
| | | issueTypeId : issueTypeId, |
| | | departmentName : query, |
| | | userId : $rootScope.user.id, |
| | | projectId : (function () { |