|
|
|
@ -84,7 +84,7 @@
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="cvlcptAplcntNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">신고자</label>
|
|
|
|
|
<input type="text" id="cvlcptAplcntNm--${pageName}" name="cvlcptAplcntNm" data-map="CVLCPT_APLCNT_NM"
|
|
|
|
|
class="form-control" />
|
|
|
|
|
class="form-control" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label for="cvlcptPrcsPicNm--${pageName}" class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">담당자</label>
|
|
|
|
@ -253,9 +253,20 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="row mt-4 justify-content-end mb-3">
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<input type="text" id="countStauts--${pageName}" class="form-control w-px-150 text-center fw-bold" readonly />
|
|
|
|
|
<button type="button" class="w-px-50" id="btnPrev--${pageName}">◀</button>
|
|
|
|
|
<button type="button" class="w-px-50" id="btnNext--${pageName}">▶</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<div class="row justify-content-end">
|
|
|
|
|
<div class="col-sm-3">
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
|
<button type="button" id="btnInstLevyExcl1--${pageName}" class="btn btn-primary">서손처리</button>
|
|
|
|
|
<button type="button" id="btnInstLevyExcl2--${pageName}" class="btn btn-primary">계도처리</button>
|
|
|
|
|
<button type="button" id="" class="btn btn-primary">자료복사</button>
|
|
|
|
|
<button type="button" id="" class="btn btn-primary">처리보류</button>
|
|
|
|
|
<button type="button" id="" class="btn btn-primary">원본보기</button>
|
|
|
|
|
<button type="button" id="" class="btn btn-primary">되돌리기</button>
|
|
|
|
|
<button type="button" id="btnInst--${pageName}" class="btn btn-primary">저장</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -323,7 +334,11 @@ $(document).ready(function(){
|
|
|
|
|
$P.uploadSet = uploadSupport("#inputUploadSet--${pageName}");
|
|
|
|
|
|
|
|
|
|
$P.crdnControl = new DatasetControl({
|
|
|
|
|
urls : { load : "", update : wctx.url("/${taskSeCd}/crdn/crdn01/020/save.do") },
|
|
|
|
|
urls : {
|
|
|
|
|
load : "",
|
|
|
|
|
getInfo : wctx.url("/${taskSeCd}/crdn/crdn01/020/info.do"),
|
|
|
|
|
update : wctx.url("/${taskSeCd}/crdn/crdn01/020/save.do")
|
|
|
|
|
},
|
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "",
|
|
|
|
|
dataGetter:obj => obj.crdnInfo,
|
|
|
|
|
formats: {
|
|
|
|
@ -533,9 +548,56 @@ $(document).ready(function(){
|
|
|
|
|
$P.fnDisplay(true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.openLevyExclPop = (levyExclSeCd) => {
|
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
|
|
|
|
|
|
var params = {
|
|
|
|
|
"crdnId" : crdnId,
|
|
|
|
|
"levyExclSeCd" : levyExclSeCd
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url : wctx.url("/excl/excl01/020/info.do"),
|
|
|
|
|
data : params,
|
|
|
|
|
success : resp => {
|
|
|
|
|
|
|
|
|
|
dialog.open({
|
|
|
|
|
id : "levyExcldialog--${pageName}",
|
|
|
|
|
title : "부과제외 정보",
|
|
|
|
|
content : resp,
|
|
|
|
|
size : "lg",
|
|
|
|
|
init : () => { },
|
|
|
|
|
onClose : () => { $P.fnGo(crdnId); } // callback
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$P.fnGo = (crdnId) => {
|
|
|
|
|
ajax.get({
|
|
|
|
|
url: $P.crdnControl.urls.getInfo,
|
|
|
|
|
data: { "crdnId" : crdnId },
|
|
|
|
|
headers: {
|
|
|
|
|
Accept: "application/json; charset=utf-8"
|
|
|
|
|
},
|
|
|
|
|
success : resp => {
|
|
|
|
|
var crdnInfo = resp.crdnInfo;
|
|
|
|
|
crdnInfo.CVLCPT_APLY_CN = escapeHTMLEntity(crdnInfo.CVLCPT_APLY_CN);
|
|
|
|
|
$P.crdnControl.setData([crdnInfo]);
|
|
|
|
|
|
|
|
|
|
//var cs = $P.provided.getCountStatus($("#crdnId--${pageName}").val());
|
|
|
|
|
//$("#countStauts--${pageName}").val(cs);
|
|
|
|
|
//$P.provided.selectRow(crdnId);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* element.on
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$("#btnInstLevyExcl1--${pageName}").on("click", () => $P.openLevyExclPop("1"));
|
|
|
|
|
$("#btnInstLevyExcl2--${pageName}").on("click", () => $P.openLevyExclPop("2"));
|
|
|
|
|
|
|
|
|
|
$("#btnInst--${pageName}").on('click', () => $P.fnSave());
|
|
|
|
|
|
|
|
|
|