From b73345d5ecb43306be0a9154904cb13ee30d3c83 Mon Sep 17 00:00:00 2001 From: leebj Date: Thu, 11 Jul 2024 18:02:14 +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 | 12 +++++----- .../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 | 8 +++---- 6 files changed, 40 insertions(+), 40 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 db2c6df..5bc915c 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 @@ -10,12 +10,12 @@
기능 그룹
-
- - +
@@ -99,8 +99,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.load(1); } @@ -207,7 +207,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 7db42da..20a053d 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 @@ -10,12 +10,12 @@
권한
-
- - +
@@ -83,8 +83,8 @@ var ${infoPrefix}Control = new AuthorityControl(); function search${infoPrefix}s() { ${infoPrefix}Control.authorities.query = { - by:$("#by").val(), - term:$("#term").val() + by:$("#${infoPrefix}-query [name='by']").val(), + term:$("#${infoPrefix}-query [name='term']").val() }; ${infoPrefix}Control.authorities.load(1); } @@ -148,7 +148,7 @@ ${infoPrefix}Control.onAuthoritySelect = selected => { ${userFunc} ${actionGroupFunc} -$("#term").onEnterPress(search${infoPrefix}s); +$("#${infoPrefix}term").onEnterPress(search${infoPrefix}s); $(function(){ ${onload} diff --git a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp index 2c634c1..a0ab7be 100644 --- a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp @@ -10,12 +10,12 @@
${prefixName}
<%--div> -
- - +
@@ -101,8 +101,8 @@ var codeControl = new CodeControl(); function searchGroups() { codeControl.groups.query = { - by:$("#by").val(), - term:$("#term").val() + by:$("#${infoPrefix}-query [name='by']").val(), + term:$("#${infoPrefix}-query [name='term']").val() }; codeControl.groups.load(1); } @@ -218,7 +218,7 @@ codeControl.onCodeSelect = selected => { $("#btnRemoveCodes").prop("disabled", selected.length < 1); }; -$("#term").onEnterPress(searchGroups); +$("#${infoPrefix}term").onEnterPress(searchGroups); $(function(){ ${onload} diff --git a/src/main/webapp/WEB-INF/jsp/base/syslog/syslog-main.jsp b/src/main/webapp/WEB-INF/jsp/base/syslog/syslog-main.jsp index 3eedfa1..15e5ae7 100644 --- a/src/main/webapp/WEB-INF/jsp/base/syslog/syslog-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/base/syslog/syslog-main.jsp @@ -8,7 +8,7 @@
- @@ -16,17 +16,17 @@
- - +
- + ~ - +
@@ -88,15 +88,15 @@ var ${infoPrefix}Control = new DatasetControl({ }); function search${infoPrefix}s() { - let logType = $("#logType").val(), + let logType = $("#${infoPrefix}logType").val(), params = { logTypes: logType ? [logType] : [], - fromDate: $("#fromDate").val().replace(/-/gi, ""), - toDate: $("#toDate").val().replace(/-/gi, "") + fromDate: $("#${infoPrefix}fromDate").val().replace(/-/gi, ""), + toDate: $("#${infoPrefix}toDate").val().replace(/-/gi, "") }, - terms = $("#${infoPrefix}-query #term").val(); + terms = $("#${infoPrefix}-query [name='term']").val(); if (terms) { - switch ($("#${infoPrefix}-query #by").val()) { + switch ($("#${infoPrefix}-query [name='by']").val()) { case "userName": params.userName = terms; break; case "userAccount": params.userAccounts = [terms]; break; case "userID": params.userIDs = [terms]; break; @@ -139,7 +139,7 @@ ${infoPrefix}Control.onCurrentChange = item => { $("#${infoPrefix}List").setCurrentRow(key); }; -$("#term").onEnterPress(search${infoPrefix}s); +$("#${infoPrefix}term").onEnterPress(search${infoPrefix}s); $(function(){ ${onload} @@ -149,7 +149,7 @@ $(function(){ ${infoPrefix}Fetch:${syslogFetch}, ${infoPrefix}Total:${syslogTotal} }); - $("#${infoPrefix}-query #fromDate, #${infoPrefix}-query #toDate").datePicker(); + $("#${infoPrefix}-query #${infoPrefix}fromDate, #${infoPrefix}-query #${infoPrefix}toDate").datePicker(); }); //# sourceURL=${infoPrefix}-main.jsp \ 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 ee1f233..7de26ff 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 573866a..f91b9fb 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,7 +7,7 @@
-
+