사용자 기소유예 교육신청취소 팝업 진행중

This commit is contained in:
hylee 2023-11-07 16:27:36 +09:00
parent 0074010b91
commit 60676ba75a
5 changed files with 1112 additions and 1004 deletions

View File

@ -466,10 +466,13 @@ public class CndtnTrgtMngController {
//성인 미성년 구분 //성인 미성년 구분
String adultWhether = getIsAdultInKorea(cndtnTrgtInfoMngVO.getdBirth()); String adultWhether = getIsAdultInKorea(cndtnTrgtInfoMngVO.getdBirth());
String reqNmbrTemp = adultWhether+"-"+cndtnTrgtInfoMngVO.getCmptntAthrt()+"-"+LocalDate.now().getYear()+"-"; String reqNmbrTemp = adultWhether+"-"+cndtnTrgtInfoMngVO.getCmptntAthrt()+"-"+DateUtil.getStringToLocalDateYear();
int cnt = cndtnTrgtInfoMngService.findCntreqNmber("%" + reqNmbrTemp + "%"); int cnt = cndtnTrgtInfoMngService.findCntreqNmber("%" + reqNmbrTemp + "%");
return adultWhether+"-"+cndtnTrgtInfoMngVO.getCmptntAthrt()+"-"+DateUtil.getStringToLocalDateYear()+"-"+(cnt+1); System.out.println(cnt);
System.out.println(cnt+1);
return reqNmbrTemp+"-"+(cnt+1);
} }
/** /**
@ -493,6 +496,7 @@ public class CndtnTrgtMngController {
// 생년월일과 현재 날짜 사이의 기간 계산 // 생년월일과 현재 날짜 사이의 기간 계산
Period period = Period.between(birthDate, now); Period period = Period.between(birthDate, now);
System.out.println("period.getYears() : "+ period.getYears());
if(period.getYears() >= 19) { if(period.getYears() >= 19) {
returnData="A"; returnData="A";
} }

View File

@ -72,7 +72,7 @@
console.log('returnData :: ', returnData); console.log('returnData :: ', returnData);
if(returnData.result == "success"){ if(returnData.result == "success"){
alert("저장되었습니다."); alert("저장되었습니다.");
// fncGoList(); fncGoList();
}else if(returnData.result == "fail"){ }else if(returnData.result == "fail"){
alert(returnData.message); alert(returnData.message);
$('#cmptntAthrt').prop('disabled', true); $('#cmptntAthrt').prop('disabled', true);

View File

@ -1,137 +1,138 @@
<%@ 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="pageIndex" value="<c:out value='${vEEduAplctVO.pageIndex}' default='1' />"/> <input type="hidden" name="pageIndex" value="<c:out value='${vEEduAplctVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEEduAplctVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${vEEduAplctVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEEduAplctVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${vEEduAplctVO.searchSortOrd}" />" />
<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="${empty countMap['COUNT_APRVL_CD_10'] ? '0' : countMap['COUNT_APRVL_CD_10']}" /></span>건</p></div></li> <li class="edu_apply"><i></i><div class="text_area">신청중 강의<p><span><c:out value="${empty countMap['COUNT_APRVL_CD_10'] ? '0' : countMap['COUNT_APRVL_CD_10']}" /></span>건</p></div></li>
<li class="edu_register"><i></i><div class="text_area">수강중 강의<p><span><c:out value="${empty countMap['COUNT_APRVL_CD_20'] ? '0' : countMap['COUNT_APRVL_CD_20']} " /></span>건</p></div></li> <li class="edu_register"><i></i><div class="text_area">수강중 강의<p><span><c:out value="${empty countMap['COUNT_APRVL_CD_20'] ? '0' : countMap['COUNT_APRVL_CD_20']} " /></span>건</p></div></li>
<li class="edu_close"><i></i><div class="text_area">종료된 강의<p><span><c:out value="${empty countMap['COUNT_END_CD'] ? '0' : countMap['COUNT_END_CD']}" /></span>건</p></div></li> <li class="edu_close"><i></i><div class="text_area">종료된 강의<p><span><c:out value="${empty countMap['COUNT_END_CD'] ? '0' : countMap['COUNT_END_CD']}" /></span>건</p></div></li>
</ul> </ul>
<div class="tb_tit02"> <div class="tb_tit02">
<div class="tb_tit02_left"> <div class="tb_tit02_left">
<div class="t_best">최근 교육 목록</div> <div class="t_best">최근 교육 목록</div>
</div> </div>
<div class="btn_wrap1"> <div class="btn_wrap1">
<button type="button" title="최근 교육 목록 더보기" class="con_more" onclick="location.href='<c:url value="/web/ve/aplct/sspnIdtmt/sspnIdtmtEduAplctList.do"/>'">더보기</button> <button type="button" title="최근 교육 목록 더보기" class="con_more" onclick="location.href='<c:url value="/web/ve/aplct/sspnIdtmt/sspnIdtmtEduAplctList.do"/>'">더보기</button>
</div> </div>
</div> </div>
<div class="tb_list02"> <div class="tb_list02">
<table> <table>
<caption>최근 교육 목록표</caption> <caption>최근 교육 목록표</caption>
<colgroup> <colgroup>
<col style="width:35%;"> <col style="width:35%;">
<col style="width:;"> <col style="width:;">
<col style="width:13%;"> <col style="width:13%;">
<col style="width:13%;"> <col style="width:13%;">
<col style="width:13%;"> <col style="width:13%;">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th>교육과정</th> <th>교육과정</th>
<th>교육기간</th> <th>교육일자</th>
<th>신청결과</th> <th>신청결과</th>
<th>설문조사</th> <th>설문조사</th>
<th>이수증</th> <th>이수증</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<c:forEach var="list" items="${list}" varStatus="status"> <c:forEach var="list" items="${list}" varStatus="status">
<tr> <tr>
<%-- <td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" style="cursor:pointer;"> --%> <%-- <td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" style="cursor:pointer;"> --%>
<td> <td>
<c:out value="${list.prcsNm}"/>(<c:out value="${list.prcsAplctPrdOrd}"/>) <c:out value="${list.prcsNm}"/>(<c:out value="${list.prcsAplctPrdOrd}"/>)
</td> </td>
<td> <td>
<c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/> <%-- <c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/> --%>
</td> <c:out value="${list.eduStrtPnttm}"/>
<td><kc:code codeId="VE0003" code="${list.aprvlCd}"/></td> </td>
<td> <td><kc:code codeId="VE0003" code="${list.aprvlCd}"/></td>
<!-- 신청 승인상태 20 and 현재가 교육종료보다 이후 체크 1 --> <td>
<c:choose> <!-- 신청 승인상태 20 and 현재가 교육종료보다 이후 체크 1 -->
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and not list.qestRsltExists }"> <c:choose>
<button type="button" title="설문등록" class="btnType04" data-tooltip="edu_in">설문등록</button> <c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and not list.qestRsltExists }">
</c:when> <button type="button" title="설문등록" class="btnType04" data-tooltip="edu_in">설문등록</button>
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }"> </c:when>
설문완료 <c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }">
</c:when> 설문완료
<c:otherwise> </c:when>
- <c:otherwise>
</c:otherwise> -
</c:choose> </c:otherwise>
</td> </c:choose>
<td> </td>
<c:choose> <td>
<c:when test="${list.qestRsltExists }"> <c:choose>
<button type="button" title="출력" class="btnType03">출력</button> <c:when test="${list.qestRsltExists }">
</c:when> <button type="button" title="출력" class="btnType03">출력</button>
<c:when test="${list.dateChk eq 1 and not list.qestRsltExists}"> </c:when>
교육완료 <c:when test="${list.dateChk eq 1 and not list.qestRsltExists}">
</c:when> 교육완료
<c:otherwise> </c:when>
- <c:otherwise>
</c:otherwise> -
</c:choose> </c:otherwise>
</td> </c:choose>
</tr> </td>
</c:forEach> </tr>
<c:if test="${empty list}"> </c:forEach>
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr> <c:if test="${empty list}">
</c:if> <tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
</tbody> </c:if>
</table> </tbody>
</div> </table>
</form:form> </div>
</form:form>
</div> </div>

View File

@ -1,266 +1,368 @@
<%@ 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">
$(document).ready(function(){ $(document).ready(function(){
}); });
function fncEduReg(prcsAplctPrdOrd){ function fncEduReg(prcsAplctPrdOrd){
var regForm = document.regForm; var regForm = document.regForm;
regForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd; regForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd;
var data = new FormData(document.getElementById("regForm")); var data = new FormData(document.getElementById("regForm"));
if(confirm("신청하시겠습니까?")){ if(confirm("신청하시겠습니까?")){
var url = "${pageContext.request.contextPath}/web/ve/aplct/fndtnEnhanceTrn/eduRegAjax.do"; var url = "${pageContext.request.contextPath}/web/ve/aplct/fndtnEnhanceTrn/eduRegAjax.do";
console.log(data); console.log(data);
$.ajax({ $.ajax({
type:"POST", type:"POST",
url: url, url: url,
data: data, data: data,
dataType:'json', dataType:'json',
async: false, async: false,
processData: false, processData: false,
contentType: false, contentType: false,
cache: false, cache: false,
success:function(returnData){ success:function(returnData){
if(returnData.result == "success"){ if(returnData.result == "success"){
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);
} }
}); });
} }
} }
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/fndtnEnhanceTrn/eduAplctList.do'/>"; listForm.action = "<c:url value='/web/ve/aplct/fndtnEnhanceTrn/eduAplctList.do'/>";
listForm.submit(); listForm.submit();
} }
function goEduAplctList(prcsAplctPrdOrd){ function goEduAplctList(prcsAplctPrdOrd){
var goEduAplctListForm = document.goEduAplctListForm ; var goEduAplctListForm = document.goEduAplctListForm ;
goEduAplctListForm.action = "<c:url value='/web/ve/aplct/fndtnEnhanceTrn/eduAplctList.do'/>"; goEduAplctListForm.action = "<c:url value='/web/ve/aplct/fndtnEnhanceTrn/eduAplctList.do'/>";
goEduAplctListForm.submit(); goEduAplctListForm.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('');
}); });
} }
function fncGoDetail(prcsAplctPrdOrd){ function fncGoDetail(prcsAplctPrdOrd){
var viewForm = document.viewForm ; var viewForm = document.viewForm ;
viewForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd ; viewForm.prcsAplctPrdOrd.value = prcsAplctPrdOrd ;
viewForm.action = "<c:url value='/web/ve/aplct/fndtnEnhanceTrn/eduAplctDetail.do'/>"; viewForm.action = "<c:url value='/web/ve/aplct/fndtnEnhanceTrn/eduAplctDetail.do'/>";
viewForm.submit(); viewForm.submit();
} }
</script> </script>
<!-- content --> <!-- content -->
<div class="cont_wrap" id="sub"> <div class="cont_wrap" id="sub">
<form name="regForm" id="regForm"> <form name="regForm" id="regForm">
<input type="hidden" name="prcsAplctPrdOrd"> <input type="hidden" name="prcsAplctPrdOrd">
</form> </form>
<form name="viewForm" id="viewForm"> <form name="viewForm" id="viewForm">
<input type="hidden" name="prcsAplctPrdOrd"> <input type="hidden" name="prcsAplctPrdOrd">
</form> </form>
<form name="goEduAplctListForm" id="goEduAplctListForm"> <form name="goEduAplctListForm" id="goEduAplctListForm">
</form> </form>
<form:form id="listForm" name="listForm" commandName="vEPrcsDetailVO"> <form:form id="listForm" name="listForm" commandName="vEPrcsDetailVO">
<input type="hidden" name="pageIndex" value="<c:out value='${vEPrcsDetailVO.pageIndex}' default='1' />"/> <input type="hidden" name="pageIndex" value="<c:out value='${vEPrcsDetailVO.pageIndex}' default='1' />"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${vEPrcsDetailVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${vEPrcsDetailVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${vEPrcsDetailVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${vEPrcsDetailVO.searchSortOrd}" />" />
<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 class="sns_go"> <div class="sns_go">
<button type="button" title="새창열림"><img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/facebook_icon.png" alt="페이스북 바로가기"></button> <button type="button" title="새창열림"><img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/facebook_icon.png" alt="페이스북 바로가기"></button>
<button type="button" title="새창열림"><img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/twitter_icon.png" alt="트위터 바로가기"></button> <button type="button" title="새창열림"><img src="${pageContext.request.contextPath}/visitEdu/usr/publish/images/content/twitter_icon.png" alt="트위터 바로가기"></button>
</div> </div>
</div> </div>
<div class="list_top"> <div class="list_top">
<div class="list_top_left"> <div class="list_top_left">
<label for="searchStatus" class="label">신청상태 선택</label> <label for="searchStatus" class="label">신청상태 선택</label>
<select class="selType1" id="searchStatus" name="searchStatus"> <select class="selType1" id="searchStatus" name="searchStatus">
<option ${vEPrcsDetailVO.searchStatus eq '' ? 'selected' : ''} value="">전체</option> <option ${vEPrcsDetailVO.searchStatus eq '' ? 'selected' : ''} value="">전체</option>
<option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_SBMT ? 'selected' : ''} value="${VeConstants.STATUS_CD_SBMT}">교육신청</option> <option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_SBMT ? 'selected' : ''} value="${VeConstants.STATUS_CD_SBMT}">교육신청</option>
<option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_EDT_REQ ? 'selected' : ''} value="${VeConstants.STATUS_CD_EDT_REQ}">수정요청</option> <option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_EDT_REQ ? 'selected' : ''} value="${VeConstants.STATUS_CD_EDT_REQ}">수정요청</option>
<option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_EDT_CMPT ? 'selected' : ''} value="${VeConstants.STATUS_CD_EDT_CMPT}">수정완료</option> <option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_EDT_CMPT ? 'selected' : ''} value="${VeConstants.STATUS_CD_EDT_CMPT}">수정완료</option>
<option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_CAN ? 'selected' : ''} value="${VeConstants.STATUS_CD_CAN}">교육취소</option> <option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_CAN ? 'selected' : ''} value="${VeConstants.STATUS_CD_CAN}">교육취소</option>
<option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_EDU_SELCT ? 'selected' : ''} value="${VeConstants.STATUS_CD_EDU_SELCT}">교육확정</option> <option ${vEPrcsDetailVO.searchStatus eq VeConstants.STATUS_CD_EDU_SELCT ? 'selected' : ''} value="${VeConstants.STATUS_CD_EDU_SELCT}">교육확정</option>
</select> </select>
</div> </div>
<div class="btn_wrap"> <div class="btn_wrap">
<div class="calendar_wrap"> <div class="calendar_wrap">
<%-- <input type="text" class="calendar" id="searchStartDt" name="searchStartDt" title="시작일 선택" value="${vEPrcsDetailVO.searchStartDt}"> --%> <%-- <input type="text" class="calendar" id="searchStartDt" name="searchStartDt" title="시작일 선택" value="${vEPrcsDetailVO.searchStartDt}"> --%>
<duet-date-picker identifier="date" name="searchStartDt" class="startDate" value="${vEPrcsDetailVO.searchStartDt}"></duet-date-picker> <duet-date-picker identifier="date" name="searchStartDt" class="startDate" value="${vEPrcsDetailVO.searchStartDt}"></duet-date-picker>
</div> </div>
~ ~
<div class="calendar_wrap"> <div class="calendar_wrap">
<%-- <input type="text" class="calendar" id="searchEndDt" name="searchEndDt" title="종료일 선택" value="${vEPrcsDetailVO.searchEndDt}"> --%> <%-- <input type="text" class="calendar" id="searchEndDt" name="searchEndDt" title="종료일 선택" value="${vEPrcsDetailVO.searchEndDt}"> --%>
<duet-date-picker identifier="date" name="searchEndDt" class="endDate" value="${vEPrcsDetailVO.searchEndDt}"></duet-date-picker> <duet-date-picker identifier="date" name="searchEndDt" class="endDate" value="${vEPrcsDetailVO.searchEndDt}"></duet-date-picker>
</div> </div>
<script src="${pageContext.request.contextPath}/visitEdu/usr/publish/script/duetdatepicker.js"></script> <script src="${pageContext.request.contextPath}/visitEdu/usr/publish/script/duetdatepicker.js"></script>
<button type="button" class="btnType01" onclick="fncGoList();">검색</button> <button type="button" class="btnType01" onclick="fncGoList();">검색</button>
<button type="button" class="btnType02" onclick="fncReset(this);">초기화</button> <button type="button" class="btnType02" onclick="fncReset(this);">초기화</button>
</div> </div>
</div> </div>
<!-- list --> <!-- list -->
<div class="tb_list01"> <div class="tb_list01">
<table> <table>
<caption>교육 목록표</caption> <caption>교육 목록표</caption>
<colgroup> <colgroup>
<col style="width:35%;"> <col style="width:35%;">
<col style="width:;"> <col style="width:;">
<col style="width:13%;"> <col style="width:13%;">
<col style="width:13%;"> <col style="width:13%;">
<col style="width:13%;"> <col style="width:13%;">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
<th>교육과정</th> <th>교육과정</th>
<th>교육기간</th> <th>교육일자</th>
<th>신청결과</th> <th>신청결과</th>
<th>설문조사</th> <th>설문조사</th>
<th>이수증</th> <th>이수증</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<c:forEach var="list" items="${list}" varStatus="status"> <c:forEach var="list" items="${list}" varStatus="status">
<tr> <tr>
<td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" style="cursor:pointer;"> <td onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');" style="cursor:pointer;">
<c:out value="${list.prcsNm}"/>(<c:out value="${list.prcsAplctPrdOrd}"/>) <c:out value="${list.prcsNm}"/>(<c:out value="${list.prcsAplctPrdOrd}"/>)
</td> </td>
<td> <td>
<c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/> <%-- <c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/> --%>
</td> <c:out value="${list.eduStrtPnttm}"/>
<td><kc:code codeId="VE0003" code="${list.aprvlCd}"/></td> </td>
<td> <td>
<!-- 신청 승인상태 20 and 현재가 교육종료보다 이후 체크 1 --> <!--
<c:choose> 10 요청
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and not list.qestRsltExists }"> 120 선정완료
<button type="button" title="설문등록" class="btnType04" data-tooltip="edu_in">설문등록</button> 140 선정취소
</c:when> 20 승인
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }"> 230 대기
설문완료 30 반려
</c:when> 40 취소
<c:otherwise> 60 교육확정
- 70 수정요청
</c:otherwise> 80 수정완료
</c:choose> 90 교육미확정
</td> -->
<td> <kc:code codeId="VE0003" code="${list.aprvlCd}"/>
<c:choose> <c:if test="${list.aprvlCd eq 10
<c:when test="${list.qestRsltExists }"> or list.aprvlCd eq 120
<button type="button" title="출력" class="btnType03">출력</button> or list.aprvlCd eq 20
</c:when> or list.aprvlCd eq 230
<c:when test="${list.dateChk eq 1 and not list.qestRsltExists}"> }">
교육완료 <button type="button" title="신청취소" class="btnType02" data-tooltip="sub01_pop01">취소</button>
</c:when> </c:if>
<c:otherwise> </td>
- <td>
</c:otherwise> <!-- 신청 승인상태 20 and 현재가 교육종료보다 이후 체크 1 -->
</c:choose> <c:choose>
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and not list.qestRsltExists }">
<button type="button" title="이수증" class="btnType01" onclick="fncCmpltCrtfc('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">이수증테스트</button> <button type="button" title="설문등록" class="btnType04" data-tooltip="edu_in">설문등록</button>
</c:when>
</td> <c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }">
<!-- <td>-</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> <td>
</div> <c:choose>
<c:when test="${list.qestRsltExists }">
<div class="btn_wrap btn_layout01"> <button type="button" title="출력" class="btnType03">출력</button>
<div class="btn_left"> </c:when>
</div> <c:when test="${list.dateChk eq 1 and not list.qestRsltExists}">
<div class="btn_center"> 교육완료
</div> </c:when>
<div class="btn_right"> <c:otherwise>
<button type="button" class="btnType01" onclick="location.href='<c:url value="/web/ve/aplct/sspnIdtmt/eduAplctList.do" />'">강의목록</button> -
</div> </c:otherwise>
</div> </c:choose>
<!-- page --> <button type="button" title="이수증" class="btnType01" onclick="fncCmpltCrtfc('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">이수증테스트</button>
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" /> </td>
</div> <!-- <td>-</td> -->
</form:form> </tr>
</div> </c:forEach>
<c:if test="${empty list}">
<tr><td colspan="5"><spring:message code="common.nodata.msg" /></td></tr>
<script src="http://119.193.215.98:8093/ReportingServer/html5/js/crownix-viewer.min.js"></script> </c:if>
<link rel="stylesheet" type="text/css" href="http://119.193.215.98:8093/ReportingServer/html5/css/crownix-viewer.min.css"> </tbody>
<script> </table>
/* </div>
* 오버레이 방식
*/ <div class="btn_wrap btn_layout01">
function fncCmpltCrtfc(p_prcsAplctPrdOrd, p_eduAplctOrd){ <div class="btn_left">
</div>
var viewer = new m2soft.crownix.Viewer('http://119.193.215.98:8093/ReportingServer/service'); <div class="btn_center">
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rfn [jsonsample_red_2.json]'); </div>
//viewer.openFile('cmplt_crtfc_20231030.mrd','/rexport [5]'); <div class="btn_right">
//viewer.openFile('sample.mrd','/rfn [sample.txt]'); <button type="button" class="btnType01" onclick="location.href='<c:url value="/web/ve/aplct/sspnIdtmt/eduAplctList.do" />'">강의목록</button>
//viewer.hideToolbarItem(["save"]); </div>
//viewer.openFile('sample.mrd'); </div>
viewer.hideToolbarItem(["save"]);
//viewer.showToolbarItem(["print"]); <!-- page -->
viewer.showToolbarItem(["print_pdf"]); <div class="page">
//viewer.openFile('cmplt_crtfc_20231030.mrd'); <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rfn [cmplt_crtfc_20231030.json]'); </div>
viewer.openFile('cmplt_crtfc_20231030.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/sspnIdtmt/sspnIdtmtEduAplctCmpltCrtfcAjax.do?prcsAplctPrdOrd='+p_prcsAplctPrdOrd+'&eduAplctOrd='+p_eduAplctOrd+']'); </form:form>
</div>
/*
<!-- 교육신청 취소 -->
var viewer = new m2soft.crownix.Viewer('http://192.168.0.176:8093/ReportingServer/service', <div class="tooltip-wrap">
'crownix-viewer'); <div class="popup_wrap popType01" tabindex="0"
viewer.openFile('cmplt_crtfc_20231030.mrd'); data-tooltip-con="sub01_pop01" data-focus="sub01_pop01"
*/ data-focus-prev="sub01_pop01_close">
<div class="popup_tit">
} <p>교육신청 취소</p>
/* <button class="btn_popup_close tooltip-close"
window.onload = function(){ data-focus="sub01_pop01_close" title="팝업 닫기">
var viewer = new m2soft.crownix.Viewer('http://192.168.0.176:8093/ReportingServer/service'); <i></i>
viewer.openFile('json_subject.mrd', '/rfn [jsonsample_red_2.json]'); </button>
}; </div>
*/ <div class="popup_cont">
<div class="cont_body">
<div class="pop_tb_type01">
<table>
<colgroup>
<col style="width: 22%;">
<col style="">
</colgroup>
<tr>
<th>첨부파일</th>
<td>
<div class="btn_wrap">
<button type="button" class="btnType01 right">파일찾기</button>
</div>
<div class="file_wrap">
<table>
<colgroup>
<col style="width: auto;">
<col style="width: 15%;">
<col style="width: 15%;">
</colgroup>
<thead>
<th>파일 명</th>
<th>종류</th>
<th>크기</th>
</thead>
<tbody class="tb_file_before">
<tr>
<td colspan="3">
<p>
첨부하실 파일을 <span>마우스끌어서</span> 넣어주세요.
</p>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<th>취소사유</th>
<td><textarea></textarea></td>
</tr>
</table>
</div>
<div class="pop_btn_wrap btn_layout01">
<div class="btn_left"></div>
<div class="btn_center">
<button type="button" class="btnType05">제출</button>
<button type="button" class="btnType02 tooltip-close"
data-focus="imsi-close" data-focus-next="imsi">취소</button>
</div>
<div class="btn_right"></div>
</div>
</div>
</div>
</div>
</div>
<!--// 교육신청 취소 -->
<script src="http://119.193.215.98:8093/ReportingServer/html5/js/crownix-viewer.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://119.193.215.98:8093/ReportingServer/html5/css/crownix-viewer.min.css">
<script>
/*
* 오버레이 방식
*/
function fncCmpltCrtfc(p_prcsAplctPrdOrd, p_eduAplctOrd) {
var viewer = new m2soft.crownix.Viewer(
'http://119.193.215.98:8093/ReportingServer/service');
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rfn [jsonsample_red_2.json]');
//viewer.openFile('cmplt_crtfc_20231030.mrd','/rexport [5]');
//viewer.openFile('sample.mrd','/rfn [sample.txt]');
//viewer.hideToolbarItem(["save"]);
//viewer.openFile('sample.mrd');
viewer.hideToolbarItem([ "save" ]);
//viewer.showToolbarItem(["print"]);
viewer.showToolbarItem([ "print_pdf" ]);
//viewer.openFile('cmplt_crtfc_20231030.mrd');
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rfn [cmplt_crtfc_20231030.json]');
viewer
.openFile(
'cmplt_crtfc_20231030.mrd',
'/rf [http://119.193.215.98:9989/offedu/ve/aplct/sspnIdtmt/sspnIdtmtEduAplctCmpltCrtfcAjax.do?prcsAplctPrdOrd='
+ p_prcsAplctPrdOrd
+ '&eduAplctOrd='
+ p_eduAplctOrd + ']');
/*
var viewer = new m2soft.crownix.Viewer('http://192.168.0.176:8093/ReportingServer/service',
'crownix-viewer');
viewer.openFile('cmplt_crtfc_20231030.mrd');
*/
}
/*
window.onload = function(){
var viewer = new m2soft.crownix.Viewer('http://192.168.0.176:8093/ReportingServer/service');
viewer.openFile('json_subject.mrd', '/rfn [jsonsample_red_2.json]');
};
*/
</script> </script>