관리자 :: 기반 - 과정 신청기간 상세 반려 처리 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) {
for(VEEduAplctVO vo : vEPrcsDetailVOList) {
vo.setEmail(this.decrypt(vo.getEmail()));
vo.setChrgNm(this.decrypt(vo.getChrgNm()));
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()));
if (StringUtils.isNotEmpty( vo.getTrgtNm()) ) vo.setTrgtNm(this.decrypt(vo.getTrgtNm().trim()));
// }

View File

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

View File

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

View File

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