From 668120f410ff4a098d8f8cc76a6cc97f663cc4a1 Mon Sep 17 00:00:00 2001 From: jjh Date: Wed, 8 Nov 2023 10:18:39 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=ED=8A=BC=EB=AA=85=20=EC=88=98?= =?UTF-8?q?=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/jsp/fims/excl/excl01010-main.jsp | 6 +-- .../WEB-INF/jsp/fims/excl/excl02010-main.jsp | 8 ++-- .../WEB-INF/jsp/fims/excl/excl03010-main.jsp | 38 +++++-------------- .../WEB-INF/jsp/fims/levy/levy01010-main.jsp | 2 +- .../WEB-INF/jsp/fims/sndb/sndb01010-main.jsp | 4 +- .../WEB-INF/jsp/fims/sndb/sndb01020-info.jsp | 2 +- .../WEB-INF/jsp/fims/sndb/sndb01040-info.jsp | 4 +- .../WEB-INF/jsp/fims/sndb/sndb01050-main.jsp | 4 +- .../WEB-INF/jsp/fims/sndb/sndb01060-info.jsp | 2 +- .../WEB-INF/jsp/fims/sndb/sndb01080-info.jsp | 2 +- .../WEB-INF/jsp/fims/sndb/sndb01090-main.jsp | 2 +- .../WEB-INF/jsp/fims/sndb/sndb01100-info.jsp | 25 ++++-------- 12 files changed, 35 insertions(+), 64 deletions(-) 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"