From b956b8d7be0b277e2a08981e5757b01e64b8380a Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 11 Jul 2024 18:02:07 +0900 Subject: [PATCH] =?UTF-8?q?html=ED=83=9C=EA=B7=B8=20=EC=95=84=EC=9D=B4?= =?UTF-8?q?=EB=94=94=20=EC=A4=91=EB=B3=B5=EC=9C=BC=EB=A1=9C=20=EC=9D=B8?= =?UTF-8?q?=ED=95=9C=20=EC=A1=B0=ED=9A=8C=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/base/actionGroup/actionGroup-main.jsp | 12 ++++----- .../jsp/base/authority/authority-main.jsp | 26 ++++++++++++++----- .../WEB-INF/jsp/base/code/code-main.jsp | 12 ++++----- .../WEB-INF/jsp/base/syslog/syslog-main.jsp | 24 ++++++++--------- .../webapp/WEB-INF/jsp/base/user/sgg-dept.jsp | 12 ++++----- .../WEB-INF/jsp/base/user/user-main.jsp | 16 ++++++------ 6 files changed, 58 insertions(+), 44 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp index 44526624..aa731bf2 100644 --- a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp @@ -16,12 +16,12 @@
기능 그룹
-
- - +
@@ -105,8 +105,8 @@ var action${infoPrefix}Control = new ActionGroupControl(); function searchaction${infoPrefix}s() { action${infoPrefix}Control.groups.query = { - by:$("#by").val(), - term:$("#term").val() + by:$("#${infoPrefix}-query [name='by']").val(), + term:$("#${infoPrefix}-query [name='term']").val() }; action${infoPrefix}Control.groups.query.fetchAll = true; action${infoPrefix}Control.groups.load(1); @@ -214,7 +214,7 @@ action${infoPrefix}Control.onActionSelect = selected => { $("#btnRemoveActions").prop("disabled", keys.length < 1); }; -$("#term").onEnterPress(searchaction${infoPrefix}s); +$("#${infoPrefix}term").onEnterPress(searchaction${infoPrefix}s); $(function(){ ${onload} diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp index 18ae3e99..50c4b922 100644 --- a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp @@ -17,12 +17,12 @@
권한
-
- - +
@@ -87,11 +87,25 @@ \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp b/src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp index ee1f2339..7de26ffc 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp @@ -10,12 +10,12 @@
${prefixName}
<%--div> -
- - +
@@ -102,8 +102,8 @@ sggDeptControl.sggs.query = {includeAll: true}; <%-- function searchSggs() { sggDeptControl.sggs.query = { - by:$("#by").val(), - term:$("#term").val(), + by:$("#${infoPrefix}-query [name='by']").val(), + term:$("#${infoPrefix}-query [name='term']").val() includeAll: true }; sggDeptControl.sggs.load(1); @@ -240,7 +240,7 @@ $(function(){ deptTotal:${deptTotal} }); -<%-- $("#term").onEnterPress(searchSggs); --%> +<%-- $("#${infoPrefix}term").onEnterPress(searchSggs); --%> }); //# sourceURL=sgg-dept.jsp \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp index 4cf9e733..f6545977 100644 --- a/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp @@ -7,18 +7,18 @@
-
- - +
- +
@@ -68,8 +68,8 @@ var ${infoPrefix}Control = new UserControl(); function search${infoPrefix}s() { ${infoPrefix}Control.query = { - by:$("#by").val(), - term:$("#term").val() + by:$("#${infoPrefix}-query [name='by']").val(), + term:$("#${infoPrefix}-query [name='term']").val() }; ${infoPrefix}Control.load(1); } @@ -135,10 +135,10 @@ ${infoPrefix}Control.onSelectionChange = selected => { checkbox.prop("checked", keys.includes(checkbox.val())); }); - $("button.on-select").prop("disabled", keys.length < 1); + $("#btnRemove${infoPrefix}s").prop("disabled", keys.length < 1); }; -$("#term").onEnterPress(search${infoPrefix}s); +$("#${infoPrefix}term").onEnterPress(search${infoPrefix}s); $(function(){ ${onload}