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 dc43cbd0..2cbef4df 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
@@ -63,16 +63,18 @@ $(document).ready(function() {
};
// 현재 선택 자료 변경 이벤트
- ctrl.upDataset.onCurrentChange = (DI) => {
- if (!DI) return;
- var key = DI.data.CRDN_ID;
- $P.$findn("upTbody").setCurrentRow(key);
+ ctrl.upDataset.onCurrentChange = (dataItem) => {
+ if (!dataItem) {
+ return;
+ }
+ $P.$findn("upTbody").setCurrentRow(dataItem.index);
};
- ctrl.downDataset.onCurrentChange = (DI) => {
- if (!DI) return;
- var key = DI.data.CRDN_ID;
- $P.$findn("downTbody").setCurrentRow(key);
+ ctrl.downDataset.onCurrentChange = (dataItem) => {
+ if (!dataItem) {
+ return;
+ }
+ $P.$findn("downTbody").setCurrentRow(dataItem.index);
};
// 선택(체크) 변경 이벤트
@@ -290,11 +292,11 @@ $(document).ready(function() {
var replacer;
if(updown == "up"){
replacer = (str, dataItem) => str
- .replace(/{onclick}/gi, "pageObject['${pageName}'].ctrl.upDataset.setCurrent('" + dataItem.getValue("CRDN_ID") + "');")
+ .replace(/{onclick}/gi, "pageObject['${pageName}'].ctrl.upDataset.setCurrent('{DATA-INDEX}');")
.replace(/{ondblclick}/gi, "pageObject['${pageName}'].getInfo('"+ dataItem.getValue("TASK_SE_CD") +"','" + dataItem.getValue("CRDN_ID") + "');")
} else {
replacer = (str, dataItem) => str
- .replace(/{onclick}/gi, "pageObject['${pageName}'].ctrl.downDataset.setCurrent('" + dataItem.getValue("CRDN_ID") + "');")
+ .replace(/{onclick}/gi, "pageObject['${pageName}'].ctrl.downDataset.setCurrent('{DATA-INDEX}');")
.replace(/{ondblclick}/gi, "pageObject['${pageName}'].getInfo('"+ dataItem.getValue("TASK_SE_CD") +"','" + dataItem.getValue("CRDN_ID") + "');")
}
@@ -758,17 +760,20 @@ $(document).ready(function() {
var downDataset = ctrl.downDataset;
if(upDataset.length > 0){
- var info = upDataset.getData(crdnId);
- if(info != null){
+ let filtered = upDataset.getDataset("item").filter(item=>item.data.CRDN_ID == crdnId);
+ if(filtered != null && filtered.length > 0){
+ let info = upDataset.getData(filtered[0].index);
return info;
}
}
if(downDataset.length > 0){
- var info = downDataset.getData(crdnId);
- if(info != null){
+ let filtered = downDataset.getDataset("item").filter(item=>item.data.CRDN_ID == crdnId);
+ if(filtered != null && filtered.length > 0){
+ let info = downDataset.getData(filtered[0].index);
return info;
}
+
}
return null;
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp
index a207e27a..ca6aa382 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01015-info.jsp
@@ -4,10 +4,10 @@
통합조회 그리드 템플릿(내용)
-
+
-
+
|
SGG_NM |
TASK_SE_NM |
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01100-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01100-info.jsp
index 5c1d9a64..02e4e95a 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01100-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01100-info.jsp
@@ -24,15 +24,15 @@
-
-
- {SGG_NM} |
- {TASK_SE_NM} |
- {CRDN_YMD_TM} |
- {VHRNO} |
- {RPM_SZR_VHRNO} |
- {RTPYR_NM} |
- {CRDN_STTS_NM} |
+
+
+ SGG_NM |
+ TASK_SE_NM |
+ CRDN_YMD_TM |
+ VHRNO |
+ RPM_SZR_VHRNO |
+ RTPYR_NM |
+ CRDN_STTS_NM |
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01110-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01110-info.jsp
index 322fb087..e3d20679 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01110-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01110-info.jsp
@@ -45,23 +45,23 @@
-
-
- {SGG_NM} |
- {TASK_SE_NM} |
- {RPM_SZR_VHRNO} |
- {VHRNO} |
- {CRDN_SE_NM} |
- {CRDN_YMD_TM} |
- {CRDN_PLC} |
- {GOJI_NO} |
- {RCVMT_YMD} |
- {CRDN_STTS_NM} |
- {RCVMT_AMT} |
- {SUM_AMT} |
- {RTPYR_NM} |
- {RTPYR_ADDR} |
- {RTPYR_DTL_ADDR} |
+
+
+ SGG_NM |
+ TASK_SE_NM |
+ RPM_SZR_VHRNO |
+ VHRNO |
+ CRDN_SE_NM |
+ CRDN_YMD_TM |
+ CRDN_PLC |
+ GOJI_NO |
+ RCVMT_YMD |
+ CRDN_STTS_NM |
+ RCVMT_AMT |
+ SUM_AMT |
+ RTPYR_NM |
+ RTPYR_ADDR |
+ RTPYR_DTL_ADDR |
@@ -119,8 +119,10 @@ $(document).ready(function(){
$P.fnExcelDown = () => {
var query = {};
- var cellDefs = AppSupport.getCellDefs($P.$findn("theadTr").find("th").not(".dummy-th"),
- $($P.findn("found").content).find("td").not(".dummy-td"));
+ var cellDefs = AppSupport.getCellDefs(
+ $P.$findn("theadTr").find("th").not(".dummy-th"),
+ $($P.findn("found").content).find("td").not(".dummy-td")
+ );
query.cellDefs = cellDefs;
query.download = "xls";
diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp
index 318aaf72..02bf397b 100644
--- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp
+++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01120-info.jsp
@@ -17,8 +17,7 @@