From 30ddd2cf095d2857ba1134fb3deaf51392ef1030 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 화, 07 12월 2021 21:31:45 +0900
Subject: [PATCH] Merge branch 'master' of http://192.168.0.25:9001/r/owl-kisa

---
 src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js |   97 ++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 84 insertions(+), 13 deletions(-)

diff --git a/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js b/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js
index 2554779..1f573a5 100644
--- a/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js
+++ b/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js
@@ -6,42 +6,113 @@
 define(['app'], function (app) {
     app.factory("UserWorkspace", ['$http', '$log', function ($http, $log) {
         return {
+            //�궗�슜�옄 �벑湲� 愿�由�
             levelFind : function (conditions) {
-                return $http.post("userWorkspace/levelFind", conditions).then(function (response) {
+                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) {
+                return $http.post("userLevel/add", conditions).then(function (response) {
                     $log.debug("�궗�슜�옄 �벑湲� �깮�꽦 寃곌낵 : ", response);
                     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);
+                    return response;
+                });
+            },
+            levelRemove : function (conditions) {
+                return $http.post("userLevel/remove", conditions).then(function (response) {
+                    $log.debug("�궗�슜�옄 �벑湲� �궘�젣 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            
+            //遺��꽌 愿�由�
+            departmentFind : function (conditions) {
+                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("userWorkspace/departmentAdd", conditions).then(function (response) {
+                return $http.post("department/add", conditions).then(function (response) {
                     $log.debug("遺��꽌 �깮�꽦 寃곌낵 : ", response);
                     return response;
                 });
             },
+            departmentModify : function (conditions) {
+                return $http.post("department/modify", conditions).then(function (response) {
+                    $log.debug("遺��꽌 �닔�젙 寃곌낵 : ", response);
+                    return response;
+                });
+            },
+            departmentRemove : function (conditions) {
+                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;
+                });
+            },
+            
+            //�궗�슜�옄 愿�由�
             find : function (conditions) {
                 return $http.post("userWorkspace/find", conditions).then(function (response) {
                     $log.debug("�썙�겕�뒪�럹�씠�뒪�뿉 李몄뿬�븯�뒗 �쟾泥� �궗�슜�옄 紐⑸줉 : ", response);
                     return response;
                 });
             },
-            modify : function (conditions) {
-                return $http.post("userWorkspace/modify", conditions).then(function (response) {
-                    $log.debug("�썙�겕�뒪�럹�씠�뒪 李몄뿬�옄 李몄뿬 �긽�깭 蹂�寃� 寃곌낵 : ", response);
+            modifyLevelPermission : function (conditions) {
+                return $http.post("userLevel/modify", conditions).then(function (response) {
+                    $log.debug("�궗�슜�옄 �벑湲� 沅뚰븳 蹂�寃� 寃곌낵 : ", response);
                     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);
+                    return response;
+                });
+            },
         }
     }
     ])

--
Gitblit v1.8.0