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 91879523..01c1ee59 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 @@ -461,7 +461,7 @@ $(document).ready(function(){ $P.photoInspectionControl.tableRenderComplete = true; }; - $P.photoInspectionControl.onCurrentChange = (item) => { + $P.photoInspectionControl.onCurrentChange = (DI) => { if(!$P.photoInspectionControl.tableRenderComplete){ return; @@ -492,7 +492,7 @@ $(document).ready(function(){ } $P.photoInspectionControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickInspectionDataList("","photoInspection", true); } else { $P.clickInspectionDataList($P.photoInspectionControl.getCurrent()["CRDN_ID"],"photoInspection", true); @@ -513,7 +513,7 @@ $(document).ready(function(){ $P.sameVehicleControl.main.tableRenderComplete = true; }; - $P.sameVehicleControl.main.onCurrentChange = (item) => { + $P.sameVehicleControl.main.onCurrentChange = (DI) => { if(!$P.sameVehicleControl.main.tableRenderComplete){ return; } @@ -543,7 +543,7 @@ $(document).ready(function(){ } $P.sameVehicleControl.main.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickInspectionDataList("","sameVehicleInspectionMain", true); } else { $P.clickInspectionDataList($P.sameVehicleControl.main.getCurrent()["CRDN_ID_LIST"],"sameVehicleInspectionMain", true); @@ -555,13 +555,13 @@ $(document).ready(function(){ $P.sameVehicleControl.sub.tableRenderComplete = true; }; - $P.sameVehicleControl.sub.onCurrentChange = (item) => { + $P.sameVehicleControl.sub.onCurrentChange = (DI) => { if(!$P.sameVehicleControl.sub.tableRenderComplete){ return; } $P.sameVehicleControl.sub.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickInspectionDataList("","sameVehicleInspectionSub", true); } else { $P.clickInspectionDataList($P.sameVehicleControl.sub.getCurrent()["CRDN_ID"],"sameVehicleInspectionSub", true); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp index 527da5e0..eb8f533a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02050-info.jsp @@ -67,8 +67,8 @@ $(document).ready(function(){ /************************************************************************** * DatasetControl.on, Dataset.on **************************************************************************/ - $P.crdnControl.onCurrentChange = (item) => { - $P.formFields.set(item); + $P.crdnControl.onCurrentChange = (DI) => { + $P.formFields.set(DI); } $P.crdnControl.onSave = (resp) => { 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 12a655cc..3d2b3ece 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 @@ -176,14 +176,14 @@ $(document).ready(function(){ $P.crdnControl.tableRenderComplete = true; }; - $P.crdnControl.onCurrentChange = (item) => { + $P.crdnControl.onCurrentChange = (DI) => { if(!$P.crdnControl.tableRenderComplete){ return; } $P.crdnControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickCrdnList("", true); } else { $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp index 7f582b58..5d198998 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp @@ -186,14 +186,14 @@ $(document).ready(function(){ }; - $P.crdnControl.onCurrentChange = (item) => { + $P.crdnControl.onCurrentChange = (DI) => { if(!$P.crdnControl.tableRenderComplete){ return; } $P.crdnControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickCrdnList("", true); } else { $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp index 7d8c4115..ec7fdb3b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05020-info.jsp @@ -202,25 +202,25 @@ $(document).ready(function(){ }); }; - $P.parsedInfoControl.onCurrentChange = (item) => { + $P.parsedInfoControl.onCurrentChange = (DI) => { $("#imageArea--${pageName}").html(""); - if(item && item.data){ - var dataKey = item.data.FILE_NAME; + if(DI && DI.data){ + var dataKey = DI.data.FILE_NAME; $("#table-responsive--${pageName}").find("tbody").setCurrentRow(dataKey); - if(item.data.FILE_GROUP_TYPE == "BIN"){ + if(DI.data.FILE_GROUP_TYPE == "BIN"){ var srcArr = []; - for(var i=1; i <= item.data.PHOTO_CNT; i++){ - srcArr.push("data:image/jpg;base64," + item.data["B64IMAGE"+i]) + for(var i=1; i <= DI.data.PHOTO_CNT; i++){ + srcArr.push("data:image/jpg;base64," + DI.data["B64IMAGE"+i]) } $P.renderImage(srcArr); } else { if(!dataKey.endsWith(".txt") && !dataKey.endsWith(".TXT")){ - var src = item.data.FILE_PATH; + var src = DI.data.FILE_PATH; $P.renderImage(src); } } 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 fa8971f1..18712eab 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 @@ -332,14 +332,14 @@ $(document).ready(function(){ $P.crdnControl.tableRenderComplete = true; }; - $P.crdnControl.onCurrentChange = (item) => { - + $P.crdnControl.onCurrentChange = (DI) => { + if(!$P.crdnControl.tableRenderComplete){ return; } $P.crdnControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickCrdnList("", true); } else { $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); @@ -434,10 +434,10 @@ $(document).ready(function(){ } $P.dblclickCrdnList = (dataKey) => { - let params = { - callControlName : "pageObject['${pageName}'].crdnControl" - , crdnId : dataKey - } + var params = { + callControlName : "pageObject['${pageName}'].crdnControl", + crdnId : dataKey + }; ajax.get({ url : $P.crdnControl.urls.getInfo, diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp index b7a2b7cc..a1fb1a9c 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06020-info.jsp @@ -324,17 +324,17 @@ /************************************************************************** * DatasetControl 이벤트 **************************************************************************/ - $P.control.onCurrentChange = (item) => { - if (!item) return; + $P.control.onCurrentChange = (DI) => { + if (!DI) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set(DI); // 업무별 입력 항목 - $P.renderTask(item.data.TASK_SE_CD); + $P.renderTask(DI.data.TASK_SE_CD); // 업무구분에 따른 URL 변경 - $P.setURL(item.data.TASK_SE_CD); + $P.setURL(DI.data.TASK_SE_CD); } // 저장 callback diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp index f3204181..553cee56 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06030-info.jsp @@ -93,14 +93,14 @@ * DatasetControl 이벤트 **************************************************************************/ // 현재 선택 자료 변경 이벤트 - $P.control.onCurrentChange = (item) => { - if (!item) return; + $P.control.onCurrentChange = (DI) => { + if (!DI) return; // Dataset 셋팅 - $P.formFields.set(item); + $P.formFields.set(DI); // 업무구분에 따른 URL 변경 - $P.setURL(item.data.TASK_SE_CD); + $P.setURL(DI.data.TASK_SE_CD); } // 저장 callback diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp index 368235bd..8acdaa0c 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn07010-main.jsp @@ -302,8 +302,8 @@ $(document).ready(function(){ }; - $P.useTeamControl.onCurrentChange = (item) => { - if(!item){ + $P.useTeamControl.onCurrentChange = (DI) => { + if(!DI){ $("#teamNm--${pageName}").val(""); $("#crdnSeCd--${pageName}").val(""); $("#teamer1--${pageName}").val(""); @@ -314,17 +314,17 @@ $(document).ready(function(){ return; } - $("#useTeamTbody--${pageName}").setCurrentRow(item.data.TEAM_ID); + $("#useTeamTbody--${pageName}").setCurrentRow(DI.data.TEAM_ID); - $("#teamNm--${pageName}").val(item.data.TEAM_NM); - $("#crdnSeCd--${pageName}").val(item.data.CRDN_SE_CD); - $("#teamer1--${pageName}").val(item.data.TEAMER_1); - $("#teamer2--${pageName}").val(item.data.TEAMER_2); - $("#teamer3--${pageName}").val(item.data.TEAMER_3); - $("#teamer4--${pageName}").val(item.data.TEAMER_4); - $("#etcCn--${pageName}").val(item.data.ETC_CN); + $("#teamNm--${pageName}").val(DI.data.TEAM_NM); + $("#crdnSeCd--${pageName}").val(DI.data.CRDN_SE_CD); + $("#teamer1--${pageName}").val(DI.data.TEAMER_1); + $("#teamer2--${pageName}").val(DI.data.TEAMER_2); + $("#teamer3--${pageName}").val(DI.data.TEAMER_3); + $("#teamer4--${pageName}").val(DI.data.TEAMER_4); + $("#etcCn--${pageName}").val(DI.data.ETC_CN); - $("#deletedTeamNm--${pageName}").val(item.data.TEAM_NM); + $("#deletedTeamNm--${pageName}").val(DI.data.TEAM_NM); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp index 909a29bd..5f6d03e1 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp @@ -257,7 +257,7 @@ $(document).ready(function(){ }; - $P.exmptnVhclControl.onCurrentChange = (item) => { + $P.exmptnVhclControl.onCurrentChange = (DI) => { if(!$P.exmptnVhclControl.tableRenderComplete){ return; @@ -265,7 +265,7 @@ $(document).ready(function(){ $P.exmptnVhclControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickExmptnVhclList("", true); } else { $P.clickExmptnVhclList($P.exmptnVhclControl.getCurrent()["EXMPTN_VHCL_ID"], true); 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 7d4b8e11..f3ca5ef9 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 @@ -264,7 +264,7 @@ $(document).ready(function(){ $P.crdnControl.tableRenderComplete = true; }; - $P.crdnControl.onCurrentChange = (item) => { + $P.crdnControl.onCurrentChange = (DI) => { if(!$P.crdnControl.tableRenderComplete){ return; } @@ -294,7 +294,7 @@ $(document).ready(function(){ } $P.crdnControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickCrdnList("", true); } else { $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp index f0d07d30..21f7b0ef 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01020-info.jsp @@ -458,8 +458,8 @@ $(document).ready(function(){ /************************************************************************** * DatasetControl.on, Dataset.on **************************************************************************/ - $P.crdnControl.onCurrentChange = (item) => { - $P.formFields.set(item); + $P.crdnControl.onCurrentChange = (DI) => { + $P.formFields.set(DI); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp index 0c1c418a..3d178094 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01050-info.jsp @@ -132,8 +132,8 @@ $(document).ready(function() { /************************************************************************** * DatasetControl.on, Dataset.on **************************************************************************/ - $P.cvlcptControl.onCurrentChange = (item) => { - $P.formFields.set(item); + $P.cvlcptControl.onCurrentChange = (DI) => { + $P.formFields.set(DI); } /************************************************************************** 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 634a5b4e..3f8c33ea 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 @@ -292,7 +292,7 @@ $(document).ready(function(){ $P.crdnControl.tableRenderComplete = true; }; - $P.crdnControl.onCurrentChange = (item) => { + $P.crdnControl.onCurrentChange = (DI) => { if(!$P.crdnControl.tableRenderComplete){ return; @@ -323,7 +323,7 @@ $(document).ready(function(){ } $P.crdnControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickCrdnList("", true); } else { $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp index a664a5f8..1e11c6f7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02060-info.jsp @@ -114,8 +114,8 @@ $(document).ready(function() { /************************************************************************** * DatasetControl.on, Dataset.on **************************************************************************/ - $P.cvlcptControl.onCurrentChange = (item) => { - $P.formFields.set(item); + $P.cvlcptControl.onCurrentChange = (DI) => { + $P.formFields.set(DI); } $P.cvlcptControl.onSave = (resp) => { 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 ec93c837..bcfa9b59 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 @@ -260,7 +260,7 @@ $(document).ready(function(){ $P.crdnControl.tableRenderComplete = true; }; - $P.crdnControl.onCurrentChange = (item) => { + $P.crdnControl.onCurrentChange = (DI) => { if(!$P.crdnControl.tableRenderComplete){ return; } @@ -290,7 +290,7 @@ $(document).ready(function(){ } $P.crdnControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickCrdnList("", true); } else { $P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp index dfa07580..893a4c00 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp @@ -211,7 +211,7 @@ $(document).ready(function(){ $P.dmndControl.tableRenderComplete = true; }; - $P.dmndControl.onCurrentChange = (item) => { + $P.dmndControl.onCurrentChange = (DI) => { if(!$P.dmndControl.tableRenderComplete){ return; } @@ -241,7 +241,7 @@ $(document).ready(function(){ } $P.dmndControl.tableRenderComplete = false; - if(!item){ + if(!DI){ $P.clickDmndList("", true); } else { $P.clickDmndList($P.dmndControl.getCurrent()["INDIV_ID"], true); 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 3ba07ff3..a2c27427 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 @@ -107,15 +107,15 @@ $(document).ready(function() { }; // 현재 선택 자료 변경 이벤트 - $P.integrationSearchControl.updataset.onCurrentChange = (item) => { - if (!item) return; - var key = item.data.CRDN_ID; + $P.integrationSearchControl.updataset.onCurrentChange = (DI) => { + if (!DI) return; + var key = DI.data.CRDN_ID; $("#upTbody--${pageName}").setCurrentRow(key); }; - $P.integrationSearchControl.downdataset.onCurrentChange = (item) => { - if (!item) return; - var key = item.data.CRDN_ID; + $P.integrationSearchControl.downdataset.onCurrentChange = (DI) => { + if (!DI) return; + var key = DI.data.CRDN_ID; $("#downTbody--${pageName}").setCurrentRow(key); };