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 97865e3c..c24b8e3a 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 @@ -978,10 +978,6 @@ $(document).ready(function(){ return; } - var headerInfo = $("#photoInspection_Table_0--${pageName} thead th").not(".dummy-th").not(":eq(0)").getHeaderInfo(); - $P.photoInspectionControl.query.excelTitle = headerInfo.excelTitle; - $P.photoInspectionControl.query.excelTitleWidth = headerInfo.excelTitleWidth; - var cellDefs = getCellDefs($("#photoInspection_Table_0--${pageName} thead th").not(".dummy-th").not(":eq(0)"), $($("#photoInspectionRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $P.photoInspectionControl.query.cellDefs = cellDefs; @@ -996,9 +992,6 @@ $(document).ready(function(){ } if(confirm("단속건수 엑셀저장은 확인버튼, 상세내역 엑셀저장시 취소버튼을 누르세요.")){ - var headerInfo = $("#sameVehicleInspectionMain_Table_0--${pageName} thead th").not(".dummy-th").getHeaderInfo(); - $P.sameVehicleControl.main.query.excelTitle = headerInfo.excelTitle; - $P.sameVehicleControl.main.query.excelTitleWidth = headerInfo.excelTitleWidth; var cellDefs = getCellDefs($("#sameVehicleInspectionMain_Table_0--${pageName} thead th").not(".dummy-th"), $($("#sameVehicleInspectionMainRow--${pageName}")[0].content).find("td").not(".dummy-td")); @@ -1006,10 +999,7 @@ $(document).ready(function(){ $P.sameVehicleControl.main.download(); } else { - var headerInfo = $("#sameVehicleInspectionSub_Table_0--${pageName} thead th").not(".dummy-th").not(":hidden").getHeaderInfo(); - $P.sameVehicleControl.sub.query.excelTitle = headerInfo.excelTitle; - $P.sameVehicleControl.sub.query.excelTitleWidth = headerInfo.excelTitleWidth; - + var cellDefs = getCellDefs($("#sameVehicleInspectionSub_Table_0--${pageName} thead th").not(".dummy-th").not(":hidden"), $($("#sameVehicleInspectionSubRow--${pageName}")[0].content).find("td").not(".dummy-td").not(".privacy-mask")); $P.sameVehicleControl.sub.query.cellDefs = cellDefs; 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 4ee8bba3..310f1883 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 @@ -307,10 +307,6 @@ $(document).ready(function(){ return; } - var headerInfo = $("#crdnTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").getHeaderInfo(); - $P.crdnControl.query.excelTitle = headerInfo.excelTitle; - $P.crdnControl.query.excelTitleWidth = headerInfo.excelTitleWidth; - var cellDefs = getCellDefs($("#crdnTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)"), $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $P.crdnControl.query.cellDefs = cellDefs; 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 5a694c94..eec1cdd0 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 @@ -475,11 +475,7 @@ $(document).ready(function(){ alert("조회된 자료가 없습니다."); return; } - - var headerInfo = $("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)").getHeaderInfo(); - $P.crdnControl.query.excelTitle = headerInfo.excelTitle; - $P.crdnControl.query.excelTitleWidth = headerInfo.excelTitleWidth; - + var cellDefs = getCellDefs($("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)"), $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $P.crdnControl.query.cellDefs = cellDefs; @@ -506,5 +502,4 @@ $(document).ready(function(){ }); }); - 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 170a3b68..792d9228 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 @@ -445,10 +445,6 @@ $(document).ready(function(){ return; } - var headerInfo = $("#exmptnVhclTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").getHeaderInfo(); - $P.exmptnVhclControl.query.excelTitle = headerInfo.excelTitle; - $P.exmptnVhclControl.query.excelTitleWidth = headerInfo.excelTitleWidth; - var cellDefs = getCellDefs($("#exmptnVhclTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)"), $($("#exmptnVhclRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $P.exmptnVhclControl.query.cellDefs = cellDefs; 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 d9b9aeb3..eb48ef3a 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 @@ -638,10 +638,6 @@ $(document).ready(function(){ return; } - var headerInfo = $("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)").getHeaderInfo(); - $P.crdnControl.query.excelTitle = headerInfo.excelTitle; - $P.crdnControl.query.excelTitleWidth = headerInfo.excelTitleWidth; - var cellDefs = getCellDefs($("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)"), $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $P.crdnControl.query.cellDefs = cellDefs; 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 d8224c0f..66f4f955 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 @@ -668,10 +668,6 @@ $(document).ready(function(){ return; } - var headerInfo = $("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)").not(":eq(0)").getHeaderInfo(); - $P.crdnControl.query.excelTitle = headerInfo.excelTitle; - $P.crdnControl.query.excelTitleWidth = headerInfo.excelTitleWidth; - var cellDefs = getCellDefs($("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)").not(":eq(0)"), $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)").not(":eq(0)")); $P.crdnControl.query.cellDefs = cellDefs; 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 c10602f0..959e0a43 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 @@ -531,11 +531,7 @@ $(document).ready(function(){ alert("조회된 자료가 없습니다."); return; } - - var headerInfo = $("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)").getHeaderInfo(); - $P.crdnControl.query.excelTitle = headerInfo.excelTitle; - $P.crdnControl.query.excelTitleWidth = headerInfo.excelTitleWidth; - + var cellDefs = getCellDefs($("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)"), $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $P.crdnControl.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 44d9d5f8..4dc97980 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 @@ -340,7 +340,7 @@ integrationSearch.setTotalData = (updown, list) => { // 엑셀 integrationSearch.fnExcel = (updown) => { - var headerInfo; + var cellDefs; if(updown == "up"){ @@ -349,8 +349,6 @@ integrationSearch.fnExcel = (updown) => { return; } - headerInfo = $("#upTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").not(":hidden").getHeaderInfo(); - cellDefs = getCellDefs($("#upTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").not(":hidden"), $($("#row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)").not(".privacy-mask")); @@ -361,17 +359,12 @@ integrationSearch.fnExcel = (updown) => { return; } - headerInfo = $("#downTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").not(":hidden").getHeaderInfo(); - cellDefs = getCellDefs($("#downTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)").not(":hidden"), $($("#row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)").not(".privacy-mask")); integrationSearchControl.query.gridType = "down"; } - integrationSearchControl.query.excelTitle = headerInfo.excelTitle; - integrationSearchControl.query.excelTitleWidth = headerInfo.excelTitleWidth; - integrationSearchControl.query.cellDefs = cellDefs; integrationSearchControl.download(); 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 c7958f28..3368003c 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 @@ -145,10 +145,6 @@ $(document).ready(function(){ $("#btnExcel--${pageName}").on("click", function(){ var query = {}; - var headerInfo = $("#theadTr--${pageName} th").not(".dummy-th").getHeaderInfo(); - query.excelTitle = headerInfo.excelTitle; - query.excelTitleWidth = headerInfo.excelTitleWidth; - var cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th"), $($("#found--${pageName}")[0].content).find("td").not(".dummy-td")); query.cellDefs = cellDefs;