|
|
|
@ -253,6 +253,7 @@
|
|
|
|
|
<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="btnAccept--${pageName}" class="btn btn-primary">저장(수용)</button>
|
|
|
|
|
<button type="button" id="btnSendBack--${pageName}" class="btn btn-primary">반송</button>
|
|
|
|
|
<button type="button" id="btnDataCopy--${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>
|
|
|
|
@ -310,7 +311,8 @@ pageObject.childReq.push({
|
|
|
|
|
getPrevKey : function(){ return ""; },
|
|
|
|
|
selectRow : function(){},
|
|
|
|
|
holdRow : function(){},
|
|
|
|
|
refreshList : function(){}
|
|
|
|
|
refreshList : function(){},
|
|
|
|
|
hasData : function(){ return true; }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
@ -341,7 +343,8 @@ $(document).ready(function(){
|
|
|
|
|
load : "",
|
|
|
|
|
getInfo : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/info.do"),
|
|
|
|
|
update : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/update.do"),
|
|
|
|
|
create : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/create.do")
|
|
|
|
|
create : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/create.do"),
|
|
|
|
|
remove : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/remove.do")
|
|
|
|
|
},
|
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "",
|
|
|
|
|
dataGetter:obj => obj.crdnInfo,
|
|
|
|
@ -548,6 +551,45 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnSendBack = () => {
|
|
|
|
|
if(!confirm("반송 처리 하시겠습니까?")){
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
|
url : $P.crdnControl.urls.remove,
|
|
|
|
|
data : { crdnId : crdnId },
|
|
|
|
|
success : resp => {
|
|
|
|
|
if(resp.saved){
|
|
|
|
|
var message = "민원회수 요청이 등록되었습니다.\n"
|
|
|
|
|
+"해당 자료를 서손처리하시기 바랍니다.\n"
|
|
|
|
|
+"서손처리 후 30~60분 사이에 서버에서 민원시스템으로 전송이 진행되니 이후에 민원시스템에서 확인하시기 바랍니다.";
|
|
|
|
|
dialog.alert(message);
|
|
|
|
|
|
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
|
|
|
|
|
|
var cursorKey = "";
|
|
|
|
|
|
|
|
|
|
var nextKey = $P.provided.getNextKey(crdnId);
|
|
|
|
|
if(nextKey != ""){
|
|
|
|
|
cursorKey = nextKey;
|
|
|
|
|
} else {
|
|
|
|
|
var prevKey = $P.provided.getPrevKey(crdnId);
|
|
|
|
|
if(prevKey != ""){
|
|
|
|
|
cursorKey = prevKey;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$("#refreshEnd--${pageName}").attr("data-cursor-key", cursorKey);
|
|
|
|
|
$P.provided.refreshList();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.videoCallback = (snapshots) => {
|
|
|
|
|
snapshots.forEach(function(canvas, index, array){
|
|
|
|
|
canvas.toBlob(function(blob){
|
|
|
|
@ -762,17 +804,21 @@ $(document).ready(function(){
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* element.on
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
$("#btnReset--${pageName}").on("click", () => $P.fnReset() );
|
|
|
|
|
$("#btnPrev--${pageName}").on("click", () => $P.fnPrev() );
|
|
|
|
|
$("#btnNext--${pageName}").on("click", () => $P.fnNext() );
|
|
|
|
|
|
|
|
|
|
$("#btnReset--${pageName}").on("click", () => $P.fnReset() );
|
|
|
|
|
//업무처리 버튼
|
|
|
|
|
$("#btnSendBack--${pageName}").on('click', () => { $P.fnSendBack(); });
|
|
|
|
|
$("#btnInstLevyExcl1--${pageName}").on("click", () => $P.openLevyExclPop("1"));
|
|
|
|
|
$("#btnInstLevyExcl2--${pageName}").on("click", () => $P.openLevyExclPop("2"));
|
|
|
|
|
$("#btnDataCopy--${pageName}").on("click", () => $P.fnCopy());
|
|
|
|
|
$("#btnAccept--${pageName}").on('click', () => $P.fnAccept());
|
|
|
|
|
$("#btnHold--${pageName}").on("click", () => $P.fnHold());
|
|
|
|
|
$("#btnOpenCvlcptOrgnl--${pageName}").on("click", () => $P.fnOpenCvlcptOrgnl());
|
|
|
|
|
$("#btnAccept--${pageName}").on('click', () => $P.fnAccept());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//파일처리 버튼
|
|
|
|
|
$("#btnAddFile--${pageName}").on('click', () => { $("#inputUploadSet--${pageName}").trigger("click"); });
|
|
|
|
|
|
|
|
|
|
$("#btnOpenVideoCapture--${pageName}").on('click', () => {
|
|
|
|
@ -836,6 +882,7 @@ $(document).ready(function(){
|
|
|
|
|
$P.fnDisplay(false);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//차적조회
|
|
|
|
|
$("#vhrno--${pageName}").on("keyup",function(e){
|
|
|
|
|
if(e.key == "Enter"){
|
|
|
|
|
var crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
|
|
|
|
@ -944,11 +991,18 @@ $(document).ready(function(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$("#refreshEnd--${pageName}").on("refreshEnd", function(){
|
|
|
|
|
if(this.dataset.cursorKey != null && this.dataset.cursorKey != ""){
|
|
|
|
|
$P.fnGo(this.dataset.cursorKey);
|
|
|
|
|
} else {
|
|
|
|
|
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(this.dataset.cursorKey == null || this.dataset.cursorKey == ""){
|
|
|
|
|
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(!$P.provided.hasData(this.dataset.cursorKey)){
|
|
|
|
|
dialog.close("cvlcptInitialDataEditDialog--${openerPageName}");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$P.fnGo(this.dataset.cursorKey);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|