From 90363e78469892cedb0c2d3a328759e79d47cb44 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 13 Feb 2024 10:33:53 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=8A=A4=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp | 5 +++-- .../webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp | 6 +++--- .../webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp | 12 ++++++------ 3 files changed, 12 insertions(+), 11 deletions(-) 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 18712eab..a64cf89e 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 @@ -346,9 +346,10 @@ $(document).ready(function(){ } } - $P.crdnControl.onSelectionChange = (selected) => { + $P.crdnControl.onSelectionChange = (selectedArr) => { + var crdnDS = $P.crdnControl.dataset; - var keys = selected.map(e => crdnDS.getKey(e)); + var keys = selectedArr.map(item => crdnDS.getKey(item)); $("#crdnTbody--${pageName} input[type='checkbox']").each(function() { var checkbox = $(this); 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 3f8c33ea..fdc6cda6 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 @@ -330,10 +330,10 @@ $(document).ready(function(){ } } - $P.crdnControl.onSelectionChange = (selected) => { + $P.crdnControl.onSelectionChange = (selectedArr) => { - var crdnList = $P.crdnControl.dataset; - var keys = selected.map(e => crdnList.getKey(e)); + var crdnDS = $P.crdnControl.dataset; + var keys = selectedArr.map(item => crdnDS.getKey(item)); $("#table-responsive--${pageName}").find("input[name='gridCheckbox']").each(function() { var checkbox = $(this); 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 a2c27427..c71c972d 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 @@ -120,10 +120,10 @@ $(document).ready(function() { }; // 선택(체크) 변경 이벤트 - $P.integrationSearchControl.updataset.onSelectionChange = (selected) => { + $P.integrationSearchControl.updataset.onSelectionChange = (selectedArr) => { - var ds = $P.integrationSearchControl.updataset; - var keys = selected.map(e => ds.getKey(e)); + var DS = $P.integrationSearchControl.updataset; + var keys = selectedArr.map(item => DS.getKey(item)); $("#upTbody--${pageName}").find("input[type='checkbox']").each(function() { var checkbox = $(this); @@ -132,10 +132,10 @@ $(document).ready(function() { }; - $P.integrationSearchControl.downdataset.onSelectionChange = (selected) => { + $P.integrationSearchControl.downdataset.onSelectionChange = (selectedArr) => { - var ds = $P.integrationSearchControl.downdataset; - var keys = selected.map(e => ds.getKey(e)); + var DS = $P.integrationSearchControl.downdataset; + var keys = selectedArr.map(item => DS.getKey(item)); $("#downTbody--${pageName}").find("input[type='checkbox']").each(function() { var checkbox = $(this);