|
|
|
@ -3,10 +3,10 @@
|
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
|
<div class="card" style="max-width:1100px;" title="단속정보">
|
|
|
|
|
<form id="frm--${pageName}" class="dpv eca">
|
|
|
|
|
<input name="id" type="hidden" data-map="CRDN_ID" />
|
|
|
|
|
<input name="crdnId" type="hidden" data-map="CRDN_ID" />
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end required" for="crdnYmd">
|
|
|
|
|
<label for="crdnYmd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
|
위반일자
|
|
|
|
|
</label>
|
|
|
|
|
<input type="text" id="crdnYmd--${pageName}" name="crdnYmd" data-map="CRDN_YMD"
|
|
|
|
@ -14,22 +14,23 @@
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end required" for="crdnHm">
|
|
|
|
|
<label for="crdnHm--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
|
(숫자6자리)위반시간
|
|
|
|
|
</label>
|
|
|
|
|
<input type="text" name="crdnHm" data-map="CRDN_TM" class="form-control form-time" data-fmt-type="time" required />
|
|
|
|
|
<input type="text" id="crdnHm--${pageName}" name="crdnHm" data-map="CRDN_TM"
|
|
|
|
|
class="form-control form-time" data-fmt-type="time" required />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end required" for="vhrno">
|
|
|
|
|
<label for="vhrno--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
|
차량번호
|
|
|
|
|
</label>
|
|
|
|
|
<input type="text" name="vhrno" data-map="VHRNO" class="form-control" required />
|
|
|
|
|
<input type="text" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" class="form-control" required />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="vltnCd">
|
|
|
|
|
<label for="vltnCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
|
위반내용
|
|
|
|
|
</label>
|
|
|
|
|
<select name="vltnCd" class="form-select" data-map="VLTN_CD">
|
|
|
|
|
<select id="vltnCd--${pageName}" name="vltnCd" class="form-select" data-map="VLTN_CD">
|
|
|
|
|
<c:forEach items="${FIM006List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
@ -42,29 +43,29 @@
|
|
|
|
|
(보류)
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6 select2-primary">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="crdnStdgNm">법정동</label>
|
|
|
|
|
<input type="text" name="crdnStdgNm" data-map="CRDN_STDG_NM" class="form-control" readonly/>
|
|
|
|
|
<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">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="crdnPlc">위반장소</label>
|
|
|
|
|
<input type="text" name="crdnPlc" data-map="CRDN_PLC" class="form-control" />
|
|
|
|
|
<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-12">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="crdnSn">발행번호</label>
|
|
|
|
|
<input type="text" name="crdnSn" data-map="CRDN_SN" class="form-control" />
|
|
|
|
|
<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">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="towngYn">견인지시</label>
|
|
|
|
|
<select name="towngYn" class="form-select" data-map="TOWNG_YN">
|
|
|
|
|
<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">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="parkngPsbltyRsltCd">장애차량확인</label>
|
|
|
|
|
<select name="parkngPsbltyRsltCd" data-map="PARKNG_PSBLTY_RSLT_CD" class="form-select">
|
|
|
|
|
<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">
|
|
|
|
|
<c:if test="${item.code == '0' or item.code == '1'}">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
@ -73,57 +74,57 @@
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="etcCn">특기사항</label>
|
|
|
|
|
<input type="text" name="etcCn" data-map="ETC_CN" class="form-control" />
|
|
|
|
|
<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">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="rtpyrNm">소유자</label>
|
|
|
|
|
<input type="text" name="rtpyrNm" data-map="RTPYR_NM" class="form-control" />
|
|
|
|
|
<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>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="rtpyrSeCd">주민번호구분</label>
|
|
|
|
|
<select name="rtpyrSeCd" data-map="RTPYR_SE_CD" class="form-select">
|
|
|
|
|
<label for="rtpyrSeCd--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">주민번호구분</label>
|
|
|
|
|
<select id="rtpyrSeCd--${pageName}" name="rtpyrSeCd" data-map="RTPYR_SE_CD" class="form-select">
|
|
|
|
|
<c:forEach items="${FIM011List}" var="item">
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
|
</c:forEach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="rtpyrNo">주민번호</label>
|
|
|
|
|
<label for="rtpyrNo--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">주민번호</label>
|
|
|
|
|
<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 class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="vin">차대번호</label>
|
|
|
|
|
<input type="text" name="vin" data-map="VIN" class="form-control" readonly />
|
|
|
|
|
<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 class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="addr">주소</label>
|
|
|
|
|
<input type="text" name="addr" data-map="ADDR" class="form-control w-px-700" />
|
|
|
|
|
<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" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="dtlAddr">상세주소</label>
|
|
|
|
|
<input type="text" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-700" />
|
|
|
|
|
<label for="dtlAddr--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">상세주소</label>
|
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" class="form-control w-px-700" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="zip">우편번호</label>
|
|
|
|
|
<input type="text" name="zip" data-map="ZIP" class="form-control w-px-100" />
|
|
|
|
|
<label for="zip--${pageName}" class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end">우편번호</label>
|
|
|
|
|
<input type="text" id="zip--${pageName}" name="zip" data-map="ZIP" class="form-control w-px-100" />
|
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-dark" onclick="">검색</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
차량명칭/차량색상은 입력항목이 아닙니다.
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="vhclNm">차량명칭</label>
|
|
|
|
|
<input type="text" name="vhclNm" data-map="VHCL_NM" class="form-control" readonly />
|
|
|
|
|
<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">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="vhclColor">차량색상</label>
|
|
|
|
|
<input type="text" name="vhclColor" data-map="VHCL_COLOR" class="form-control" readonly />
|
|
|
|
|
<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">
|
|
|
|
|
<label class="w-px-150 bg-lighter pe-2 col-form-label text-sm-end" for="useFuelCd">연료구분</label>
|
|
|
|
|
<select name="useFuelCd" data-map="USE_FUEL_CD" class="form-select" disabled>
|
|
|
|
|
<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">
|
|
|
|
|
<option value=""></option>
|
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
@ -131,8 +132,8 @@
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="checkbox" name="doGuidance" class="form-check-input" />계도처리
|
|
|
|
|
<label for="doGuidance--${pageName}">
|
|
|
|
|
<input type="checkbox" id="doGuidance--${pageName}" name="doGuidance" class="form-check-input" />계도처리
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -140,7 +141,7 @@
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="row justify-content-end">
|
|
|
|
|
<div class="col-sm-3">
|
|
|
|
|
<button onclick="saveinfoPrefix();" type="button" class="btn btn-primary">등록</button>
|
|
|
|
|
<button type="button" class="btn btn-primary" id="btnInst--${pageName}">등록</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -153,14 +154,62 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* Global Variable
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
|
|
var formFields = new FimsFormFields("#frm--${pageName}");
|
|
|
|
|
pageObject["${pageName}"] = {};
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
var $P = pageObject["${pageName}"];
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* DatasetControl
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$P.crdnControl = new DatasetControl({
|
|
|
|
|
prefix:"crdn", prefixName:"단속", infoSize:"xxl",
|
|
|
|
|
urls : { load : "" },
|
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "",
|
|
|
|
|
dataGetter:obj => obj.crdnList,
|
|
|
|
|
appendData:true,
|
|
|
|
|
formats: {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$P.crdnControl.urls.create = wctx.url("/${taskSeCd}/crdn/crdn05/030/create.do");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* pageObject.function
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$P.fnSave = () => {
|
|
|
|
|
if (!$("#frm--${pageName} input").validInputs()) return;
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|
content:"현재 단속 정보를 저장하시겠습니까?",
|
|
|
|
|
onOK:() => {
|
|
|
|
|
pageObject["crdn05030-info"].crdnControl.save(formFields.get());
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* element.on
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$("#btnInst--${pageName}").on('click', () => $P.fnSave());
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 초기화
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
//달력 초기화
|
|
|
|
|
initDatepicker("frm--${pageName}");
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
$P.crdnControl.dataset.append({});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|