|
|
@ -28,8 +28,8 @@
|
|
|
|
<form id="frmSearch--${pageName}" name="frmSearch">
|
|
|
|
<form id="frmSearch--${pageName}" name="frmSearch">
|
|
|
|
<div class="container-search">
|
|
|
|
<div class="container-search">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-12">
|
|
|
|
<span class="form-label fw-bold form-search-title">업무구분</span>
|
|
|
|
<span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<c:forEach items="${TaskListForSgg}" var="item">
|
|
|
|
<c:forEach items="${TaskListForSgg}" var="item">
|
|
|
|
<label>
|
|
|
|
<label>
|
|
|
@ -42,7 +42,7 @@
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-6">
|
|
|
|
<span class="form-label fw-bold form-search-title">단속일자</span>
|
|
|
|
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="schCrdnYmdFrom--${pageName}">단속일자</label>
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
<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"
|
|
|
|
class="form-control form-date"
|
|
|
@ -55,8 +55,8 @@
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-4">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title" for="crdnInptSeCd--${pageName}">단속구분</label>
|
|
|
|
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="crdnInptSeCd--${pageName}">단속구분</label>
|
|
|
|
<select id="crdnInptSeCd--${pageName}" name="crdnInptSeCd" class="form-select">
|
|
|
|
<select id="crdnInptSeCd--${pageName}" name="crdnInptSeCd" class="form-select">
|
|
|
|
<option value="">전체</option>
|
|
|
|
<option value="">전체</option>
|
|
|
|
<c:forEach items="${FIM003List}" var="item">
|
|
|
|
<c:forEach items="${FIM003List}" var="item">
|
|
|
@ -64,18 +64,18 @@
|
|
|
|
</c:forEach>
|
|
|
|
</c:forEach>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-4">
|
|
|
|
<div class="col-6">
|
|
|
|
<label class="form-label fw-bold form-search-title" for="vhrno--${pageName}">차량번호</label>
|
|
|
|
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="vhrno--${pageName}">차량번호</label>
|
|
|
|
<input type="text" id="vhrno--${pageName}" name="vhrno" class="form-control" />
|
|
|
|
<input type="text" id="vhrno--${pageName}" name="vhrno" class="form-control" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-4">
|
|
|
|
<div class="col-6">
|
|
|
|
<span class="area-samevehicleinspection">
|
|
|
|
<span class="area-samevehicleinspection">
|
|
|
|
<span class="form-label fw-bold form-search-title">단속건수</span>
|
|
|
|
<span class="form-label fw-bold form-search-title w-px-120 text-end">단속건수</span>
|
|
|
|
<input type="text" name="schCrdnCntFrom" class="form-control w-px-50" placeholder="2" />
|
|
|
|
<input type="text" name="schCrdnCntFrom" class="form-control w-px-50" placeholder="2" />
|
|
|
|
~ <input type="text" name="schCrdnCntTo" class="form-control w-px-50"/>
|
|
|
|
~ <input type="text" name="schCrdnCntTo" class="form-control w-px-50"/>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="col-6">
|
|
|
|
<label>
|
|
|
|
<label>
|
|
|
|
<input type="checkbox" name="schExclEnd" class="form-check-input" />
|
|
|
|
<input type="checkbox" name="schExclEnd" class="form-check-input" />
|
|
|
|
서손자료제외
|
|
|
|
서손자료제외
|
|
|
@ -98,27 +98,28 @@
|
|
|
|
</slot>
|
|
|
|
</slot>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span class="flr">
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-open-detail"
|
|
|
|
|
|
|
|
data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
|
|
|
|
|
|
|
|
<i class="bx bx-chevron-down"></i>
|
|
|
|
|
|
|
|
상세검색
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</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" />
|
|
|
|
|
|
|
|
<!-- 상세 검색조건 버튼 -->
|
|
|
|
|
|
|
|
<span class="flr">
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-open-detail" data-bs-toggle="collapse" data-bs-target="#searchDetail--${pageName}">
|
|
|
|
|
|
|
|
<i class="bx bx-chevron-down"></i>
|
|
|
|
|
|
|
|
상세검색
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
|
|
|
|
<div id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="col-4">
|
|
|
|
<input type="hidden" id="by--${pageName}" name="by" />
|
|
|
|
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="crdnSttsCd--${pageName}">자료상태</label>
|
|
|
|
<input type="text" id="byOutput--${pageName}" class="form-control" readonly value="동적 검색" />
|
|
|
|
|
|
|
|
<input type="hidden" id="mainOption--${pageName}" name="mainOption" />
|
|
|
|
|
|
|
|
<input type="hidden" id="subOption--${pageName}" name="subOption" />
|
|
|
|
|
|
|
|
<input type="text" id="term--${pageName}" name="term" class="form-control" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
|
|
|
<label class="form-label fw-bold form-search-title" for="crdnSttsCd--${pageName}">자료상태</label>
|
|
|
|
|
|
|
|
<select id="crdnSttsCd--${pageName}" name="crdnSttsCd" class="form-select">
|
|
|
|
<select id="crdnSttsCd--${pageName}" name="crdnSttsCd" class="form-select">
|
|
|
|
<option value="">전체</option>
|
|
|
|
<option value="">전체</option>
|
|
|
|
<c:forEach items="${FIM010List}" var="item">
|
|
|
|
<c:forEach items="${FIM010List}" var="item">
|
|
|
@ -126,23 +127,32 @@
|
|
|
|
</c:forEach>
|
|
|
|
</c:forEach>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-6">
|
|
|
|
<!-- 등록일자, 수정일자 -->
|
|
|
|
<select id="schDateOpt--${pageName}" name="schDateOpt" class="form-select">
|
|
|
|
<div class="col-4">
|
|
|
|
<option value="regDt">등록일자</option>
|
|
|
|
<select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
<option value="regDt">등록일자</option>
|
|
|
|
</select>
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
</select>
|
|
|
|
<input type="text" id="schDateFrom--${pageName}" name="schDateFrom"
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
class="form-control form-date"
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
~
|
|
|
|
~
|
|
|
|
<input type="text" id="schDateTo--${pageName}" name="schDateTo"
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
|
|
|
|
class="form-control form-date"
|
|
|
|
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 등록자명, 수정자명 -->
|
|
|
|
|
|
|
|
<div class="col-4">
|
|
|
|
|
|
|
|
<select class="form-select w-px-120 text-center" id="schRgtrOpt--${pageName}" name="schRgtrOpt">
|
|
|
|
|
|
|
|
<option value="rgtr">등록자</option>
|
|
|
|
|
|
|
|
<option value="mdfr">수정자</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<input type="hidden" id="schRgtrCd--${pageName}" name="schRgtrCd" />
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-px-160" id="schRgtrNm--${pageName}" name="schRgtrNm" />
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-dark" id="btnFindUser--${pageName}" title="사용자 검색">검색</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
@ -360,12 +370,9 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="content-backdrop fade"></div>
|
|
|
|
<div class="content-backdrop fade"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -519,6 +526,7 @@ $(document).ready(function(){
|
|
|
|
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("동적 검색");
|
|
|
|
$("#byOutput--${pageName}").val("동적 검색");
|
|
|
|
|
|
|
|
$("#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());
|
|
|
|
$P.photoInspectionControl.dataset.setData([]);
|
|
|
|
$P.photoInspectionControl.dataset.setData([]);
|
|
|
@ -1017,6 +1025,33 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 사용자검색 callback
|
|
|
|
|
|
|
|
$P.callbackFindUser = (userId, userNm) => {
|
|
|
|
|
|
|
|
$("#schRgtrCd--${pageName}").val(userId); // 사용자 ID
|
|
|
|
|
|
|
|
$("#schRgtrNm--${pageName}").val(userNm); // 사용자 명
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 사용자검색 버튼 클릭 이벤트
|
|
|
|
|
|
|
|
$P.fnGetFindUser = () => {
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
|
|
|
openerPageName: "${pageName}"
|
|
|
|
|
|
|
|
, callbackFuncName: "pageObject['${pageName}']['callbackFindUser']"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
|
|
|
url: wctx.url("/user/user02/010/main.do")
|
|
|
|
|
|
|
|
, data: params || {}
|
|
|
|
|
|
|
|
, success: resp => {
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
|
|
|
id: "userDialog"
|
|
|
|
|
|
|
|
, title: "사용자 검색"
|
|
|
|
|
|
|
|
, content: resp
|
|
|
|
|
|
|
|
, size: "lg"
|
|
|
|
|
|
|
|
, init: () => { setDialogZindex(); }
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* element.on
|
|
|
|
* element.on
|
|
|
@ -1045,10 +1080,9 @@ $(document).ready(function(){
|
|
|
|
$("#term--${pageName}").onEnterPress($P.searchInspectionList);
|
|
|
|
$("#term--${pageName}").onEnterPress($P.searchInspectionList);
|
|
|
|
|
|
|
|
|
|
|
|
$('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown());
|
|
|
|
$('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown());
|
|
|
|
|
|
|
|
$("#btnFindUser--${pageName}").on("click", () => $P.fnGetFindUser()); // 사용자 검색
|
|
|
|
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop("1"));
|
|
|
|
$("#btnInstLevyExcl--${pageName}").on("click", () => $P.openLevyExclPop("1"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fnMakeResizableTable($("#photoInspection-responsive--${pageName}")[0]);
|
|
|
|
fnMakeResizableTable($("#photoInspection-responsive--${pageName}")[0]);
|
|
|
|
fnMakeResizableTable($("#sameVehicleInspectionMain-responsive--${pageName}")[0]);
|
|
|
|
fnMakeResizableTable($("#sameVehicleInspectionMain-responsive--${pageName}")[0]);
|
|
|
|
fnMakeResizableTable($("#sameVehicleInspectionSub-responsive--${pageName}")[0]);
|
|
|
|
fnMakeResizableTable($("#sameVehicleInspectionSub-responsive--${pageName}")[0]);
|
|
|
|