| | |
| | | $scope.fn.getPartnerList = getPartnerList; // 업체/isp/호스팅 목록 조회 |
| | | $scope.fn.getIssueTypeList = getIssueTypeList; // 이슈 유형 목록 조회 |
| | | $scope.fn.getCustomFieldList = getCustomFieldList; // 사용자 정의 필드 목록 조회 |
| | | $scope.fn.getMailTargetAll = getMailTargetAll; // 사용자 정의 필드 목록 조회 |
| | | |
| | | function getUserList(query, excludeList, page, callBack) { |
| | | var conditions = { |
| | |
| | | |
| | | return deferred.promise; |
| | | } |
| | | |
| | | function getMailTargetAll(excludeList) { |
| | | var deferred = $q.defer(); |
| | | |
| | | var partners = $scope.vm.partners.slice(); |
| | | if (excludeList != null && excludeList.length > 0) { |
| | | for (let i = partners.length - 1 ; i >= 0 ; i--) { |
| | | excludeList.forEach(function (exclude) { |
| | | if (partners[i].id === exclude.id) { |
| | | partners.splice(i, 1); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | |
| | | deferred.resolve(partners); |
| | | |
| | | return deferred.promise; |
| | | } |
| | | } |
| | | ]); |
| | | } |