From 916a3cbabe4e50062fce61ff6f2f5d46c05dfbd1 Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 목, 17 3월 2022 17:47:45 +0900
Subject: [PATCH] - api로 이슈 추가 시 url/ip로 업체 찾는 코드 수정

---
 src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js |   44 ++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js b/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js
index 51b44f7..1f573a5 100644
--- a/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js
+++ b/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);

--
Gitblit v1.8.0