| | |
| | | cancel: cancel, // 팝업 창 닫기 |
| | | formSubmit: formSubmit, // 폼 전송 |
| | | formCheck: formCheck, // 폼 체크 |
| | | removeManager : removeManager, // 담당자 삭제 |
| | | removeDepartment : removeDepartment, // 담당부서 삭제 |
| | | load : load, // 현재 담당자 가져오기 |
| | | startExecute : startExecute // 시작시 실행 |
| | | }; |
| | |
| | | $scope.vm = { |
| | | form : { |
| | | departments : [], // 담당부서 |
| | | projects : [] |
| | | projects : [], |
| | | issueTypeId : "" |
| | | }, |
| | | departmentName : "", // 부서 검색 |
| | | autoCompletePage : { |
| | |
| | | angular.extend(this, $controller('autoCompleteController', {$scope : $scope, $injector : $injector})); |
| | | |
| | | // 담당부서 삭제 |
| | | function removeManager(index) { |
| | | function removeDepartment(index) { |
| | | $scope.vm.form.departments.splice(index, 1); |
| | | } |
| | | |