From f87a967edd2cd737c2e0e18e69e22abc53e5b80d Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 12 Mar 2024 15:53:26 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8F=99=EC=A0=81=20=EA=B2=80=EC=83=89=20?= =?UTF-8?q?=EC=97=94=ED=84=B0=ED=82=A4=20=EC=9D=B4=EB=B2=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp | 4 +++- src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp | 2 ++ src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp | 2 ++ src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp | 2 ++ src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp | 2 ++ src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp | 2 ++ src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp | 3 ++- 7 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp index b282cf97..9ed0c627 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp @@ -1033,7 +1033,9 @@ $(document).ready(function(){ $P.currentDisplay = "sameVehicleInspection"; }); $('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼 - + // 동적검색에서 엔터(Enter) 키를 누르면 검색한다. + $("#term--${pageName}").onEnterPress($P.searchInspectionList); + $('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown()); $("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop("1")); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp index aebdf2cf..2141887e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp @@ -374,6 +374,8 @@ $(document).ready(function(){ **************************************************************************/ $('#btnReset--${pageName}').on('click', () => $P.fnReset()); $('#btnSearch--${pageName}').on('click', () => $P.searchCrdnList()); + // 동적검색에서 엔터(Enter) 키를 누르면 검색한다. + $("#term--${pageName}").onEnterPress($P.searchCrdnList); $('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown()); fnMakeResizableTable($("#table-responsive--${pageName}")[0]); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index cb9fdf77..693bbd13 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -544,6 +544,8 @@ $(document).ready(function(){ **************************************************************************/ $('#btnReset--${pageName}').on('click', () => $P.fnReset()); $('#btnSearch--${pageName}').on('click', () => $P.searchCrdnList()); + // 동적검색에서 엔터(Enter) 키를 누르면 검색한다. + $("#term--${pageName}").onEnterPress($P.searchCrdnList); $('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown(false)); $('#btnExcelForApproval--${pageName}').on('click', () => $P.fnExcelDown(true)); fnMakeResizableTable($("#table-responsive--${pageName}")[0]); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp index 75786a66..469657c5 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp @@ -671,6 +671,8 @@ $(document).ready(function(){ **************************************************************************/ $('#btnReset--${pageName}').on('click', () => $P.fnReset()); $('#btnSearch--${pageName}').on('click', () => $P.searchCrdnList()); + // 동적검색에서 엔터(Enter) 키를 누르면 검색한다. + $("#term--${pageName}").onEnterPress($P.searchCrdnList); $('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown()); $("#btnHold--${pageName}").on("click", () => $P.fnHold()); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp index 28d0343b..26310c02 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp @@ -670,6 +670,8 @@ $(document).ready(function(){ **************************************************************************/ $('#btnReset--${pageName}').on('click', () => $P.fnReset()); $('#btnSearch--${pageName}').on('click', () => $P.searchCrdnList()); + // 동적검색에서 엔터(Enter) 키를 누르면 검색한다. + $("#term--${pageName}").onEnterPress($P.searchCrdnList); $('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown(false)); $('#btnExcelForApproval--${pageName}').on('click', () => $P.fnExcelDown(true)); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp index 8e1ace4f..2377348f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp @@ -541,6 +541,8 @@ $(document).ready(function(){ **************************************************************************/ $('#btnReset--${pageName}').on('click', () => $P.fnReset()); $('#btnSearch--${pageName}').on('click', () => $P.searchCrdnList()); + // 동적검색에서 엔터(Enter) 키를 누르면 검색한다. + $("#term--${pageName}").onEnterPress($P.searchCrdnList); $('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown()); $("#btnDelete--${pageName}").on("click", () => $P.fnRemove()); $("#btnOpenCvlcptOrgnl--${pageName}").on("click", () => $P.fnOpenCvlcptOrgnl()); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp index dff13213..8f09c8e4 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp @@ -751,7 +751,8 @@ $(document).ready(function() { $("#btnReset--${pageName}").on("click", function(){ $P.fnReset(); }); $("#btnSearch--${pageName}").on("click", function(){ $P.fnSearchList(); }); - + // 동적검색에서 엔터(Enter) 키를 누르면 검색한다. + $("#term--${pageName}").onEnterPress($P.fnSearchList); $("#btnPrintCrdn--${pageName}").on("click", function(){ $P.fnPrintCrdn(); }); $("#btnPrintBill--${pageName}").on("click", function(){ $P.fnPrintBill(); });