|
|
|
@ -4,23 +4,23 @@
|
|
|
|
|
<div class="content-wrapper">
|
|
|
|
|
<div class="container-xxl flex-grow-1 px-0">
|
|
|
|
|
<div class="card wrapper-list">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<button type="button" id="btnReset--${pageName}" class="btn btn-outline-dark w-px-120" title="초기화">
|
|
|
|
|
초기화
|
|
|
|
|
</button>
|
|
|
|
|
<div style="width: 100%;display: flex;justify-content: center;">
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<button type="button" id="btnPhotoInspection--${pageName}"
|
|
|
|
|
<button type="button" id="btnPhotoInspection--${pageName}"
|
|
|
|
|
class="btn btn-blue btn-outline-some" title="단속사진 비교">단속사진 비교</button>
|
|
|
|
|
<button type="button" id="btnSameVehicleInspection--${pageName}"
|
|
|
|
|
<button type="button" id="btnSameVehicleInspection--${pageName}"
|
|
|
|
|
class="btn btn-blue btn-outline-some" title="동일단속차량 검사">동일단속차량 검사</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<button type="button" id="btnSearch--${pageName}"
|
|
|
|
|
<button type="button" id="btnSearch--${pageName}"
|
|
|
|
|
class="btn btn-search w-px-120" title="검색">검색</button>
|
|
|
|
|
<button type="button" id="btnExcel--${pageName}"
|
|
|
|
|
<button type="button" id="btnExcel--${pageName}"
|
|
|
|
|
class="btn btn-excel w-px-120" title="엑셀 저장">엑셀</button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
@ -44,12 +44,12 @@
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label class="form-label fw-bold form-search-title">단속일자</label>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<input type="text" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
|
|
|
|
|
<input type="text" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
|
|
|
|
|
class="form-control form-date"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" id="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
|
|
|
|
|
<input type="text" id="schCrdnYmdTo--${pageName}" name="schCrdnYmdTo"
|
|
|
|
|
class="form-control form-date"
|
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
@ -132,12 +132,12 @@
|
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<input type="text" id="schDateFrom--${pageName}" name="schDateFrom"
|
|
|
|
|
<input type="text" id="schDateFrom--${pageName}" name="schDateFrom"
|
|
|
|
|
class="form-control form-date"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" id="schDateTo--${pageName}" name="schDateTo"
|
|
|
|
|
<input type="text" id="schDateTo--${pageName}" name="schDateTo"
|
|
|
|
|
class="form-control form-date"
|
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
@ -151,19 +151,19 @@
|
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
|
<label id="photoInspectionPaging--${pageName}PagingInfo"
|
|
|
|
|
class="dataTables_info area-photoinspection" role="status" aria-live="polite"></label>
|
|
|
|
|
<ul id="photoInspectionPaging--${pageName}"
|
|
|
|
|
<ul id="photoInspectionPaging--${pageName}"
|
|
|
|
|
class="pagination pagination-primary area-photoinspection">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
|
<label id="sameVehicleInspectionMainPaging--${pageName}PagingInfo"
|
|
|
|
|
class="dataTables_info area-samevehicleinspection" role="status" aria-live="polite"></label>
|
|
|
|
|
<ul id="sameVehicleInspectionMainPaging--${pageName}"
|
|
|
|
|
<ul id="sameVehicleInspectionMainPaging--${pageName}"
|
|
|
|
|
class="pagination pagination-primary area-samevehicleinspection">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
|
<button type="button" id="btnInstLevyExcl--${pageName}" class="btn btn-primary"
|
|
|
|
|
<button type="button" id="btnInstLevyExcl--${pageName}" class="btn btn-primary"
|
|
|
|
|
title="비부과 등록">비부과 등록</button>
|
|
|
|
|
<span slot="button">
|
|
|
|
|
<template class="pvs">
|
|
|
|
@ -246,7 +246,7 @@
|
|
|
|
|
<div style="height:200px;" class="area-photoinspection">
|
|
|
|
|
선택자료
|
|
|
|
|
<strong id="curDataVhrno--${pageName}"></strong>
|
|
|
|
|
<div id="curDataFiles--${pageName}"
|
|
|
|
|
<div id="curDataFiles--${pageName}"
|
|
|
|
|
style="width: 100%;height: 180px;overflow-x: scroll;background-color:#D9DEE3;display:flex;">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -254,7 +254,7 @@
|
|
|
|
|
<div style="height:200px;" class="area-photoinspection">
|
|
|
|
|
비교자료(선택자료의 다음 자료가 보여집니다.)
|
|
|
|
|
<strong id="nextDataVhrno--${pageName}"></strong>
|
|
|
|
|
<div id="nextDataFiles--${pageName}"
|
|
|
|
|
<div id="nextDataFiles--${pageName}"
|
|
|
|
|
style="width: 100%;height: 180px;overflow-x: scroll;background-color:#D9DEE3;display:flex;">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -262,7 +262,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="area-samevehicleinspection" style="min-width:1400px;display:flex;justify-content: space-evenly;">
|
|
|
|
|
<div class="card-datatable text-nowrap" style="display: inline-flex;">
|
|
|
|
|
<div id="sameVehicleInspectionMain_Table_0_wrapper--${pageName}"
|
|
|
|
|
<div id="sameVehicleInspectionMain_Table_0_wrapper--${pageName}"
|
|
|
|
|
class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
|
<div id="sameVehicleInspectionMain-responsive--${pageName}" class="table-responsive"
|
|
|
|
|
style="overflow-x: scroll;height:400px;width:350px;overflow-y: scroll;">
|
|
|
|
@ -715,7 +715,7 @@ $(document).ready(function(){
|
|
|
|
|
var output = fnMakeImgTag(item.URL, item.FILE_NM,"next"+item.FILE_ID+'${pageName}',item.MOSAIC);
|
|
|
|
|
$("#nextDataFiles--${pageName}").append(output);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -795,13 +795,15 @@ $(document).ready(function(){
|
|
|
|
|
"callPurpose" : "create"
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
var taskSeCd = $("#frmSearch--${pageName} [name='taskSeCd']:checked").val();
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/excl/excl01/020/info.do"),
|
|
|
|
|
url : wctx.url(taskSeCd + "/excl/excl01/020/info.do"),
|
|
|
|
|
data : params,
|
|
|
|
|
success : resp => {
|
|
|
|
|
|
|
|
|
|
if((typeof resp) != "string"){
|
|
|
|
|
dialog.alert({
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content : resp.message,
|
|
|
|
|
init : function(){ focusClose(); }
|
|
|
|
|
});
|
|
|
|
@ -812,7 +814,7 @@ $(document).ready(function(){
|
|
|
|
|
id : "levyExcldialog",
|
|
|
|
|
title : "부과제외 정보",
|
|
|
|
|
content : resp,
|
|
|
|
|
size : "lg",
|
|
|
|
|
size : "md",
|
|
|
|
|
init : () => {},
|
|
|
|
|
onClose : () => {}
|
|
|
|
|
});
|
|
|
|
@ -845,7 +847,7 @@ $(document).ready(function(){
|
|
|
|
|
success : resp => {
|
|
|
|
|
|
|
|
|
|
if((typeof resp) != "string"){
|
|
|
|
|
dialog.alert({
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content : resp.message,
|
|
|
|
|
init : function(){ focusClose(); }
|
|
|
|
|
});
|
|
|
|
@ -881,11 +883,11 @@ $(document).ready(function(){
|
|
|
|
|
var replacer = (str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].clickInspectionDataList('" + dataItem.getValue("CRDN_ID") + "','photoInspection');")
|
|
|
|
|
.replace(/{ondblclick}/gi, "pageObject['${pageName}'].dblclickInspectionDataList('" + dataItem.getValue("CRDN_ID") + "','photoInspection');");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var trs = empty ? notFound : dataList.inStrings(found, replacer);
|
|
|
|
|
var noMore = (total == dataList.length);
|
|
|
|
|
var initScroll = ($P.photoInspectionControl.query.pageNum < 2) && ($P.photoInspectionControl.untilPageNum == 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#photoInspection-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore);
|
|
|
|
|
|
|
|
|
|
if($P.photoInspectionControl.untilPageNum != 0){
|
|
|
|
@ -901,11 +903,11 @@ $(document).ready(function(){
|
|
|
|
|
var found = document.getElementById("sameVehicleInspectionMainRow--${pageName}").innerHTML;
|
|
|
|
|
var replacer = (str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "pageObject['${pageName}'].clickInspectionDataList('" + dataItem.getValue("CRDN_ID_LIST") + "','sameVehicleInspectionMain');");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var trs = empty ? notFound : dataList.inStrings(found, replacer);
|
|
|
|
|
var noMore = (total == dataList.length);
|
|
|
|
|
var initScroll = ($P.sameVehicleControl.main.query.pageNum < 2) && ($P.sameVehicleControl.untilPageNum == 0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#sameVehicleInspectionMain-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -971,58 +973,58 @@ $(document).ready(function(){
|
|
|
|
|
$('#btnSearch--${pageName}').on('click', () => $P.searchInspectionList()); //검색버튼
|
|
|
|
|
|
|
|
|
|
$('#btnExcel--${pageName}').on('click', function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($P.currentDisplay == "photoInspection"){
|
|
|
|
|
if($P.photoInspectionControl.dataset.empty){
|
|
|
|
|
alert("조회된 자료가 없습니다.");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var cellDefs = getCellDefs($("#photoInspection_Table_0--${pageName} thead th").not(".dummy-th").not(":eq(0)"),
|
|
|
|
|
|
|
|
|
|
var cellDefs = getCellDefs($("#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.cellDefs = cellDefs;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.photoInspectionControl.download();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($P.sameVehicleControl.main.dataset.empty){
|
|
|
|
|
alert("조회된 자료가 없습니다.");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(confirm("단속건수 엑셀저장은 확인버튼, 상세내역 엑셀저장시 취소버튼을 누르세요.")){
|
|
|
|
|
|
|
|
|
|
var cellDefs = getCellDefs($("#sameVehicleInspectionMain_Table_0--${pageName} thead th").not(".dummy-th"),
|
|
|
|
|
|
|
|
|
|
var cellDefs = getCellDefs($("#sameVehicleInspectionMain_Table_0--${pageName} thead th").not(".dummy-th"),
|
|
|
|
|
$($("#sameVehicleInspectionMainRow--${pageName}")[0].content).find("td").not(".dummy-td"));
|
|
|
|
|
$P.sameVehicleControl.main.query.cellDefs = cellDefs;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.main.download();
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
var cellDefs = getCellDefs($("#sameVehicleInspectionSub_Table_0--${pageName} thead th").not(".dummy-th").not(":hidden"),
|
|
|
|
|
|
|
|
|
|
var cellDefs = getCellDefs($("#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.cellDefs = cellDefs;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.sameVehicleControl.sub.download();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop("1"));
|
|
|
|
|
|
|
|
|
|
//스크롤 테이블
|
|
|
|
|
fnMakeScrollableTable($("#photoInspection-responsive--${pageName}")[0], $P.scrollInspectionDataList);
|
|
|
|
|
fnMakeScrollableTable($("#sameVehicleInspectionMain-responsive--${pageName}")[0], $P.scrollInspectionDataList);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#photoInspection_Table_0--${pageName}").find("th").resizable({handles : "e"});
|
|
|
|
|
$("#sameVehicleInspectionMain_Table_0--${pageName}").find("th").resizable({handles : "e"});
|
|
|
|
|
$("#sameVehicleInspectionSub_Table_0--${pageName}").find("th").resizable({handles : "e"});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 초기화
|
|
|
|
|
**************************************************************************/
|
|
|
|
@ -1035,7 +1037,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#frmSearch--${pageName} input[name='taskSeCd']").each(function(i) {
|
|
|
|
|
$(this).prop("disabled", "true");
|
|
|
|
|
});
|
|
|
|
|