민원접수 상세 수정

main
이범준 1 year ago
parent 07e6468bcf
commit 93c460808e

@ -111,8 +111,8 @@
</div>
<div class="col-md-12">
<label for="etcCn--${pageName}" class="w-px-130 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"
data-maxlengthb="1000" />
<input type="text" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN"
class="form-control w-px-500" data-maxlengthb="1000" />
</div>
<div class="col-md-4">
<label for="rtpyrNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">소유자</label>
@ -245,11 +245,6 @@
</slot>
</template>
</div>
<div class="col-md-6">
<label for="doGuidance--${pageName}">
<input type="checkbox" id="doGuidance--${pageName}" name="doGuidance" class="form-check-input" />계도처리
</label>
</div>
</div>
<div class="row mt-4 justify-content-end mb-3">
@ -267,7 +262,7 @@
<button type="button" id="btnHold--${pageName}" class="btn btn-primary">처리보류</button>
<button type="button" id="btnOpenCvlcptOrgnl--${pageName}" class="btn btn-primary">원본보기</button>
<button type="button" id="btnReset--${pageName}" class="btn btn-primary">초기화</button>
<button type="button" id="btnSave--${pageName}" class="btn btn-primary">저장</button>
<button type="button" id="btnAccept--${pageName}" class="btn btn-primary">수용(저장)</button>
</div>
</div>
</div>
@ -508,22 +503,9 @@ $(document).ready(function(){
$P.fnGo(crdnId);
}
$P.fnSave = () => {
$P.fnAccept = () => {
if(!customValidate($("#frmEdit--${pageName} input"))) return;
if($("#doGuidance--${pageName}").is(":checked")){
var rtpyrNm = document.getElementById("rtpyrNm--${pageName}");
if(rtpyrNm.value == ""){
dialog.alert({
content:"계도 처리를 하기 위해선 소유주정보가 입력되어야 합니다.",
onClose:function(){rtpyrNm.focus();}
});
return;
}
}
dialog.alert({
content:"현재 단속 정보를 저장하시겠습니까?",
@ -718,7 +700,7 @@ $(document).ready(function(){
$("#btnDataCopy--${pageName}").on("click", () => $P.fnCopy());
$("#btnHold--${pageName}").on("click", () => $P.fnHold());
$("#btnOpenCvlcptOrgnl--${pageName}").on("click", () => $P.fnOpenCvlcptOrgnl());
$("#btnSave--${pageName}").on('click', () => $P.fnSave());
$("#btnAccept--${pageName}").on('click', () => $P.fnAccept());
$("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); });

Loading…
Cancel
Save