| | |
| | | registerDateRange : "", // 등록일 기간 검색 |
| | | startDateRange : "", // 시작일 기간 검색 |
| | | completeDateRange : "", // 완료일 기간 검색 |
| | | dateRange : "", // 기간 검색 |
| | | severityIds : [], // 중요도 검색 |
| | | priorityIds : [], // 우선순위 검색 |
| | | issueStatusIds : [], // 이슈 상태 검색 |
| | |
| | | case "ISSUE_TITLE" : // 이슈 제목 |
| | | $scope.vm.tableConfigs.push($tableProvider.config() |
| | | .setHName("issue.issueTitle") |
| | | .setDName("issueTitle") |
| | | .setDName("title") |
| | | .setDType("renderer") |
| | | .setHWidth("bold " + issueTableConfig.width) |
| | | .setDAlign("text-center") |
| | |
| | | $scope.vm.tableConfigs.push($tableProvider.config() |
| | | .setHName(customField.name) |
| | | .setDType("renderer") |
| | | .setDName("useValue" + [count]) /* todo 체크*/ |
| | | .setDName("useValue"+count) /* todo 체크*/ |
| | | .setHWidth("bold " + issueTableConfig.width) |
| | | .setDAlign("text-center") |
| | | .setColumnHint(customField) |
| | |
| | | endStartDate : "", |
| | | beginCompleteDate : "", |
| | | endCompleteDate : "", |
| | | dateRange: "", |
| | | hideCompleteIssue: $scope.vm.hideCompleteIssue, |
| | | hideDownIssue : $scope.vm.hideDownIssue, |
| | | isTree : $scope.vm.listMode === 1, |
| | |
| | | var completeDateRange = $scope.vm.search.completeDateRange.split("~"); |
| | | conditions.beginCompleteDate = completeDateRange[0].trim(); |
| | | conditions.endCompleteDate = completeDateRange[1].trim(); |
| | | } |
| | | // 기간 |
| | | if ($rootScope.isDefined($scope.vm.search.dateRange)) { |
| | | conditions.dateRange = $scope.vm.search.dateRange.trim(); |
| | | } |
| | | |
| | | return conditions; |
| | |
| | | } |
| | | |
| | | // 이슈 수정 팝업 호출 |
| | | function modify(id) { |
| | | function modify(id, downTotalCount) { |
| | | $uibModal.open({ |
| | | templateUrl : 'views/issue/issueModify.html', |
| | | size : "lg", |
| | |
| | | parameter : function () { |
| | | return { |
| | | id : id, |
| | | issueTypeId : $scope.vm.viewer.issueTypeVo.id |
| | | issueTypeId : $scope.vm.viewer.issueTypeVo.id, |
| | | inheritPartners : $scope.vm.viewer.issueTypeVo.inheritPartners, |
| | | downTotalCount : downTotalCount |
| | | }; |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | function addRelationIssueForm(id, issueTypeId) { |
| | | function addRelationIssueForm(id, project, issueTypeId) { |
| | | $uibModal.open({ |
| | | templateUrl : 'views/issue/issueAddRelation.html', |
| | | size : "lg", |
| | |
| | | parameter : function () { |
| | | return { |
| | | id : id, |
| | | project : project, |
| | | issueTypeId : issueTypeId |
| | | }; |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | function addDownIssueForm(id, issueTypeId) { |
| | | function addDownIssueForm(id, project, issueTypeId) { |
| | | $uibModal.open({ |
| | | templateUrl : 'views/issue/issueAddDown.html', |
| | | size : "lg", |
| | |
| | | parameter : function () { |
| | | return { |
| | | id : id, |
| | | project : project, |
| | | issueTypeId : issueTypeId |
| | | }; |
| | | } |
| | |
| | | // 이슈 테이블 설정 정보를 저장 한다. |
| | | $scope.vm.issueTableConfigs = JSON.parse(issueTableConfigs); |
| | | $scope.vm.issueTableConfigs.sort(function (a, b) { |
| | | return a.position < b.position ? -1 : a.position > b.position ? 1: 0; |
| | | return parseInt(a.position) < parseInt(b.position) ? -1 : parseInt(a.position) > parseInt(b.position) ? 1 : 0; |
| | | }); |
| | | } |
| | | else { |