|
|
|
@ -161,18 +161,13 @@
|
|
|
|
|
|
|
|
|
|
<div name="gridbuttonArea" class="container-page-btn">
|
|
|
|
|
<div class="d-flex flex-row justify-content-between area-photoinspection">
|
|
|
|
|
<span is="paging-info" name="photoInspectionPagingInfo" class="dataTables_info">
|
|
|
|
|
</span>
|
|
|
|
|
<ul name="photoInspectionPaging"
|
|
|
|
|
class="pagination pagination-primary">
|
|
|
|
|
</ul>
|
|
|
|
|
<span is="paging-info" name="photoInspectionPagingInfo" class="dataTables_info"></span>
|
|
|
|
|
<ul name="photoInspectionPaging" class="pagination pagination-primary"></ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="d-flex flex-row justify-content-between area-samevehicleinspection">
|
|
|
|
|
<span is="paging-info" name="sameVehicleInspectionMainPagingInfo" class="dataTables_info">
|
|
|
|
|
</span>
|
|
|
|
|
<ul name="sameVehicleInspectionMainPaging" class="pagination pagination-primary">
|
|
|
|
|
</ul>
|
|
|
|
|
<span is="paging-info" name="sameVehicleInspectionMainPagingInfo" class="dataTables_info"></span>
|
|
|
|
|
<ul name="sameVehicleInspectionMainPaging" class="pagination pagination-primary"></ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
@ -415,11 +410,9 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
var t = $P.getGridTemplate("photoInspection");
|
|
|
|
|
var trs = Apply.fromDataset.getTbody(ctrl.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
|
$P.renderInspectionDataList(obj["Total"], ctrl.dataset.length, trs, "photoInspection", option);
|
|
|
|
|
$P.renderInspectionDataList(obj?.Paging?.totalSize, ctrl.dataset.length, trs, "photoInspection", option);
|
|
|
|
|
|
|
|
|
|
Apply.fromDataset.paging(ctrl.dataset, obj,
|
|
|
|
|
$P.findn("photoInspectionPaging"), $P.findn("photoInspectionPagingInfo")
|
|
|
|
|
);
|
|
|
|
|
$P.pagingSupport0.setPagingInfo(obj);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ctrl.dataset.onCurrentChange = (dataItem) => {
|
|
|
|
@ -440,6 +433,11 @@ $(document).ready(function(){
|
|
|
|
|
$P.showPhoto(dataKey,nextDataKey,curDataVhrno,nextDataVhrno);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.pagingSupport0 = new FimsPagingSupport({
|
|
|
|
|
doq: $P,
|
|
|
|
|
linkContainer: "[name='photoInspectionPaging']"
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//동일차량검사 datasetControl 인스턴스
|
|
|
|
|
var alt = newCrdn02010Alt($P);
|
|
|
|
|
alt.defaultFetchSize = FETCH_XS;
|
|
|
|
@ -450,11 +448,9 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
var t = $P.getGridTemplate("sameVehicleInspectionMain");
|
|
|
|
|
var trs = Apply.fromDataset.getTbody(alt.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
|
$P.renderInspectionDataList(obj["Total"], alt.dataset.length, trs, "sameVehicleInspectionMain", option);
|
|
|
|
|
$P.renderInspectionDataList(obj?.Paging?.totalSize, alt.dataset.length, trs, "sameVehicleInspectionMain", option);
|
|
|
|
|
|
|
|
|
|
Apply.fromDataset.paging(alt.dataset, obj,
|
|
|
|
|
$P.findn("sameVehicleInspectionMainPaging"), $P.findn("sameVehicleInspectionMainPagingInfo")
|
|
|
|
|
);
|
|
|
|
|
$P.pagingSupport1.setPagingInfo(obj);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
alt.dataset.onCurrentChange = (dataItem) => {
|
|
|
|
@ -466,6 +462,11 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.pagingSupport1 = new FimsPagingSupport({
|
|
|
|
|
doq: $P,
|
|
|
|
|
linkContainer: "[name='sameVehicleInspectionMainPaging']"
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var shift = newCrdn02010Shift($P);
|
|
|
|
|
|
|
|
|
|
shift.dataset.onDatasetChange = (obj, option) => {
|
|
|
|
@ -1038,8 +1039,8 @@ $(document).ready(function(){
|
|
|
|
|
$P.$findn("btnReset").on('click', () => $P.fnReset()); //초기화버튼
|
|
|
|
|
$P.$findn("btnPhotoInspection").on('click', () => {
|
|
|
|
|
|
|
|
|
|
$(".area-photoinspection").show();
|
|
|
|
|
$(".area-samevehicleinspection").hide();
|
|
|
|
|
$(".area-photoinspection").removeAttr("hidden");
|
|
|
|
|
$(".area-samevehicleinspection").attr("hidden","hidden");
|
|
|
|
|
|
|
|
|
|
$P.$findn('btnPhotoInspection').addClass("active");
|
|
|
|
|
$P.$findn('btnSameVehicleInspection').removeClass("active");
|
|
|
|
@ -1047,8 +1048,8 @@ $(document).ready(function(){
|
|
|
|
|
});
|
|
|
|
|
$P.$findn("btnSameVehicleInspection").on('click', () => {
|
|
|
|
|
|
|
|
|
|
$(".area-samevehicleinspection").show();
|
|
|
|
|
$(".area-photoinspection").hide();
|
|
|
|
|
$(".area-samevehicleinspection").removeAttr("hidden");
|
|
|
|
|
$(".area-photoinspection").attr("hidden","hidden");
|
|
|
|
|
|
|
|
|
|
$P.$findn("btnSameVehicleInspection").addClass("active");
|
|
|
|
|
$P.$findn("btnPhotoInspection").removeClass("active");
|
|
|
|
|