From 027d800e25fcf7f35baae9c6447df80aa0b2849b Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 목, 04 11월 2021 11:18:44 +0900 Subject: [PATCH] "등급 수정" 프론트 --- src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js | 42 +++++++++++++++++++++++++++--------------- 1 files changed, 27 insertions(+), 15 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..daa5ad5 100644 --- a/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js +++ b/src/main/webapp/scripts/components/userWorkspace/userWorkspace.service.js @@ -7,38 +7,50 @@ 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; }); }, - departmentAdd : function (conditions) { - return $http.post("userWorkspace/departmentAdd", conditions).then(function (response) { - $log.debug("遺��꽌 �깮�꽦 寃곌낵 : ", 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("userWorkspace/departmentFind", 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) { + return $http.post("userLevel/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; }); } -- Gitblit v1.8.0