OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-11-02 4e32eef25c59e29af3966345bb5e71c12a886865
src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js
@@ -6,6 +6,30 @@
define(['app'], function (app) {
    app.factory("UserWorkspace", ['$http', '$log', function ($http, $log) {
        return {
            levelFind : function (conditions) {
                return $http.post("userLevel/find", conditions).then(function (response) {
                    $log.debug("사용자 등급 목록 : ", response);
                    return response;
                });
            },
            departmentFind : function (conditions) {
                return $http.post("userWorkspace/departmentFind", conditions).then(function (response) {
                    $log.debug("부서 목록 : ", response);
                    return response;
                });
            },
            levelAdd : function (conditions) {
                return $http.post("userWorkspace/levelAdd", conditions).then(function (response) {
                    $log.debug("사용자 등급 생성 결과 : ", response);
                    return response;
                });
            },
            departmentAdd : function (conditions) {
                return $http.post("userWorkspace/departmentAdd", conditions).then(function (response) {
                    $log.debug("부서 생성 결과 : ", response);
                    return response;
                });
            },
            find : function (conditions) {
                return $http.post("userWorkspace/find", conditions).then(function (response) {
                    $log.debug("워크스페이스에 참여하는 전체 사용자 목록 : ", response);