|
|
@ -334,8 +334,8 @@ $(document).ready(function(){
|
|
|
|
urls : {
|
|
|
|
urls : {
|
|
|
|
load : "",
|
|
|
|
load : "",
|
|
|
|
getInfo : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/info.do"),
|
|
|
|
getInfo : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/info.do"),
|
|
|
|
update : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/save.do"),
|
|
|
|
update : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/update.do"),
|
|
|
|
create : ""
|
|
|
|
create : wctx.url("/${taskSeCd}/cvlc/cvlc01/020/create.do")
|
|
|
|
},
|
|
|
|
},
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "",
|
|
|
|
keymapper:info => info ? info.CRDN_ID : "",
|
|
|
|
dataGetter:obj => obj.crdnInfo,
|
|
|
|
dataGetter:obj => obj.crdnInfo,
|
|
|
@ -536,12 +536,9 @@ $(document).ready(function(){
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
if(confirm("현재 단속 정보를 저장하시겠습니까?")){
|
|
|
|
content:"현재 단속 정보를 저장하시겠습니까?",
|
|
|
|
$P.crdnControl.save($P.formFields.get(), true);
|
|
|
|
onOK:() => {
|
|
|
|
}
|
|
|
|
$P.crdnControl.save($P.formFields.get(), true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -691,12 +688,17 @@ $(document).ready(function(){
|
|
|
|
$P.fnCopy = () => {
|
|
|
|
$P.fnCopy = () => {
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
var crdnId = $("#crdnId--${pageName}").val();
|
|
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
if(confirm("현 자료의 복사본을 생성하시겠습니까?")){
|
|
|
|
content : "현 자료의 복사본을 생성하겠습니까?",
|
|
|
|
|
|
|
|
onOK : () => {
|
|
|
|
ajax.get({
|
|
|
|
//$P.crdnControl.copy($P.formFields.get());
|
|
|
|
url : $P.crdnControl.urls.create,
|
|
|
|
}
|
|
|
|
data : { crdnId : crdnId },
|
|
|
|
});
|
|
|
|
success : resp => { }
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnOpenCvlcptOrgnl = () => {
|
|
|
|
$P.fnOpenCvlcptOrgnl = () => {
|
|
|
|