민원접수 상세 수정

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

@ -111,8 +111,8 @@
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
<label for="etcCn--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">특기사항</label> <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" <input type="text" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN"
data-maxlengthb="1000" /> class="form-control w-px-500" data-maxlengthb="1000" />
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<label for="rtpyrNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">소유자</label> <label for="rtpyrNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">소유자</label>
@ -245,11 +245,6 @@
</slot> </slot>
</template> </template>
</div> </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>
<div class="row mt-4 justify-content-end mb-3"> <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="btnHold--${pageName}" class="btn btn-primary">처리보류</button>
<button type="button" id="btnOpenCvlcptOrgnl--${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="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> </div>
</div> </div>
@ -508,22 +503,9 @@ $(document).ready(function(){
$P.fnGo(crdnId); $P.fnGo(crdnId);
} }
$P.fnSave = () => { $P.fnAccept = () => {
if(!customValidate($("#frmEdit--${pageName} input"))) return; 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({ dialog.alert({
content:"현재 단속 정보를 저장하시겠습니까?", content:"현재 단속 정보를 저장하시겠습니까?",
@ -718,7 +700,7 @@ $(document).ready(function(){
$("#btnDataCopy--${pageName}").on("click", () => $P.fnCopy()); $("#btnDataCopy--${pageName}").on("click", () => $P.fnCopy());
$("#btnHold--${pageName}").on("click", () => $P.fnHold()); $("#btnHold--${pageName}").on("click", () => $P.fnHold());
$("#btnOpenCvlcptOrgnl--${pageName}").on("click", () => $P.fnOpenCvlcptOrgnl()); $("#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"); }); $("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); });

Loading…
Cancel
Save