이지우 - 성인 저작권교육 신청 임시저장기능 수정
This commit is contained in:
parent
e8f48914a1
commit
00ba042891
@ -838,6 +838,9 @@
|
||||
<isNotEmpty property="rndsOrd">
|
||||
, RNDS_ORD = #rndsOrd#
|
||||
</isNotEmpty>
|
||||
<!-- <isNotEmpty property="aplctCn"> -->
|
||||
, APLCT_CN = #aplctCn#
|
||||
<!-- </isNotEmpty> -->
|
||||
WHERE EDU_APLCT_ORD = #eduAplctOrd#
|
||||
</update>
|
||||
|
||||
|
||||
@ -376,6 +376,13 @@
|
||||
$("#mode").val(VeConstants.MODE_UPT);
|
||||
$("#eduAplctOrd").val(info.eduAplctOrd);
|
||||
$("#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);
|
||||
$("#eduSlctAreaCd").val(info.eduSlctAreaCd);
|
||||
$("#insttNm").val(info.insttNm);
|
||||
@ -385,7 +392,13 @@
|
||||
$("#addrDetail").val(info.addrDetail);
|
||||
$("#chrgNm").val(info.chrgNm);
|
||||
$("#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)){
|
||||
var clphone = info.clphone.split('-');
|
||||
$("#clphone1").val(clphone[0]);
|
||||
@ -416,12 +429,15 @@
|
||||
}
|
||||
console.log("+++++++++++++++++++++++++++++++++");
|
||||
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=endTm]').val(timeFomat(value.endTm));
|
||||
tr.find('input[name=lrnTm]').val(value.lrnTm);
|
||||
tr.find('input[name=trgt]').val(value.trgt);
|
||||
tr.find('input[name=prsnl]').val(value.prsnl);
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user