|
|
@ -65,6 +65,14 @@
|
|
|
|
<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" />
|
|
|
|
data-maxlengthb="30" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
|
|
|
<button type="button" id="btnViewCrdnList--${pageName}" class="btn btn-outline-dark float-end mx-2">
|
|
|
|
|
|
|
|
동일번호 <span id="outputCrdnCount--${pageName}"></span>건
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button type="button" id="btnViewCvlcptDscsnList--${pageName}" class="btn btn-outline-dark float-end mx-2">
|
|
|
|
|
|
|
|
차량민원 <span id="outputCvlcptDscsnCount--${pageName}"></span>건
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<label for="vltnCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
<label for="vltnCd--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
위반내용
|
|
|
|
위반내용
|
|
|
@ -572,6 +580,9 @@ $(document).ready(function(){
|
|
|
|
crdnInfo.CVLCPT_APLY_CN = escapeHTMLEntity(crdnInfo.CVLCPT_APLY_CN);
|
|
|
|
crdnInfo.CVLCPT_APLY_CN = escapeHTMLEntity(crdnInfo.CVLCPT_APLY_CN);
|
|
|
|
$P.crdnControl.setData([crdnInfo]);
|
|
|
|
$P.crdnControl.setData([crdnInfo]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnViewCrdnList--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
$("#btnViewCvlcptDscsnList--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
//보안모드
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|
|
@ -894,6 +905,14 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
var resp = null;
|
|
|
|
var resp = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
resp = await countCrdnByVhrno(vhrno, "${taskSeCd}");
|
|
|
|
|
|
|
|
if(resp.crdnCount > 0){
|
|
|
|
|
|
|
|
$("#outputCrdnCount--${pageName}").html(resp.crdnCount);
|
|
|
|
|
|
|
|
$("#btnViewCrdnList--${pageName}").removeAttr("hidden");
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$("#btnViewCrdnList--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
resp = await getVhclInfo($("#sggCd--${pageName}").val(), vhrno, crdnYmd);
|
|
|
|
resp = await getVhclInfo($("#sggCd--${pageName}").val(), vhrno, crdnYmd);
|
|
|
|
|
|
|
|
|
|
|
|
if(!resp.found){
|
|
|
|
if(!resp.found){
|
|
|
@ -976,6 +995,17 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//단속내역 보기
|
|
|
|
|
|
|
|
$("#btnViewCrdnList--${pageName}").on("click", function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//민원내역 보기
|
|
|
|
|
|
|
|
$("#btnViewCvlcptDscsnList--${pageName}").on("click", function(){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if("${taskSeCd}" == "DPV"){
|
|
|
|
if("${taskSeCd}" == "DPV"){
|
|
|
|
$("#vltnCd--${pageName}").on("change", function(){
|
|
|
|
$("#vltnCd--${pageName}").on("change", function(){
|
|
|
|
if(this.value == "01"){
|
|
|
|
if(this.value == "01"){
|
|
|
@ -1007,18 +1037,6 @@ $(document).ready(function(){
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
initDatepicker("frmEdit--${pageName}"); //달력 초기화
|
|
|
|
initDatepicker("frmEdit--${pageName}"); //달력 초기화
|
|
|
|
|
|
|
|
|
|
|
|
$("#frmEdit--${pageName}").find(".form-date").each(function(){
|
|
|
|
|
|
|
|
$(this).on("input",function(){
|
|
|
|
|
|
|
|
var value = this.value.replaceAll("-","");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(value.length > 7){
|
|
|
|
|
|
|
|
this.value = value.substring(0,4)+"-"+value.substring(4,6)+"-"+value.substring(6);
|
|
|
|
|
|
|
|
} else if(value.length > 5){
|
|
|
|
|
|
|
|
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(":","");
|
|
|
@ -1032,6 +1050,9 @@ $(document).ready(function(){
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#btnViewCrdnList--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
$("#btnViewCvlcptDscsnList--${pageName}").attr("hidden","hidden");
|
|
|
|
|
|
|
|
|
|
|
|
var crdnInfo = ${crdnInfo};
|
|
|
|
var crdnInfo = ${crdnInfo};
|
|
|
|
crdnInfo.CVLCPT_APLY_CN = escapeHTMLEntity(crdnInfo.CVLCPT_APLY_CN);
|
|
|
|
crdnInfo.CVLCPT_APLY_CN = escapeHTMLEntity(crdnInfo.CVLCPT_APLY_CN);
|
|
|
|
$P.crdnControl.setData([crdnInfo]);
|
|
|
|
$P.crdnControl.setData([crdnInfo]);
|
|
|
@ -1137,6 +1158,8 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//사진영역 초기화
|
|
|
|
//사진영역 초기화
|
|
|
|
var existVideo = false;
|
|
|
|
var existVideo = false;
|
|
|
|
if(crdnInfo.VIDEO_EXIST_YN == "Y"){
|
|
|
|
if(crdnInfo.VIDEO_EXIST_YN == "Y"){
|
|
|
|