미사용 코드 삭제

main
이범준 11 months ago
parent 1e2031bbd3
commit ed63a988ce

@ -978,10 +978,6 @@ $(document).ready(function(){
return; 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)"), 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)")); $($("#photoInspectionRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)"));
$P.photoInspectionControl.query.cellDefs = cellDefs; $P.photoInspectionControl.query.cellDefs = cellDefs;
@ -996,9 +992,6 @@ $(document).ready(function(){
} }
if(confirm("단속건수 엑셀저장은 확인버튼, 상세내역 엑셀저장시 취소버튼을 누르세요.")){ 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"), var cellDefs = getCellDefs($("#sameVehicleInspectionMain_Table_0--${pageName} thead th").not(".dummy-th"),
$($("#sameVehicleInspectionMainRow--${pageName}")[0].content).find("td").not(".dummy-td")); $($("#sameVehicleInspectionMainRow--${pageName}")[0].content).find("td").not(".dummy-td"));
@ -1006,9 +999,6 @@ $(document).ready(function(){
$P.sameVehicleControl.main.download(); $P.sameVehicleControl.main.download();
} else { } 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"), 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")); $($("#sameVehicleInspectionSubRow--${pageName}")[0].content).find("td").not(".dummy-td").not(".privacy-mask"));

@ -307,10 +307,6 @@ $(document).ready(function(){
return; 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)"), var cellDefs = getCellDefs($("#crdnTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)"),
$($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)"));
$P.crdnControl.query.cellDefs = cellDefs; $P.crdnControl.query.cellDefs = cellDefs;

@ -476,10 +476,6 @@ $(document).ready(function(){
return; 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)"), var cellDefs = getCellDefs($("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)"),
$($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)"));
$P.crdnControl.query.cellDefs = cellDefs; $P.crdnControl.query.cellDefs = cellDefs;
@ -506,5 +502,4 @@ $(document).ready(function(){
}); });
}); });
</script> </script>

@ -445,10 +445,6 @@ $(document).ready(function(){
return; 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)"), var cellDefs = getCellDefs($("#exmptnVhclTheadTr--${pageName} th").not(".dummy-th").not(":eq(0)"),
$($("#exmptnVhclRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $($("#exmptnVhclRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)"));
$P.exmptnVhclControl.query.cellDefs = cellDefs; $P.exmptnVhclControl.query.cellDefs = cellDefs;

@ -638,10 +638,6 @@ $(document).ready(function(){
return; 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)"), var cellDefs = getCellDefs($("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)"),
$($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)"));
$P.crdnControl.query.cellDefs = cellDefs; $P.crdnControl.query.cellDefs = cellDefs;

@ -668,10 +668,6 @@ $(document).ready(function(){
return; 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)"), 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)")); $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)").not(":eq(0)"));
$P.crdnControl.query.cellDefs = cellDefs; $P.crdnControl.query.cellDefs = cellDefs;

@ -532,10 +532,6 @@ $(document).ready(function(){
return; 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)"), var cellDefs = getCellDefs($("#crdnThead--${pageName} th").not(".dummy-th").not(":eq(0)"),
$($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)")); $($("#crdnRow--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)"));
$P.crdnControl.query.cellDefs = cellDefs; $P.crdnControl.query.cellDefs = cellDefs;

@ -340,7 +340,7 @@ integrationSearch.setTotalData = (updown, list) => {
// 엑셀 // 엑셀
integrationSearch.fnExcel = (updown) => { integrationSearch.fnExcel = (updown) => {
var headerInfo;
var cellDefs; var cellDefs;
if(updown == "up"){ if(updown == "up"){
@ -349,8 +349,6 @@ integrationSearch.fnExcel = (updown) => {
return; 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"), 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")); $($("#row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)").not(".privacy-mask"));
@ -361,17 +359,12 @@ integrationSearch.fnExcel = (updown) => {
return; 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"), 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")); $($("#row--${pageName}")[0].content).find("td").not(".dummy-td").not(":eq(0)").not(".privacy-mask"));
integrationSearchControl.query.gridType = "down"; integrationSearchControl.query.gridType = "down";
} }
integrationSearchControl.query.excelTitle = headerInfo.excelTitle;
integrationSearchControl.query.excelTitleWidth = headerInfo.excelTitleWidth;
integrationSearchControl.query.cellDefs = cellDefs; integrationSearchControl.query.cellDefs = cellDefs;
integrationSearchControl.download(); integrationSearchControl.download();

@ -145,10 +145,6 @@ $(document).ready(function(){
$("#btnExcel--${pageName}").on("click", function(){ $("#btnExcel--${pageName}").on("click", function(){
var query = {}; 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"), var cellDefs = getCellDefs($("#theadTr--${pageName} th").not(".dummy-th"),
$($("#found--${pageName}")[0].content).find("td").not(".dummy-td")); $($("#found--${pageName}")[0].content).find("td").not(".dummy-td"));
query.cellDefs = cellDefs; query.cellDefs = cellDefs;

Loading…
Cancel
Save