| | |
| | | $scope.$on("getUserWorkspaceList", function () { |
| | | $scope.fn.getLevels(); |
| | | $scope.fn.getDepartments(); |
| | | $scope.fn.makeTableConfigs(); |
| | | |
| | | $scope.fn.getUserWorkspaceList(0); |
| | | }); |
| | | |
| | |
| | | } |
| | | |
| | | // 사용자가 속해있는 부서 수정 팝업 |
| | | function modifyUserDepartments(id) { |
| | | function modifyUserDepartments(id, userId) { |
| | | $uibModal.open({ |
| | | templateUrl : 'views/workspace/workspaceDepartmentModify.html', |
| | | size : "xlg", |
| | | controller : 'workspaceDepartmentModifyController', |
| | | templateUrl : 'views/workspace/workspaceUserDepartmentModify.html', |
| | | size : "md", |
| | | controller : 'workspaceUserDepartmentModifyController', |
| | | backdrop : 'static', |
| | | windowClass : 'workflow-window', |
| | | resolve : { |
| | | parameter : function () { |
| | | return { |
| | | id : id |
| | | id : id, |
| | | userId : userId |
| | | }; |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | | $scope.fn.makeTableConfigs(); |
| | | } |
| | | ]); |
| | | } |