|
|
@ -188,7 +188,7 @@
|
|
|
|
data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
<th style="width: 80px;">No.</th>
|
|
|
|
<th style="width: 80px;">No.</th>
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_YMD','단속일자','ymd','');"
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_YMD','단속일자','ymd','');"
|
|
|
|
style="width: 160px;">단속일시</th>
|
|
|
|
style="width: 180px;">단속일시</th>
|
|
|
|
<th onclick="searchFromGridTitle('VHRNO',this.innerText,'match','part');"
|
|
|
|
<th onclick="searchFromGridTitle('VHRNO',this.innerText,'match','part');"
|
|
|
|
style="width: 120px;">차량번호</th>
|
|
|
|
style="width: 120px;">차량번호</th>
|
|
|
|
<th style="width: 100px;" class="text-orange">위반건수</th>
|
|
|
|
<th style="width: 100px;" class="text-orange">위반건수</th>
|
|
|
@ -207,7 +207,7 @@
|
|
|
|
<th onclick="searchFromGridTitle('UNKNOWN',this.innerText,'match','perfect');"
|
|
|
|
<th onclick="searchFromGridTitle('UNKNOWN',this.innerText,'match','perfect');"
|
|
|
|
style="width: 100px;">감경금액</th>
|
|
|
|
style="width: 100px;">감경금액</th>
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_INPT_SE_CD',this.innerText,'codeValue','FIM003');"
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_INPT_SE_CD',this.innerText,'codeValue','FIM003');"
|
|
|
|
style="width: 100px;">자료출처</th>
|
|
|
|
style="width: 120px;">자료출처</th>
|
|
|
|
<th class="dummy-th"></th>
|
|
|
|
<th class="dummy-th"></th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
@ -329,9 +329,9 @@
|
|
|
|
<th onclick="searchFromGridTitle('RTPYR_NM',this.innerText,'match','part');"
|
|
|
|
<th onclick="searchFromGridTitle('RTPYR_NM',this.innerText,'match','part');"
|
|
|
|
style="width:120px">성명</th>
|
|
|
|
style="width:120px">성명</th>
|
|
|
|
<th class="privacy"
|
|
|
|
<th class="privacy"
|
|
|
|
style="width:160px">주민번호(전체)</th>
|
|
|
|
style="width:160px">주민번호</th>
|
|
|
|
<th class="privacy-mask"
|
|
|
|
<th class="privacy-mask"
|
|
|
|
style="width:160px">주민번호(마스크)</th>
|
|
|
|
style="width:160px">주민번호</th>
|
|
|
|
<th class="dummy-th"></th>
|
|
|
|
<th class="dummy-th"></th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
@ -589,11 +589,11 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnResetAndChangeBiz = (taskSeCd) => {
|
|
|
|
$P.fnResetAndChangeBiz = (taskSeCd) => {
|
|
|
|
$P.fnReset();
|
|
|
|
$P.fnReset();
|
|
|
|
$P.photoInspectionControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=photo");
|
|
|
|
$P.photoInspectionControl.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do");
|
|
|
|
$P.photoInspectionControl.urls.getInfo = "";
|
|
|
|
$P.photoInspectionControl.urls.getInfo = "";
|
|
|
|
$P.sameVehicleControl.main.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=sameVehicleMain");
|
|
|
|
$P.sameVehicleControl.main.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do");
|
|
|
|
$P.sameVehicleControl.main.urls.getInfo = "";
|
|
|
|
$P.sameVehicleControl.main.urls.getInfo = "";
|
|
|
|
$P.sameVehicleControl.sub.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do?inspectionDataType=sameVehicleSub");
|
|
|
|
$P.sameVehicleControl.sub.urls.load = wctx.url("/"+taskSeCd+"/crdn/crdn02/020/list.do");
|
|
|
|
$P.sameVehicleControl.sub.urls.getInfo = "";
|
|
|
|
$P.sameVehicleControl.sub.urls.getInfo = "";
|
|
|
|
|
|
|
|
|
|
|
|
var clsForTask = taskSeCd.toLowerCase();
|
|
|
|
var clsForTask = taskSeCd.toLowerCase();
|
|
|
@ -637,17 +637,21 @@ $(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.query.inspectionDataType = "photo";
|
|
|
|
$P.photoInspectionControl.load(1);
|
|
|
|
$P.photoInspectionControl.load(1);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "sameVehicleInspection":
|
|
|
|
case "sameVehicleInspection":
|
|
|
|
$P.sameVehicleControl.main.query = $P.getParams();
|
|
|
|
$P.sameVehicleControl.main.query = $P.getParams();
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.query.inspectionDataType = "sameVehicleMain";
|
|
|
|
$P.sameVehicleControl.main.load(1);
|
|
|
|
$P.sameVehicleControl.main.load(1);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default: break;
|
|
|
|
default: break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$P.searchDetailInspectionDataList = (dataKey) => {
|
|
|
|
$P.searchDetailInspectionDataList = (dataKey) => {
|
|
|
|
$P.sameVehicleControl.sub.query = { "crdnIDs" : dataKey.split(",") };
|
|
|
|
$P.sameVehicleControl.sub.query = {};
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.query.inspectionDataType = "sameVehicleSub";
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.query.crdnIDs = dataKey;
|
|
|
|
$P.sameVehicleControl.sub.query.taskSeCd = $P.sameVehicleControl.main.query.taskSeCd;
|
|
|
|
$P.sameVehicleControl.sub.query.taskSeCd = $P.sameVehicleControl.main.query.taskSeCd;
|
|
|
|
$P.sameVehicleControl.sub.load(0);
|
|
|
|
$P.sameVehicleControl.sub.load(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -959,6 +963,44 @@ $(document).ready(function(){
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼
|
|
|
|
$('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#btnExcel--${pageName}').on('click', function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($P.currentDisplay == "photoInspection"){
|
|
|
|
|
|
|
|
if($P.photoInspectionControl.dataset.empty){
|
|
|
|
|
|
|
|
alert("조회된 자료가 없습니다.");
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
$P.photoInspectionControl.download();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($P.sameVehicleControl.main.dataset.empty){
|
|
|
|
|
|
|
|
alert("조회된 자료가 없습니다.");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.download();
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
var headerInfo = $("#sameVehicleInspectionSub_Table_0--${pageName} thead th").not(".dummy-th").getHeaderInfo();
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.query.excelTitle = headerInfo.excelTitle;
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.query.excelTitleWidth = headerInfo.excelTitleWidth;
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.download();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop("1"));
|
|
|
|
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop("1"));
|
|
|
|
|
|
|
|
|
|
|
|
//스크롤 테이블
|
|
|
|
//스크롤 테이블
|
|
|
|