실무역량강화 대시보드 링크적용 완료

This commit is contained in:
hylee 2023-11-15 11:36:52 +09:00
parent 451581d70a
commit bafddaf33b

View File

@ -1,135 +1,141 @@
<%@ page contentType="text/html; charset=utf-8"%> <%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> <%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%> <%@ taglib prefix="ve" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %> <%@ taglib prefix="un" uri="http://jakarta.apache.org/taglibs/unstandard-1.0" %>
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%> <%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
<un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" /> <un:useConstants var="VeConstants" className="kcc.ve.cmm.VeConstants" />
<title>교육신청 목록 > 성인 찾아가는 저작권 교육 > 한국저작권위원회 저작권 교육 시스템</title> <title>교육신청 목록 > 성인 찾아가는 저작권 교육 > 한국저작권위원회 저작권 교육 시스템</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javaScript" language="javascript"> <script type="text/javaScript" language="javascript">
function linkPage(pageNo){ function linkPage(pageNo){
var listForm = document.listForm ; var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ; listForm.pageIndex.value = pageNo ;
listForm.action = "<c:url value='/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctList.do'/>"; listForm.action = "<c:url value='/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctList.do'/>";
listForm.submit(); listForm.submit();
} }
function goWrite(){ function goWrite(){
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.do").submit(); $("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctReg.do").submit();
} }
function fncGoDetail(eduAplctOrd){ function fncGoDetail(eduAplctOrd){
var listForm = document.listForm ; var listForm = document.listForm ;
listForm.eduAplctOrd.value = eduAplctOrd ; listForm.eduAplctOrd.value = eduAplctOrd ;
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetail.do").submit(); $("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/aplct/adultVisitEdu/eduAplct/eduAplctDetail.do").submit();
} }
function fncGoList(){ function fncGoList(){
linkPage(1); linkPage(1);
} }
function fncReset(thisObj){ function fncReset(thisObj){
var targetObj = $(thisObj).closest('.list_top').find('select,input'); var targetObj = $(thisObj).closest('.list_top').find('select,input');
$.each(targetObj, function(){ $.each(targetObj, function(){
$(this).val(''); $(this).val('');
}); });
} }
</script> </script>
<!-- content --> <!-- content -->
<div class="cont_wrap" id="sub"> <div class="cont_wrap" id="sub">
<form:form id="listForm" name="listForm" commandName="vEEduAplctVO"> <form:form id="listForm" name="listForm" commandName="vEEduAplctVO">
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd" value="" /> <input type="hidden" name="eduAplctOrd" id="eduAplctOrd" value="" />
<div class="cont_tit"> <div class="cont_tit">
<h2>대시보드</h2> <h2>대시보드</h2>
</div> </div>
<ul class="edu_process"> <ul class="edu_process">
<li class="edu_apply"><i></i><div class="text_area">신청중 강의<p><span><c:out value="${countMap['COUNT_APRVL_CD_10']}" /></span>건</p></div></li> <li class="edu_apply" style="cursor: pointer;" onclick="location.href='<c:url value="/web/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctList.do" />'"><i></i>
<li class="edu_register"><i></i><div class="text_area">수강중 강의<p><span><c:out value="${countMap['COUNT_APRVL_CD_20']}" /></span>건</p></div></li> <div class="text_area">신청중 강의<p><span><c:out value="${countMap['COUNT_APRVL_CD_10']}" /></span>건</p></div>
<li class="edu_close"><i></i><div class="text_area">종료된 강의<p><span><c:out value="${countMap['COUNT_END_CD']}" /></span>건</p></div></li> </li>
</ul> <li class="edu_register" style="cursor: pointer;" onclick="location.href='<c:url value="/web/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctList.do" />'"><i></i>
<div class="text_area">수강중 강의<p><span><c:out value="${countMap['COUNT_APRVL_CD_20']}" /></span>건</p></div>
<div class="tb_tit02"> </li>
<div class="tb_tit02_left"> <li class="edu_close" style="cursor: pointer;" onclick="location.href='<c:url value="/web/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctList.do" />'"><i></i>
<div class="t_best">최근 교육 목록</div> <div class="text_area">종료된 강의<p><span><c:out value="${countMap['COUNT_END_CD']}" /></span>건</p></div>
</div> </li>
<div class="btn_wrap1"> </ul>
<button type="button" title="최근 교육 목록 더보기" class="con_more" onclick="location.href='<c:url value="/web/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctList.do" />'">더보기</button>
</div> <div class="tb_tit02">
</div> <div class="tb_tit02_left">
<div class="t_best">최근 교육 목록</div>
<div class="tb_list02"> </div>
<table> <div class="btn_wrap1">
<caption>최근 교육 목록표</caption> <button type="button" title="최근 교육 목록 더보기" class="con_more" onclick="location.href='<c:url value="/web/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctList.do" />'">더보기</button>
<colgroup> </div>
<col style="width:35%;"> </div>
<col style="width:;">
<col style="width:13%;"> <div class="tb_list02">
<col style="width:13%;"> <table>
<col style="width:13%;"> <caption>최근 교육 목록표</caption>
</colgroup> <colgroup>
<thead> <col style="width:35%;">
<tr> <col style="width:;">
<th>교육과정</th> <col style="width:13%;">
<th>교육기간</th> <col style="width:13%;">
<th>신청결과</th> <col style="width:13%;">
<th>설문조사</th> </colgroup>
<th>이수증</th> <thead>
</tr> <tr>
</thead> <th>교육과정</th>
<tbody> <th>교육기간</th>
<c:forEach var="list" items="${list}" varStatus="status"> <th>신청결과</th>
<tr> <th>설문조사</th>
<%-- <td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" style="cursor:pointer;"> --%> <th>이수증</th>
<td> </tr>
<c:out value="${list.prcsNm}"/>(<c:out value="${list.prcsAplctPrdOrd}"/>) </thead>
</td> <tbody>
<td> <c:forEach var="list" items="${list}" varStatus="status">
<c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/> <tr>
</td> <%-- <td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" style="cursor:pointer;"> --%>
<td><kc:code codeId="VE0003" code="${list.aprvlCd}"/></td> <td>
<td> <c:out value="${list.prcsNm}"/>(<c:out value="${list.prcsAplctPrdOrd}"/>)
<!-- 신청 승인상태 20 and 현재가 교육종료보다 이후 체크 1 --> </td>
<c:choose> <td>
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and not list.qestRsltExists }"> <c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/>
<button type="button" title="설문등록" class="btnType04" data-tooltip="edu_in">설문등록</button> </td>
</c:when> <td><kc:code codeId="VE0003" code="${list.aprvlCd}"/></td>
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }"> <td>
설문완료 <!-- 신청 승인상태 20 and 현재가 교육종료보다 이후 체크 1 -->
</c:when> <c:choose>
<c:otherwise> <c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and not list.qestRsltExists }">
- <button type="button" title="설문등록" class="btnType04" data-tooltip="edu_in">설문등록</button>
</c:otherwise> </c:when>
</c:choose> <c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }">
</td> 설문완료
<td> </c:when>
<c:choose> <c:otherwise>
<c:when test="${list.qestRsltExists }"> -
<button type="button" title="출력" class="btnType03">출력</button> </c:otherwise>
</c:when> </c:choose>
<c:when test="${list.dateChk eq 1 and not list.qestRsltExists}"> </td>
교육완료 <td>
</c:when> <c:choose>
<c:otherwise> <c:when test="${list.qestRsltExists }">
- <button type="button" title="출력" class="btnType03">출력</button>
</c:otherwise> </c:when>
</c:choose> <c:when test="${list.dateChk eq 1 and not list.qestRsltExists}">
</td> 교육완료
</tr> </c:when>
</c:forEach> <c:otherwise>
<c:if test="${empty list}"> -
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr> </c:otherwise>
</c:if> </c:choose>
</tbody> </td>
</table> </tr>
</div> </c:forEach>
<c:if test="${empty list}">
</form:form> <tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
</form:form>
</div> </div>