|
|
|
@ -981,6 +981,11 @@ $(document).ready(function(){
|
|
|
|
|
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 colDefs = getColDefs($("#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.colDefs = colDefs;
|
|
|
|
|
|
|
|
|
|
$P.photoInspectionControl.download();
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
@ -994,11 +999,21 @@ $(document).ready(function(){
|
|
|
|
|
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 colDefs = getColDefs($("#sameVehicleInspectionMain_Table_0--${pageName} thead th").not(".dummy-th"),
|
|
|
|
|
$($("#sameVehicleInspectionMainRow--${pageName}")[0].content).find("td").not(".dummy-td"));
|
|
|
|
|
$P.sameVehicleControl.main.query.colDefs = colDefs;
|
|
|
|
|
|
|
|
|
|
$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 colDefs = getColDefs($("#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.colDefs = colDefs;
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.download();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|