|
|
@ -373,7 +373,9 @@ $(document).ready(function(){
|
|
|
|
//감경금액
|
|
|
|
//감경금액
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
$P.photoInspectionControl.defaultFetchSize = FETCH_XS;
|
|
|
|
|
|
|
|
$P.photoInspectionControl.untilPageNum = 0;
|
|
|
|
|
|
|
|
|
|
|
|
//동일차량검사 datasetControl 인스턴스
|
|
|
|
//동일차량검사 datasetControl 인스턴스
|
|
|
|
$P.sameVehicleControl = new InspectionControl({
|
|
|
|
$P.sameVehicleControl = new InspectionControl({
|
|
|
|
urls : { load : "", getInfo : "" },
|
|
|
|
urls : { load : "", getInfo : "" },
|
|
|
@ -392,6 +394,8 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
$P.sameVehicleControl.defaultFetchSize = FETCH_XS;
|
|
|
|
|
|
|
|
$P.sameVehicleControl.untilPageNum = 0;
|
|
|
|
|
|
|
|
|
|
|
|
$P.photoInspectionControl.getNext = (key) => {
|
|
|
|
$P.photoInspectionControl.getNext = (key) => {
|
|
|
|
|
|
|
|
|
|
|
@ -467,6 +471,23 @@ $(document).ready(function(){
|
|
|
|
$('#btnPhotoInspection--${pageName}').trigger("click");
|
|
|
|
$('#btnPhotoInspection--${pageName}').trigger("click");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.refreshInspectionList = () => {
|
|
|
|
|
|
|
|
switch ($P.currentDisplay) {
|
|
|
|
|
|
|
|
case "photoInspection":
|
|
|
|
|
|
|
|
$P.photoInspectionControl.untilPageNum = $P.photoInspectionControl.query.pageNum;
|
|
|
|
|
|
|
|
$P.photoInspectionControl.query.fetchSize = $P.photoInspectionControl.defaultFetchSize * $P.photoInspectionControl.query.pageNum;
|
|
|
|
|
|
|
|
$P.photoInspectionControl.load(1);
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case "sameVehicleInspection":
|
|
|
|
|
|
|
|
$P.sameVehicleControl.untilPageNum = $P.sameVehicleControl.main.query.pageNum;
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.query.fetchSize = $P.sameVehicleControl.defaultFetchSize * $P.sameVehicleControl.main.query.pageNum;
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.load(1);
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
default: break;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.searchInspectionList = () => {
|
|
|
|
$P.searchInspectionList = () => {
|
|
|
|
switch ($P.currentDisplay) {
|
|
|
|
switch ($P.currentDisplay) {
|
|
|
|
case "photoInspection":
|
|
|
|
case "photoInspection":
|
|
|
@ -617,9 +638,12 @@ $(document).ready(function(){
|
|
|
|
title : "부과제외 정보",
|
|
|
|
title : "부과제외 정보",
|
|
|
|
content : resp,
|
|
|
|
content : resp,
|
|
|
|
size : "lg",
|
|
|
|
size : "lg",
|
|
|
|
init : () => $P.photoInspectionControl.setInfo(info),
|
|
|
|
init : () => {},
|
|
|
|
onClose : () => { $P.photoInspectionControl.load(1); } // callback
|
|
|
|
onClose : () => {
|
|
|
|
|
|
|
|
$P.refreshInspectionList();
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -643,6 +667,12 @@ $(document).ready(function(){
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#photoInspection-responsive--${pageName}").removeAttr("data-scroll-status");
|
|
|
|
$("#photoInspection-responsive--${pageName}").removeAttr("data-scroll-status");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($P.photoInspectionControl.untilPageNum != 0){
|
|
|
|
|
|
|
|
$P.photoInspectionControl.query.fetchSize = $P.photoInspectionControl.defaultFetchSize;
|
|
|
|
|
|
|
|
$P.photoInspectionControl.query.pageNum = $P.photoInspectionControl.untilPageNum;
|
|
|
|
|
|
|
|
$P.photoInspectionControl.untilPageNum = 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "sameVehicleInspectionMain":
|
|
|
|
case "sameVehicleInspectionMain":
|
|
|
|
var dataList = $P.sameVehicleControl.main.dataset;
|
|
|
|
var dataList = $P.sameVehicleControl.main.dataset;
|
|
|
@ -659,6 +689,12 @@ $(document).ready(function(){
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#sameVehicleInspectionMain-responsive--${pageName}").removeAttr("data-scroll-status");
|
|
|
|
$("#sameVehicleInspectionMain-responsive--${pageName}").removeAttr("data-scroll-status");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($P.sameVehicleControl.untilPageNum != 0){
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.query.fetchSize = $P.sameVehicleControl.defaultFetchSize;
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.query.pageNum = $P.sameVehicleControl.untilPageNum;
|
|
|
|
|
|
|
|
$P.sameVehicleControl.untilPageNum = 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "sameVehicleInspectionSub":
|
|
|
|
case "sameVehicleInspectionSub":
|
|
|
|
var dataList = $P.sameVehicleControl.sub.dataset;
|
|
|
|
var dataList = $P.sameVehicleControl.sub.dataset;
|
|
|
@ -681,7 +717,12 @@ $(document).ready(function(){
|
|
|
|
$P.getParams = () => {
|
|
|
|
$P.getParams = () => {
|
|
|
|
var formFields = new FimsFormFields("#frmSearch--${pageName}");
|
|
|
|
var formFields = new FimsFormFields("#frmSearch--${pageName}");
|
|
|
|
var data = formFields.get();
|
|
|
|
var data = formFields.get();
|
|
|
|
data.fetchSize = 30;
|
|
|
|
|
|
|
|
|
|
|
|
if($P.currentDisplay == "photoInspection"){
|
|
|
|
|
|
|
|
data.fetchSize = $P.photoInspectionControl.defaultFetchSize;
|
|
|
|
|
|
|
|
} else if($P.currentDisplay == "sameVehicleInspection"){
|
|
|
|
|
|
|
|
data.fetchSize = $P.sameVehicleControl.defaultFetchSize;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return data;
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|