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