|
|
@ -9,11 +9,11 @@
|
|
|
|
<div class="wrapper-list">
|
|
|
|
<div class="wrapper-list">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div class="container-page-btn">
|
|
|
|
<div class="container-page-btn">
|
|
|
|
<button type="button" class="btn btn-outline-dark" id="btnReset--${pageName}" title="초기화">초기화</button>
|
|
|
|
<button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark" title="초기화">초기화</button>
|
|
|
|
<a href="#" class="btn btn-blue" id="btnPhotoInspection--${pageName}" title="단속사진 비교">단속사진 비교</a>
|
|
|
|
<a href="#" id="btnPhotoInspection--${pageName}" class="btn btn-blue" title="단속사진 비교">단속사진 비교</a>
|
|
|
|
<a href="#" class="btn btn-blue" id="btnSameVehicleInspection--${pageName}" title="동일단속차량 검사">동일단속차량 검사</a>
|
|
|
|
<a href="#" id="btnSameVehicleInspection--${pageName}" class="btn btn-blue" title="동일단속차량 검사">동일단속차량 검사</a>
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<button type="button" class="btn btn-search" id="btnSearch--${pageName}" title="검색">검색</button>
|
|
|
|
<button type="button" id="btnSearch--${pageName}" class="btn btn-search" title="검색">검색</button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -143,6 +143,7 @@
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
|
|
|
<a href="#" id="btnInstLevyExcl--${pageName}" class="btn btn-blue" title="비부과 등록">비부과 등록</a>
|
|
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
@ -360,7 +361,7 @@ $(document).ready(function(){
|
|
|
|
//단속사진검사 datasetControl 인스턴스
|
|
|
|
//단속사진검사 datasetControl 인스턴스
|
|
|
|
$P.photoInspectionControl = new DatasetControl({
|
|
|
|
$P.photoInspectionControl = new DatasetControl({
|
|
|
|
prefix:"photoInspection", prefixName:"종합", infoSize:"xl", urls : { load : "", getInfo : "" },
|
|
|
|
prefix:"photoInspection", prefixName:"종합", infoSize:"xl", urls : { load : "", getInfo : "" },
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "", dataGetter:obj => obj.crdnList, appendData:true,
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "", dataGetter:obj => obj.crdnList, appendData:false,
|
|
|
|
formats: {
|
|
|
|
formats: {
|
|
|
|
CRDN_YMD_TM : datetimeFormat,
|
|
|
|
CRDN_YMD_TM : datetimeFormat,
|
|
|
|
CRDN_INPT_SE_CD : FIM003,
|
|
|
|
CRDN_INPT_SE_CD : FIM003,
|
|
|
@ -391,7 +392,7 @@ $(document).ready(function(){
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* DatasetControl.on
|
|
|
|
* DatasetControl.on
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$P.photoInspectionControl.onDatasetChange = obj => {
|
|
|
|
$P.photoInspectionControl.onDatasetChange = (obj) => {
|
|
|
|
$P.renderInspectionDataList("photoInspection");
|
|
|
|
$P.renderInspectionDataList("photoInspection");
|
|
|
|
|
|
|
|
|
|
|
|
var prefix = obj.infoPrefix;
|
|
|
|
var prefix = obj.infoPrefix;
|
|
|
@ -404,7 +405,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.onDatasetChange = obj => {
|
|
|
|
$P.sameVehicleControl.main.onDatasetChange = (obj) => {
|
|
|
|
$P.renderInspectionDataList("sameVehicleInspectionMain");
|
|
|
|
$P.renderInspectionDataList("sameVehicleInspectionMain");
|
|
|
|
|
|
|
|
|
|
|
|
var prefix = obj.infoPrefix;
|
|
|
|
var prefix = obj.infoPrefix;
|
|
|
@ -418,7 +419,7 @@ $(document).ready(function(){
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.onDatasetChange = obj => {
|
|
|
|
$P.sameVehicleControl.sub.onDatasetChange = (obj) => {
|
|
|
|
$P.renderInspectionDataList("sameVehicleInspectionSub");
|
|
|
|
$P.renderInspectionDataList("sameVehicleInspectionSub");
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -426,7 +427,7 @@ $(document).ready(function(){
|
|
|
|
* pageObject.function
|
|
|
|
* pageObject.function
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$P.fnReset = () => {
|
|
|
|
$P.fnReset = () => {
|
|
|
|
$('#schCrdnYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-5475).date);
|
|
|
|
$('#schCrdnYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-7).date);
|
|
|
|
$('#schCrdnYmdTo--${pageName}').datepicker('setDate', new Date());
|
|
|
|
$('#schCrdnYmdTo--${pageName}').datepicker('setDate', new Date());
|
|
|
|
$P.photoInspectionControl.setData([]);
|
|
|
|
$P.photoInspectionControl.setData([]);
|
|
|
|
$P.sameVehicleControl.main.setData([]);
|
|
|
|
$P.sameVehicleControl.main.setData([]);
|
|
|
@ -455,7 +456,7 @@ $(document).ready(function(){
|
|
|
|
switch ($P.currentDisplay) {
|
|
|
|
switch ($P.currentDisplay) {
|
|
|
|
case "photoInspection":
|
|
|
|
case "photoInspection":
|
|
|
|
$P.photoInspectionControl.query = $P.getParams();
|
|
|
|
$P.photoInspectionControl.query = $P.getParams();
|
|
|
|
$P.photoInspectionControl.load(1);
|
|
|
|
$P.photoInspectionControl.load(0);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "sameVehicleInspection":
|
|
|
|
case "sameVehicleInspection":
|
|
|
|
$P.sameVehicleControl.main.query = $P.getParams();
|
|
|
|
$P.sameVehicleControl.main.query = $P.getParams();
|
|
|
@ -520,6 +521,10 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.openLevyExclPop = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.renderInspectionDataList = (renderDataType) => {
|
|
|
|
$P.renderInspectionDataList = (renderDataType) => {
|
|
|
|
|
|
|
|
|
|
|
|
switch (renderDataType) {
|
|
|
|
switch (renderDataType) {
|
|
|
@ -566,7 +571,13 @@ $(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();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($P.currentDisplay == "sameVehicleInspection"){
|
|
|
|
data.fetchSize = 30;
|
|
|
|
data.fetchSize = 30;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
data.fetchSize = 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return data;
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -594,9 +605,8 @@ $(document).ready(function(){
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼
|
|
|
|
$('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop());
|
|
|
|
|
|
|
|
|
|
|
|
//스크롤 이벤트 추가(사진검사)
|
|
|
|
|
|
|
|
$("#photoInspection-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); });
|
|
|
|
|
|
|
|
//스크롤 이벤트 추가(동일차량검사)
|
|
|
|
//스크롤 이벤트 추가(동일차량검사)
|
|
|
|
$("#sameVehicleInspectionMain-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); });
|
|
|
|
$("#sameVehicleInspectionMain-responsive--${pageName}").scroll(function(){ $P.scrollEnd(this); });
|
|
|
|
|
|
|
|
|
|
|
|