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 6d24ba64..d8b031f1 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 @@ -175,10 +175,10 @@ - - @@ -353,7 +353,7 @@ // 개별총정보 dialog ${pageName}Control.getInfo = (crdnId) => { - if (!crdnId) return; + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; let params = { callControlName : "${pageName}Control" 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 c0a40185..a9720f2f 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 @@ -175,13 +175,13 @@ - - - @@ -359,7 +359,7 @@ // 개별총정보 dialog ${pageName}Control.getInfo = (crdnId) => { - if (!crdnId) return; + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; let params = { callControlName : "${pageName}Control" 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 cd48dfe6..9470483f 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 @@ -142,7 +142,7 @@ - @@ -159,9 +159,6 @@ NO. - - - 업무구분 재등록일자 단속등록구분 @@ -182,9 +179,6 @@ @@ -279,27 +273,15 @@ $("#tbody--${pageName}").setCurrentRow(key); }; - // 선택(체크) 변경 이벤트 - ${pageName}Control.onSelectionChange = selected => { - let ${infoPrefix}List = ${pageName}Control.dataset; - let keys = selected.map(e => ${infoPrefix}List.getKey(e)); - - $("#tbody--${pageName} input[type='checkbox']").each(function() { - let checkbox = $(this); - - checkbox.prop("checked", keys.includes(checkbox.val())); - }); - - $("#btnRemove--${pageName}").prop("disabled", keys.length < 1); - }; - // 개별총정보 dialog ${pageName}Control.getInfo = (crdnId, callSection) => { - let callControlName = "${pageName}Control"; + let callControlName = ""; - if (!crdnId) return; + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; - if (!callSection) { + if (typeof callSection == "undefined" || callSection == null || callSection == "") { + callControlName = "${pageName}Control"; + } else { callControlName = callSection; } @@ -456,9 +438,9 @@ // 검색조건 ${pageName}Control.query = ${pageName}Fields.get(); - ${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30 - ${pageName}Control.query.delYn = "N"; // 삭제 여부 - ${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부 + ${pageName}Control.query.fetchSize = FETCH_XS; // 한번에 조회되는 자료 건수 FETCH_XS = 30 + ${pageName}Control.query.delYn = "N"; // 삭제 여부 + ${pageName}Control.query.crdnDelYn = "N"; // 단속 대장 삭제 여부 ${pageName}Control.load(); } 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 949a710e..460f2b87 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 @@ -132,7 +132,7 @@ - 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 842f074c..533a5b7d 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 @@ -155,7 +155,7 @@ - @@ -324,7 +324,7 @@ // 개별총정보 dialog ${pageName}Control.getInfo = (crdnId) => { - if (!crdnId) return; + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; let params = { callControlName : "${pageName}Control" 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 a4d93b08..3de3d98b 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 @@ -218,7 +218,7 @@ // 개별총정보 dialog ${pageName}Control.getInfo = (crdnId) => { - if (!crdnId) return; + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; let params = { callControlName : "${pageName}Control" 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 c20256ec..700f742f 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 @@ -192,7 +192,7 @@ // 개별총정보 dialog ${pageName}Control.getInfo = (crdnId) => { - if (!crdnId) return; + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; let params = { callControlName : "${pageName}Control" 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 5e297ed4..e34c5e52 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 @@ -122,7 +122,7 @@ - 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 991c7c4d..a2f580a6 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 @@ -22,27 +22,18 @@ - - - - - - @@ -192,9 +183,7 @@ // 개별총정보 dialog ${pageName}Control.getInfo = (crdnId) => { - if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") { - return; - } + if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return; let params = { callControlName : "${pageName}Control"