| | |
| | | $scope.vm = { |
| | | issueId : "", |
| | | issueDownTableConfigs : [{ |
| | | name : $filter("translate")("common.priority"), // 우선순위 |
| | | key : "PRIORITY", |
| | | name : $filter("translate")("issue.downIssueTitle"), // 하위 이슈 제목 |
| | | key : "DOWN_ISSUE_TITLE", |
| | | width : "width-80-p", |
| | | position : 0, |
| | | display : true, |
| | | checkboxShow : false |
| | | }, { |
| | | name : $filter("translate")("issue.issueStatus"), // 이슈 상태 |
| | | key : "ISSUE_DOWN_STATUS_TYPE", |
| | | width : "width-50-p", |
| | | position : 1, |
| | | display : false |
| | | display : false, |
| | | checkboxShow : true |
| | | }, { |
| | | name : $filter("translate")("common.priority"), // 우선순위 |
| | | key : "DOWN_PRIORITY", |
| | | width : "width-50-p", |
| | | position : 2, |
| | | display : false, |
| | | checkboxShow : true |
| | | }, { |
| | | name : $filter("translate")("common.importance"), // 중요도 |
| | | key : "SEVERITY", |
| | | width : "width-80-p", |
| | | position : 2, |
| | | display : false |
| | | key : "DOWN_SEVERITY", |
| | | width : "width-50-p", |
| | | position : 3, |
| | | display : false, |
| | | checkboxShow : true |
| | | }, { |
| | | name : $filter("translate")("common.assigneeTeam"), // 담당부서 |
| | | key : "ASSIGNEE_TEAM", |
| | | width : "width-100-p", |
| | | position : 3, |
| | | display : false |
| | | key : "DOWN_ASSIGNEE_TEAM", |
| | | width : "width-50-p", |
| | | position : 4, |
| | | display : false, |
| | | checkboxShow : true |
| | | }, { |
| | | name : $filter("translate")("common.register"), // 등록자 |
| | | key : "REGISTER", |
| | | width : "width-100-p", |
| | | position : 4, |
| | | display : false |
| | | key : "DOWN_REGISTER", |
| | | width : "width-50-p", |
| | | position : 5, |
| | | display : false, |
| | | checkboxShow : true |
| | | }, { |
| | | name : $filter("translate")("common.period"), // 기간 |
| | | key : "PERIOD", |
| | | width : "width-140-p", |
| | | position : 5, |
| | | display : false |
| | | }, { |
| | | name : $filter("translate")("common.lastChangeDate"), // 최근 변경일 |
| | | key : "MODIFY_DATE", |
| | | key : "DOWN_PERIOD", |
| | | width : "width-100-p", |
| | | position : 6, |
| | | display : false |
| | | display : false, |
| | | checkboxShow : true |
| | | }, { |
| | | name : $filter("translate")("common.lastChangeDate"), // 최근 변경일 |
| | | key : "DOWN_MODIFY_DATE", |
| | | width : "width-100-p", |
| | | position : 7, |
| | | display : false, |
| | | checkboxShow : true |
| | | }] |
| | | }; |
| | | |
| | |
| | | $rootScope.spinner = true; |
| | | |
| | | var content = { |
| | | issueTypeId : parameter.issueTypeId, |
| | | issueTypeId : $rootScope.getCurrentIssueTypeId(), |
| | | issueTableConfigs : JSON.stringify($scope.vm.issueDownTableConfigs) |
| | | }; |
| | | |
| | |
| | | else { |
| | | SweetAlert.error($filter("translate")("issue.failedToSaveIssueTableSetting"), result.data.message.message); // 이슈 테이블 설정 저장 실패 |
| | | } |
| | | |
| | | $rootScope.spinner = false; |
| | | }); |
| | | } |
| | | |
| | |
| | | |
| | | var content = { |
| | | issueId : $rootScope.currentDetailIssueId, |
| | | delValue : $scope.vm.issueDownTableConfigs.splice(6,1), |
| | | //delValue : $scope.vm.issueDownTableConfigs.splice(8,1), |
| | | issueTypeId : $rootScope.getCurrentIssueTypeId(), |
| | | issueTableConfigs : JSON.stringify($scope.vm.issueDownTableConfigs) |
| | | }; |
| | | |
| | |
| | | |
| | | // 사용자 정의 필드를 조회한 후 표시할 이슈 테이블 컬럼을 준비한다. |
| | | $scope.fn.getCustomFields().then(function (result) { |
| | | var count = 6; |
| | | var count = 8; |
| | | angular.forEach(result, function (customField) { |
| | | $scope.vm.issueDownTableConfigs.push({ |
| | | name : customField.name, |
| | | key : "CUSTOM_FIELD_" + customField.id, |
| | | width : "width-100-p", |
| | | display : false, |
| | | checkboxShow : true, |
| | | position : count |
| | | }); |
| | | |