From d10fa58ea9323a2028e7cdfd2e1eb8a9c4a0097d Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 20 Aug 2024 13:40:52 +0900 Subject: [PATCH] =?UTF-8?q?=EC=86=8C=EC=8A=A4=20=EC=A0=95=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/epst/epst02010-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/epst/epst02030-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/epst/epst02040-info.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/epst/epst02050-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/excl/excl03010-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/levy/levy01010-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/levy/levy01050-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/levy/levy02010-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/rcvm/rcvm01010-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/rdca/rdca01010-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01010-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01030-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01040-info.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01050-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01070-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01080-info.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01090-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01110-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01120-info.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01210-info.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01220-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01240-main.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sndb/sndb01250-info.jsp | 2 +- .../webapp/WEB-INF/jsp/fims/sprt/sprt01010-main.jsp | 4 ++-- .../webapp/WEB-INF/jsp/fims/sprt/sprt04010-main.jsp | 2 +- .../webapp/resources/js/fims/cmmn/fims-cmmnUtil.js | 11 +---------- .../webapp/resources/js/fims/cmmn/fims-support.js | 13 ++++++++++++- 28 files changed, 40 insertions(+), 38 deletions(-) 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 b7375b91..f4d51748 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 @@ -686,7 +686,7 @@ $(document).ready(function(){ var cellDefs = getCellDefs( $P.$find("sameVehicleInspectionSub_Table_0").find("thead th").not(".dummy-th"), $($P.find("sameVehicleInspectionSubRow").content).find("td").not(".dummy-td"), - getCellDefsForPrivacyCell + FimsSupport.getCellDefsForPrivacyCell ); $P.shift.query.cellDefs = cellDefs; 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 c6e34f2b..2b34a804 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 @@ -455,7 +455,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 44d8932e..e543c54d 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 @@ -617,7 +617,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 be282feb..9faaf851 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 @@ -226,7 +226,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 d33ea9ff..c5f7560a 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 @@ -470,7 +470,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 1fa725a3..21e73be1 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 @@ -480,7 +480,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 c23aaf3b..df64e7a3 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 @@ -569,7 +569,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 09137170..710adced 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 @@ -592,7 +592,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 5176e2de..0a4b1809 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 @@ -577,7 +577,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 db35b51f..b3112daa 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 @@ -630,7 +630,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 00232694..1c223217 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 @@ -590,7 +590,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 0b8851bc..7d09e2e9 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 @@ -601,7 +601,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 81205f59..98481558 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 @@ -491,7 +491,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 880b54c9..294527e7 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 @@ -286,7 +286,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 1b39d31f..729593b3 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 @@ -567,7 +567,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 6ab07184..1f25ebe9 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 @@ -494,7 +494,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 b85a3aef..b99d5128 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 @@ -407,7 +407,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 5be6c4bd..256340d7 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 @@ -481,7 +481,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 39eb5e77..b780dfe3 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 @@ -530,7 +530,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 e0a285b0..de4e4ad9 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 @@ -330,7 +330,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 3711c6c2..6c9fae1c 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 @@ -505,7 +505,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 abe3d66a..da498708 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 @@ -615,7 +615,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 0b839245..6cfa97c6 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 @@ -512,7 +512,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 9d5f9872..03d0fd01 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 @@ -389,7 +389,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; 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 c34ebff9..1a059151 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 @@ -249,7 +249,7 @@ $(document).ready(function() { cellDefs = getCellDefs( $P.$find("upTheadTr").find("th").not(".dummy-th").not(":eq(0)"), $($P.find("row").content).find("td").not(".dummy-td").not(":eq(0)"), - getCellDefsForPrivacyCell + FimsSupport.getCellDefsForPrivacyCell ); $P.ctrl.query.gridType = "up"; @@ -262,7 +262,7 @@ $(document).ready(function() { cellDefs = getCellDefs( $P.$find("downTheadTr").find("th").not(".dummy-th").not(":eq(0)"), $($P.find("row").content).find("td").not(".dummy-td").not(":eq(0)"), - getCellDefsForPrivacyCell + FimsSupport.getCellDefsForPrivacyCell ); $P.ctrl.query.gridType = "down"; 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 c340ff0d..ea16a1c4 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 @@ -478,7 +478,7 @@ // DataTables(그리드) let cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th").not(":eq(0)") , $($("#${infoPrefix}Row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)") - , getCellDefsForPrivacyCell); + , FimsSupport.getCellDefsForPrivacyCell); $P.control.query.cellDefs = cellDefs; diff --git a/src/main/webapp/resources/js/fims/cmmn/fims-cmmnUtil.js b/src/main/webapp/resources/js/fims/cmmn/fims-cmmnUtil.js index 9a7cadac..0386aaf5 100644 --- a/src/main/webapp/resources/js/fims/cmmn/fims-cmmnUtil.js +++ b/src/main/webapp/resources/js/fims/cmmn/fims-cmmnUtil.js @@ -372,16 +372,7 @@ const GRID = { } }; -/************************************************************************** -* 엑셀다운로드시 개인정보 포함된 셀 이름 정보 추출 -**************************************************************************/ -function getCellDefsForPrivacyCell($td_i){ - if($td_i.hasClass("privacy-cell")){ - return $td_i.find("span:eq(0)").text(); - } else { - return $td_i.text(); - } -} + /************************************************************************** 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 266059d0..e8f22ead 100644 --- a/src/main/webapp/resources/js/fims/cmmn/fims-support.js +++ b/src/main/webapp/resources/js/fims/cmmn/fims-support.js @@ -16,7 +16,7 @@ class FimsSupport { console.log("getActiveRootTabArea() : 현재 활성화된 최상위 탭 영역을 반환한다."); console.log("fnJsonToFormData(json,배열이름) : son객체 안의 jsonArray를 FormData형식의 키로 치환한다."); console.log("fnJsonArrayToFormData(json배열,배열이름) : jsonArray를 FormData형식의 키를 갖는 json으로 치환한다."); - + console.log("getCellDefsForPrivacyCell(TD태그의 제이쿼리 객체) : 엑셀다운로드시 개인정보 포함된 셀의 컬럼명을 추출하는 함수"); } /************************************************************************** @@ -438,6 +438,17 @@ class FimsSupport { return newObj; } + /************************************************************************** + * 엑셀다운로드시 개인정보 포함된 셀의 이름 정보를 추출하는 함수 + **************************************************************************/ + static getCellDefsForPrivacyCell($td_i){ + if($td_i.hasClass("privacy-cell")){ + return $td_i.find("span:eq(0)").text(); + } else { + return $td_i.text(); + } + } + } const BOOTSTRAP_COLS = [