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);