From 58c96fb54e3e6bbf0c0df27e39eaff814f52e9d4 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 월, 01 11월 2021 13:54:42 +0900
Subject: [PATCH] 사용자등급관리, 부서관리 프론트 수정

---
 src/main/webapp/scripts/components/workspace/workspace.service.js |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/scripts/components/workspace/workspace.service.js b/src/main/webapp/scripts/components/workspace/workspace.service.js
index 2c090dc..753763a 100644
--- a/src/main/webapp/scripts/components/workspace/workspace.service.js
+++ b/src/main/webapp/scripts/components/workspace/workspace.service.js
@@ -8,9 +8,33 @@
 ], function (app) {
     app.factory("Workspace", ['$http', '$log', function ($http, $log) {
         return {
+            levelFind : function (conditions) {
+                return $http.post("workspace/levelFind", conditions).then(function (response) {
+                    $log.debug("�궗�슜�옄 �벑湲� 紐⑸줉 : ", response);
+                    return response;
+                });
+            },
+            departmentFind : function (conditions) {
+                return $http.post("workspace/departmentFind", conditions).then(function (response) {
+                    $log.debug("遺��꽌 紐⑸줉 : ", response);
+                    return response;
+                });
+            },
             find : function (conditions) {
                 return $http.post("workspace/find", conditions).then(function (response) {
                     $log.debug("�뾽臾닿났媛� 紐⑸줉 �뜲�씠�꽣 : ", response);
+                    return response;
+                });
+            },
+            levelAdd : function (conditions) {
+                return $http.post("workspace/levelAdd", conditions).then(function (response) {
+                    $log.debug("�궗�슜�옄 �벑湲� �깮�꽦 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            departmentAdd : function (conditions) {
+                return $http.post("workspace/departmentAdd", conditions).then(function (response) {
+                    $log.debug("遺��꽌 �깮�꽦 寃곌낵 : ", response);
                     return response;
                 });
             },
@@ -32,6 +56,18 @@
                     return response;
                 });
             },
+            findUserLevel : function (conditions) { //�궗�슜�옄 �벑湲�
+                return $http.post("workspace/levelFind", conditions).then(function (response) {
+                    $log.debug("�궗�슜�옄 �벑湲� �젙蹂� 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            findDepartment : function (conditions) { //遺��꽌
+                return $http.post("workspace/departmentFind", conditions).then(function (response) {
+                    $log.debug("�궗�슜�옄 �벑湲� �젙蹂� 寃곌낵 : ", response);
+                    return response;
+                });
+            },
             modify : function (conditions) {
                 return $http.post("workspace/modify", conditions).then(function (response) {
                     $log.debug("�뾽臾닿났媛� �닔�젙 寃곌낵 : ", response);

--
Gitblit v1.8.0