diff --git a/src/main/webapp/WEB-INF/jsp/dashboard.jsp b/src/main/webapp/WEB-INF/jsp/dashboard.jsp index db22c807..65920341 100644 --- a/src/main/webapp/WEB-INF/jsp/dashboard.jsp +++ b/src/main/webapp/WEB-INF/jsp/dashboard.jsp @@ -180,7 +180,7 @@ height="250" viewBox="0 0 24 24"> var statReqArr = []; fnMakeSkeleton(); -sleep(3000).then(() => fnMakeStatReq($("#layout-navbar input[name='taskSeCd']:checked").val())); +AppSupport.sleep(3000).then(() => fnMakeStatReq($("#layout-navbar input[name='taskSeCd']:checked").val())); //데이터 로딩 전 이미지 표시 diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp index 486ef983..1627d7f8 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp @@ -276,7 +276,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); var parentRes = new Object(); var childReq = pageObject.childReq.pop(); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp index eec060ff..28a86411 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01020-info.jsp @@ -296,7 +296,7 @@ $(document).ready(function(){ **************************************************************************/ $P.fnSave = () => { - if(!customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; var info = $P.formFields.get(); @@ -311,8 +311,8 @@ $(document).ready(function(){ dialog.alert({ content:"저장되었습니다.", init : () => { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : () => $P.provided.refreshList() }); @@ -336,8 +336,8 @@ $(document).ready(function(){ dialog.alert({ content:"삭제되었습니다.", init : () => { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : () => $P.provided.refreshList() }); 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 d7c93b85..4cdbf66c 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 @@ -654,7 +654,7 @@ $(document).ready(function(){ return; } - var cellDefs = getCellDefs( + var cellDefs = AppSupport.getCellDefs( $P.$find("photoInspection_Table_0").find("thead th").not(".dummy-th").not(":eq(0)"), $($P.find("photoInspectionRow").content).find("td").not(".dummy-td").not(":eq(0)") ); @@ -674,7 +674,7 @@ $(document).ready(function(){ if(excelTarget == "main"){ - var cellDefs = getCellDefs( + var cellDefs = AppSupport.getCellDefs( $P.$find("sameVehicleInspectionMain_Table_0").find("thead th").not(".dummy-th"), $($P.find("sameVehicleInspectionMainRow").content).find("td").not(".dummy-td") ); @@ -683,7 +683,7 @@ $(document).ready(function(){ $P.alt.download(); } else if(excelTarget == "sub"){ - var cellDefs = getCellDefs( + var cellDefs = AppSupport.getCellDefs( $P.$find("sameVehicleInspectionSub_Table_0").find("thead th").not(".dummy-th"), $($P.find("sameVehicleInspectionSubRow").content).find("td").not(".dummy-td"), FimsSupport.getCellDefsForPrivacyCell @@ -914,7 +914,7 @@ $(document).ready(function(){ dialog.alert({ content : resp.message, init : function(){ - focusClose(); + AppSupport.focusClose(); } }); return; @@ -965,7 +965,7 @@ $(document).ready(function(){ dialog.alert({ content : resp.message, init : function(){ - focusClose(); + AppSupport.focusClose(); } }); return; @@ -1028,7 +1028,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } 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 fa2a31e1..9c24414b 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 @@ -81,8 +81,8 @@ $(document).ready(function(){ dialog.alert({ content : "이미 가산 처리된 자료입니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); return; @@ -94,8 +94,8 @@ $(document).ready(function(){ dialog.alert({ content : "이미 감액 처리된 자료입니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); return; @@ -126,8 +126,8 @@ $(document).ready(function(){ dialog.alert({ content: "2시간 초과 처리되지 않은 자료입니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); return; @@ -152,8 +152,8 @@ $(document).ready(function(){ dialog.alert({ content : "저장됐습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); dialog.close($P.selfDlgId()); 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 901ffd83..c3287c5e 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 @@ -249,7 +249,7 @@ $(document).ready(function(){ return; } - var cellDefs = getCellDefs($P.$find("crdnTheadTr").find("th").not(".dummy-th").not(":eq(0)"), + var cellDefs = AppSupport.getCellDefs($P.$find("crdnTheadTr").find("th").not(".dummy-th").not(":eq(0)"), $($P.find("crdnRow").content).find("td").not(".dummy-td").not(":eq(0)")); $P.ctrl.query.cellDefs = cellDefs; @@ -328,7 +328,7 @@ $(document).ready(function(){ dialog.alert({ content : "선택된 자료가 없습니다.", init : function(){ - focusClose(); + AppSupport.focusClose(); } }); return; @@ -337,7 +337,7 @@ $(document).ready(function(){ dialog.alert({ content : "현 자료를 장애차량 확인된 자료로 변경하시겠습니까?", init : function(){ - focusOK(); + AppSupport.focusOK(); }, onOK : () => { var info = { 'crdnId' : $P.ctrl.dataset.getCurrent()["CRDN_ID"] }; 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 dd85da9e..52b09db5 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 @@ -244,8 +244,8 @@ $(document).ready(function(){ dialog.alert({ content : "파일 조회에 실패하였습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); } @@ -261,8 +261,8 @@ $(document).ready(function(){ dialog.alert({ content : "파일이 없습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); return; @@ -283,8 +283,8 @@ $(document).ready(function(){ dialog.alert({ content : "파일 업로드에 실패하였습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); return; @@ -378,8 +378,8 @@ $(document).ready(function(){ dialog.alert({ content : "모든 자료가 처리 완료되었습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); return; diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp index b7245a5d..fc36b5ff 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05030-info.jsp @@ -437,7 +437,7 @@ $(document).ready(function(){ $P.fnSave = async() => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; if($P.$find("doWarning").is(":checked")){ @@ -446,8 +446,8 @@ $(document).ready(function(){ dialog.alert({ content:"계고 처리를 하기 위해선 소유주정보가 입력되어야 합니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose:function(){rtpyrNm.focus();} }); @@ -494,8 +494,8 @@ $(document).ready(function(){ dialog.alert({ content : "저장됐습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); dialog.close($P.selfDlgId()); @@ -580,8 +580,8 @@ $(document).ready(function(){ dialog.alert({ content : "단속일자를 입력하세요.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : function(){ $P.$find("crdnYmd").focus(); } }); @@ -592,8 +592,8 @@ $(document).ready(function(){ dialog.alert({ content:"차량번호를 입력하세요.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose:function(){ $(vhrnoEl).focus(); } }); @@ -612,8 +612,8 @@ $(document).ready(function(){ dialog.alert({ content : "차량정보가 없습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); $P.$find("rtpyrId").val(""); 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 6fe28aa2..fd590ad8 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 @@ -420,7 +420,7 @@ $(document).ready(function(){ return; } - var cellDefs = getCellDefs($P.$find("crdnThead").find("th").not(".dummy-th").not(":eq(0)").not(":eq(0)"), + var cellDefs = AppSupport.getCellDefs($P.$find("crdnThead").find("th").not(".dummy-th").not(":eq(0)").not(":eq(0)"), $($P.find("crdnRow").content).find("td").not(".dummy-td").not(":eq(0)").not(":eq(0)")); $P.ctrl.query.cellDefs = cellDefs; @@ -538,8 +538,8 @@ $(document).ready(function(){ dialog.alert({ content : "처리되었습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : function(){ $P.refreshCrdnList(); @@ -581,7 +581,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } 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 fa96e6de..d5f3f688 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 @@ -266,8 +266,8 @@ dialog.alert({ content: showMessage , init: function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); @@ -323,8 +323,8 @@ dialog.alert({ content: "차량 정보가 없습니다.", init: function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); return; @@ -370,8 +370,8 @@ dialog.alert({ content: "단속일자를 입력하세요.", init: function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : function() { $P.$find("crdnYmd").focus(); } }); @@ -382,8 +382,8 @@ dialog.alert({ content: "차량번호를 입력하세요.", init: function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : function() { $P.$find("vhrno").focus(); } }); @@ -406,7 +406,7 @@ // 저장 $P.fnSave = () => { // validate 확인 - if (!customValidate($P.$find("frmEdit").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($P.$find("frmEdit").find("input, select, textarea"))) return; // 단속 ID let crdnId = $P.control.dataset.getValue("CRDN_ID"); @@ -416,8 +416,8 @@ dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" , init: function() { - setDialogZindex(); - focusOK(); + AppSupport.setDialogZindex(); + AppSupport.focusOK(); }, onOK: () => { $P.control.save($P.formFields.get()); // formFields } 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 7ecfdfaf..51674f8f 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 @@ -106,8 +106,8 @@ dialog.alert({ content: showMessage , init: function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); @@ -141,11 +141,13 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = (title) => { // validate 확인 - if (!customValidate($P.$find("frmEdit").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($P.$find("frmEdit").find("input, select, textarea"))) return; dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: function() { focusOK(); } + , init: function() { + AppSupport.focusOK(); + } , onOK: () => { $P.control.save($P.formFields.get()); // formFields } 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 8d3ffcce..4280e294 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 @@ -213,7 +213,7 @@ $(document).ready(function(){ return; } - var cellDefs = getCellDefs($P.$find("exmptnVhclTheadTr").find("th").not(".dummy-th").not(":eq(0)"), + var cellDefs = AppSupport.getCellDefs($P.$find("exmptnVhclTheadTr").find("th").not(".dummy-th").not(":eq(0)"), $($P.find("exmptnVhclRow").content).find("td").not(".dummy-td").not(":eq(0)")); $P.ctrl.query.cellDefs = cellDefs; @@ -276,7 +276,7 @@ $(document).ready(function(){ dialog.alert({ content : "삭제된 자료입니다.", init : function() { - focusClose(); + AppSupport.focusClose(); } }); return; @@ -370,7 +370,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onOK: () => { diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp index 2617b25b..9b28f5b2 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08020-info.jsp @@ -118,7 +118,7 @@ $(document).ready(function(){ $P.fnSave = async() => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; if(await confirm2("면제 차량 정보를 저장하시겠습니까?")){ var info = $P.formFields.get(); @@ -145,8 +145,8 @@ $(document).ready(function(){ dialog.alert({ content : "저장됐습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); dialog.close($P.selfDlgId()); 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 6c552061..8634a43b 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 @@ -400,7 +400,7 @@ $(document).ready(function(){ return; } - var cellDefs = getCellDefs($P.$find("crdnThead").find("th").not(".dummy-th").not(":eq(0)"), + var cellDefs = AppSupport.getCellDefs($P.$find("crdnThead").find("th").not(".dummy-th").not(":eq(0)"), $($P.find("crdnRow").content).find("td").not(".dummy-td").not(":eq(0)")); $P.ctrl.query.cellDefs = cellDefs; @@ -576,7 +576,7 @@ $(document).ready(function(){ $P.removeCallback = (resp) => { if (resp.saved){ $P.toast.show(); - sleep(1000).then(() => $P.refreshCrdnList()); + AppSupport.sleep(1000).then(() => $P.refreshCrdnList()); } }; @@ -590,7 +590,7 @@ $(document).ready(function(){ dialog.alert({ content : "접수일 : "+dateFormat.format(curRcptYmd)+"
모든 자료를 제거하시겠습니까?", init : function() { - focusOK(); + AppSupport.focusOK(); }, onOK : () => { $P.fnRemove(curRcptYmd); 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 8911f17a..20253dc4 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(){ dialog.alert({ content:"계고 처리를 하기 위해선 소유주정보가 입력되어야 합니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose:function(){rtpyrNm.focus();} }); @@ -497,7 +497,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); }, onClose : () => {} }); @@ -542,8 +542,8 @@ $(document).ready(function(){ dialog.alert({ content : "저장됐습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); @@ -630,8 +630,8 @@ $(document).ready(function(){ dialog.alert({ content : "복사 자료가 생성되었습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); @@ -664,7 +664,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } @@ -793,7 +793,7 @@ $(document).ready(function(){ $P.fnAccept = async() => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; var vhrno = $P.find("vhrno"); var rtpyrNm = $P.find("rtpyrNm"); @@ -802,8 +802,8 @@ $(document).ready(function(){ dialog.alert({ content:"수용 처리를 하기 위해선 차량번호가 입력되어야 합니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose:function(){vhrno.focus();} }); @@ -814,8 +814,8 @@ $(document).ready(function(){ dialog.alert({ content:"수용 처리를 하기 위해선 소유주정보가 입력되어야 합니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose:function(){rtpyrNm.focus();} }); @@ -847,8 +847,8 @@ $(document).ready(function(){ dialog.alert({ content : message, init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); @@ -924,8 +924,8 @@ $(document).ready(function(){ dialog.alert({ content:"단속일자를 입력하세요.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose:function(){ $P.$find("crdnYmd").focus(); } }); @@ -942,8 +942,8 @@ $(document).ready(function(){ dialog.alert({ content:"차량번호를 입력하세요.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose:function(){ $(vhrnoEl).focus(); } }); @@ -1003,8 +1003,8 @@ $(document).ready(function(){ dialog.alert({ content : "차량 정보가 없습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); return; @@ -1106,7 +1106,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); $(document).find("div.modal").last().on('shown.bs.modal', function () { let refDlgId = $P.refDlgId("crdnListDialog"); @@ -1145,7 +1145,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); $(document).find("div.modal").last().on('shown.bs.modal', function () { let refDlgId = $P.refDlgId("crdnListDialog"); 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 6250cc38..188855b5 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 @@ -351,7 +351,7 @@ $(document).ready(function(){ return; } - var cellDefs = getCellDefs($P.$find("crdnThead").find("th").not(".dummy-th").not(":eq(0)").not(":eq(0)"), + var cellDefs = AppSupport.getCellDefs($P.$find("crdnThead").find("th").not(".dummy-th").not(":eq(0)").not(":eq(0)"), $($P.find("crdnRow").content).find("td").not(".dummy-td").not(":eq(0)").not(":eq(0)")); $P.ctrl.query.cellDefs = cellDefs; @@ -550,7 +550,7 @@ $(document).ready(function(){ dialog.alert({ content : "선택된 "+count+"건의 자료를 답변등록을 실행하시겠습니까?", init : function() { - focusOK(); + AppSupport.focusOK(); }, onOK : () => { $P.save('answerExecute'); @@ -565,7 +565,7 @@ $(document).ready(function(){ dialog.alert({ content : "선택된 "+count+"건의 자료를 답변완료 상태로 변경하시겠습니까?", init : function() { - focusOK(); + AppSupport.focusOK(); }, onOK : () => { $P.save('answerComplete'); @@ -587,7 +587,7 @@ $(document).ready(function(){ dialog.alert({ content : "처리되었습니다.", init : function() { - focusClose(); + AppSupport.focusClose(); } }); $P.refreshCrdnList(); @@ -613,7 +613,7 @@ $(document).ready(function(){ dialog.alert({ content : "표지조회는 부과대상자료만 가능합니다.
선택된 자료 중에 부과대상자료가 없습니다.", init : function() { - focusClose(); + AppSupport.focusClose(); } }); return; @@ -627,8 +627,8 @@ $(document).ready(function(){ dialog.alert({ content : message, init : function() { - setDialogZindex(); - focusOK(); + AppSupport.setDialogZindex(); + AppSupport.focusOK(); }, onOK : () => { ajax.get({ @@ -640,8 +640,8 @@ $(document).ready(function(){ dialog.alert({ content : "표지정보조회가 실행되었습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); 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 48c6d7eb..3dd22b63 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 @@ -146,7 +146,7 @@ $(document).ready(function() { $P.fnSave = async() => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; if(await confirm2("현재 답변 내용을 저장하시겠습니까?")){ var info = $P.formFields.get(); @@ -171,8 +171,8 @@ $(document).ready(function() { dialog.alert({ content : "표지정보조회가 실행되었습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); } }); } 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 51c2bd68..d573ce50 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 @@ -361,7 +361,7 @@ $(document).ready(function(){ return; } - var cellDefs = getCellDefs($P.$find("crdnThead").find("th").not(".dummy-th").not(":eq(0)"), + var cellDefs = AppSupport.getCellDefs($P.$find("crdnThead").find("th").not(".dummy-th").not(":eq(0)"), $($P.find("crdnRow").content).find("td").not(".dummy-td").not(":eq(0)")); $P.ctrl.query.cellDefs = cellDefs; @@ -466,7 +466,7 @@ $(document).ready(function(){ $P.saveCallback = (selected, resp) => { if (resp.saved){ $P.toast.show(); - sleep(1000).then(() => $P.refreshCrdnList()); + AppSupport.sleep(1000).then(() => $P.refreshCrdnList()); } } 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 cde81450..19bd0873 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 @@ -353,7 +353,7 @@ $(document).ready(function(){ if (resp.saved){ $P.$find("toastText").html("삭제 되었습니다."); $P.toast.show(); - sleep(1000).then(() => $P.refreshDmndList()); + AppSupport.sleep(1000).then(() => $P.refreshDmndList()); } } @@ -375,7 +375,7 @@ $(document).ready(function(){ dialog.alert({ content : "요청 완료자료가 없습니다.", init : function() { - focusClose(); + AppSupport.focusClose(); } }); return; @@ -384,7 +384,7 @@ $(document).ready(function(){ dialog.alert({ content : "완료된 자료를 모두 삭제하시겠습니까?", init : function() { - focusOK(); + AppSupport.focusOK(); }, onOK : () => { $P.fnRemove(indivIds); @@ -419,7 +419,7 @@ $(document).ready(function(){ //요청 등록 $P.fnCreateDmnd = () => { - if(!customValidate($("#"+$P.refDlgId("seallDmndDialog")).find("[name='frmEdit']").find("input"))) return; + if(!AppSupport.customValidate($("#"+$P.refDlgId("seallDmndDialog")).find("[name='frmEdit']").find("input"))) return; let selectorStr = "#"+$P.refDlgId("seallDmndDialog")+" "+"form[name='frmEdit']"; let ff = new FimsFormFields(selectorStr); @@ -437,7 +437,7 @@ $(document).ready(function(){ $P.toast.show(); if(!$P.ctrl.dataset.empty){ - sleep(1000).then(() => $P.refreshDmndList()); + AppSupport.sleep(1000).then(() => $P.refreshDmndList()); } } } diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp index 786b19c2..3d455e5a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc05010-main.jsp @@ -586,7 +586,7 @@ $(document).ready(function(){ } - if(!customValidate($P.$find(formName).find("input, select, textarea"))) return; + if(!AppSupport.customValidate($P.$find(formName).find("input, select, textarea"))) return; var info = (new FimsFormFields($P.selector(formName))).get(); if(isBasicWords){ info.saveData = "basic"; @@ -597,7 +597,9 @@ $(document).ready(function(){ dialog.alert({ content : confirmMessage, - init : function() { focusOK(); }, + init : function() { + AppSupport.focusOK(); + }, onOK: () => { ajax.get({ @@ -606,7 +608,7 @@ $(document).ready(function(){ success : (resp) => { if(resp.saved){ $P.toast.show(); - sleep(1000).then(() => $P.refreshAnsWordsInfo()); + AppSupport.sleep(1000).then(() => $P.refreshAnsWordsInfo()); } } }); @@ -617,12 +619,14 @@ $(document).ready(function(){ //답변대상 제외 $P.fnRemove = () => { - if(!customValidate($P.$find("frmEditAnsBody").find("input, select, textarea"))) return; + if(!AppSupport.customValidate($P.$find("frmEditAnsBody").find("input, select, textarea"))) return; var info = (new FimsFormFields($P.selector("frmEditAnsBody"))).get(); dialog.alert({ content : "해당 미부과사유를 답변대상에서 제외하시겠습니까?", - init : function() { focusOK(); }, + init : function() { + AppSupport.focusOK(); + }, onOK: () => { ajax.get({ url : $P.ctrl.urls.remove, @@ -630,7 +634,7 @@ $(document).ready(function(){ success : (resp) => { if(resp.saved){ $P.toast.show(); - sleep(1000).then(() => $P.refreshAnsWordsInfo()); + AppSupport.sleep(1000).then(() => $P.refreshAnsWordsInfo()); } } }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc06010-main.jsp index 5c1176e6..f874da1a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc06010-main.jsp @@ -266,7 +266,7 @@ $(document).ready(function(){ //적용 $P.fnSave = () => { - if(!customValidate($P.$find("frmEditWarningWords").find("input, select, textarea"))) return; + if(!AppSupport.customValidate($P.$find("frmEditWarningWords").find("input, select, textarea"))) return; var info = (new FimsFormFields($P.selector("frmEditWarningWords"))).get(); @@ -275,7 +275,7 @@ $(document).ready(function(){ dialog.alert({ content : "저장하시겠습니까?", init : function() { - focusOK(); + AppSupport.focusOK(); }, onOK: () => { @@ -285,7 +285,7 @@ $(document).ready(function(){ success : (resp) => { if(resp.saved){ $P.toast.show(); - sleep(1000).then(() => $P.refreshWarningWordsInfo()); + AppSupport.sleep(1000).then(() => $P.refreshWarningWordsInfo()); } } }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp index cbea657a..de8dc458 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp @@ -321,7 +321,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -425,7 +425,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -446,14 +446,14 @@ if ($P.control.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp index 37d2acdf..6f8e5dd9 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02020-info.jsp @@ -110,7 +110,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -147,11 +147,11 @@ // 저장 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.control.save($P.formFields.get()); // formFields } diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp index 0b0f1672..9ddda768 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp @@ -556,7 +556,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -615,7 +615,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02040-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02040-info.jsp index 01984f74..e62a8658 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02040-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02040-info.jsp @@ -224,7 +224,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp index e883804a..b99b4a80 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp @@ -437,7 +437,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -468,7 +468,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp index aa8d6523..479088d6 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01010-main.jsp @@ -382,7 +382,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.ctrl.reload({all : true}); } // 자료 재조회 }); @@ -397,7 +397,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.ctrl.reload({ all: true }); } // 자료 재조회 @@ -508,7 +508,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { } }); @@ -637,7 +637,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } @@ -659,7 +659,7 @@ if ($P.ctrl.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -667,7 +667,7 @@ // DataTables(그리드) $P.ctrl.query.cellDefs = - getCellDefs($P.$find("theadTr").find("th").not(".dummy-th").not(":eq(0)") + AppSupport.getCellDefs($P.$find("theadTr").find("th").not(".dummy-th").not(":eq(0)") , $($P.find("tmpltRows").content).find("td").not(".dummy-td").not(":eq(0)")); $P.ctrl.download(); @@ -700,7 +700,7 @@ if (selected.length < 1) { dialog.alert({ content: "선택하신 " + $P.ctrl.prefixName + " 정보가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -719,7 +719,7 @@ , title: "삭제 사유" , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ btnTitle: btnTitle // 버튼 title diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp index a5c8eb36..72769be5 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl01020-info.jsp @@ -139,7 +139,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if ("${savedCallbackFuncName}" != "") { @@ -199,11 +199,11 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; + if (!AppSupport.customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; dialog.alert({ content: "현재 " + $P.ctrl.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.ctrl.save($P.formFields.get()); } // formFields }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp index 2a7dc845..e2db1332 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02010-main.jsp @@ -431,7 +431,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.ctrl.reload({all : true}); } // 자료 재조회 }); @@ -446,7 +446,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.ctrl.reload({ all: true }); } // 자료 재조회 @@ -558,7 +558,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { } }); @@ -600,7 +600,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } @@ -627,7 +627,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.ctrl.reload({all : true}); } // 자료 재조회 }); @@ -756,7 +756,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } @@ -778,7 +778,7 @@ if ($P.ctrl.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -786,7 +786,7 @@ // DataTables(그리드) $P.ctrl.query.cellDefs = - getCellDefs($P.$find("theadTr").find("th").not(".dummy-th").not(":eq(0)") + AppSupport.getCellDefs($P.$find("theadTr").find("th").not(".dummy-th").not(":eq(0)") , $($P.find("tmpltRows").content).find("td").not(".dummy-td").not(":eq(0)")); $P.ctrl.download(); @@ -850,7 +850,7 @@ if (selected.length < 1) { dialog.alert({ content: "선택하신 " + $P.ctrl.prefixName + " 정보가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -869,7 +869,7 @@ , title: "삭제 사유" , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ btnTitle: btnTitle // 버튼 title @@ -889,7 +889,7 @@ if (selected.length < 1) { dialog.alert({ content: "선택하신 " + $P.ctrl.prefixName + " 정보가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp index cd9b72a3..d65af763 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02020-info.jsp @@ -238,7 +238,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { @@ -325,7 +325,7 @@ , init: () => { $("#searchAddrCallback").val("pageObject['${pageName}'].callbackSearchAddr"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } @@ -390,7 +390,7 @@ if (attFileCnt + fileNo > maxFileCnt) { dialog.alert({ content : "첨부파일은 최대 " + maxFileCnt + "개 까지 첨부 가능합니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -456,11 +456,11 @@ // 저장 $P.fnSave = () => { // validate 확인 - if (!customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; + if (!AppSupport.customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; dialog.alert({ content: "현재 " + $P.ctrl.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.ctrl.save($P.formFields.get()); } // formFields }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp index aec37123..8c007e66 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02030-info.jsp @@ -178,7 +178,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -231,7 +231,7 @@ // 저장 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; // 감경 사유 확인 let opnnSbmsnSttsCd = $("#opnnSbmsnSttsCd--${pageName}").val(); @@ -242,7 +242,7 @@ dialog.alert({ content: "감경사유가 '" + rdctRsnNm + "' 입니다." + "
" + "[" + $P.control.prefixName + " 저장" + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -250,7 +250,7 @@ dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.control.save($P.formFields.get()); // formFields } diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02040-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02040-info.jsp index 16e1d3c5..170b90ae 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl02040-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl02040-info.jsp @@ -163,7 +163,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { dialog.close($P.selfDlgId()); } @@ -199,11 +199,11 @@ // 저장 $P.fnSave = () => { // validate 확인 - if (!customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; + if (!AppSupport.customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; dialog.alert({ content: "현재 " + $P.ctrl.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.ctrl.save($P.formFields.get()); } // formFields }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp index 150b23b8..ad4d5105 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp @@ -451,7 +451,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -478,7 +478,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp index 22e696de..cf6a201e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp @@ -540,7 +540,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -567,7 +567,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp index 9ddd67d1..4a26e607 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01020-info.jsp @@ -130,7 +130,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -164,14 +164,14 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; // 메인에서 받은 검색 조건과 객체를 합친다. let params = $.extend({}, $P.mainQuery, $P.formFields.get()); dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.control.save(params); // formFields } diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp index 6d6c0073..54b22ee4 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp @@ -563,7 +563,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -590,7 +590,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp index 830b696c..36f89d22 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp @@ -548,7 +548,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -575,7 +575,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -628,7 +628,7 @@ , title: title , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ reason: $("#reason").val() }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp index cf0ccaa2..8071d3bc 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/levy/levy02020-info.jsp @@ -136,7 +136,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -173,7 +173,7 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; // 감경 사유 let rdctRsnCd = $("#rdctRsnCd--${pageName} option:selected").val(); @@ -191,7 +191,7 @@ dialog.alert({ content : "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.control.save($P.formFields.get()); // formFields } diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp index 3e977d9f..df87a10b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01020-info.jsp @@ -113,7 +113,7 @@ $(document).ready(function(){ **************************************************************************/ $P.fnSave = () => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; var info = $P.formFields.get(); diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp index fc313944..8c09a172 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt02020-info.jsp @@ -108,7 +108,7 @@ $(document).ready(function(){ **************************************************************************/ $P.fnSave = () => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; var info = $P.formFields.get(); @@ -128,8 +128,8 @@ $(document).ready(function(){ dialog.alert({ content:"저장되었습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : () => { info.schdlId = resp.schdlId; @@ -149,8 +149,8 @@ $(document).ready(function(){ dialog.alert({ content:"저장되었습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : () => { $P.provided.refresh("modify", info); @@ -176,8 +176,8 @@ $(document).ready(function(){ dialog.alert({ content:"삭제되었습니다.", init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : () => { $P.provided.refresh("del", { schdlId : info.schdlId }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp01010-main.jsp index ccdae165..b53c686b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp01010-main.jsp @@ -425,8 +425,8 @@ $(document).ready(function(){ dialog.alert({ content : "저장됐습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : () => { $P.getSggInfo(); @@ -484,8 +484,8 @@ $(document).ready(function(){ dialog.alert({ content : "저장됐습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : () => { $P.getSggTaskInfo().then(()=>{ $P.getVltnInfo(); }); @@ -519,8 +519,8 @@ $(document).ready(function(){ dialog.alert({ content : "저장됐습니다.", init : function(){ - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, onClose : () => { $P.getSggTaskInfo().then(()=>{ $P.getVltnInfo(); }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02020-info.jsp index 6fc016a8..d65dbc89 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02020-info.jsp @@ -305,7 +305,7 @@ $(document).ready(function(){ **************************************************************************/ $P.fnSave = () => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; var info = $P.formFields.get(); if(info.deptID.length != 7){ diff --git a/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp index d63f7d65..d6c82ade 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/payer/payer01020-info.jsp @@ -361,7 +361,7 @@ , content: template , init: () => { $("#searchAddrCallback").val("pageObject['${pageName}'].callbackSearchAddr"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } @@ -392,7 +392,7 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" diff --git a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp index 24f83906..a572635f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp @@ -601,7 +601,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -628,7 +628,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -663,7 +663,7 @@ , title: title , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ reason : $("#reason").val() }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp index 6d7164c9..f10dff72 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rcvm/rcvm01020-info.jsp @@ -227,7 +227,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -268,7 +268,7 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; // 수납금액 확인 let rcvmtAmt = $("#rcvmtAmt--${pageName}").val(); @@ -282,7 +282,7 @@ dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.control.save($P.formFields.get()); // formFields } diff --git a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp index e8bbc94b..c69a9012 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp @@ -588,7 +588,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -643,7 +643,7 @@ size : "lg", content: template, init : () => { - setDialogZindex(); + AppSupport.setDialogZindex(); }, onOK : () => { $P.callbackRsn({ reason : $("#reason").val() }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp index 5bd3d8b6..389f165e 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rdca/rdca01020-info.jsp @@ -198,7 +198,7 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content : "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp index b5f31a4d..dd8968ba 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01010-main.jsp @@ -212,7 +212,7 @@ , size: $P.ctrl.infoSize , content: resp , init: () => { - setDialogZindex(); + AppSupport.setDialogZindex(); $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); @@ -230,7 +230,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.ctrl.reload({ all: true }); } // 자료 재조회 @@ -352,7 +352,7 @@ if ($P.ctrl.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -360,7 +360,7 @@ // DataTables(그리드) $P.ctrl.query.cellDefs = - getCellDefs($P.$find("theadTr").find("th").not(".dummy-th").not(":eq(0)") + AppSupport.getCellDefs($P.$find("theadTr").find("th").not(".dummy-th").not(":eq(0)") , $($P.find("tmpltRows").content).find("td").not(".dummy-td").not(":eq(0)")); $P.ctrl.download(); @@ -384,7 +384,7 @@ if (selected.length < 1) { dialog.alert({ content: "선택하신 " + $P.ctrl.prefixName + " 정보가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp index c7953b26..10e24822 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01020-info.jsp @@ -205,7 +205,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { dialog.close($P.selfDlgId()); } @@ -232,7 +232,7 @@ , size: $P.ctrl.infoSize , content: resp , init: () => { - setDialogZindex(); + AppSupport.setDialogZindex(); $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); @@ -250,7 +250,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.ctrl.reload({ all: true }); } // 자료 재조회 @@ -382,7 +382,7 @@ // DataTable(그리드) $P.ctrl.query.cellDefs = - getCellDefs($P.$find("theadTr").find("th").not(".dummy-th").not(":eq(0)") + AppSupport.getCellDefs($P.$find("theadTr").find("th").not(".dummy-th").not(":eq(0)") , $($P.find("tmpltRows").content).find("td").not(".dummy-td").not(":eq(0)")); $P.ctrl.download(); diff --git a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-info.jsp index 06de69da..f75ba71a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/rent/rent01030-info.jsp @@ -151,7 +151,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { dialog.close($P.selfDlgId()); } @@ -185,7 +185,7 @@ , size: "lg" , content: template , init: () => { - setDialogZindex(); + AppSupport.setDialogZindex(); $("#searchAddrCallback").val("pageObject['${pageName}'].callbackSearchAddr"); } @@ -195,11 +195,11 @@ // 임대기업 등록 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; + if (!AppSupport.customValidate($P.$find("frmEdit").find("input,select,textarea"))) return; dialog.alert({ content: "현재 " + $P.ctrl.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.ctrl.save($P.formFields.get()); } // formFields }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp index 06eb6710..c54099cb 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp @@ -571,7 +571,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -599,7 +599,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp index 89b6fbd6..884bd13d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01020-info.jsp @@ -230,7 +230,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -342,11 +342,11 @@ // 저장 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { // 검색조건과 저장 파라미터 객체를 합친다. let params = $.extend({}, $P.mainQuery, $P.formFields.get()); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp index ebe76db3..bf3d9870 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp @@ -339,7 +339,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -459,7 +459,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -482,14 +482,14 @@ if ($P.control.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -506,7 +506,7 @@ if (selected.length < 1) { dialog.alert({ content: "선택하신 " + $P.control.prefixName + " 정보가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -525,7 +525,7 @@ , title: title , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ reason: $("#reason").val() }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp index 09bd569a..50e06e11 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp @@ -272,7 +272,7 @@ if ($P.control.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -284,7 +284,7 @@ $P.control.query.delYn = "N"; // 삭제 여부 // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -296,7 +296,7 @@ // 계고장출력 버튼 이벤트 $P.fnPrint = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: $P.control.prefixName + " 정보를 출력하시겠습니까?" diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp index a726fa27..dee1795f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp @@ -528,7 +528,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -565,7 +565,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp index 5bbe859c..970652f6 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01060-info.jsp @@ -227,7 +227,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -325,11 +325,11 @@ // 저장 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { // 검색조건과 저장 파라미터 객체를 합친다. let params = $.extend({}, $P.mainQuery, $P.formFields.get()); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp index 9e5095aa..0804b4da 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp @@ -327,7 +327,7 @@ , title: params.title , content: resp , size: $P.control.infoSize - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -341,7 +341,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -463,7 +463,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -485,14 +485,14 @@ if ($P.control.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -509,7 +509,7 @@ if (selected.length < 1) { dialog.alert({ content: "선택하신 " + $P.control.prefixName + " 정보가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -528,7 +528,7 @@ , title: title , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ reason: $("#reason").val() }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp index 399e9c73..9f9aed7a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp @@ -310,7 +310,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.fnRefreshList(); } // 자료 재조회 }); } @@ -330,7 +330,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.fnRefreshList(); } // 자료 재조회 }); } @@ -359,7 +359,7 @@ dialog.alert({ content : showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK : () => { $P.fnRefreshList(); } // 자료 재조회 }); } @@ -378,7 +378,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.fnRefreshList(); } // 자료 재조회 }); } @@ -393,7 +393,7 @@ if ($P.control.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -405,7 +405,7 @@ $P.control.query.delYn = "N"; // 삭제 여부 // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -417,11 +417,11 @@ // 세외수입 과태료 대장 단속 정보 등록 버튼 이벤트 $P.fnLinkNxrpIndivA01 = (title) => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: "세외수입 과태료 대장에 단속 정보를 등록하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { let params = { callPurpose: "create" @@ -440,11 +440,11 @@ // 세외수입 과태료 대장 등록 자료 상세 조회 버튼 이벤트 $P.fnLinkNxrpIndivA03 = (title) => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: "세외수입 과태료 대장을 조회하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { let params = { callPurpose: "update" @@ -463,7 +463,7 @@ // 우편통합발송 버튼 이벤트 $P.fnCreateSndngLink = async(title) => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; let resp = await fetch(wctx.url("/resources/html/inputDateDialog.html")); let template = await resp.text(); @@ -474,7 +474,7 @@ , size: "md" , content: template , init: () => { - setDialogZindex(); + AppSupport.setDialogZindex(); $("#divPostSndng").show(); AppSupport.initDatepicker("frmInputDate"); @@ -496,7 +496,7 @@ // 사전통지 출력 버튼 이벤트 $P.fnMakeFileAdvntce = (title, fileType, paper) => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; let submitParam = { sggCd: $P.control.dataset.getValue("SGG_CD") // 시군구 코드 @@ -534,7 +534,7 @@ content: fileTypeName+" 생성 중 오류가 발생하였습니다." +"
" +responseJson.description, - init: () => { setDialogZindex(); } + init: () => { AppSupport.setDialogZindex(); } }); }); new Error(""); @@ -556,7 +556,7 @@ // 반송확인 버튼 이벤트 $P.fnCreateSndbk = (title) => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: "종적결과를 확인하시겠습니까?" diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp index fa2af24d..3451747d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp @@ -479,7 +479,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -504,7 +504,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01100-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01100-info.jsp index bed603b3..3869f4ad 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01100-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01100-info.jsp @@ -198,7 +198,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -249,7 +249,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); } @@ -275,7 +275,7 @@ // 세외수입 과태료 대장 등록 자료 상세 조회 버튼 이벤트 $P.fnLinkNxrpSpclB01 = (title) => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: title + "를 조회하시겠습니까?" @@ -295,11 +295,11 @@ // 저장 버튼 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content : $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK : () => { // 검색조건과 저장 파라미터 객체를 합친다. let params = $.extend({}, $P.formEditFields.get(), $P.formFields.get()); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp index 9f6a8833..8e63c367 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp @@ -341,7 +341,7 @@ , title: params.title , content: resp , size: $P.control.infoSize - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -355,7 +355,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -439,7 +439,7 @@ , title: "고지서 발송 대상" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -494,7 +494,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -521,14 +521,14 @@ if ($P.control.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -557,7 +557,7 @@ if (selected.length < 1) { dialog.alert({ content: "선택하신 " + $P.control.prefixName + " 정보가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -576,7 +576,7 @@ , title: title , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ reason: $("#reason").val() }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp index 6f535e5e..08a1853a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp @@ -301,7 +301,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.fnRefreshList(); } // 자료 재조회 }); } @@ -316,7 +316,7 @@ if ($P.control.dataset.empty) { dialog.alert({ content: "검색된 자료가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -328,7 +328,7 @@ $P.control.query.delYn = "N"; // 삭제 여부 // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -340,7 +340,7 @@ // 고지서 출력 버튼 이벤트 $P.fnMakeFileNht = (title, fileType, paper) => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; let submitParam = { sggCd: $P.control.dataset.getValue("SGG_CD") // 시군구 코드 @@ -378,7 +378,7 @@ content: fileTypeName+" 생성 중 오류가 발생하였습니다." +"
" +responseJson.description, - init: () => { setDialogZindex(); } + init: () => { AppSupport.setDialogZindex(); } }); }); new Error(""); @@ -405,7 +405,7 @@ // 반송(종적결과) 확인 $P.fnCreateSndbk = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content: "종적결과를 확인하시겠습니까?" diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp index 751fcecc..789e062d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp @@ -340,7 +340,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -476,7 +476,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -503,7 +503,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -520,14 +520,14 @@ if (selected.length < 1) { dialog.alert({ content: "선택하신 " + $P.control.prefixName + " 정보가 없습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; } // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; let params = $P.formEditFields.get(); // formFields params.sggCd = $("#sggCd--${pageName}").val() // 시군구 코드 diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp index 34cba066..05fd54b8 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp @@ -580,7 +580,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -613,7 +613,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp index 24d0eca6..d8cfe3d0 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01230-info.jsp @@ -119,7 +119,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -156,7 +156,7 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; // 파리미터 설정 let params = $P.formFields.get(); // formFields @@ -164,7 +164,7 @@ dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.control.save(params); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp index ab0cef21..46088aac 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp @@ -340,7 +340,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -483,7 +483,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -510,7 +510,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -544,7 +544,7 @@ , size: "lg" , content: template , init: () => { - setDialogZindex(); + AppSupport.setDialogZindex(); $("#docNo").val(docNo); $("#ttlNm").val(ttlNm); @@ -617,7 +617,7 @@ , title: title , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ reason: $("#reason").val() }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp index 3962b8ff..4927d7cf 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp @@ -244,7 +244,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -387,7 +387,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -421,7 +421,7 @@ , size: "lg" , content: template , init: () => { - setDialogZindex(); + AppSupport.setDialogZindex(); $("#docNo").val(docNo); $("#ttlNm").val(ttlNm); @@ -463,7 +463,7 @@ , title: title , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ reason: $("#reason").val() }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp index 57ea34a7..d67812ad 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sndb/sndb01260-info.jsp @@ -144,7 +144,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -181,14 +181,14 @@ // 저장 버튼 클릭 이벤트 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; // 검색조건과 저장 파라미터 객체를 합친다. let params = $.extend({}, $P.mainQuery, $P.formFields.get()); dialog.alert({ content: "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.control.save(params); } 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 f1f79d25..927b22f6 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 @@ -246,7 +246,7 @@ $(document).ready(function() { return; } - cellDefs = getCellDefs( + cellDefs = AppSupport.getCellDefs( $P.$find("upTheadTr").find("th").not(".dummy-th").not(":eq(0)"), $($P.find("row").content).find("td").not(".dummy-td").not(":eq(0)"), FimsSupport.getCellDefsForPrivacyCell @@ -259,7 +259,7 @@ $(document).ready(function() { return; } - cellDefs = getCellDefs( + cellDefs = AppSupport.getCellDefs( $P.$find("downTheadTr").find("th").not(".dummy-th").not(":eq(0)"), $($P.find("row").content).find("td").not(".dummy-td").not(":eq(0)"), FimsSupport.getCellDefsForPrivacyCell @@ -744,7 +744,7 @@ $(document).ready(function() { $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose : () => { } }); 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 c0d378d8..48b06a0a 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 @@ -119,7 +119,7 @@ $(document).ready(function(){ $P.fnExcelDown = () => { var query = {}; - var cellDefs = getCellDefs($P.$find("theadTr").find("th").not(".dummy-th"), + var cellDefs = AppSupport.getCellDefs($P.$find("theadTr").find("th").not(".dummy-th"), $($P.find("found").content).find("td").not(".dummy-td")); query.cellDefs = cellDefs; 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 8a4f8cdb..c16ae9d3 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 @@ -204,7 +204,7 @@ $(document).ready(function(){ //교부청구서 파일 생성 $P.fnMakeRequestForDeliveryFile = () => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; $P.checkActno(); } @@ -290,7 +290,7 @@ $(document).ready(function(){ //채권신고서 파일 생성 $P.fnMakeReportOnClaimsFile = () => { - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; var url = wctx.url("/sprt/sprt01/120/makeReportOnClaimsFileFromHwpFormat.do"); var formFields = new FimsFormFields($P.selector("frmEdit")); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp index 630b7573..41f0115b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01140-info.jsp @@ -123,7 +123,7 @@ $(document).ready(function(){ return; } - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; var checkedCrdnIds = []; checkboxes.each(function(){ @@ -179,7 +179,7 @@ $(document).ready(function(){ content: fileTypeName+" 생성 중 오류가 발생하였습니다." +"
" +responseJson.description, - init: () => { setDialogZindex(); } + init: () => { AppSupport.setDialogZindex(); } }); }); new Error(""); @@ -236,7 +236,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); let refDlgId = $P.refDlgId(dialogName); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp index 0cd95c62..47a5f09b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt01150-info.jsp @@ -120,7 +120,7 @@ $(document).ready(function(){ return; } - if(!customValidate($P.$find("frmEdit").find("input"))) return; + if(!AppSupport.customValidate($P.$find("frmEdit").find("input"))) return; var checkedCrdnIds = []; checkboxes.each(function(){ @@ -174,7 +174,7 @@ $(document).ready(function(){ content: fileTypeName+" 생성 중 오류가 발생하였습니다." +"
" +responseJson.description, - init: () => { setDialogZindex(); } + init: () => { AppSupport.setDialogZindex(); } }); }); new Error(""); @@ -230,7 +230,7 @@ $(document).ready(function(){ $("#"+dialogId).attr("name", dialogName); $("#"+dialogId).attr("data-ref-doctx","${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); let refDlgId = $P.refDlgId(dialogName); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp index 820b8aeb..506b9518 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02020-info.jsp @@ -417,7 +417,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -431,7 +431,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { pageObject["${mainPageName}"].fnClose(true); } @@ -508,7 +508,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } @@ -535,7 +535,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } }); } @@ -568,7 +568,7 @@ if (resp.saved) { dialog.alert({ content: "단속 재등록 작업이 처리되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); } @@ -596,7 +596,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -616,7 +616,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.fnRefreshDataInfo(); } // 자료 재조회 @@ -654,7 +654,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -677,7 +677,7 @@ dialog.alert({ content: "조회된 민원 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -706,7 +706,7 @@ dialog.alert({ content: "조회된 민원 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -758,7 +758,7 @@ content: "[" + title + "]" + " 작업은 단속상태가 '부과 이전' 자료만 처리 가능합니다." + "
" + "단속상태 : " + crdnSttsNm + "

" + "[" + title + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -777,7 +777,7 @@ , title: btnTitle , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ btnTitle: btnTitle // 버튼 title @@ -807,7 +807,7 @@ content: "[" + btnTitle + "]" + " 작업은 단속상태가 '비부과', '계고', '부과취소' 자료만 처리 가능합니다." + "
" + "단속상태 : " + crdnSttsNm + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -815,7 +815,7 @@ dialog.alert({ content: "현재 단속 정보를 재등록 하겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { let params = { callPurpose: "create" @@ -867,7 +867,7 @@ dialog.alert({ content: fileTypeName + " 생성 중 오류가 발생하였습니다." + "
" + responseJson.description - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); }); @@ -919,7 +919,7 @@ dialog.alert({ content: "조회된 납부자 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -927,7 +927,7 @@ dialog.alert({ content: "선택한 자료의 납부자 정보를 초기화 하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { let params = { callPurpose: "initialize" diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp index 28c20385..9ad0646a 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02030-info.jsp @@ -262,7 +262,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -277,7 +277,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { @@ -359,7 +359,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -427,7 +427,7 @@ dialog.alert({ content: "조회된 의견제출 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -454,7 +454,7 @@ dialog.alert({ content: "조회된 의견제출 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -470,7 +470,7 @@ content: "[" + btnTitle + "]" + " 작업은 심의결과가 '접수', '자진취하' 자료만 삭제 가능합니다." + "
" + "심의결과 : " + opnnSbmsnSttsNm + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -489,7 +489,7 @@ , title: btnTitle , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ btnTitle: btnTitle // 버튼 title @@ -511,7 +511,7 @@ dialog.alert({ content: "조회된 의견제출 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -537,7 +537,7 @@ dialog.alert({ content: "조회된 의견제출 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -553,7 +553,7 @@ content: "[" + btnTitle + "]" + " 작업은 단속상태가 '의견제출수용', '경찰서이첩', '부과 이전' 자료만 처리 가능합니다." + "
" + "단속상태 : " + crdnSttsNm + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02040-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02040-info.jsp index bc381152..d8e7d9fb 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02040-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02040-info.jsp @@ -304,7 +304,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -318,7 +318,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.fnRefreshDataInfo(); } // 자료 재조회 @@ -440,7 +440,7 @@ dialog.alert({ content: "미배달 사유가 " + undlvrRsnNm + " (으)로 반송 등록 되어 있습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -456,7 +456,7 @@ content: "[" + btnTitle + "]" + " 작업은 발송상세 상태가 '발송' 또는 '발송확인' 자료만 처리 가능합니다." + "
" + "발송상세상태 : " + sndngDtlSttsNm + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -490,7 +490,7 @@ dialog.alert({ content: "조회된 반송(미배달) 사유가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -524,7 +524,7 @@ content: "[" + btnTitle + "]" + " 작업은 발송상세 상태가 '반송' 자료만 처리 가능합니다." + "
" + "발송상세상태 : " + sndngDtlSttsNm + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -541,7 +541,7 @@ dialog.alert({ content: "선택한 반송 정보를 삭제하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.ctrlSndngDtl.remove(params); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp index ca521f9b..8f97aaa5 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02050-info.jsp @@ -349,7 +349,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -364,7 +364,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.fnRefreshDataInfo(); } // 자료 재조회 @@ -423,7 +423,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -439,7 +439,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.fnRefreshDataInfo(); } // 자료 재조회 @@ -661,7 +661,7 @@ dialog.alert({ content: "조회된 감경 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -680,7 +680,7 @@ , title: btnTitle , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ btnTitle: btnTitle // 버튼 title @@ -742,7 +742,7 @@ dialog.alert({ content: "조회된 부과제외 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -770,7 +770,7 @@ dialog.alert({ content: "조회된 부과제외 대장 정보가 없습니다." + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -789,7 +789,7 @@ , title: btnTitle , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsnLevyExcl({ btnTitle: btnTitle // 버튼 title diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp index 85e48200..e3fc02cd 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02060-info.jsp @@ -388,7 +388,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp index 6abbc199..e6a9e725 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02070-info.jsp @@ -296,7 +296,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -313,7 +313,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.fnRefreshDataInfo(); } // 자료 재조회 @@ -341,7 +341,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.fnRefreshDataInfo(); } // 자료 재조회 @@ -489,7 +489,7 @@ , title: btnTitle , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ btnTitle: btnTitle // 버튼 title @@ -517,7 +517,7 @@ content: "[" + btnTitle + "]" + " 작업은 rcvmtInptSeNm 구분이 '수기' 자료만 처리 가능합니다." + "
" + "수납입력구분 : " + crdnSttsNm + "

" + "[" + btnTitle + "]" + " 실행이 취소되었습니다." - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); return; @@ -536,7 +536,7 @@ , title: btnTitle , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ btnTitle: btnTitle // 버튼 title diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp index 9e21d0f6..db3f2566 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt02080-info.jsp @@ -159,7 +159,7 @@ $("#" + dialogId).attr("name", dialogName); $("#" + dialogId).attr("data-ref-doctx", "${pageName}"); - setDialogZindex(); + AppSupport.setDialogZindex(); } , onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회 }); @@ -173,7 +173,7 @@ dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } , onClose: () => { if (resp.saved) { $P.fnRefreshDataInfo(); } // 자료 재조회 @@ -321,7 +321,7 @@ , title: btnTitle , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ btnTitle: btnTitle // 버튼 title diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp index bf08d222..41dbf8c7 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp @@ -449,7 +449,7 @@ , title: "사용자 검색" , content: resp , size: "lg" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } }); } }); @@ -476,7 +476,7 @@ } // DataTables(그리드) - let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") + let cellDefs = AppSupport.getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") , FimsSupport.getCellDefsForPrivacyCell); @@ -529,7 +529,7 @@ , title: title , size: "lg" , content: template - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.callbackRsn({ reason: $("#reason").val() }); } diff --git a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp index a32d6d08..8d59361f 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/sprt/sprt04020-info.jsp @@ -115,7 +115,7 @@ // 메시지 출력 dialog.alert({ content: showMessage - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { } }); @@ -152,11 +152,11 @@ // 저장 $P.fnSave = () => { // validate 확인 - if (!customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; + if (!AppSupport.customValidate($("#frmEdit--${pageName}").find("input, select, textarea"))) return; dialog.alert({ content : "현재 " + $P.control.prefixName + " 정보를 저장하시겠습니까?" - , init: () => { setDialogZindex(); } + , init: () => { AppSupport.setDialogZindex(); } , onOK: () => { $P.control.save($P.formFields.get()); // formFields } diff --git a/src/main/webapp/WEB-INF/jsp/fims/stng01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/stng01010-main.jsp index 0c13a724..13f7c5ac 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/stng01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/stng01010-main.jsp @@ -772,7 +772,7 @@ $(document).ready(function(){ content: "PDF 파일 생성 중 오류가 발생하였습니다." +"
" +responseJson.description, - init: () => { setDialogZindex(); } + init: () => { AppSupport.setDialogZindex(); } }); }); new Error(""); diff --git a/src/main/webapp/WEB-INF/jsp/include/tail.jsp b/src/main/webapp/WEB-INF/jsp/include/tail.jsp index e42d546e..ebc88578 100644 --- a/src/main/webapp/WEB-INF/jsp/include/tail.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/tail.jsp @@ -41,6 +41,7 @@ + @@ -49,7 +50,7 @@ - + diff --git a/src/main/webapp/WEB-INF/jsp/include/top.jsp b/src/main/webapp/WEB-INF/jsp/include/top.jsp index eb943c8a..0a38b488 100644 --- a/src/main/webapp/WEB-INF/jsp/include/top.jsp +++ b/src/main/webapp/WEB-INF/jsp/include/top.jsp @@ -178,7 +178,7 @@ async function fnOpenTempFileUploadWindow(){ size : "lg", content: template, init : () => { - setDialogZindex(); + AppSupport.setDialogZindex(); } }); @@ -396,8 +396,8 @@ function showHelp(){ +"", timeout : 0, init : function() { - setDialogZindex(); - focusClose(); + AppSupport.setDialogZindex(); + AppSupport.focusClose(); }, }); } diff --git a/src/main/webapp/WEB-INF/jsp/login.jsp b/src/main/webapp/WEB-INF/jsp/login.jsp index 7cee0db4..ed3cc401 100644 --- a/src/main/webapp/WEB-INF/jsp/login.jsp +++ b/src/main/webapp/WEB-INF/jsp/login.jsp @@ -142,7 +142,7 @@ function login() { dialog.alert({ content:resp.reason, init : function() { - setDialogZindex(); + AppSupport.setDialogZindex(); focusClose(); }, onClose:() => $("#userId").focus() @@ -154,7 +154,7 @@ function login() { dialog.alert({ content : resp.message, init : function() { - setDialogZindex(); + AppSupport.setDialogZindex(); focusClose(); }, onOK : function() { diff --git a/src/main/webapp/resources/js/fims/cmmn/fims-support.js b/src/main/webapp/resources/js/fims/cmmn/fims-support.js index ecbb5844..a2a06b1b 100644 --- a/src/main/webapp/resources/js/fims/cmmn/fims-support.js +++ b/src/main/webapp/resources/js/fims/cmmn/fims-support.js @@ -361,7 +361,7 @@ class FimsSupport { static getCurrentAreaForShortcutKey(){ if(FimsSupport.isActiveBackdrop()){ - return getLastOpenDialog(); + return AppSupport.getLastOpenDialog(); } else { return FimsSupport.getActiveRootTabArea(); } diff --git a/src/main/webapp/resources/js/fims/cmmn/string-support.js b/src/main/webapp/resources/js/fims/cmmn/string-support.js deleted file mode 100644 index 647d09c1..00000000 --- a/src/main/webapp/resources/js/fims/cmmn/string-support.js +++ /dev/null @@ -1,59 +0,0 @@ -class StringSupport { - - static help(){ - console.log("snakeToCamel(문자열) : 스네이크 표기법을 카멜 표기법으로 변경한다."); - console.log("camelToKebab(문자열) : 카멜 표기법을 케밥 표기법으로 변경한다."); - console.log("escapeHTMLEntity(문자열) : HTML 엔티티 문자코드를 특수문자로 치환한다."); - } - - /** - * 스네이크 표기법을 카멜 표기법으로 변경한다. - * @return 치환된 문자열 - */ - static snakeToCamel(text){ - text = text.toLowerCase(); - var arrUnderbar = text.match(/\_[a-zA-Z]/g); - if(arrUnderbar){ - for(var j = 0; j < arrUnderbar.length; j++) { - text = text.replace(arrUnderbar[j], arrUnderbar[j].toUpperCase().replace("_", "")); - } - } - return text; - } - - /** - * 카멜 표기법을 케밥 표기법으로 변경한다. - * @return 치환된 문자열 - */ - static camelToKebab(text){ - return text.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(); - } - - /** - * HTML 엔티티 문자코드를 특수문자로 치환한다. - * @return 치환된 문자열 - */ - static escapeHTMLEntity(str) { - if(str == undefined || str == null){ - return "" - } - - var regex = /&(amp|lt|gt|quot|#39);/g; - var chars = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'" - }; - - if(regex.test(str)) { - return str.replace(regex, (matched) => chars[matched] || matched); - } else { - return str; - } - } - -} - -