OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2021-12-07 30ddd2cf095d2857ba1134fb3deaf51392ef1030
src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js
@@ -19,6 +19,12 @@
                    return response;
                });
            },
            levelNameModify : function (conditions) {
                return $http.post("userLevel/nameModify", conditions).then(function (response) {
                    $log.debug("사용자 등급 수정 결과 : ", response);
                    return response;
                });
            },
            levelModify : function (conditions) {
                return $http.post("userLevel/modify", conditions).then(function (response) {
                    $log.debug("사용자 등급 수정 결과 : ", response);
@@ -34,26 +40,44 @@
            
            //부서 관리
            departmentFind : function (conditions) {
                return $http.post("departmentManage/find", conditions).then(function (response) {
                return $http.post("department/find", conditions).then(function (response) {
                    $log.debug("부서 목록 : ", response);
                    return response;
                });
            },
            departmentDetail : function (conditions) {
                return $http.post("department/detail", conditions).then(function (response) {
                    $log.debug("부서 상세 : ", response);
                    return response;
                });
            },
            departmentAdd : function (conditions) {
                return $http.post("departmentManage/add", conditions).then(function (response) {
                return $http.post("department/add", conditions).then(function (response) {
                    $log.debug("부서 생성 결과 : ", response);
                    return response;
                });
            },
            departmentModify : function (conditions) {
                return $http.post("departmentManage/modify", conditions).then(function (response) {
                return $http.post("department/modify", conditions).then(function (response) {
                    $log.debug("부서 수정 결과 : ", response);
                    return response;
                });
            },
            departmentRemove : function (conditions) {
                return $http.post("departmentManage/remove", conditions).then(function (response) {
                return $http.post("department/remove", conditions).then(function (response) {
                    $log.debug("부서 삭제 결과 : ", response);
                    return response;
                });
            },
            findProjectDepartment : function (conditions) {
                return $http.post("department/findProjectDepartment", conditions).then(function (response) {
                    $log.debug("프로젝트에 참여하는 부서 목록 조회 : ", response);
                    return response;
                });
            },
            findWorkflowDepartment : function (conditions) {
                return $http.post("department/findWorkflowDepartment", conditions).then(function (response) {
                    $log.debug("워크플로우에 속해있는 부서 목록 조회 : ", response);
                    return response;
                });
            },
@@ -71,6 +95,18 @@
                    return response;
                });
            },
            userDepartmentModify : function (conditions) {
                return $http.post("userWorkspace/modifyDepartment", conditions).then(function (response) {
                    $log.debug("사용자의 부서 수정 결과 : ", response);
                    return response;
                });
            },
            userDepartmentDetail : function (conditions) {
                return $http.post("userWorkspace/detailDepartment", conditions).then(function (response) {
                    $log.debug("사용자의 부서 상세보기 결과 : ", response);
                    return response;
                });
            },
            modify : function (conditions) {
                return $http.post("userWorkspace/modify", conditions).then(function (response) {
                    $log.debug("참여 상태 수정 결과 : ", response);