refactor:기소유예 비대면일때 관련URL로 바꾸고 text 입력 가능하게 수정

This commit is contained in:
hylee 2024-01-04 18:04:11 +09:00
parent 58b7482c27
commit 265e1ee9ee
4 changed files with 419 additions and 410 deletions

View File

@ -343,14 +343,17 @@
<c:out value="${info.strtPnttm}"/>~<c:out value="${info.endPnttm}"/> <c:out value="${info.strtPnttm}"/>~<c:out value="${info.endPnttm}"/>
</td> </td>
</tr> </tr>
<c:if test="${info.prcsDiv eq 10}">
<tr> <tr>
<c:if test="${info.prcsDiv eq 10}">
<th scope="row">교육장소</th> <th scope="row">교육장소</th>
</c:if>
<c:if test="${info.prcsDiv eq 20}">
<th scope="row">관련URL</th>
</c:if>
<td class="addPro_wrap"> <td class="addPro_wrap">
<c:out value="${info.eduPlace}"/> <c:out value="${info.eduPlace}"/>
</td> </td>
</tr> </tr>
</c:if>
<tr> <tr>
<th scope="row">교육기간</th> <th scope="row">교육기간</th>
<td> <td>

View File

@ -49,10 +49,11 @@
* 10:대면 20:비대면 * 10:대면 20:비대면
* */ * */
function prcsDivChk(prcsDiv){ function prcsDivChk(prcsDiv){
console.log('prcsDiv : ', prcsDiv);
if(prcsDiv==10){ if(prcsDiv==10){
$('#tr_eduPlace').show(); $('#tr_eduPlace #thId').text('교육장소');
}else{ }else{
$('#tr_eduPlace').hide(); $('#tr_eduPlace #thId').text('관련URL');
} }
} }
@ -262,7 +263,7 @@
</td> </td>
</tr> </tr>
<tr id="tr_eduPlace"> <tr id="tr_eduPlace">
<th scope="row">교육장소</th> <th scope="row" id="thId">교육장소</th>
<td class="addPro_wrap"> <td class="addPro_wrap">
<input type="text" name="eduPlace" id="eduPlace" value="${info.eduPlace}" > <input type="text" name="eduPlace" id="eduPlace" value="${info.eduPlace}" >
</td> </td>

View File

@ -59,9 +59,9 @@
* */ * */
function prcsDivChk(prcsDiv){ function prcsDivChk(prcsDiv){
if(prcsDiv==10){ if(prcsDiv==10){
$('#tr_eduPlace').show(); $('#tr_eduPlace #thId').text('교육장소');
}else{ }else{
$('#tr_eduPlace').hide(); $('#tr_eduPlace #thId').text('관련URL');
} }
} }
@ -198,7 +198,7 @@
</td> </td>
</tr> </tr>
<tr id="tr_eduPlace"> <tr id="tr_eduPlace">
<th scope="row">교육장소</th> <th scope="row" id="thId">교육장소</th>
<td class="addPro_wrap"> <td class="addPro_wrap">
<input type="text" name="eduPlace" id="eduPlace" value="${vEEduAplctVO.eduPlace}" > <input type="text" name="eduPlace" id="eduPlace" value="${vEEduAplctVO.eduPlace}" >
</td> </td>

View File

@ -298,7 +298,12 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<c:if test="${info.prcsDiv eq 10}">
<th scope="row">교육장소</th> <th scope="row">교육장소</th>
</c:if>
<c:if test="${info.prcsDiv eq 20}">
<th scope="row">관련URL</th>
</c:if>
<td class="addPro_wrap"> <td class="addPro_wrap">
<c:out value="${info.eduPlace}"/> <c:out value="${info.eduPlace}"/>
</td> </td>