From a00047ce04e06bb99a637b8b02ec4bf2b4fdd25c Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 수, 10 11월 2021 16:26:37 +0900 Subject: [PATCH] 사용자의 부서 수정 기능 프론트 작업 수정 --- src/main/webapp/scripts/components/utils/autoComplete.controller.js | 15 ++------------- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/src/main/webapp/scripts/components/utils/autoComplete.controller.js b/src/main/webapp/scripts/components/utils/autoComplete.controller.js index 4bfe49f..9d9531c 100644 --- a/src/main/webapp/scripts/components/utils/autoComplete.controller.js +++ b/src/main/webapp/scripts/components/utils/autoComplete.controller.js @@ -111,22 +111,11 @@ return deferred.promise; } - function getDepartmentList(query, excludeList, page, callBack) { + function getDepartmentList(query, excludeList, page, callBack) { //泥댄겕 �븘�슂 var conditions = { departmentName : query, - userId : (function () { - var userId = ""; - - if ($rootScope.isDefined($scope.vm.form)) { - angular.forEach($scope.vm.form.users, function (user) { - userId = user.id; - }); - } - return userId; - })(), - excludeIds : (function () { //�뼱�뼡 �뿭�븷? + excludeIds : (function () { //�뼱�뼡 �뿭�븷? 泥댄겕 �븘�슂 var excludeIds = []; - angular.forEach(excludeList, function (exclude) { excludeIds.push(exclude.id); }); -- Gitblit v1.8.0