이지우 - 성인 저작권교육 신청 임시저장기능 수정

This commit is contained in:
jiwoo 2023-10-26 17:12:23 +09:00
parent e8f48914a1
commit 00ba042891
2 changed files with 21 additions and 2 deletions

View File

@ -838,6 +838,9 @@
<isNotEmpty property="rndsOrd"> <isNotEmpty property="rndsOrd">
, RNDS_ORD = #rndsOrd# , RNDS_ORD = #rndsOrd#
</isNotEmpty> </isNotEmpty>
<!-- <isNotEmpty property="aplctCn"> -->
, APLCT_CN = #aplctCn#
<!-- </isNotEmpty> -->
WHERE EDU_APLCT_ORD = #eduAplctOrd# WHERE EDU_APLCT_ORD = #eduAplctOrd#
</update> </update>

View File

@ -376,6 +376,13 @@
$("#mode").val(VeConstants.MODE_UPT); $("#mode").val(VeConstants.MODE_UPT);
$("#eduAplctOrd").val(info.eduAplctOrd); $("#eduAplctOrd").val(info.eduAplctOrd);
$("#eduSlctCd").val(info.eduSlctCd); $("#eduSlctCd").val(info.eduSlctCd);
//오프라인의 경우 교육장소 활성화
if(info.eduSlctCd == '20'){
$("#juso").show();
$("#juso").find("input").removeAttr("disabled", "disabled");
$("#mechae").hide();
$("#mechae").find("input").attr("disabled", "disabled");
}
$("#eduMd").val(info.eduMd); $("#eduMd").val(info.eduMd);
$("#eduSlctAreaCd").val(info.eduSlctAreaCd); $("#eduSlctAreaCd").val(info.eduSlctAreaCd);
$("#insttNm").val(info.insttNm); $("#insttNm").val(info.insttNm);
@ -385,6 +392,12 @@
$("#addrDetail").val(info.addrDetail); $("#addrDetail").val(info.addrDetail);
$("#chrgNm").val(info.chrgNm); $("#chrgNm").val(info.chrgNm);
$("#jobNm").val(info.jobNm); $("#jobNm").val(info.jobNm);
if(isNotEmpty(info.aplctCn)){
var aplctCnList = info.aplctCn.split(',');
$.each(aplctCnList, function(idx, value){
$('input[name=aplctCn][value='+value+']').prop('checked',true);
});
}
if(!isEmpty(info.clphone)){ if(!isEmpty(info.clphone)){
var clphone = info.clphone.split('-'); var clphone = info.clphone.split('-');
@ -416,12 +429,15 @@
} }
console.log("+++++++++++++++++++++++++++++++++"); console.log("+++++++++++++++++++++++++++++++++");
var tr = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr').eq(idx); var tr = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr').eq(idx);
tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt, 'date')); //tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt, 'date'));
tr.find('input[name=eduHopeDt0]').val(dateFormat(value.eduHopeDt.replace(/\./g, ""), 'date'));
tr.find('input[name=eduHopeDt]').val(dateFormat(value.eduHopeDt.replace(/\./g, ""), 'date'));
tr.find('input[name=strtTm]').val(timeFomat(value.strtTm)); tr.find('input[name=strtTm]').val(timeFomat(value.strtTm));
tr.find('input[name=endTm]').val(timeFomat(value.endTm)); tr.find('input[name=endTm]').val(timeFomat(value.endTm));
tr.find('input[name=lrnTm]').val(value.lrnTm); tr.find('input[name=lrnTm]').val(value.lrnTm);
tr.find('input[name=trgt]').val(value.trgt); tr.find('input[name=trgt]').val(value.trgt);
tr.find('input[name=prsnl]').val(value.prsnl); tr.find('input[name=prsnl]').val(value.prsnl);
}); });
} }