이지우 - 사용자 교육 상세화면 구분
This commit is contained in:
parent
7d552f2ff9
commit
75cea9f83a
@ -561,7 +561,14 @@ public class CmdTrgtController {
|
||||
try {
|
||||
if (vEEduAplctVO !=null) {
|
||||
vEPrcsAplctVO.setPrcsAplctPrdOrd(vEPrcsDetailVODetail.getPrcsAplctPrdOrd());
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEEduAplctVO.getEduAplctOrd());
|
||||
|
||||
//나의 강의실, 신청목록에서 접근 시 해당 교육 정보 노출
|
||||
//교육 신청목록에서 접근 시 가장 최근 정보 노출
|
||||
if(StringUtils.isNotEmpty(vEPrcsDetailVO.getEduAplctOrd())) {
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEPrcsDetailVO.getEduAplctOrd());
|
||||
}else {
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEEduAplctVO.getEduAplctOrd());
|
||||
}
|
||||
|
||||
vEPrcsAplctVO = vEPrcsAplctPrdService.selectAplctInfo(vEPrcsAplctVO);
|
||||
}
|
||||
|
||||
@ -560,7 +560,14 @@ public class PreventController {
|
||||
try {
|
||||
if (vEEduAplctVO !=null) {
|
||||
vEPrcsAplctVO.setPrcsAplctPrdOrd(vEPrcsDetailVODetail.getPrcsAplctPrdOrd());
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEEduAplctVO.getEduAplctOrd());
|
||||
|
||||
//나의 강의실, 신청목록에서 접근 시 해당 교육 정보 노출
|
||||
//교육 신청목록에서 접근 시 가장 최근 정보 노출
|
||||
if(StringUtils.isNotEmpty(vEPrcsDetailVO.getEduAplctOrd())) {
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEPrcsDetailVO.getEduAplctOrd());
|
||||
}else {
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEEduAplctVO.getEduAplctOrd());
|
||||
}
|
||||
|
||||
vEPrcsAplctVO = vEPrcsAplctPrdService.selectAplctInfo(vEPrcsAplctVO);
|
||||
}
|
||||
|
||||
@ -552,8 +552,14 @@ public class SspnIdtmtController {
|
||||
try {
|
||||
if (vEEduAplctVO !=null) {
|
||||
vEPrcsAplctVO.setPrcsAplctPrdOrd(vEPrcsDetailVODetail.getPrcsAplctPrdOrd());
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEEduAplctVO.getEduAplctOrd());
|
||||
|
||||
//나의 강의실, 신청목록에서 접근 시 해당 교육 정보 노출
|
||||
//교육 신청목록에서 접근 시 가장 최근 정보 노출
|
||||
if(StringUtils.isNotEmpty(vEPrcsDetailVO.getEduAplctOrd())) {
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEPrcsDetailVO.getEduAplctOrd());
|
||||
}else {
|
||||
vEPrcsAplctVO.setEduAplctOrd(vEEduAplctVO.getEduAplctOrd());
|
||||
}
|
||||
vEPrcsAplctVO = vEPrcsAplctPrdService.selectAplctInfo(vEPrcsAplctVO);
|
||||
}
|
||||
|
||||
|
||||
@ -563,8 +563,8 @@
|
||||
<th scope="row">상태</th>
|
||||
<td class="ddlnCdStts">
|
||||
<c:choose>
|
||||
<c:when test="${not empty info.aprvlCd}">
|
||||
<kc:code codeId="VE0003" code="${info.aprvlCd}"/>
|
||||
<c:when test="${not empty prcsAplctVO.aprvlCd}">
|
||||
<kc:code codeId="VE0003" code="${prcsAplctVO.aprvlCd}"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<kc:code codeId="VEA004" code="${info.ddlnCd}"/>
|
||||
|
||||
@ -24,9 +24,10 @@
|
||||
}
|
||||
|
||||
|
||||
function fncGoDetail(prcsAplctPrdOrd){
|
||||
function fncGoDetail(prcsAplctPrdOrd, eduAplctOrd){
|
||||
var viewForm = document.viewForm ;
|
||||
viewForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd ;
|
||||
viewForm.eduAplctOrd.value = eduAplctOrd;
|
||||
viewForm.action = "<c:url value='/web/ve/aplct/cmdTrgt/eduAplctDetail.do'/>";
|
||||
viewForm.submit();
|
||||
}
|
||||
@ -187,6 +188,7 @@
|
||||
</form>
|
||||
<form name="viewForm" id="viewForm">
|
||||
<input type="hidden" name="prcsAplctPrdOrd">
|
||||
<input type="hidden" name="eduAplctOrd">
|
||||
</form>
|
||||
<form:form id="listForm" name="listForm" commandName="vEEduAplctVO">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${vEEduAplctVO.pageIndex}' default='1' />"/>
|
||||
@ -234,7 +236,7 @@
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" onkeypress="if(event.keyCode == 13){fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');}" style="cursor:pointer;" tabindex="0">
|
||||
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');" onkeypress="if(event.keyCode == 13){fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');}" style="cursor:pointer;" tabindex="0">
|
||||
<!-- <td> -->
|
||||
|
||||
<c:choose>
|
||||
@ -360,7 +362,7 @@
|
||||
<ul onclick="">
|
||||
<li>
|
||||
<span>교육과정</span>
|
||||
<span onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" >
|
||||
<span onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');" >
|
||||
<c:choose>
|
||||
<c:when test="${not empty list.title}">
|
||||
<c:out value="${list.title}"/>
|
||||
@ -388,7 +390,8 @@
|
||||
</c:choose>
|
||||
|
||||
<c:if test="${(list.aprvlCd eq '10' or list.aprvlCd eq '20') and list.ddlnCd ne '20'}">
|
||||
<button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');">취소</button>
|
||||
<button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">취소</button>
|
||||
|
||||
</c:if>
|
||||
<c:if test="${list.aprvlCd eq '60' and list.ddlnCd eq '20'}">
|
||||
<%-- <button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');">취소</button> --%>
|
||||
|
||||
@ -563,8 +563,8 @@
|
||||
<th scope="row">상태</th>
|
||||
<td class="ddlnCdStts">
|
||||
<c:choose>
|
||||
<c:when test="${not empty info.aprvlCd}">
|
||||
<kc:code codeId="VE0003" code="${info.aprvlCd}"/>
|
||||
<c:when test="${not empty prcsAplctVO.aprvlCd}">
|
||||
<kc:code codeId="VE0003" code="${prcsAplctVO.aprvlCd}"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<kc:code codeId="VEA004" code="${info.ddlnCd}"/>
|
||||
|
||||
@ -24,9 +24,10 @@
|
||||
}
|
||||
|
||||
|
||||
function fncGoDetail(prcsAplctPrdOrd){
|
||||
function fncGoDetail(prcsAplctPrdOrd, eduAplctOrd){
|
||||
var viewForm = document.viewForm ;
|
||||
viewForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd ;
|
||||
viewForm.eduAplctOrd.value = eduAplctOrd;
|
||||
viewForm.action = "<c:url value='/web/ve/aplct/prevent/eduAplctDetail.do'/>";
|
||||
viewForm.submit();
|
||||
}
|
||||
@ -187,6 +188,7 @@
|
||||
</form>
|
||||
<form name="viewForm" id="viewForm">
|
||||
<input type="hidden" name="prcsAplctPrdOrd">
|
||||
<input type="hidden" name="eduAplctOrd">
|
||||
</form>
|
||||
<form:form id="listForm" name="listForm" commandName="vEEduAplctVO">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${vEEduAplctVO.pageIndex}' default='1' />"/>
|
||||
@ -234,7 +236,7 @@
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" onkeypress="if(event.keyCode == 13){fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');}" style="cursor:pointer;" tabindex="0">
|
||||
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');" onkeypress="if(event.keyCode == 13){fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');}" style="cursor:pointer;" tabindex="0">
|
||||
<!-- <td> -->
|
||||
|
||||
<c:choose>
|
||||
@ -360,7 +362,7 @@
|
||||
<ul onclick="">
|
||||
<li>
|
||||
<span>교육과정</span>
|
||||
<span onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" >
|
||||
<span onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');" >
|
||||
<c:choose>
|
||||
<c:when test="${not empty list.title}">
|
||||
<c:out value="${list.title}"/>
|
||||
@ -388,7 +390,7 @@
|
||||
</c:choose>
|
||||
|
||||
<c:if test="${(list.aprvlCd eq '10' or list.aprvlCd eq '20') and list.ddlnCd ne '20'}">
|
||||
<button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');">취소</button>
|
||||
<button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">취소</button>
|
||||
</c:if>
|
||||
<c:if test="${list.aprvlCd eq '60' and list.ddlnCd eq '20'}">
|
||||
<%-- <button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');">취소</button> --%>
|
||||
|
||||
@ -563,8 +563,8 @@
|
||||
<th scope="row">상태</th>
|
||||
<td class="ddlnCdStts">
|
||||
<c:choose>
|
||||
<c:when test="${not empty info.aprvlCd}">
|
||||
<kc:code codeId="VE0003" code="${info.aprvlCd}"/>
|
||||
<c:when test="${not empty prcsAplctVO.aprvlCd}">
|
||||
<kc:code codeId="VE0003" code="${prcsAplctVO.aprvlCd}"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<kc:code codeId="VEA004" code="${info.ddlnCd}"/>
|
||||
|
||||
@ -24,9 +24,10 @@
|
||||
}
|
||||
|
||||
|
||||
function fncGoDetail(prcsAplctPrdOrd){
|
||||
function fncGoDetail(prcsAplctPrdOrd, eduAplctOrd){
|
||||
var viewForm = document.viewForm ;
|
||||
viewForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd ;
|
||||
viewForm.eduAplctOrd.value = eduAplctOrd ;
|
||||
//viewForm.action = "<c:url value='/web/ve/aplct/sspnIdtmt/eduAplctDetail.do'/>";
|
||||
viewForm.action = "<c:url value='/web/ve/aplct/sspnIdtmt/eduAplctDetail.do'/>";
|
||||
viewForm.submit();
|
||||
@ -188,6 +189,7 @@
|
||||
</form>
|
||||
<form name="viewForm" id="viewForm">
|
||||
<input type="hidden" name="prcsAplctPrdOrd">
|
||||
<input type="hidden" name="eduAplctOrd">
|
||||
</form>
|
||||
<form:form id="listForm" name="listForm" commandName="vEEduAplctVO">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${vEEduAplctVO.pageIndex}' default='1' />"/>
|
||||
@ -235,7 +237,7 @@
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${list}" varStatus="status">
|
||||
<tr>
|
||||
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" onkeypress="if(event.keyCode == 13){fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');}" style="cursor:pointer;" tabindex="0">
|
||||
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');" onkeypress="if(event.keyCode == 13){fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');}" style="cursor:pointer;" tabindex="0">
|
||||
<!-- <td> -->
|
||||
|
||||
<c:choose>
|
||||
@ -295,13 +297,12 @@
|
||||
|
||||
<c:choose>
|
||||
|
||||
<%-- <c:when test="${list.aprvlCd eq 60 and list.qestRsltExists and list.aplctStateCd ne 10 and list.aplctStateCd ne 30}"> --%>
|
||||
<c:when test="${list.aprvlCd eq 60 and list.qestRsltExists}">
|
||||
<!-- 설문노출대상(확정처리를 받았음(60) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
|
||||
<c:when test="${list.aprvlCd eq 60 and list.qestRsltExists and list.aplctStateCd ne 10 and list.aplctStateCd ne 30}">
|
||||
<!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
|
||||
|
||||
<c:choose>
|
||||
|
||||
<c:when test="${list.qestnrId10Cnt gt 0}">
|
||||
<c:when test="${list.aplctStateCd eq 20 and list.qestnrId10Cnt gt 0}">
|
||||
<!-- 작성된 설문이 있다 -->
|
||||
<button type="button" class="btnType02" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
|
||||
@ -309,13 +310,21 @@
|
||||
)" title="팝업 열림">설문완료</button>
|
||||
</c:when>
|
||||
|
||||
<c:when test="${empty list.qestnrId10}">
|
||||
<c:when test="${empty list.qestnrId10 and list.aprvlCd eq 20}">
|
||||
<!-- 대상 설문이 없다 -->
|
||||
대상설문없음
|
||||
</c:when>
|
||||
</c:when>
|
||||
|
||||
<c:when test="${not empty list.qestnrId10 and list.qestnrId10Cnt eq 0 and list.qustnrTm eq '1'}">
|
||||
<!-- 설문 키값이 있고, 답변이 없고, 설문 오픈 시간이 지났다(1), (0-지나기전)면 설문 등록을 연다 -->
|
||||
<c:when test="${(empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0) and list.qustnrTm eq '0'}">
|
||||
<!-- 작성된 설문이 없다 -->
|
||||
<button type="button" class="btn small mint line sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문등록</button>
|
||||
</c:when>
|
||||
|
||||
<c:when test="${list.qustnrTm eq '1'}">
|
||||
<!-- 작성된 설문이 없다 -->
|
||||
<button type="button" class="btn small mint line sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
@ -337,13 +346,15 @@
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20'}">
|
||||
<!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 -->
|
||||
<c:when test="${list.qestRsltExists }">
|
||||
<button type="button" class="btn small mint line sur_bt" data-info="${list.eduAplctOrd}" data-tooltip="sub36_pop02"
|
||||
onclick="fncPrintCert('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="출력">출력</button>
|
||||
</c:when>
|
||||
<c:when test="${list.dateChk eq 1 and not list.qestRsltExists}">
|
||||
교육완료
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
-
|
||||
</c:otherwise>
|
||||
@ -364,7 +375,7 @@
|
||||
<ul onclick="">
|
||||
<li>
|
||||
<span>교육과정</span>
|
||||
<span onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" >
|
||||
<span onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');" >
|
||||
<c:choose>
|
||||
<c:when test="${not empty list.title}">
|
||||
<c:out value="${list.title}"/>
|
||||
@ -392,7 +403,7 @@
|
||||
</c:choose>
|
||||
|
||||
<c:if test="${(list.aprvlCd eq '10' or list.aprvlCd eq '20') and list.ddlnCd ne '20'}">
|
||||
<button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');">취소</button>
|
||||
<button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">취소</button>
|
||||
</c:if>
|
||||
<c:if test="${list.aprvlCd eq '60' and list.ddlnCd eq '20'}">
|
||||
<%-- <button type="button" class="btnType02" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');">취소</button> --%>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user