|
|
|
@ -2,12 +2,12 @@
|
|
|
|
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
|
|
|
|
|
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
|
|
|
|
|
|
<div class="card" style="max-width:1100px;" title="단속정보">
|
|
|
|
|
<form id="frmEdit--${pageName}">
|
|
|
|
|
<input name="crdnId" type="hidden" data-map="CRDN_ID" />
|
|
|
|
|
<input id="taskSeCd--${pageName}" name="taskSeCd" type="hidden" value="${taskSeCd}" />
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<div class="col-md-12 slot-edit" data-slot-index="0"></div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="crdnYmd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
|
위반일자
|
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
</label>
|
|
|
|
|
<input type="text" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" class="form-control" required />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="vltnCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
|
위반내용
|
|
|
|
|
</label>
|
|
|
|
@ -39,24 +39,23 @@
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-6 select2-primary">
|
|
|
|
|
<label for="crdnStdgNm--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">법정동</label>
|
|
|
|
|
<input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM" class="form-control" readonly/>
|
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-dark" onclick="">검색</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="crdnPlc--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">위반장소</label>
|
|
|
|
|
<input type="text" id="crdnPlc--${pageName}" name="crdnPlc" data-map="CRDN_PLC" class="form-control" />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-8 slot-edit" data-slot-index="1">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="etcCn--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">특기사항</label>
|
|
|
|
|
<input type="text" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" class="form-control" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="rtpyrNm--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">소유자</label>
|
|
|
|
|
<input type="text" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM" class="form-control" />
|
|
|
|
|
</div>
|
|
|
|
@ -73,10 +72,6 @@
|
|
|
|
|
<input type="text" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO" class="form-control privacy" />
|
|
|
|
|
<input type="text" id="mask-rtpyrNo--${pageName}" class="form-control privacy-mask" disabled value="******"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="vin--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차대번호</label>
|
|
|
|
|
<input type="text" id="vin--${pageName}" name="vin" data-map="VIN" class="form-control" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="addr--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
|
|
|
|
|
<input type="text" id="addr--${pageName}" name="addr" data-map="ADDR" class="form-control w-px-700" />
|
|
|
|
@ -93,15 +88,21 @@
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
차량명칭/차량색상은 입력항목이 아닙니다.
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="vin--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차대번호</label>
|
|
|
|
|
<input type="text" id="vin--${pageName}" name="vin" data-map="VIN" class="form-control" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4 slot-edit" data-slot-index="2"></div>
|
|
|
|
|
<div class="col-md-4 slot-edit" data-slot-index="3"></div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="vhclNm--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차량명칭</label>
|
|
|
|
|
<input type="text" id="vhclNm--${pageName}" name="vhclNm" data-map="VHCL_NM" class="form-control" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="vhclColor--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차량색상</label>
|
|
|
|
|
<input type="text" id="vhclColor--${pageName}" name="vhclColor" data-map="VHCL_COLOR" class="form-control" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label for="useFuelCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">연료구분</label>
|
|
|
|
|
<select id="useFuelCd--${pageName}" name="useFuelCd" data-map="USE_FUEL_CD" class="form-select" disabled>
|
|
|
|
|
<c:forEach items="${LVS005List}" var="item">
|
|
|
|
@ -110,11 +111,11 @@
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="editByTask--${pageName}">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-4 slot-edit" data-slot-index="4"></div>
|
|
|
|
|
<div class="col-md-4 slot-edit" data-slot-index="5"></div>
|
|
|
|
|
<div class="col-md-4 slot-edit" data-slot-index="6"></div>
|
|
|
|
|
<div class="col-md-4 slot-edit" data-slot-index="7"></div>
|
|
|
|
|
<div class="col-md-4 slot-edit" data-slot-index="8"></div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="doGuidance--${pageName}">
|
|
|
|
|
<input type="checkbox" id="doGuidance--${pageName}" name="doGuidance" class="form-check-input" />계도처리
|
|
|
|
@ -135,6 +136,9 @@
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="card" style="width:400px;">
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<button type="button" id="" class="btn btn-blue">동영상 캡쳐</button>
|
|
|
|
|
</div>
|
|
|
|
|
<form id="frmFile--${pageName}" class="dpv eca" method="post" enctype="multipart/form-data">
|
|
|
|
|
<input type="file" id="uploadFileList--${pageName}" name="uploadFileList" multiple accept="image/*" />
|
|
|
|
|
</form>
|
|
|
|
@ -144,13 +148,33 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<template id="taskItem--${pageName}">
|
|
|
|
|
<div class="col-md-12 dpv eca">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
|
단속자,신고자
|
|
|
|
|
</label>
|
|
|
|
|
(보류)
|
|
|
|
|
<div class="col-md-12 pvs bpv slot-edit" data-slot-index="0">
|
|
|
|
|
<label for="crdnSeCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">단속구분</label>
|
|
|
|
|
<select id="crdnSeCd--${pageName}" name="crdnSeCd" data-map="CRDN_SE_CD" class="form-select">
|
|
|
|
|
<c:forEach items="${FIM002List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-8 bpv slot-edit" data-slot-index="1">
|
|
|
|
|
<label for="dtlCrdnPlc--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">상세위반장소</label>
|
|
|
|
|
<input type="text" id="dtlCrdnPlc--${pageName}" name="dtlCrdnPlc" data-map="DTL_CRDN_PLC" class="form-control" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 dpv eca pvs">
|
|
|
|
|
<div class="col-md-8 pvs slot-edit" data-slot-index="1">
|
|
|
|
|
<label for="crdnSpareaCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">특별구역</label>
|
|
|
|
|
<select id="crdnSpareaCd--${pageName}" name="crdnSpareaCd" data-map="CRDN_SPAREA_CD" class="form-select">
|
|
|
|
|
<c:forEach items="${FIM007List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4 pvs bpv slot-edit" data-slot-index="2">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차량구분</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4 pvs bpv slot-edit" data-slot-index="3">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차종</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4 dpv eca pvs slot-edit" data-slot-index="4">
|
|
|
|
|
<label for="towngYn--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">견인지시</label>
|
|
|
|
|
<select id="towngYn--${pageName}" name="towngYn" class="form-select" data-map="TOWNG_YN">
|
|
|
|
|
<c:forEach items="${FIM053List}" var="item">
|
|
|
|
@ -158,7 +182,11 @@
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 dpv">
|
|
|
|
|
<div class="col-md-4 dpv eca pvs slot-edit" data-slot-index="5">
|
|
|
|
|
<label for="crdnSn--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">스티커번호</label>
|
|
|
|
|
<input type="text" id="crdnSn--${pageName}" name="crdnSn" data-map="CRDN_SN" class="form-control" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4 dpv slot-edit" data-slot-index="6">
|
|
|
|
|
<label for="parkngPsbltyRsltCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">장애차량확인</label>
|
|
|
|
|
<select id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd" data-map="PARKNG_PSBLTY_RSLT_CD" class="form-select">
|
|
|
|
|
<c:forEach items="${FIM034List}" var="item">
|
|
|
|
@ -168,45 +196,24 @@
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 dpv eca pvs">
|
|
|
|
|
<label for="crdnSn--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">스티커번호</label>
|
|
|
|
|
<input type="text" id="crdnSn--${pageName}" name="crdnSn" data-map="CRDN_SN" class="form-control" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 bpv">
|
|
|
|
|
<label for="dtlCrdnPlc--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">상세위반장소</label>
|
|
|
|
|
<input type="text" id="dtlCrdnPlc--${pageName}" name="dtlCrdnPlc" data-map="DTL_CRDN_PLC" class="form-control" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 pvs bpv">
|
|
|
|
|
<div class="col-md-12 pvs bpv slot-edit" data-slot-index="7">
|
|
|
|
|
<label for="teamNm--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">단속조</label>
|
|
|
|
|
<select id="teamNm--${pageName}" name="teamNm" data-map="TEAM_NM" class="form-select">
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 pvs bpv">
|
|
|
|
|
<div class="col-md-12 pvs bpv slot-edit" data-slot-index="8">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">단속원</label>
|
|
|
|
|
<input type="text" id="teamer1--${pageName}" name="teamer1" data-map="TEAMER_1" class="form-control" />
|
|
|
|
|
<input type="text" id="teamer2--${pageName}" name="teamer2" data-map="TEAMER_2" class="form-control" />
|
|
|
|
|
<input type="text" id="teamer3--${pageName}" name="teamer3" data-map="TEAMER_3" class="form-control" />
|
|
|
|
|
<input type="text" id="teamer4--${pageName}" name="teamer4" data-map="TEAMER_4" class="form-control" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 pvs">
|
|
|
|
|
<label for="crdnSpareaCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">특별구역</label>
|
|
|
|
|
<select id="crdnSpareaCd--${pageName}" name="crdnSpareaCd" data-map="CRDN_SPAREA_CD" class="form-select">
|
|
|
|
|
<c:forEach items="${FIM007List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 pvs bpv">
|
|
|
|
|
<label for="crdnSeCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">단속구분</label>
|
|
|
|
|
<select id="crdnSeCd--${pageName}" name="crdnSeCd" data-map="CRDN_SE_CD" class="form-select">
|
|
|
|
|
<c:forEach items="${FIM002List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12 pvs bpv">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차량구분</label>
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">차종</label>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-12 dpv eca">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
|
단속자,신고자
|
|
|
|
|
</label>
|
|
|
|
|
(보류)
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
@ -295,9 +302,21 @@ $(document).ready(function(){
|
|
|
|
|
* 초기화
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
var clsForTask = $("#taskSeCd--${pageName}").val().toLowerCase();
|
|
|
|
|
var content = document.getElementById("taskItem--${pageName}").content;
|
|
|
|
|
var taskItem = $(content).find("."+clsForTask);
|
|
|
|
|
$("#editByTask--${pageName}").html(taskItem);
|
|
|
|
|
|
|
|
|
|
//업무별 입력 항목
|
|
|
|
|
var editContent = document.getElementById("taskItem--${pageName}").content;
|
|
|
|
|
var taskItems = $(editContent).find("."+clsForTask);
|
|
|
|
|
var editSlotAreas = $("#frmEdit--${pageName}").find(".slot-edit");
|
|
|
|
|
editSlotAreas.each(function(){
|
|
|
|
|
var taskItem = taskItems.filter("[data-slot-index='"+this.dataset.slotIndex+"']");
|
|
|
|
|
if(taskItem.length > 0){
|
|
|
|
|
this.replaceWith(taskItem[0].cloneNode(true));
|
|
|
|
|
} else {
|
|
|
|
|
this.classList.remove("pvs","bpv","dpv","eca");
|
|
|
|
|
this.innerHTML = "";
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initDatepicker("frmEdit--${pageName}"); //달력 초기화
|
|
|
|
|
|
|
|
|
@ -333,5 +352,4 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|