이지우 - 사용자 체험교실 나의 강의실 오류 수정

This commit is contained in:
jiwoo 2023-12-13 16:01:54 +09:00
parent 73c93f2c55
commit d6395a9c5b
3 changed files with 19 additions and 3 deletions

View File

@ -262,6 +262,13 @@
}
function validCheck(){
var oathAtchFileId = '${info.oathAtchFileId}';
if(oathAtchFileId == null || oathAtchFileId == ''){
alert("서약서를 제출해주세요.");
return false;
}
if($('#trgtGrade').val() == ''){
alert('대상학년/반을 입력해주세요.');
$("#trgtGrade").focus();

View File

@ -21,14 +21,16 @@
</style>
<script type="text/javaScript" language="javascript">
var aprvlCd = ${info.aprvlCd}
if(aprvlCd == '11' || aprvlCd == '12' || aprvlCd == '13'){
aprvlCd = '10';
}
$( document ).ready(function(){
if(${info == null}){
alert("진행 중인 체험교실이 없습니다.");
location.href = "<c:url value='/web/ve/aplct/cpyrgExprnClsrm/exprnClsrmInfo/exprnClsrmAplctGuide.do'/>";
}else{
if(aprvlCd == '11' || aprvlCd == '12' || aprvlCd == '13'){
aprvlCd = '10';
}
$("#p_"+aprvlCd).parent().attr('class', 'p_on');
$("#p_"+aprvlCd).parent().prevAll().attr('class', 'p_on');
$("#p_"+aprvlCd).css("color", "#FFFF00");

View File

@ -237,6 +237,13 @@
function validCheck(){
var oathAtchFileId = '${info.oathAtchFileId}';
if(oathAtchFileId == null || oathAtchFileId == ''){
alert("서약서를 제출해주세요.");
return false;
}
if($('#trgtGrade').val() == ''){
alert('대상학년/반을 입력해주세요.');
$("#trgtGrade").focus();