개별총정보 화면 수정.

main
jjh 1 year ago
parent 74c1fa9a0f
commit aa4c5111e4

@ -88,7 +88,7 @@ public class Sprt02Controller extends ApplicationController {
Map<String, List<CommonCode>> commonCodes = getCodesOf("FIM054");
return mav
.addObject("pageName", "sprt02020")
.addObject("pageName", "sprt02030")
.addObject("FIM054List", commonCodes.get("FIM054")) // 업무 구분 코드(TASK_SE_CD)
.addObject("opnnSbmsnInfo", json ? opnnSbmsnInfo : toJson(opnnSbmsnInfo)) // 의견제출 정보
;

@ -351,6 +351,15 @@
return;
}
let dataItems = ${pageName}Control.dataset.getDataset("item");
let crdnIDs = {};
for (let iLoop = 0; iLoop < dataItems.length; iLoop++) {
let key = dataItems[iLoop].data.CRDN_ID;
crdnIDs[iLoop] = key;
}
ajax.get({
url : wctx.url("/sprt/sprt02/010/main.do")
, data : { crdnId : crdnId }
@ -362,6 +371,9 @@
, title : "개별총정보"
, content : resp
, size : "xxl"
, init : () => {
sprt02010CrdnIDs = crdnIDs;
}
});
}
});

@ -71,7 +71,7 @@
<label for="sttrAddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
<input type="text" class="form-control w-75" id="sttrAddr--${pageName}" name="sttrAddr" data-map="STTR_ADDR" />
<input type="text" class="form-control w-px-75" id="sttrZip--${pageName}" name="sttrZip" data-map="STTR_ZIP" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnZip--${pageName}" title="우편번호 검색" onclick="fnZip${pageName}();">
<button type="button" class="btn btn-sm btn-outline-dark" id="btnZip--${pageName}" title="우편번호 검색" onclick="fnBtnZip${pageName}();">
검색
</button>
</div>
@ -222,7 +222,6 @@
let item = ${pageName}Control.getCurrent("item");
let create = isEmpty(info.opnnId);
let formData = new FormData();
// 첨부파일 배열에 있는 내용을 등록
@ -298,8 +297,8 @@
$("#sttrEml--${pageName}").val(${pageName}Control.getValue("RTPYR_EML"));
}
// 우편번호 조회
function fnZip${pageName}() {
// 우편번호 검색
function fnBtnZip${pageName}() {
}

@ -101,6 +101,8 @@
var prefixUrl = "/sprt/sprt02";
// FormFields
var ${pageName}Fields = new FormFields("#frmEdit--${pageName}");
//
var ${pageName}CrdnIDs = {};
/**************************************************************************
* DatasetControl

@ -9,6 +9,7 @@
<div class="card" style="max-width:1100px;" title="단속 정보">
<!-- 업무 버튼 -->
<div class="container-page-btn">
<label class="w-px-200 bg-label-danger pe-2 col-form-label text-sm-center">단속 정보</label>
<!-- 버튼 우측 정렬 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary" id="btnOpenCvlcptOrgnl--${pageName}" title="민원 원본 보기" onclick="fnBtnOpenCvlcptOrgnl${pageName}();">
@ -186,11 +187,12 @@
<div class="card" style="max-width:1100px;" title="납부자 정보">
<!-- 업무 버튼 -->
<div class="container-page-btn">
<button type="button" class="btn btn-primary" id="btnPayerReset--${pageName}" title="납부자 초기화" onclick="btnPayerReset${pageName}();">
납부자 초기화
</button>
<label class="w-px-200 bg-label-danger pe-2 col-form-label text-sm-center">납부자 정보</label>
<!-- 버튼 우측 정렬 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary" id="btnPayerReset--${pageName}" title="납부자 초기화" onclick="btnPayerReset${pageName}();">
납부자 초기화
</button>
<button type="button" class="btn btn-primary" id="btnPayerUpdate--${pageName}" title="납부자 수정" onclick="fnBtnPayerUpdate${pageName}();">
납부자 수정
</button>
@ -213,19 +215,19 @@
<label for="rtpyrNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부자 번호</label>
<input type="text" class="form-control w-40" id="rtpyrNo--${pageName}" name="rtpyrNo" data-map="RTPYR_NO" readonly />
</div>
<!-- 진술자 주소 --><!-- 진술자 우편번호 -->
<!-- 납부자 주소 --><!-- 납부자 우편번호 -->
<div class="col-md-12">
<label for="sttrAddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
<input type="text" class="form-control w-75" id="sttrAddr--${pageName}" name="sttrAddr" data-map="STTR_ADDR" />
<input type="text" class="form-control w-px-75" id="sttrZip--${pageName}" name="sttrZip" data-map="STTR_ZIP" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnZip--${pageName}" title="우편번호 검색" onclick="fnZip${pageName}();">
<label for="addr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
<input type="text" class="form-control w-75" id="addr--${pageName}" name="addr" data-map="addr" />
<input type="text" class="form-control w-px-75" id="zip--${pageName}" name="zip" data-map="ZIP" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnZip--${pageName}" title="우편번호 검색" onclick="fnBtnZip${pageName}();">
검색
</button>
</div>
<!-- 진술자 상세주소 -->
<!-- 납부자 상세주소 -->
<div class="col-md-12">
<label for="sttrDaddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상세 주소</label>
<input type="text" class="form-control w-87" id="sttrDaddr--${pageName}" name="sttrDaddr" data-map="STTR_DADDR" />
<label for="dtlAddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">상세 주소</label>
<input type="text" class="form-control w-87" id="dtlAddr--${pageName}" name="dtlAddr" data-map="DTL_ADDR" />
</div>
<!-- 납부자 입력 구분 코드 -->
<div class="col-md-4">
@ -336,22 +338,10 @@
, data : { crdnId : crdnId }
, success : resp => {
dialog.open({
id : dialogId,
title : "민원내역 원본",
content : resp,
size : "xl",
init : () => {
// var parentRes = new Object();
// var childReq = pageObject.childReq.pop();
// for(var reqKey in childReq) {
// if($P.provide[reqKey]){
// parentRes[reqKey] = $P.provide[reqKey];
// } else {
// parentRes[reqKey] = function(){};
// }
// }
// pageObject.parentRes.push(parentRes);
}
id : dialogId
, title : "민원내역 원본"
, content : resp
, size : "xl"
});
}
})
@ -397,6 +387,11 @@
console.log("단속 상태 변경");
}
// 우편번호 검색
function fnBtnZip${pageName}() {
}
/**************************************************************************
* script 진입
**************************************************************************/

@ -7,6 +7,7 @@
<div class="card" title="의견제출 정보">
<!-- 업무 버튼 -->
<div class="container-page-btn">
<label class="w-px-200 bg-label-danger pe-2 col-form-label text-sm-center">의견제출 정보</label>
<!-- 버튼 우측 정렬 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary" id="btnOpnnSbmsnCreate--${pageName}" title="의견제출 등록" onclick="fnBtnOpnnSbmsnCreate${pageName}();">

Loading…
Cancel
Save