diff --git a/src/main/webapp/WEB-INF/jsp/fims/admin-sggAddDel-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/admin-sggAddDel-info.jsp index 20dfd7d8..653fda02 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/admin-sggAddDel-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/admin-sggAddDel-info.jsp @@ -11,7 +11,7 @@
시군구코드 | 시군구명 | @@ -43,7 +43,7 @@ style="overflow-x: scroll;height:500px;overflow-y: scroll;">
---|
시군구코드 | 시군구명 | @@ -64,9 +64,9 @@ -|||||||
---|---|---|---|---|---|---|---|---|
- + | SGG_CD | SGG_NM | @@ -88,10 +88,10 @@ $(document).ready(function(){ let $P = pageObject['${pageName}']; $P.originalDataset = new Dataset({ - keymapper : info => info ? info.SGG_CD : "" + keys : ["SGG_CD"] }); $P.backupDataset = new Dataset({ - keymapper : info => info ? info.SGG_CD : "" + keys : ["SGG_CD"] }); $P.fnRenderBackupAndOriginal = (list,tbodyName, dataset) => { @@ -136,7 +136,7 @@ $(document).ready(function(){ var arr = []; checked.each(function(){ - arr.push(this.value); + arr.push($P.backupDataset.getData(this.value).SGG_CD); }); ajax.post({ @@ -162,7 +162,7 @@ $(document).ready(function(){ } var arr = []; checked.each(function(){ - arr.push(this.value); + arr.push($P.originalDataset.getData(this.value).SGG_CD); }); ajax.post({ diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp index e16153cd..bbd12d2e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp @@ -65,7 +65,7 @@||||||
ROW_NUM | SGG_NM | NTC_TTL | @@ -191,8 +191,8 @@ $(document).ready(function(){ var notFound = [$P.findn("ntcNotFound").innerHTML]; var found = $P.findn("ntcRow").innerHTML; var replacer = (str, dataItem) => str - .replace(/{onclick}/gi, "pageObject['${pageName}'].clickNtcList('" + dataItem.getValue("NTC_ID") + "');") - .replace(/{ondblclick}/gi, "pageObject['${pageName}'].dblclickNtcList('" + dataItem.getValue("NTC_ID") + "');"); + .replace(/{onclick}/gi, "pageObject['${pageName}'].clickNtcList('{DATA-INDEX}');") + .replace(/{ondblclick}/gi, "pageObject['${pageName}'].dblclickNtcList('{NTC_ID}');"); return { found : found, @@ -215,14 +215,14 @@ $(document).ready(function(){ } - $P.clickNtcList = (dataKey) => { - if(dataKey == ""){ + $P.clickNtcList = (dataIndex) => { + if(dataIndex == ""){ return; } - $P.$findn("ntcTbody").setCurrentRow(dataKey); + $P.$findn("ntcTbody").setCurrentRow(dataIndex); - Apply.toDataset.current(ctrl.dataset, dataKey); + Apply.toDataset.current(ctrl.dataset, dataIndex); } $P.dblclickNtcList = (dataKey) => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02010-main.jsp index 7d15f370..37f53bce 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02010-main.jsp @@ -70,8 +70,7 @@