|
|
@ -101,11 +101,11 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 동적검색 -->
|
|
|
|
<!-- 동적검색 -->
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<input type="hidden" id="by--${pageName}" name="by" />
|
|
|
|
<input type="hidden" name="by" />
|
|
|
|
<input type="text" class="form-control fw-bold w-px-120 text-end" id="byOutput--${pageName}" value="동적 검색" readonly />
|
|
|
|
<input type="text" class="form-control fw-bold w-px-120 text-end" name="byOutput" value="동적 검색" readonly />
|
|
|
|
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
|
|
|
|
<input type="hidden" name="mainOption" />
|
|
|
|
<input type="hidden" id="subOption--${pageName}" name="subOption" />
|
|
|
|
<input type="hidden" name="subOption" />
|
|
|
|
<input type="text" class="form-control w-px-400" id="term--${pageName}" name="term" autocomplete="off" />
|
|
|
|
<input type="text" class="form-control w-px-400" name="term" autocomplete="off" />
|
|
|
|
<!-- 상세 검색조건 버튼 -->
|
|
|
|
<!-- 상세 검색조건 버튼 -->
|
|
|
|
<span class="flr">
|
|
|
|
<span class="flr">
|
|
|
|
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse"
|
|
|
|
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse"
|
|
|
@ -161,18 +161,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div name="gridbuttonArea" class="container-page-btn">
|
|
|
|
<div name="gridbuttonArea" class="container-page-btn">
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
<span id="photoInspectionPaging--${pageName}PagingInfo"
|
|
|
|
<span is="paging-info" data-ref-doctx="${pageName}" name="photoInspectionPagingInfo"
|
|
|
|
class="dataTables_info area-photoinspection" role="status" aria-live="polite"></span>
|
|
|
|
class="dataTables_info area-photoinspection"></span>
|
|
|
|
<ul id="photoInspectionPaging--${pageName}"
|
|
|
|
<ul name="photoInspectionPaging"
|
|
|
|
class="pagination pagination-primary area-photoinspection">
|
|
|
|
class="pagination pagination-primary area-photoinspection">
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
<div class="d-flex flex-row justify-content-between">
|
|
|
|
<span id="sameVehicleInspectionMainPaging--${pageName}PagingInfo"
|
|
|
|
<span is="paging-info" data-ref-doctx="${pageName}" name="photoInspectionPagingInfo"
|
|
|
|
class="dataTables_info area-samevehicleinspection" role="status" aria-live="polite"></span>
|
|
|
|
class="dataTables_info area-samevehicleinspection"></span>
|
|
|
|
<ul id="sameVehicleInspectionMainPaging--${pageName}"
|
|
|
|
<ul name="photoInspectionPaging"
|
|
|
|
class="pagination pagination-primary area-samevehicleinspection">
|
|
|
|
class="pagination pagination-primary area-samevehicleinspection">
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<button type="button" name="btnInstLevyExcl" class="btn btn-primary"
|
|
|
|
<button type="button" name="btnInstLevyExcl" class="btn btn-primary"
|
|
|
@ -195,8 +195,7 @@
|
|
|
|
<table name="photoInspection_Table_0"
|
|
|
|
<table name="photoInspection_Table_0"
|
|
|
|
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
|
|
|
|
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<tr data-by="by--${pageName}" data-by-output="byOutput--${pageName}"
|
|
|
|
<tr data-search-target="[data-doctx='${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: 180px;">단속일시</th>
|
|
|
|
style="width: 180px;">단속일시</th>
|
|
|
@ -277,8 +276,7 @@
|
|
|
|
<table name="sameVehicleInspectionMain_Table_0"
|
|
|
|
<table name="sameVehicleInspectionMain_Table_0"
|
|
|
|
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
|
|
|
|
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<tr data-by="by--${pageName}" data-by-output="byOutput--${pageName}"
|
|
|
|
<tr data-search-target="[data-doctx='${pageName}']">
|
|
|
|
data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
|
|
|
|
<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 onclick="searchFromGridTitle('CRDN_STDG_NM',this.innerText,'match','perfect');"
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_STDG_NM',this.innerText,'match','perfect');"
|
|
|
@ -316,8 +314,7 @@
|
|
|
|
<table name="sameVehicleInspectionSub_Table_0"
|
|
|
|
<table name="sameVehicleInspectionSub_Table_0"
|
|
|
|
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
|
|
|
|
class="table-layout-fixed datatables-ajax table table-bordered dataTable no-footer">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<thead class="sticky-thead">
|
|
|
|
<tr data-by="by--${pageName}" data-by-output="byOutput--${pageName}"
|
|
|
|
<tr data-search-target="[data-doctx='${pageName}']">
|
|
|
|
data-main-option="mainOption--${pageName}" data-sub-option="subOption--${pageName}">
|
|
|
|
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_YMD','단속일자','ymd','');"
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_YMD','단속일자','ymd','');"
|
|
|
|
style="width:180px">단속일시</th>
|
|
|
|
style="width:180px">단속일시</th>
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_INPT_SE_CD',this.innerText,'codeValue','FIM003');"
|
|
|
|
<th onclick="searchFromGridTitle('CRDN_INPT_SE_CD',this.innerText,'codeValue','FIM003');"
|
|
|
@ -431,7 +428,7 @@ $(document).ready(function(){
|
|
|
|
var trs = Apply.fromDataset.getTbody($P.ctrl.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
var trs = Apply.fromDataset.getTbody($P.ctrl.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
$P.renderInspectionDataList(obj["Total"], $P.ctrl.dataset.length, trs, "photoInspection", option);
|
|
|
|
$P.renderInspectionDataList(obj["Total"], $P.ctrl.dataset.length, trs, "photoInspection", option);
|
|
|
|
|
|
|
|
|
|
|
|
Apply.fromDataset.paging($P.ctrl.dataset, obj, "photoInspectionPaging--${pageName}");
|
|
|
|
Apply.fromDataset.paging($P.ctrl.dataset, obj, $P.find("photoInspectionPaging"), $P.find("photoInspectionPagingInfo"));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.ctrl.dataset.onCurrentChange = (dataItem) => {
|
|
|
|
$P.ctrl.dataset.onCurrentChange = (dataItem) => {
|
|
|
@ -458,7 +455,8 @@ $(document).ready(function(){
|
|
|
|
var trs = Apply.fromDataset.getTbody($P.alt.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
var trs = Apply.fromDataset.getTbody($P.alt.dataset, t.found, t.notFound, t.replacer);
|
|
|
|
$P.renderInspectionDataList(obj["Total"], $P.alt.dataset.length, trs, "sameVehicleInspectionMain", option);
|
|
|
|
$P.renderInspectionDataList(obj["Total"], $P.alt.dataset.length, trs, "sameVehicleInspectionMain", option);
|
|
|
|
|
|
|
|
|
|
|
|
Apply.fromDataset.paging($P.alt.dataset, obj, "sameVehicleInspectionMainPaging--${pageName}");
|
|
|
|
Apply.fromDataset.paging($P.alt.dataset, obj,
|
|
|
|
|
|
|
|
$P.find("sameVehicleInspectionMainPaging"), "sameVehicleInspectionMainPagingInfo"));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.alt.dataset.onCurrentChange = (dataItem) => {
|
|
|
|
$P.alt.dataset.onCurrentChange = (dataItem) => {
|
|
|
@ -491,7 +489,7 @@ $(document).ready(function(){
|
|
|
|
searchForm.find("input[type='hidden']").val("");
|
|
|
|
searchForm.find("input[type='hidden']").val("");
|
|
|
|
searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); });
|
|
|
|
searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); });
|
|
|
|
|
|
|
|
|
|
|
|
$("#byOutput--${pageName}").val("동적 검색");
|
|
|
|
$P.$find("byOutput").val("동적 검색");
|
|
|
|
$("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름
|
|
|
|
$("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름
|
|
|
|
$('#schCrdnYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-7).date);
|
|
|
|
$('#schCrdnYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-7).date);
|
|
|
|
$('#schCrdnYmdTo--${pageName}').datepicker('setDate', TODAY());
|
|
|
|
$('#schCrdnYmdTo--${pageName}').datepicker('setDate', TODAY());
|
|
|
@ -1034,7 +1032,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
$P.$find('btnSearch').on('click', () => $P.searchInspectionList()); //검색버튼
|
|
|
|
$P.$find('btnSearch').on('click', () => $P.searchInspectionList()); //검색버튼
|
|
|
|
// 동적검색에서 엔터(Enter) 키를 누르면 검색한다.
|
|
|
|
// 동적검색에서 엔터(Enter) 키를 누르면 검색한다.
|
|
|
|
$("#term--${pageName}").onEnterPress($P.searchInspectionList);
|
|
|
|
$P.$find("term").onEnterPress($P.searchInspectionList);
|
|
|
|
|
|
|
|
|
|
|
|
$P.$find("btnExcel").on('click', () => $P.fnExcelDown());
|
|
|
|
$P.$find("btnExcel").on('click', () => $P.fnExcelDown());
|
|
|
|
$P.$find("btnFindUser").on("click", () => $P.fnGetFindUser()); // 사용자 검색
|
|
|
|
$P.$find("btnFindUser").on("click", () => $P.fnGetFindUser()); // 사용자 검색
|
|
|
|