관리자 :: 기반 - 과정 신청기간 상세 반려 처리 code 추가 후 완료

This commit is contained in:
hylee 2024-01-12 12:23:33 +09:00
parent 0787c72735
commit b1c740a576
4 changed files with 54 additions and 40 deletions

View File

@ -642,8 +642,12 @@ public class EgovCryptoUtil {
public List<VEEduAplctVO> decryptVeEduAplctList(List<VEEduAplctVO> vEPrcsDetailVOList) { public List<VEEduAplctVO> decryptVeEduAplctList(List<VEEduAplctVO> vEPrcsDetailVOList) {
for(VEEduAplctVO vo : vEPrcsDetailVOList) { for(VEEduAplctVO vo : vEPrcsDetailVOList) {
vo.setEmail(this.decrypt(vo.getEmail()));
vo.setChrgNm(this.decrypt(vo.getChrgNm())); vo.setChrgNm(this.decrypt(vo.getChrgNm()));
vo.setUserNm(this.decrypt(vo.getUserNm())); vo.setUserNm(this.decrypt(vo.getUserNm()));
vo.setUserId(this.decrypt(vo.getUserId()));
vo.setPhone(this.decrypt(vo.getPhone()));
vo.setPhone(this.decrypt(vo.getPhone()));
vo.setPhone(this.decrypt(vo.getPhone())); vo.setPhone(this.decrypt(vo.getPhone()));
if (StringUtils.isNotEmpty( vo.getTrgtNm()) ) vo.setTrgtNm(this.decrypt(vo.getTrgtNm().trim())); if (StringUtils.isNotEmpty( vo.getTrgtNm()) ) vo.setTrgtNm(this.decrypt(vo.getTrgtNm().trim()));
// } // }

View File

@ -1154,6 +1154,9 @@ public class CndtnPrcsInfoMngController {
"lctrDivCd" : $("#lctrDivCd").val() "lctrDivCd" : $("#lctrDivCd").val()
}; };
*/ */
// 알림
notifyManageService.insertNotifyAprvlCd5060ForUser( notifyManageService.insertNotifyAprvlCd5060ForUser(
loginVO loginVO
, vEPrcsDetailVO.getPrcsAplctPrdOrd() , vEPrcsDetailVO.getPrcsAplctPrdOrd()
@ -2084,7 +2087,10 @@ public class CndtnPrcsInfoMngController {
// 데이터가 있으면 삭제 // 데이터가 있으면 삭제
if(vEDetail_DVO != null) { if(vEDetail_DVO != null) {
vEDetailVO.setAplctStateCd("30"); // 이호영 20240112
// 반려값 추가 (VEA003 - 50:반려)
// vEDetailVO.setAplctStateCd("30");
vEDetailVO.setAplctStateCd("50");
vEAPrcsAplctPrdInstrAsgnmService.updateAprvlCdEduAplctDetail(vEDetailVO); vEAPrcsAplctPrdInstrAsgnmService.updateAprvlCdEduAplctDetail(vEDetailVO);
} }

View File

@ -507,11 +507,11 @@
<table> <table>
<colgroup> <colgroup>
<col style="width: 5%"> <col style="width: 5%">
<col style="width: 10%">
<col style="width: 5%"> <col style="width: 5%">
<col style="width: 5%"> <col style="width: 20%">
<col style="width: 5%"> <col style="width: 17%">
<col style="width: 210px;"> <col style="width: 13%">
<col style="width: 110px;">
<col style="width: auto;"> <col style="width: auto;">
<col style="width: 210px;"> <col style="width: 210px;">
</colgroup> </colgroup>
@ -534,14 +534,14 @@
<c:forEach var="list" items="${listPrcsAplct}" varStatus="status"> <c:forEach var="list" items="${listPrcsAplct}" varStatus="status">
<tr> <tr>
<td> <td>
<c:choose> <%-- <c:choose> --%>
<c:when test="${list.aplctStateCd ne 30 and list.aplctStateCd ne 35}"> <%-- <c:when test="${list.aplctStateCd ne 30 and list.aplctStateCd ne 35}"> --%>
<input name="chk" class="${list.asgnmAprvlCd}" <input name="chk" class="${list.asgnmAprvlCd}"
value="${list.eduAplctOrd}" title="Check" type="checkbox"/> value="${list.eduAplctOrd}" title="Check" type="checkbox"/>
</c:when> <%-- </c:when> --%>
<c:otherwise> <%-- <c:otherwise> --%>
</c:otherwise> <%-- </c:otherwise> --%>
</c:choose> <%-- </c:choose> --%>
</td> </td>
<td> <td>
<c:out value="${list.trgtNm}"/> <c:out value="${list.trgtNm}"/>
@ -569,15 +569,19 @@
</c:if> </c:if>
</td> </td>
<td> <td>
<c:choose> <%-- <c:choose> --%>
<c:when test="${list.aplctStateCd ne 30 and list.aplctStateCd ne 35}"> <%-- <c:when test="${list.aplctStateCd ne 30 and list.aplctStateCd ne 35}"> --%>
<button type="button" class="btn_type04" onclick="updateEduAplctOrd('20', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${info.prcsAplctPrdOrd }"/>')">승인</button> <button type="button" class="btn_type04" onclick="updateEduAplctOrd('20', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${info.prcsAplctPrdOrd }"/>')">승인</button>
<button type="button" class="btn_type05" onclick="updateEduAplctOrd('30', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${info.prcsAplctPrdOrd }"/>')">반려</button> <button type="button" class="btn_type05" onclick="updateEduAplctOrd('30', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${info.prcsAplctPrdOrd }"/>')">반려</button>
</c:when> <%-- </c:when> --%>
<c:otherwise> <%-- <c:when test="${list.aplctStateCd ne 30 and list.aplctStateCd ne 35}"> --%>
<button type="button" class="btn_type05" onclick="fnCnclPopup('<c:out value="${list.eduAplctOrd }" />', '<c:out value="${info.prcsAplctPrdOrd }"/>')">취소요청</button> <%-- <button type="button" class="btn_type04" onclick="updateEduAplctOrd('20', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${info.prcsAplctPrdOrd }"/>')">승인</button> --%>
</c:otherwise> <%-- <button type="button" class="btn_type05" onclick="updateEduAplctOrd('30', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${info.prcsAplctPrdOrd }"/>')">반려</button> --%>
</c:choose> <%-- </c:when> --%>
<%-- <c:otherwise> --%>
<%-- <button type="button" class="btn_type05" onclick="fnCnclPopup('<c:out value="${list.eduAplctOrd }" />', '<c:out value="${info.prcsAplctPrdOrd }"/>')">취소요청</button> --%>
<%-- </c:otherwise> --%>
<%-- </c:choose> --%>
</td> </td>
</c:forEach> </c:forEach>
</c:when> </c:when>

View File

@ -99,28 +99,28 @@
} }
} }
function fncCancleSubmit(){ // function fncCancleSubmit(){
if(confirm("교육신청 취소하시겠습니까?")){ // if(confirm("교육신청 취소하시겠습니까?")){
$.ajax({ // $.ajax({
type:"POST", // type:"POST",
url:"${pageContext.request.contextPath}/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctStatusAjax.do", // url:"${pageContext.request.contextPath}/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctStatusAjax.do",
data: { // data: {
"eduAplctOrd" : $("#eduAplctOrd").val() , // "eduAplctOrd" : $("#eduAplctOrd").val() ,
"useYn" : 'N' // "useYn" : 'N'
}, // },
dataType:'json', // dataType:'json',
success:function(returnData){ // success:function(returnData){
if(returnData.rsCnt > 0){ // if(returnData.rsCnt > 0){
alert("교육신청 취소되었습니다."); // alert("교육신청 취소되었습니다.");
fncGoList(); // fncGoList();
} // }
}, // },
error:function(request , status, error){ // error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); // alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
} // }
}); // });
} // }
} // }
// 대상자 이름, 생년월일, 대상자TB ID // 대상자 이름, 생년월일, 대상자TB ID