2023-11-13 12:19 청소년 찾교 신청 코드 변경
This commit is contained in:
parent
46c6d8eb83
commit
6fc9b2f645
@ -48,7 +48,8 @@ public class VEEduAplctVO extends ComDefaultVO implements Serializable {
|
||||
private String email1; //이메일
|
||||
private String email2; //이메일
|
||||
|
||||
private String eduPlace; //교육장소
|
||||
private String eduPlace; //교육장소(eduPlaceCd-99인 경우만 들어가도록)
|
||||
private String eduPlaceCd; //교육장소코드(VEA010)
|
||||
private String sbmtYn; //제출여부
|
||||
private String sbmtPnttm; //제출일시
|
||||
private String sbmtPnttmDetail; //제출일시 시분초 추가
|
||||
@ -604,6 +605,12 @@ public class VEEduAplctVO extends ComDefaultVO implements Serializable {
|
||||
public void setEduPlace(String eduPlace) {
|
||||
this.eduPlace = eduPlace;
|
||||
}
|
||||
public String getEduPlaceCd() {
|
||||
return eduPlaceCd;
|
||||
}
|
||||
public void setEduPlaceCd(String eduPlaceCd) {
|
||||
this.eduPlaceCd = eduPlaceCd;
|
||||
}
|
||||
public String getSbmtYn() {
|
||||
return sbmtYn;
|
||||
}
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
|
||||
EMAIL,
|
||||
EDU_PLACE,
|
||||
EDU_PLACE_CD,
|
||||
SBMT_YN,
|
||||
SBMT_PNTTM,
|
||||
APRVL_CD,
|
||||
@ -110,6 +111,7 @@
|
||||
A.PHONE AS phone,
|
||||
A.EMAIL AS email,
|
||||
A.EDU_PLACE AS eduPlace,
|
||||
A.EDU_PLACE_CD AS eduPlaceCd,
|
||||
A.SBMT_YN AS sbmtYn,
|
||||
TO_CHAR(A.SBMT_PNTTM, 'YY-MM-DD') AS sbmtPnttm,
|
||||
A.APRVL_CD AS aprvlCd,
|
||||
@ -186,6 +188,7 @@
|
||||
|
||||
#email#,
|
||||
#eduPlace#,
|
||||
#eduPlaceCd#,
|
||||
#sbmtYn#,
|
||||
CASE WHEN #sbmtYn# = 'Y' THEN SYSDATE ELSE NULL END,
|
||||
#aprvlCd#,
|
||||
@ -313,6 +316,7 @@
|
||||
A.PHONE ,
|
||||
A.EMAIL ,
|
||||
A.EDU_PLACE ,
|
||||
A.EDU_PLACE_CD ,
|
||||
A.SBMT_YN ,
|
||||
TO_CHAR(A.SBMT_PNTTM, 'YY-MM-DD') ,
|
||||
A.APRVL_CD ,
|
||||
@ -524,6 +528,9 @@
|
||||
<isNotEmpty property="eduPlace">
|
||||
, EDU_PLACE = #eduPlace#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="eduPlaceCd">
|
||||
, EDU_PLACE_CD = #eduPlaceCd#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="sbmtYn">
|
||||
, SBMT_YN = #sbmtYn#
|
||||
/*
|
||||
@ -716,6 +723,9 @@
|
||||
<isNotEmpty property="eduPlace">
|
||||
, EDU_PLACE = #eduPlace#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="eduPlaceCd">
|
||||
, EDU_PLACE_CD = #eduPlaceCd#
|
||||
</isNotEmpty>
|
||||
<isNotEmpty property="sbmtYn">
|
||||
, SBMT_YN = #sbmtYn#
|
||||
, SBMT_PNTTM = CASE WHEN SBMT_PNTTM IS NULL THEN SYSDATE ELSE SBMT_PNTTM END
|
||||
|
||||
@ -206,7 +206,14 @@
|
||||
<th scope="row">
|
||||
<p>교육장소</p>
|
||||
</th>
|
||||
<td><c:out value="${info.eduPlace}" /></td>
|
||||
<td>
|
||||
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||
${info.eduPlace}
|
||||
</c:if>
|
||||
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||
<kc:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
|
||||
@ -444,13 +444,12 @@
|
||||
<p>교육장소</p>
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${info.eduPlace}" />
|
||||
<p style="padding-left:10%;">
|
||||
<input type="checkbox" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if> disabled="disabled"> 집체교육
|
||||
</p>
|
||||
<p style="padding-left:20px;">
|
||||
<input type="checkbox" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if> disabled="disabled"> 방송실교육
|
||||
</p>
|
||||
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||
${info.eduPlace}
|
||||
</c:if>
|
||||
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||
<ve:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -352,13 +352,12 @@
|
||||
<p>교육장소</p>
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<c:out value="${info.eduPlace}" />
|
||||
<p style="padding-left:10%;">
|
||||
<input type="checkbox" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if> disabled="disabled"> 집체교육
|
||||
</p>
|
||||
<p style="padding-left:20px;">
|
||||
<input type="checkbox" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if> disabled="disabled"> 방송실교육
|
||||
</p>
|
||||
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||
${info.eduPlace}
|
||||
</c:if>
|
||||
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||
<kc:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -427,13 +427,12 @@ function replyCalculation(){
|
||||
<tr>
|
||||
<th scope="row"><p>교육장소</p></th>
|
||||
<td colspan="3">
|
||||
<c:out value='${info.eduPlace}'/>
|
||||
<p style="padding-left:10%;">
|
||||
<input type="checkbox" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if> disabled="disabled"> 집체교육
|
||||
</p>
|
||||
<p style="padding-left:20px;">
|
||||
<input type="checkbox" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if> disabled="disabled"> 방송실교육
|
||||
</p>
|
||||
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||
${info.eduPlace}
|
||||
</c:if>
|
||||
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||
<ve:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -856,7 +856,14 @@
|
||||
<th scope="row">
|
||||
<p>교육장소</p>
|
||||
</th>
|
||||
<td colspan="3">${info.eduPlace}</td>
|
||||
<td colspan="3">
|
||||
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||
${info.eduPlace}
|
||||
</c:if>
|
||||
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||
<kc:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
|
||||
@ -365,11 +365,15 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
||||
return false;
|
||||
};
|
||||
|
||||
var v_eduPlaceCd = $("input[name='eduPlaceCd']:checked").val();
|
||||
|
||||
if (v_eduPlaceCd=='99'){
|
||||
if($("#eduPlace").val() == ''){
|
||||
alert('교육장소를 입력해주세요.');
|
||||
$("#eduPlace").focus();
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
var trObj = $('.addClassRow').find('tbody > tr').not('.calendar_wrap tr');
|
||||
if(trObj.length == 0){
|
||||
@ -809,6 +813,23 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
||||
, "calendarPop"
|
||||
);
|
||||
}
|
||||
|
||||
//교육 장소에 따른 내용 변경
|
||||
function eduPlaceChg(){
|
||||
|
||||
var v_eduPlaceCd = $("input[name='eduPlaceCd']:checked").val();
|
||||
var v_eduPlace = $('#eduPlace');
|
||||
|
||||
|
||||
if (v_eduPlaceCd=='99'){
|
||||
v_eduPlace.removeAttr('disabled');
|
||||
}else{
|
||||
v_eduPlace.val('');
|
||||
v_eduPlace.attr('disabled', 'disabled');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
<div class="cont_wrap" id="sub">
|
||||
@ -1043,9 +1064,13 @@ var psblFlag = "Y";//학생 신청가능기간여부 체크
|
||||
</th>
|
||||
<td>
|
||||
<label for="eduPlace" class="label">교육장소 입력</label>
|
||||
<input type="text" value="${info.eduPlace}" name="eduPlace" id="eduPlace" size="25">
|
||||
<input type="text" value="${info.eduPlace}" name="eduPlace" id="eduPlace" size="25" disabled>
|
||||
<input type="checkbox" name="corpsEdu" id="corpsEdu" value="Y" <c:if test="${info.corpsEdu eq 'Y'}">checked</c:if>> <label for="corpsEdu">집체교육</label>
|
||||
<input type="checkbox" name="broadroomEdu" id="broadroomEdu" value="Y" <c:if test="${info.broadroomEdu eq 'Y'}">checked</c:if>> <label for="broadroomEdu">방송실교육</label>
|
||||
<ve:radio codeId="VEA010" id="eduPlaceCd" name="eduPlaceCd"
|
||||
selectedValue="${empty info.eduPlaceCd ? '01' : info.eduPlaceCd}"
|
||||
onChange="eduPlaceChg();"
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
<!--
|
||||
|
||||
@ -908,7 +908,14 @@
|
||||
<th scope="row">
|
||||
<p>교육장소</p>
|
||||
</th>
|
||||
<td colspan="3">${info.eduPlace}</td>
|
||||
<td colspan="3">
|
||||
<c:if test="${info.eduPlaceCd eq '99'}">
|
||||
${info.eduPlace}
|
||||
</c:if>
|
||||
<c:if test="${info.eduPlaceCd ne '99'}">
|
||||
<kc:code codeId="VEA010" code="${info.eduPlaceCd}"/>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
|
||||
@ -166,8 +166,7 @@
|
||||
<p>강의일자</p>
|
||||
</th>
|
||||
<td>
|
||||
${info.eduHopeDt}
|
||||
${fn:substring(info.eduHopeDt,0,4)}년 ${fn:substring(info.eduHopeDt,4,6)}월 ${fn:substring(info.eduHopeDt,6,8)}일
|
||||
${fn:substring(info.eduHopeDt,0,4)}년 ${fn:substring(info.eduHopeDt,5,7)}월 ${fn:substring(info.eduHopeDt,8,10)}일
|
||||
</td>
|
||||
<th scope="row">
|
||||
<p>첫 강의시간</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user