|
|
|
@ -25,8 +25,8 @@
|
|
|
|
|
<form id="frmSearch--${pageName}" name="frmSearch">
|
|
|
|
|
<div class="container-search">
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<span class="form-label fw-bold form-search-title">업무구분</span>
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<span class="form-label fw-bold form-search-title w-px-120 text-end">업무구분</span>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<c:forEach items="${TaskListForSgg}" var="item">
|
|
|
|
|
<label>
|
|
|
|
@ -39,7 +39,7 @@
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<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">
|
|
|
|
|
<input type="text" id="schCrdnYmdFrom--${pageName}" name="schCrdnYmdFrom"
|
|
|
|
|
class="form-control form-date"
|
|
|
|
@ -53,7 +53,7 @@
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<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">
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
<c:forEach items="${FIM003List}" var="item">
|
|
|
|
@ -62,62 +62,31 @@
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<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" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<select id="schDateOpt--${pageName}" name="schDateOpt" class="form-select">
|
|
|
|
|
<option value="regDt">등록일자</option>
|
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<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"
|
|
|
|
|
class="form-control form-date"
|
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<input type="hidden" id="by--${pageName}" name="by" />
|
|
|
|
|
<input type="text" id="byOutput--${pageName}" class="form-control" readonly value="동적 검색" />
|
|
|
|
|
<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" id="term--${pageName}" name="term" class="form-control" />
|
|
|
|
|
<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>
|
|
|
|
|
<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 id="searchDetail--${pageName}" class="container-search container-search-detail collapse">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<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">
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
<c:forEach items="${FIM010List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div slot="search" class="col-6">
|
|
|
|
|
<div slot="search" class="col-6">
|
|
|
|
|
<template class="pvs dpv eca">
|
|
|
|
|
<slot>
|
|
|
|
|
<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>
|
|
|
|
|
<label class="form-label">
|
|
|
|
|
<input type="radio" name="towngYn" value="" class="form-check-input" checked />전체
|
|
|
|
|
</label>
|
|
|
|
@ -130,6 +99,41 @@
|
|
|
|
|
</slot>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<label class="form-label fw-bold form-search-title w-px-120 text-end" for="crdnSttsCd--${pageName}">자료상태</label>
|
|
|
|
|
<select id="crdnSttsCd--${pageName}" name="crdnSttsCd" class="form-select">
|
|
|
|
|
<option value="">전체</option>
|
|
|
|
|
<c:forEach items="${FIM010List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 등록일자, 수정일자 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<select class="form-select w-px-120 text-center" id="schRegDateOpt--${pageName}" name="schRegDateOpt">
|
|
|
|
|
<option value="regDt">등록일자</option>
|
|
|
|
|
<option value="mdfcnDt">수정일자</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="form-search-linebox">
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateFrom--${pageName}" name="schRegDateFrom"
|
|
|
|
|
data-fmt-type="day" title="시작 날짜 선택" />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
~
|
|
|
|
|
<input type="text" class="form-control form-date" id="schRegDateTo--${pageName}" name="schRegDateTo"
|
|
|
|
|
data-fmt-type="day" title="종료 날짜 선택">
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 등록자명, 수정자명 -->
|
|
|
|
|
<div class="col-6">
|
|
|
|
|
<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>
|
|
|
|
|
</form>
|
|
|
|
@ -258,17 +262,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="content-backdrop fade"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
@ -351,6 +350,7 @@ $(document).ready(function(){
|
|
|
|
|
searchForm.find("select").each(function(){ $(this).find("option:eq(0)").prop("selected", true); });
|
|
|
|
|
|
|
|
|
|
$("#byOutput--${pageName}").val("동적 검색");
|
|
|
|
|
$("#schRgtrNm--${pageName}").prop("readonly", true); // 사용자 이름
|
|
|
|
|
$('#schCrdnYmdFrom--${pageName}').datepicker('setDate', DateUtil.getDateDay(-365).date);
|
|
|
|
|
$('#schCrdnYmdTo--${pageName}').datepicker('setDate', TODAY());
|
|
|
|
|
$P.crdnControl.dataset.setData([]);
|
|
|
|
@ -545,6 +545,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
|
|
|
|
@ -555,6 +582,7 @@ $(document).ready(function(){
|
|
|
|
|
$("#term--${pageName}").onEnterPress($P.searchCrdnList);
|
|
|
|
|
$('#btnExcel--${pageName}').on('click', () => $P.fnExcelDown(false));
|
|
|
|
|
$('#btnExcelForApproval--${pageName}').on('click', () => $P.fnExcelDown(true));
|
|
|
|
|
$("#btnFindUser--${pageName}").on("click", () => $P.fnGetFindUser()); // 사용자 검색
|
|
|
|
|
fnMakeResizableTable($("#table-responsive--${pageName}")[0]);
|
|
|
|
|
fnMakeScrollableTable($("#table-responsive--${pageName}")[0], $P.scrollCrdnList);
|
|
|
|
|
|
|
|
|
|