|
|
@ -6,17 +6,18 @@
|
|
|
|
<form id="frmEdit--${pageName}">
|
|
|
|
<form id="frmEdit--${pageName}">
|
|
|
|
<input type="hidden" id="crdnId-${pageName}" name="crdnId" data-map="CRDN_ID" />
|
|
|
|
<input type="hidden" id="crdnId-${pageName}" name="crdnId" data-map="CRDN_ID" />
|
|
|
|
<input type="hidden" id="rtpyrId--${pageName}" name="rtpyrId" data-map="RTPYR_ID"/>
|
|
|
|
<input type="hidden" id="rtpyrId--${pageName}" name="rtpyrId" data-map="RTPYR_ID"/>
|
|
|
|
|
|
|
|
<input type="hidden" id="addrSn--${pageName}" name="addrSn" data-map="ADDR_SN"/>
|
|
|
|
<input type="hidden" id="sggCd--${pageName}" name="sggCd" value="${sggCd}" />
|
|
|
|
<input type="hidden" id="sggCd--${pageName}" name="sggCd" value="${sggCd}" />
|
|
|
|
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" value="${taskSeCd}" />
|
|
|
|
<input type="hidden" id="taskSeCd--${pageName}" name="taskSeCd" value="${taskSeCd}" />
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="crdnSeCd--${pageName}"
|
|
|
|
<label for="crdnSeCd--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
단속구분
|
|
|
|
단속구분
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<select id="crdnSeCd--${pageName}" name="crdnSeCd"
|
|
|
|
<select id="crdnSeCd--${pageName}" name="crdnSeCd"
|
|
|
|
data-map="CRDN_SE_CD" class="form-select">
|
|
|
|
data-map="CRDN_SE_CD" class="form-select">
|
|
|
|
<c:forEach items="${FIM002List}" var="item">
|
|
|
|
<c:forEach items="${FIM002List}" var="item">
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
@ -26,7 +27,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="crdnYmd--${pageName}"
|
|
|
|
<label for="crdnYmd--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
위반일자
|
|
|
|
위반일자
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -35,24 +36,24 @@
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="crdnTm--${pageName}"
|
|
|
|
<label for="crdnTm--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
위반시간
|
|
|
|
위반시간
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="crdnTm--${pageName}" name="crdnTm" data-map="CRDN_TM"
|
|
|
|
<input type="text" id="crdnTm--${pageName}" name="crdnTm" data-map="CRDN_TM"
|
|
|
|
class="form-control form-time" data-fmt-type="time" maxlength="8" required
|
|
|
|
class="form-control form-time" data-fmt-type="time" maxlength="8" required
|
|
|
|
placeholder="시:분:초" />
|
|
|
|
placeholder="시:분:초" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="vhrno--${pageName}"
|
|
|
|
<label for="vhrno--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
차량번호
|
|
|
|
차량번호
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" class="form-control"
|
|
|
|
<input type="text" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" class="form-control"
|
|
|
|
data-maxlengthb="30" required />
|
|
|
|
data-maxlengthb="30" required />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="vltnCd--${pageName}"
|
|
|
|
<label for="vltnCd--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
위반내용
|
|
|
|
위반내용
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -63,11 +64,11 @@
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 select2-primary">
|
|
|
|
<div class="col-md-4 select2-primary">
|
|
|
|
<label for="crdnStdgNm--${pageName}"
|
|
|
|
<label for="crdnStdgNm--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
법정동
|
|
|
|
법정동
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM"
|
|
|
|
<input type="text" id="crdnStdgNm--${pageName}" name="crdnStdgNm" data-map="CRDN_STDG_NM"
|
|
|
|
class="form-control w-px-150" list="stdgNmList--${pageName}" />
|
|
|
|
class="form-control w-px-150" list="stdgNmList--${pageName}" />
|
|
|
|
<datalist id="stdgNmList--${pageName}">
|
|
|
|
<datalist id="stdgNmList--${pageName}">
|
|
|
|
<c:forEach items="${stdgNmList}" var="item">
|
|
|
|
<c:forEach items="${stdgNmList}" var="item">
|
|
|
@ -76,15 +77,15 @@
|
|
|
|
</datalist>
|
|
|
|
</datalist>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 select2-primary">
|
|
|
|
<div class="col-md-4 select2-primary">
|
|
|
|
<label for="crdnRoadNm--${pageName}"
|
|
|
|
<label for="crdnRoadNm--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
도로명
|
|
|
|
도로명
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="crdnRoadNm--${pageName}" name="crdnRoadNm" data-map="CRDN_ROAD_NM"
|
|
|
|
<input type="text" id="crdnRoadNm--${pageName}" name="crdnRoadNm" data-map="CRDN_ROAD_NM"
|
|
|
|
class="form-control" />
|
|
|
|
class="form-control" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<label for="crdnPlc--${pageName}"
|
|
|
|
<label for="crdnPlc--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
단속장소
|
|
|
|
단속장소
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -94,22 +95,22 @@
|
|
|
|
<div class="col-md-6" slot="edit">
|
|
|
|
<div class="col-md-6" slot="edit">
|
|
|
|
<template class="bpv">
|
|
|
|
<template class="bpv">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="dtlCrdnPlc--${pageName}"
|
|
|
|
<label for="dtlCrdnPlc--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
상세단속장소
|
|
|
|
상세단속장소
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="dtlCrdnPlc--${pageName}" name="dtlCrdnPlc"
|
|
|
|
<input type="text" id="dtlCrdnPlc--${pageName}" name="dtlCrdnPlc"
|
|
|
|
data-map="DTL_CRDN_PLC" class="form-control"
|
|
|
|
data-map="DTL_CRDN_PLC" class="form-control"
|
|
|
|
data-maxlenghb="200" />
|
|
|
|
data-maxlenghb="200" />
|
|
|
|
</slot>
|
|
|
|
</slot>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template class="pvs">
|
|
|
|
<template class="pvs">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="crdnSpareaCd--${pageName}"
|
|
|
|
<label for="crdnSpareaCd--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
특별구역
|
|
|
|
특별구역
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<select id="crdnSpareaCd--${pageName}" name="crdnSpareaCd"
|
|
|
|
<select id="crdnSpareaCd--${pageName}" name="crdnSpareaCd"
|
|
|
|
data-map="CRDN_SPAREA_CD" class="form-select">
|
|
|
|
data-map="CRDN_SPAREA_CD" class="form-select">
|
|
|
|
<c:forEach items="${FIM007List}" var="item">
|
|
|
|
<c:forEach items="${FIM007List}" var="item">
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
|
<option value="${item.code}">${item.value}</option>
|
|
|
@ -119,27 +120,27 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="etcCn--${pageName}"
|
|
|
|
<label for="etcCn--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
특기사항
|
|
|
|
특기사항
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="etcCn--${pageName}" name="etcCn"
|
|
|
|
<input type="text" id="etcCn--${pageName}" name="etcCn"
|
|
|
|
data-map="ETC_CN" class="form-control"
|
|
|
|
data-map="ETC_CN" class="form-control"
|
|
|
|
data-maxlengthb="1000" />
|
|
|
|
data-maxlengthb="1000" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row my-1 mx-4 g-1 border-card rounded-3">
|
|
|
|
<div class="row my-1 mx-4 g-1 border-card rounded-3">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="rtpyrNm--${pageName}"
|
|
|
|
<label for="rtpyrNm--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">납부자명</label>
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">납부자명</label>
|
|
|
|
<input type="text" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM"
|
|
|
|
<input type="text" id="rtpyrNm--${pageName}" name="rtpyrNm" data-map="RTPYR_NM"
|
|
|
|
class="form-control" readonly
|
|
|
|
class="form-control" readonly
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rtpyrSeCd--${pageName}"
|
|
|
|
<label for="rtpyrSeCd--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">납부자구분</label>
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">납부자구분</label>
|
|
|
|
<select id="rtpyrSeCd--${pageName}" name="rtpyrSeCd" data-map="RTPYR_SE_CD"
|
|
|
|
<select id="rtpyrSeCd--${pageName}" name="rtpyrSeCd" data-map="RTPYR_SE_CD"
|
|
|
|
class="form-select" disabled>
|
|
|
|
class="form-select" disabled>
|
|
|
|
<option value=""></option>
|
|
|
|
<option value=""></option>
|
|
|
|
<c:forEach items="${FIM011List}" var="item">
|
|
|
|
<c:forEach items="${FIM011List}" var="item">
|
|
|
@ -148,72 +149,72 @@
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="col-md-5">
|
|
|
|
<label for="rtpyrNo--${pageName}"
|
|
|
|
<label for="rtpyrNo--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">납부자번호</label>
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">납부자번호</label>
|
|
|
|
<input type="text" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO"
|
|
|
|
<input type="text" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO"
|
|
|
|
class="form-control privacy" readonly />
|
|
|
|
class="form-control privacy" readonly />
|
|
|
|
<input type="text" id="mask-rtpyrNo--${pageName}"
|
|
|
|
<input type="text" id="mask-rtpyrNo--${pageName}"
|
|
|
|
class="form-control privacy-mask" disabled value="******"/>
|
|
|
|
class="form-control privacy-mask" disabled value="******"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="zip--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
<label for="zip--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
우편번호
|
|
|
|
우편번호
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="zip--${pageName}" name="zip" data-map="ZIP" class="form-control w-px-100"
|
|
|
|
<input type="text" id="zip--${pageName}" name="zip" data-map="ZIP" class="form-control w-px-100"
|
|
|
|
readonly maxlength="7" pattern="(\d{3}-\d{3}|\d{6}|\d{5})" />
|
|
|
|
readonly maxlength="7" pattern="(\d{3}-\d{3}|\d{6}|\d{5})" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
<label for="addr--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
주소
|
|
|
|
주소
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="addr--${pageName}" name="addr" data-map="ADDR"
|
|
|
|
<input type="text" id="addr--${pageName}" name="addr" data-map="ADDR"
|
|
|
|
class="form-control w-px-700" readonly data-maxlengthb="320" />
|
|
|
|
class="form-control w-px-700" readonly data-maxlengthb="320" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="dtlAddr--${pageName}"
|
|
|
|
<label for="dtlAddr--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
상세주소
|
|
|
|
상세주소
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR"
|
|
|
|
<input type="text" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR"
|
|
|
|
class="form-control w-px-700" readonly data-maxlengthb="200" />
|
|
|
|
class="form-control w-px-700" readonly data-maxlengthb="200" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="vin--${pageName}"
|
|
|
|
<label for="vin--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
차대번호
|
|
|
|
차대번호
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="vin--${pageName}" name="vin"
|
|
|
|
<input type="text" id="vin--${pageName}" name="vin"
|
|
|
|
data-map="VIN" class="form-control" readonly
|
|
|
|
data-map="VIN" class="form-control" readonly
|
|
|
|
placeholder="입력항목이 아닙니다." />
|
|
|
|
placeholder="입력항목이 아닙니다." />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="vhclNm--${pageName}"
|
|
|
|
<label for="vhclNm--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
차량명칭
|
|
|
|
차량명칭
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="vhclNm--${pageName}" name="vhclNm"
|
|
|
|
<input type="text" id="vhclNm--${pageName}" name="vhclNm"
|
|
|
|
data-map="VHCL_NM" class="form-control" readonly
|
|
|
|
data-map="VHCL_NM" class="form-control" readonly
|
|
|
|
placeholder="입력항목이 아닙니다." />
|
|
|
|
placeholder="입력항목이 아닙니다." />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="vhclColor--${pageName}"
|
|
|
|
<label for="vhclColor--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
차량색상
|
|
|
|
차량색상
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="vhclColor--${pageName}" name="vhclColor"
|
|
|
|
<input type="text" id="vhclColor--${pageName}" name="vhclColor"
|
|
|
|
data-map="VHCL_COLOR" class="form-control" readonly
|
|
|
|
data-map="VHCL_COLOR" class="form-control" readonly
|
|
|
|
placeholder="입력항목이 아닙니다." />
|
|
|
|
placeholder="입력항목이 아닙니다." />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="ffnlgCarmdlCd--${pageName}"
|
|
|
|
<label for="ffnlgCarmdlCd--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
차종
|
|
|
|
차종
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<select id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd"
|
|
|
|
<select id="ffnlgCarmdlCd--${pageName}" name ="ffnlgCarmdlCd"
|
|
|
|
data-map="FFNLG_CARMDL_CD" class="form-select">
|
|
|
|
data-map="FFNLG_CARMDL_CD" class="form-select">
|
|
|
|
<option value=""></option>
|
|
|
|
<option value=""></option>
|
|
|
|
<c:forEach items="${FIM009List}" var="item">
|
|
|
|
<c:forEach items="${FIM009List}" var="item">
|
|
|
@ -226,11 +227,11 @@
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<template class="eca">
|
|
|
|
<template class="eca">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="useFuelCd--${pageName}"
|
|
|
|
<label for="useFuelCd--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
연료구분
|
|
|
|
연료구분
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<select id="useFuelCd--${pageName}" name="useFuelCd"
|
|
|
|
<select id="useFuelCd--${pageName}" name="useFuelCd"
|
|
|
|
data-map="USE_FUEL_CD" class="form-select" disabled>
|
|
|
|
data-map="USE_FUEL_CD" class="form-select" disabled>
|
|
|
|
<option value=""></option>
|
|
|
|
<option value=""></option>
|
|
|
|
<c:forEach items="${LVS005List}" var="item">
|
|
|
|
<c:forEach items="${LVS005List}" var="item">
|
|
|
@ -243,7 +244,7 @@
|
|
|
|
<div class="col-md-4" slot="edit">
|
|
|
|
<div class="col-md-4" slot="edit">
|
|
|
|
<template class="dpv eca pvs">
|
|
|
|
<template class="dpv eca pvs">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="towngYn--${pageName}"
|
|
|
|
<label for="towngYn--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
견인지시
|
|
|
|
견인지시
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -258,12 +259,12 @@
|
|
|
|
<div class="col-md-4" slot="edit">
|
|
|
|
<div class="col-md-4" slot="edit">
|
|
|
|
<template class="dpv eca pvs">
|
|
|
|
<template class="dpv eca pvs">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="crdnSn--${pageName}"
|
|
|
|
<label for="crdnSn--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
스티커번호
|
|
|
|
스티커번호
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="crdnSn--${pageName}" name="crdnSn"
|
|
|
|
<input type="text" id="crdnSn--${pageName}" name="crdnSn"
|
|
|
|
data-map="CRDN_SN" class="form-control"
|
|
|
|
data-map="CRDN_SN" class="form-control"
|
|
|
|
maxlength="20" data-maxlengthb="20" />
|
|
|
|
maxlength="20" data-maxlengthb="20" />
|
|
|
|
</slot>
|
|
|
|
</slot>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -271,11 +272,11 @@
|
|
|
|
<div class="col-md-4" slot="edit">
|
|
|
|
<div class="col-md-4" slot="edit">
|
|
|
|
<template class="dpv">
|
|
|
|
<template class="dpv">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="parkngPsbltyRsltCd--${pageName}"
|
|
|
|
<label for="parkngPsbltyRsltCd--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
장애차량확인
|
|
|
|
장애차량확인
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<select id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd"
|
|
|
|
<select id="parkngPsbltyRsltCd--${pageName}" name="parkngPsbltyRsltCd"
|
|
|
|
data-map="PARKNG_PSBLTY_RSLT_CD" class="form-select">
|
|
|
|
data-map="PARKNG_PSBLTY_RSLT_CD" class="form-select">
|
|
|
|
<c:forEach items="${FIM034List}" var="item">
|
|
|
|
<c:forEach items="${FIM034List}" var="item">
|
|
|
|
<c:if test="${item.code == '0' or item.code == '1'}">
|
|
|
|
<c:if test="${item.code == '0' or item.code == '1'}">
|
|
|
@ -289,7 +290,7 @@
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<div class="col-md-12" slot="edit">
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label for="teamId--${pageName}"
|
|
|
|
<label for="teamId--${pageName}"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
단속조
|
|
|
|
단속조
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -306,20 +307,20 @@
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<template class="pvs bpv">
|
|
|
|
<slot>
|
|
|
|
<slot>
|
|
|
|
<label class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">단속원</label>
|
|
|
|
<label class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">단속원</label>
|
|
|
|
<input type="text" id="teamer1--${pageName}" name="teamer1"
|
|
|
|
<input type="text" id="teamer1--${pageName}" name="teamer1"
|
|
|
|
data-map="TEAMER_1" class="form-control" />
|
|
|
|
data-map="TEAMER_1" class="form-control" />
|
|
|
|
<input type="text" id="teamer2--${pageName}" name="teamer2"
|
|
|
|
<input type="text" id="teamer2--${pageName}" name="teamer2"
|
|
|
|
data-map="TEAMER_2" class="form-control" />
|
|
|
|
data-map="TEAMER_2" class="form-control" />
|
|
|
|
<input type="text" id="teamer3--${pageName}" name="teamer3"
|
|
|
|
<input type="text" id="teamer3--${pageName}" name="teamer3"
|
|
|
|
data-map="TEAMER_3" class="form-control" />
|
|
|
|
data-map="TEAMER_3" class="form-control" />
|
|
|
|
<input type="text" id="teamer4--${pageName}" name="teamer4"
|
|
|
|
<input type="text" id="teamer4--${pageName}" name="teamer4"
|
|
|
|
data-map="TEAMER_4" class="form-control" />
|
|
|
|
data-map="TEAMER_4" class="form-control" />
|
|
|
|
</slot>
|
|
|
|
</slot>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<label for="doWarning--${pageName}">
|
|
|
|
<label for="doWarning--${pageName}">
|
|
|
|
<input type="checkbox" id="doWarning--${pageName}" name="doWarning"
|
|
|
|
<input type="checkbox" id="doWarning--${pageName}" name="doWarning"
|
|
|
|
class="form-check-input" />
|
|
|
|
class="form-check-input" />
|
|
|
|
계고처리
|
|
|
|
계고처리
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
@ -335,17 +336,17 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card w-px-400 min-w-px-400">
|
|
|
|
<div class="card w-px-400 min-w-px-400">
|
|
|
|
<form id="frmFile--${pageName}" method="post" enctype="multipart/form-data">
|
|
|
|
<form id="frmFile--${pageName}" method="post" enctype="multipart/form-data">
|
|
|
|
<input type="file" id="newFileList--${pageName}" name="newFileList"
|
|
|
|
<input type="file" id="newFileList--${pageName}" name="newFileList"
|
|
|
|
multiple accept="image/*" hidden />
|
|
|
|
multiple accept="image/*" hidden />
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
<form id="frmUploadSet--${pageName}" method="post" enctype="multipart/form-data">
|
|
|
|
<form id="frmUploadSet--${pageName}" method="post" enctype="multipart/form-data">
|
|
|
|
<input type="file" id="inputUploadSet--${pageName}" name="inputUploadSet"
|
|
|
|
<input type="file" id="inputUploadSet--${pageName}" name="inputUploadSet"
|
|
|
|
multiple accept="image/*" hidden />
|
|
|
|
multiple accept="image/*" hidden />
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
@ -354,7 +355,7 @@
|
|
|
|
<button type="button" id="btnCancelAddFile--${pageName}" class="btn btn-primary">선택 사진 삭제</button>
|
|
|
|
<button type="button" id="btnCancelAddFile--${pageName}" class="btn btn-primary">선택 사진 삭제</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="display--${pageName}" class="oy-scroll h-px-600 border-default">
|
|
|
|
<div id="display--${pageName}" class="oy-scroll h-px-600 border-default">
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -370,10 +371,10 @@ pageObject["${pageName}"] = {};
|
|
|
|
$(document).ready(function(){
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
var $P = pageObject["${pageName}"];
|
|
|
|
var $P = pageObject["${pageName}"];
|
|
|
|
|
|
|
|
|
|
|
|
$P.captureFileArr = [];
|
|
|
|
$P.captureFileArr = [];
|
|
|
|
$P.localUploadArr = [];
|
|
|
|
$P.localUploadArr = [];
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* DatasetControl, Dataset, FormFields
|
|
|
|
* DatasetControl, Dataset, FormFields
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
@ -385,7 +386,7 @@ $(document).ready(function(){
|
|
|
|
dataGetter : obj => obj["List"], appendData : true,
|
|
|
|
dataGetter : obj => obj["List"], appendData : true,
|
|
|
|
keymapper : info => info ? info.CRDN_ID : "",
|
|
|
|
keymapper : info => info ? info.CRDN_ID : "",
|
|
|
|
urls : {
|
|
|
|
urls : {
|
|
|
|
create : wctx.url("/${taskSeCd}/crdn/crdn05/030/create.do")
|
|
|
|
create : wctx.url("/${taskSeCd}/crdn/crdn05/030/create.do")
|
|
|
|
},
|
|
|
|
},
|
|
|
|
formats: {
|
|
|
|
formats: {
|
|
|
|
|
|
|
|
|
|
|
@ -395,11 +396,11 @@ $(document).ready(function(){
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* Dataset.on
|
|
|
|
* Dataset.on
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$P.uploadSet.onDatasetChange = () => {
|
|
|
|
$P.uploadSet.onDatasetChange = () => {
|
|
|
|
var files = $P.uploadSet.getDataset();
|
|
|
|
var files = $P.uploadSet.getDataset();
|
|
|
|
files.forEach(item => $P.localUploadArr.push(item));
|
|
|
|
files.forEach(item => $P.localUploadArr.push(item));
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnDisplay();
|
|
|
|
$P.fnDisplay();
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$P.uploadSet.onRemove = () => { };
|
|
|
|
$P.uploadSet.onRemove = () => { };
|
|
|
|
|
|
|
|
|
|
|
@ -408,16 +409,16 @@ $(document).ready(function(){
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$P.fnMakeImgForNewFile = (fileArr) => {
|
|
|
|
$P.fnMakeImgForNewFile = (fileArr) => {
|
|
|
|
var tagsText = "";
|
|
|
|
var tagsText = "";
|
|
|
|
|
|
|
|
|
|
|
|
for(var index = 0; index < fileArr.length; index++){
|
|
|
|
for(var index = 0; index < fileArr.length; index++){
|
|
|
|
var item = fileArr[index];
|
|
|
|
var item = fileArr[index];
|
|
|
|
|
|
|
|
|
|
|
|
tagsText += "<label class='mx-2'>";
|
|
|
|
tagsText += "<label class='mx-2'>";
|
|
|
|
tagsText += "<input type='checkbox' name='newPhoto' class='form-check-input' value='"+item.id +"' ";
|
|
|
|
tagsText += "<input type='checkbox' name='newPhoto' class='form-check-input' value='"+item.id +"' ";
|
|
|
|
tagsText += " />";
|
|
|
|
tagsText += " />";
|
|
|
|
tagsText += "<img src='"+ item.url +"' width='200' height='200' />";
|
|
|
|
tagsText += "<img src='"+ item.url +"' width='200' height='200' />";
|
|
|
|
tagsText += "</label>";
|
|
|
|
tagsText += "</label>";
|
|
|
|
|
|
|
|
|
|
|
|
if(index % 2 == 1){
|
|
|
|
if(index % 2 == 1){
|
|
|
|
tagsText += "<br />";
|
|
|
|
tagsText += "<br />";
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -425,7 +426,7 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
return tagsText;
|
|
|
|
return tagsText;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnDisplay = () => {
|
|
|
|
$P.fnDisplay = () => {
|
|
|
|
var displayArea = document.querySelector("#display--${pageName}");
|
|
|
|
var displayArea = document.querySelector("#display--${pageName}");
|
|
|
|
|
|
|
|
|
|
|
@ -444,19 +445,19 @@ $(document).ready(function(){
|
|
|
|
if(rtpyrNm.value == ""){
|
|
|
|
if(rtpyrNm.value == ""){
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content:"계고 처리를 하기 위해선 소유주정보가 입력되어야 합니다.",
|
|
|
|
content:"계고 처리를 하기 위해선 소유주정보가 입력되어야 합니다.",
|
|
|
|
init : function(){
|
|
|
|
init : function(){
|
|
|
|
setDialogZindex();
|
|
|
|
setDialogZindex();
|
|
|
|
focusClose();
|
|
|
|
focusClose();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onClose:function(){rtpyrNm.focus();}
|
|
|
|
onClose:function(){rtpyrNm.focus();}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(await confirm2("현재 단속 정보를 저장하시겠습니까?")){
|
|
|
|
if(await confirm2("현재 단속 정보를 저장하시겠습니까?")){
|
|
|
|
var info = $P.formFields.get();
|
|
|
|
var info = $P.formFields.get();
|
|
|
|
|
|
|
|
|
|
|
|
if (!info) {
|
|
|
|
if (!info) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -466,17 +467,17 @@ $(document).ready(function(){
|
|
|
|
var value = info[key];
|
|
|
|
var value = info[key];
|
|
|
|
formData.append(key,value);
|
|
|
|
formData.append(key,value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
formData.delete("newFileList");
|
|
|
|
formData.delete("newFileList");
|
|
|
|
|
|
|
|
|
|
|
|
if($P.localUploadArr.length > 0){
|
|
|
|
if($P.localUploadArr.length > 0){
|
|
|
|
$P.localUploadArr.forEach(item => formData.append("newFileList",item));
|
|
|
|
$P.localUploadArr.forEach(item => formData.append("newFileList",item));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if($P.captureFileArr.length > 0){
|
|
|
|
if($P.captureFileArr.length > 0){
|
|
|
|
$P.captureFileArr.forEach(item => formData.append("newFileList",item));
|
|
|
|
$P.captureFileArr.forEach(item => formData.append("newFileList",item));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
ajax.post({
|
|
|
|
url : $P.crdnControl.urls.create,
|
|
|
|
url : $P.crdnControl.urls.create,
|
|
|
|
data : formData, contentType : false, processData : false,
|
|
|
|
data : formData, contentType : false, processData : false,
|
|
|
@ -485,22 +486,22 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$P.saveCallback = (resp) => {
|
|
|
|
$P.saveCallback = (resp) => {
|
|
|
|
if (resp.saved) {
|
|
|
|
if (resp.saved) {
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content : "저장됐습니다.",
|
|
|
|
content : "저장됐습니다.",
|
|
|
|
init : function(){
|
|
|
|
init : function(){
|
|
|
|
setDialogZindex();
|
|
|
|
setDialogZindex();
|
|
|
|
focusClose();
|
|
|
|
focusClose();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
dialog.close("manualDialog");
|
|
|
|
dialog.close("manualDialog");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.videoCallback = (snapshots) => {
|
|
|
|
$P.videoCallback = (snapshots) => {
|
|
|
|
snapshots.forEach(function(canvas, index, array){
|
|
|
|
snapshots.forEach(function(canvas, index, array){
|
|
|
|
canvas.toBlob(function(blob){
|
|
|
|
canvas.toBlob(function(blob){
|
|
|
@ -509,67 +510,67 @@ $(document).ready(function(){
|
|
|
|
file.id = "file-" + identify;
|
|
|
|
file.id = "file-" + identify;
|
|
|
|
file.url = (window.URL || window.webkitURL).createObjectURL(file);
|
|
|
|
file.url = (window.URL || window.webkitURL).createObjectURL(file);
|
|
|
|
$P.captureFileArr.push(file);
|
|
|
|
$P.captureFileArr.push(file);
|
|
|
|
if(index === array.length - 1){
|
|
|
|
if(index === array.length - 1){
|
|
|
|
$P.fnDisplay();
|
|
|
|
$P.fnDisplay();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 초기화(업무별 입력항목)
|
|
|
|
* 초기화(업무별 입력항목)
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
var clsForTask = $("#taskSeCd--${pageName}").val().toLowerCase();
|
|
|
|
var clsForTask = $("#taskSeCd--${pageName}").val().toLowerCase();
|
|
|
|
//업무별 입력 항목
|
|
|
|
//업무별 입력 항목
|
|
|
|
renderForTask('frmEdit--${pageName}', clsForTask);
|
|
|
|
renderForTask('frmEdit--${pageName}', clsForTask);
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* element.on
|
|
|
|
* element.on
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnInst--${pageName}").on('click', () => $P.fnSave());
|
|
|
|
$("#btnInst--${pageName}").on('click', () => $P.fnSave());
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); });
|
|
|
|
$("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); });
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnOpenVideoCapture--${pageName}").on('click', () => {
|
|
|
|
$("#btnOpenVideoCapture--${pageName}").on('click', () => {
|
|
|
|
var popupWidth = 1800;
|
|
|
|
var popupWidth = 1800;
|
|
|
|
var popupHeight = 950;
|
|
|
|
var popupHeight = 950;
|
|
|
|
var popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
var popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
var popupY= (window.screen.height / 2) - (popupHeight / 2);
|
|
|
|
var popupY= (window.screen.height / 2) - (popupHeight / 2);
|
|
|
|
|
|
|
|
|
|
|
|
var popup = window.open(wctx.url("/sprt/sprt03/010/main.do?openerPageName=${pageName}")
|
|
|
|
var popup = window.open(wctx.url("/sprt/sprt03/010/main.do?openerPageName=${pageName}")
|
|
|
|
,"newVideoCapture"
|
|
|
|
,"newVideoCapture"
|
|
|
|
,"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY
|
|
|
|
,"width="+popupWidth+", height="+popupHeight+", left="+popupX+", top="+popupY
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
popup.onload = () => {
|
|
|
|
popup.onload = () => {
|
|
|
|
popup.addEventListener('beforeunload', function() {
|
|
|
|
popup.addEventListener('beforeunload', function() {
|
|
|
|
$.unblockUI();
|
|
|
|
$.unblockUI();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnCancelAddFile--${pageName}").on('click', () => {
|
|
|
|
$("#btnCancelAddFile--${pageName}").on('click', () => {
|
|
|
|
var checked = $("#display--${pageName}").find("[name='newPhoto']:checked");
|
|
|
|
var checked = $("#display--${pageName}").find("[name='newPhoto']:checked");
|
|
|
|
if(checked.length < 1){
|
|
|
|
if(checked.length < 1){
|
|
|
|
alert("선택된 사진이 없습니다.");
|
|
|
|
alert("선택된 사진이 없습니다.");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var checkedArr = [];
|
|
|
|
var checkedArr = [];
|
|
|
|
for(var i=0; i < checked.length; i++){
|
|
|
|
for(var i=0; i < checked.length; i++){
|
|
|
|
checkedArr.push(checked[i].value);
|
|
|
|
checkedArr.push(checked[i].value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.captureFileArr = $P.captureFileArr.filter(item => checkedArr.indexOf(item.id) == -1);
|
|
|
|
$P.captureFileArr = $P.captureFileArr.filter(item => checkedArr.indexOf(item.id) == -1);
|
|
|
|
$P.localUploadArr = $P.localUploadArr.filter(item => checkedArr.indexOf(item.id) == -1);
|
|
|
|
$P.localUploadArr = $P.localUploadArr.filter(item => checkedArr.indexOf(item.id) == -1);
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnDisplay();
|
|
|
|
$P.fnDisplay();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#vhrno--${pageName}").onEnterPress(function(){
|
|
|
|
$("#vhrno--${pageName}").onEnterPress(function(){
|
|
|
|
|
|
|
|
|
|
|
|
var alertDialogId = "alertDialog";
|
|
|
|
var alertDialogId = "alertDialog";
|
|
|
|
var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
|
|
|
|
var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
|
|
|
|
var vhrnoEl = event.target;
|
|
|
|
var vhrnoEl = event.target;
|
|
|
@ -577,27 +578,27 @@ $(document).ready(function(){
|
|
|
|
if(crdnYmd == ""){
|
|
|
|
if(crdnYmd == ""){
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content : "단속일자를 입력하세요.",
|
|
|
|
content : "단속일자를 입력하세요.",
|
|
|
|
init : function(){
|
|
|
|
init : function(){
|
|
|
|
setDialogZindex();
|
|
|
|
setDialogZindex();
|
|
|
|
focusClose();
|
|
|
|
focusClose();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onClose : function(){ $("#crdnYmd--${pageName}").focus(); }
|
|
|
|
onClose : function(){ $("#crdnYmd--${pageName}").focus(); }
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(vhrno == ""){
|
|
|
|
if(vhrno == ""){
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content:"차량번호를 입력하세요.",
|
|
|
|
content:"차량번호를 입력하세요.",
|
|
|
|
init : function(){
|
|
|
|
init : function(){
|
|
|
|
setDialogZindex();
|
|
|
|
setDialogZindex();
|
|
|
|
focusClose();
|
|
|
|
focusClose();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onClose:function(){ $(vhrnoEl).focus(); }
|
|
|
|
onClose:function(){ $(vhrnoEl).focus(); }
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
json.post({
|
|
|
|
json.post({
|
|
|
|
url: wctx.url("/payer/vehicle.do"),
|
|
|
|
url: wctx.url("/payer/vehicle.do"),
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
@ -609,12 +610,13 @@ $(document).ready(function(){
|
|
|
|
if(!resp.found){
|
|
|
|
if(!resp.found){
|
|
|
|
dialog.alert({
|
|
|
|
dialog.alert({
|
|
|
|
content : "차량정보가 없습니다.",
|
|
|
|
content : "차량정보가 없습니다.",
|
|
|
|
init : function(){
|
|
|
|
init : function(){
|
|
|
|
setDialogZindex();
|
|
|
|
setDialogZindex();
|
|
|
|
focusClose();
|
|
|
|
focusClose();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$("#rtpyrId--${pageName}").val("");
|
|
|
|
$("#rtpyrId--${pageName}").val("");
|
|
|
|
|
|
|
|
$("#addrSn--${pageName}").val("");
|
|
|
|
$("#rtpyrNm--${pageName}").val("");
|
|
|
|
$("#rtpyrNm--${pageName}").val("");
|
|
|
|
$("#rtpyrSeCd--${pageName}").val("");
|
|
|
|
$("#rtpyrSeCd--${pageName}").val("");
|
|
|
|
$("#rtpyrNo--${pageName}").val("");
|
|
|
|
$("#rtpyrNo--${pageName}").val("");
|
|
|
@ -628,13 +630,14 @@ $(document).ready(function(){
|
|
|
|
$("#dtlAddr--${pageName}").val("");
|
|
|
|
$("#dtlAddr--${pageName}").val("");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrId--${pageName}").val(resp.rtpyrId);
|
|
|
|
$("#rtpyrId--${pageName}").val(resp.rtpyrId);
|
|
|
|
|
|
|
|
$("#addrSn--${pageName}").val(resp.addrSn);
|
|
|
|
|
|
|
|
|
|
|
|
var vehicle = resp.vehicle;
|
|
|
|
var vehicle = resp.vehicle;
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrNm--${pageName}").val(vehicle.mber_nm);
|
|
|
|
$("#rtpyrNm--${pageName}").val(vehicle.mber_nm);
|
|
|
|
|
|
|
|
|
|
|
|
var pyrSeCd = "";
|
|
|
|
var pyrSeCd = "";
|
|
|
|
switch(vehicle.mber_se_code){
|
|
|
|
switch(vehicle.mber_se_code){
|
|
|
|
case "11" : pyrSeCd = "01"; break;
|
|
|
|
case "11" : pyrSeCd = "01"; break;
|
|
|
@ -646,12 +649,12 @@ $(document).ready(function(){
|
|
|
|
$("#rtpyrSeCd--${pageName}").val(pyrSeCd);
|
|
|
|
$("#rtpyrSeCd--${pageName}").val(pyrSeCd);
|
|
|
|
|
|
|
|
|
|
|
|
$("#rtpyrNo--${pageName}").val(vehicle.mber_se_no);
|
|
|
|
$("#rtpyrNo--${pageName}").val(vehicle.mber_se_no);
|
|
|
|
|
|
|
|
|
|
|
|
$("#vin--${pageName}").val(vehicle.vin);
|
|
|
|
$("#vin--${pageName}").val(vehicle.vin);
|
|
|
|
$("#vhclNm--${pageName}").val(vehicle.cnm);
|
|
|
|
$("#vhclNm--${pageName}").val(vehicle.cnm);
|
|
|
|
$("#vhclColor--${pageName}").val(vehicle.color_nm);
|
|
|
|
$("#vhclColor--${pageName}").val(vehicle.color_nm);
|
|
|
|
$("#useFuelCd--${pageName}").val(vehicle.use_fuel_code);
|
|
|
|
$("#useFuelCd--${pageName}").val(vehicle.use_fuel_code);
|
|
|
|
|
|
|
|
|
|
|
|
if(vehicle.vhcty_asort_code == "1"){ //승용
|
|
|
|
if(vehicle.vhcty_asort_code == "1"){ //승용
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("11");
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("11");
|
|
|
|
} else if(vehicle.vhcty_asort_code == "2"){ //승합
|
|
|
|
} else if(vehicle.vhcty_asort_code == "2"){ //승합
|
|
|
@ -667,21 +670,21 @@ $(document).ready(function(){
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("");
|
|
|
|
$("#ffnlgCarmdlCd--${pageName}").val("");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$("#zip--${pageName}").val(vehicle.zip_code); //우편번호
|
|
|
|
$("#zip--${pageName}").val(vehicle.zip_code); //우편번호
|
|
|
|
$("#addr--${pageName}").val(vehicle.road_nm_adres); //주소
|
|
|
|
$("#addr--${pageName}").val(vehicle.road_nm_adres); //주소
|
|
|
|
$("#dtlAddr--${pageName}").val(vehicle.use_strnghld_adres_nm); //상세주소
|
|
|
|
$("#dtlAddr--${pageName}").val(vehicle.use_strnghld_adres_nm); //상세주소
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$("#teamId--${pageName}").on("change",function(){
|
|
|
|
$("#teamId--${pageName}").on("change",function(){
|
|
|
|
$("#teamer1--${pageName}").val("");
|
|
|
|
$("#teamer1--${pageName}").val("");
|
|
|
|
$("#teamer2--${pageName}").val("");
|
|
|
|
$("#teamer2--${pageName}").val("");
|
|
|
|
$("#teamer3--${pageName}").val("");
|
|
|
|
$("#teamer3--${pageName}").val("");
|
|
|
|
$("#teamer4--${pageName}").val("");
|
|
|
|
$("#teamer4--${pageName}").val("");
|
|
|
|
|
|
|
|
|
|
|
|
if(this.value != ""){
|
|
|
|
if(this.value != ""){
|
|
|
|
ajax.get({
|
|
|
|
ajax.get({
|
|
|
|
url: wctx.url("/${taskSeCd}/crdn/crdn07/010/info.do"),
|
|
|
|
url: wctx.url("/${taskSeCd}/crdn/crdn07/010/info.do"),
|
|
|
@ -698,7 +701,7 @@ $(document).ready(function(){
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 초기화
|
|
|
|
* 초기화
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
@ -707,28 +710,28 @@ $(document).ready(function(){
|
|
|
|
$("#frmEdit--${pageName}").find(".form-date").each(function(){
|
|
|
|
$("#frmEdit--${pageName}").find(".form-date").each(function(){
|
|
|
|
$(this).on("input",function(){
|
|
|
|
$(this).on("input",function(){
|
|
|
|
var value = this.value.replaceAll("-","");
|
|
|
|
var value = this.value.replaceAll("-","");
|
|
|
|
|
|
|
|
|
|
|
|
if(value.length > 7){
|
|
|
|
if(value.length > 7){
|
|
|
|
this.value = value.substring(0,4)+"-"+value.substring(4,6)+"-"+value.substring(6);
|
|
|
|
this.value = value.substring(0,4)+"-"+value.substring(4,6)+"-"+value.substring(6);
|
|
|
|
} else if(value.length > 5){
|
|
|
|
} else if(value.length > 5){
|
|
|
|
this.value = value.substring(0,4)+"-"+value.substring(4);
|
|
|
|
this.value = value.substring(0,4)+"-"+value.substring(4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$("#frmEdit--${pageName}").find(".form-time").each(function(){
|
|
|
|
$("#frmEdit--${pageName}").find(".form-time").each(function(){
|
|
|
|
$(this).on("input",function(){
|
|
|
|
$(this).on("input",function(){
|
|
|
|
var value = this.value.replaceAll(":","");
|
|
|
|
var value = this.value.replaceAll(":","");
|
|
|
|
|
|
|
|
|
|
|
|
if(value.length > 5){
|
|
|
|
if(value.length > 5){
|
|
|
|
this.value = value.substring(0,2)+":"+value.substring(2,4)+":"+value.substring(4);
|
|
|
|
this.value = value.substring(0,2)+":"+value.substring(2,4)+":"+value.substring(4);
|
|
|
|
} else if(value.length > 3){
|
|
|
|
} else if(value.length > 3){
|
|
|
|
this.value = value.substring(0,2)+":"+value.substring(2);
|
|
|
|
this.value = value.substring(0,2)+":"+value.substring(2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
//보안모드
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
|