| | |
| | | 'angular' |
| | | ], |
| | | function (app, angular) { |
| | | app.controller('issueAddDownTableConfigController', ['$scope', '$rootScope', '$log', '$resourceProvider', '$uibModalInstance', 'SweetAlert', '$timeout', 'IssueTableConfig', 'CustomField', '$q', '$filter', |
| | | function ($scope, $rootScope, $log, $resourceProvider, $uibModalInstance, SweetAlert, $timeout, IssueTableConfig, CustomField, $q, $filter) { |
| | | app.controller('issueAddDownTableConfigController', ['$scope', '$rootScope', '$log', '$resourceProvider', '$uibModalInstance', 'SweetAlert', '$timeout', 'IssueTableConfig', 'CustomField', '$q', '$filter', 'parameter', |
| | | function ($scope, $rootScope, $log, $resourceProvider, $uibModalInstance, SweetAlert, $timeout, IssueTableConfig, CustomField, $q, $filter, parameter) { |
| | | |
| | | // 함수 모음 |
| | | $scope.fn = { |
| | |
| | | position : 6, |
| | | display : false |
| | | }, { |
| | | name : $filter("translate")("issue.issueStatus"), // 이슈 상태 |
| | | key : "ISSUE_DOWN_STATUS_TYPE", |
| | | width : "width-100-p", |
| | | position : 7, |
| | | display : false |
| | | },{ |
| | | }] |
| | | }; |
| | | |
| | |
| | | $rootScope.spinner = true; |
| | | |
| | | var content = { |
| | | issueId : $rootScope.currentDetailIssueId, |
| | | issueTypeId : $rootScope.getCurrentIssueTypeId(), |
| | | issueTableConfigs : JSON.stringify($scope.vm.issueDownTableConfigs) |
| | | }; |
| | | |
| | |
| | | |
| | | var content = { |
| | | issueId : $rootScope.currentDetailIssueId, |
| | | delValue : $scope.vm.issueDownTableConfigs.splice(6,1), |
| | | delValue : $scope.vm.issueDownTableConfigs.splice(7,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, |