|
|
|
@ -13,7 +13,7 @@
|
|
|
|
|
위반일자
|
|
|
|
|
</label>
|
|
|
|
|
<input type="text" id="crdnYmd--${pageName}" name="crdnYmd" data-map="CRDN_YMD"
|
|
|
|
|
class="form-control form-date" data-fmt-type="day" required />
|
|
|
|
|
class="form-control form-date" data-fmt-type="day" maxlength="10" required />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
@ -155,7 +155,7 @@
|
|
|
|
|
<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>
|
|
|
|
|
<div id="display--${pageName}">
|
|
|
|
|
<div id="display--${pageName}" style="overflow-y: scroll;max-height: 680px;">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -246,9 +246,33 @@ $(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(){
|
|
|
|
|
$(this).on("input",function(){
|
|
|
|
|
var value = this.value.replaceAll(":","");
|
|
|
|
|
|
|
|
|
|
if(value.length > 5){
|
|
|
|
|
this.value = value.substring(0,2)+":"+value.substring(2,4)+":"+value.substring(4);
|
|
|
|
|
} else if(value.length > 3){
|
|
|
|
|
this.value = value.substring(0,2)+":"+value.substring(2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
|
|
|
|
|
|