| | |
| | | $scope.tableEvent = { |
| | | modify : modify, |
| | | projectCustomFieldConfig : projectCustomFieldConfig, |
| | | changeLastProject : changeLastProject |
| | | changeLastProject : changeLastProject, |
| | | moveIssue : moveIssue, |
| | | changeDetailView : changeDetailView |
| | | }; |
| | | |
| | | angular.extend(this, $controller('autoCompleteController', {$scope : $scope, $injector : $injector})); |
| | |
| | | .setHWidth("width-140-p bold") |
| | | .setDType("renderer") |
| | | .setDAlign("text-center") |
| | | .setDRenderer("PROJECT_USER")); |
| | | .setDRenderer("PROJECT_DEPARTMENT")); |
| | | $scope.vm.tableConfigs.push($tableProvider.config() |
| | | .setHName("project.projectKey") |
| | | .setHWidth("width-100-p bold") |
| | |
| | | $rootScope.changeLastProject(projectId); |
| | | } |
| | | |
| | | function moveIssue(projectId) { |
| | | // $rootScope.currentDetailIssueId = null; |
| | | // 이슈 번호를 저장한 후 이슈 목록으로 이동한다. |
| | | // $rootScope.$broadcast("makeIssueSearch", {id :$rootScope.currentDetailIssueId}); |
| | | //$rootScope.$broadcast("makeIssueSearch", {id :$rootScope.issueTypeMenu.id}); |
| | | $rootScope.$broadcast("makeIssueSearch",projectId); |
| | | } |
| | | |
| | | function changeDetailView() { |
| | | // $rootScope.$broadcast("getIssueDetail", {id: $rootScope.currentDetailIssueId}); |
| | | //$scope.$broadcast("getIssueDetail", {id: $rootScope.currentDetailIssueId}); |
| | | // $rootScope.$broadcast("getIssueDetail", {id :$rootScope.currentDetailIssueId}); |
| | | //$rootScope.$broadcast("getIssueList", {id :$rootScope.issueTypeMenu.id}); |
| | | } |
| | | |
| | | $scope.fn.makeTableConfigs(); |
| | | $scope.fn.getPageList(0); |
| | | } |