From b401c04a16e870af6789a7cc89e530873653037c Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 금, 05 11월 2021 13:03:39 +0900 Subject: [PATCH] "부서 관리" 프론트 --- src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js b/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js index ad1614b..51b44f7 100644 --- a/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js +++ b/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js @@ -6,6 +6,7 @@ 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); @@ -30,18 +31,34 @@ return response; }); }, + + //遺��꽌 愿�由� departmentFind : function (conditions) { - return $http.post("userWorkspace/departmentFind", conditions).then(function (response) { + return $http.post("departmentManage/find", conditions).then(function (response) { $log.debug("遺��꽌 紐⑸줉 : ", response); return response; }); }, departmentAdd : function (conditions) { - return $http.post("userWorkspace/departmentAdd", conditions).then(function (response) { + return $http.post("departmentManage/add", conditions).then(function (response) { $log.debug("遺��꽌 �깮�꽦 寃곌낵 : ", response); return response; }); }, + departmentModify : function (conditions) { + return $http.post("departmentManage/modify", conditions).then(function (response) { + $log.debug("遺��꽌 �닔�젙 寃곌낵 : ", response); + return response; + }); + }, + departmentRemove : function (conditions) { + return $http.post("departmentManage/remove", conditions).then(function (response) { + $log.debug("遺��꽌 �궘�젣 寃곌낵 : ", response); + return response; + }); + }, + + //�궗�슜�옄 愿�由� find : function (conditions) { return $http.post("userWorkspace/find", conditions).then(function (response) { $log.debug("�썙�겕�뒪�럹�씠�뒪�뿉 李몄뿬�븯�뒗 �쟾泥� �궗�슜�옄 紐⑸줉 : ", response); -- Gitblit v1.8.0