요구사항 청소년 교육신청
This commit is contained in:
parent
c7192992db
commit
4d7876b2d0
@ -45,7 +45,9 @@
|
|||||||
if(mode == "D"){
|
if(mode == "D"){
|
||||||
$("input[type=checkbox],textarea").not("textarea[name=rejtReson]").attr("disabled" , true);
|
$("input[type=checkbox],textarea").not("textarea[name=rejtReson]").attr("disabled" , true);
|
||||||
}
|
}
|
||||||
|
$("input:text[numberOnly]").on("keyup", function() {
|
||||||
|
$(this).val($(this).val().replace(/[^0-9]/g,""));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function fncAprooval(){
|
function fncAprooval(){
|
||||||
@ -159,6 +161,25 @@
|
|||||||
|
|
||||||
//회차관리 변경
|
//회차관리 변경
|
||||||
function fncRndsSave(thisObj){
|
function fncRndsSave(thisObj){
|
||||||
|
|
||||||
|
// 기존 회차와 비교하여 값이 있으면 return false
|
||||||
|
var valChk = false;
|
||||||
|
$(".psblTmQnttyTemp").each(function() {
|
||||||
|
|
||||||
|
var ordVal = $('#ord').val();
|
||||||
|
var currentValue = $(this).val();
|
||||||
|
if(currentValue == ordVal){
|
||||||
|
valChk = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
||||||
|
if(valChk){
|
||||||
|
alert("기존에 있는 회차와 같습니다. 다시 작성해주세요");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
// //기존 회차와 비교하여 값이 있으면 return false
|
||||||
|
|
||||||
|
|
||||||
//alert($("#ord_1").val());
|
//alert($("#ord_1").val());
|
||||||
//alert($(thisObj).closest("td"));
|
//alert($(thisObj).closest("td"));
|
||||||
//alert($(thisObj).closest("td").find("input[name=ord_1]").length);
|
//alert($(thisObj).closest("td").find("input[name=ord_1]").length);
|
||||||
@ -180,7 +201,7 @@
|
|||||||
//alert(p_areaCd);
|
//alert(p_areaCd);
|
||||||
|
|
||||||
//if(p_psblTmQntty != "") {
|
//if(p_psblTmQntty != "") {
|
||||||
if(true) {
|
/* if(true) {
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type:"POST",
|
type:"POST",
|
||||||
@ -207,7 +228,7 @@
|
|||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
alert("교육가능시수를 입력해주세요.");
|
alert("교육가능시수를 입력해주세요.");
|
||||||
}
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
function fncGoList(){
|
function fncGoList(){
|
||||||
@ -387,7 +408,7 @@
|
|||||||
|
|
||||||
<input type="text" id="ord" name="ord" class="search_input"
|
<input type="text" id="ord" name="ord" class="search_input"
|
||||||
style="width:100px;" maxlength="3"
|
style="width:100px;" maxlength="3"
|
||||||
placeholder="숫자만" value='' onkeyDown="press(event);">회차
|
placeholder="숫자만" value="" numberOnly>회차
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="util_right">
|
<div class="util_right">
|
||||||
@ -502,6 +523,10 @@
|
|||||||
<input type="text" id="psblTmQntty" name="psblTmQntty" class="search_input"
|
<input type="text" id="psblTmQntty" name="psblTmQntty" class="search_input"
|
||||||
style="width:100px;"
|
style="width:100px;"
|
||||||
placeholder="회차" value='<c:out value="${list.ord}"/>' onkeyDown="press(event);">회차
|
placeholder="회차" value='<c:out value="${list.ord}"/>' onkeyDown="press(event);">회차
|
||||||
|
|
||||||
|
|
||||||
|
<input type="hidden" class="psblTmQnttyTemp" value='<c:out value="${list.ord}"/>'/>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="util_right">
|
<div class="util_right">
|
||||||
|
|||||||
@ -637,7 +637,19 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
|||||||
alert("신청가능한 기간이 아닙니다.\n\n"+returnData.message+"\n\n(교사, 학부모 대상 교육은 ‘찾아가는 저작권 교육(성인)'에서 상시 신청 가능합니다)");
|
alert("신청가능한 기간이 아닙니다.\n\n"+returnData.message+"\n\n(교사, 학부모 대상 교육은 ‘찾아가는 저작권 교육(성인)'에서 상시 신청 가능합니다)");
|
||||||
//location.href="<c:url value='/web/main/mainPage.do'/>"
|
//location.href="<c:url value='/web/main/mainPage.do'/>"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
psblFlag = 'N';
|
psblFlag = 'N';
|
||||||
|
|
||||||
|
|
||||||
|
//저작권배움터 수정요청사항(r1.2023.11.23.).pptx p.109 요구사항
|
||||||
|
$('#createForm select').prop('disabled', true);
|
||||||
|
$('#createForm input').prop('disabled', true);
|
||||||
|
$('#createForm button').prop('disabled', true);
|
||||||
|
|
||||||
|
// Disable all radio buttons
|
||||||
|
// $('input[type="radio"]').prop('disabled', true);
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
$("input[name=rndsOrd]").val(returnData.rndsOrd);
|
$("input[name=rndsOrd]").val(returnData.rndsOrd);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user