이지우 - 실무,기소 강의목록 조회 시 use_yn 조건 추가, 강사 대시보드 상세이동 링크 추가

This commit is contained in:
jiwoo 2024-01-31 18:04:19 +09:00
parent cd936fd36d
commit c56322db17
5 changed files with 52 additions and 14 deletions

View File

@ -316,6 +316,8 @@ public class FndtnEnhanceTrnController {
//vEPrcsDetailVO.setPrcsDiv("10");// 과정구분 VE0015 10-산업종사자, 20-대학생, 30-공무원, 40-일반인, 50-청소년, 60-학부모
}
vEPrcsDetailVO.setUseYn("Y"); //공개 여부만 조회
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.selectPagingList4Fndth(vEPrcsDetailVO);
// 231031 비로그인으로 강의 목록 조회 가능하게 요청

View File

@ -302,6 +302,8 @@ public class SspnIdtmtController {
//vEPrcsDetailVO.setPrcsDiv("10");// 과정구분 VE0015 10-산업종사자, 20-대학생, 30-공무원, 40-일반인, 50-청소년, 60-학부모
}
vEPrcsDetailVO.setUseYn("Y"); //공개 여부만 조회
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.selectPagingList4Fndth(vEPrcsDetailVO);
// 리스트 row마다 신청 확인하기

View File

@ -394,6 +394,10 @@
<isNotEmpty property="lctrDivCd">
AND a.lctr_div_cd=#lctrDivCd#
</isNotEmpty>
<isNotEmpty property="useYn">
AND a.use_yn=#useYn#
</isNotEmpty>
<isNotEmpty property="prcsAplctPrdOrd">
AND a.prcs_aplct_prd_ord=#prcsAplctPrdOrd#

View File

@ -33,8 +33,28 @@
$(".tb_type01>table").find("caption").remove();
$(".tb_type01>table").prepend("<caption>"+" 강사정보 상세 : 강사명 , 연락처(핸드폰) , e-mail 등의 정보제공 "+"</caption>")
});
function fncGoDetail(eduAplctOrd,eduChasiOrd){
$("#eduAplctOrd").val(eduAplctOrd);
$("#eduChasiOrd").val(eduChasiOrd);
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/instr/adultVisitEdu/asgnmInfo/instrAsgnmDetail.do").submit();
}
function fncGoDetailTwo(eduAplctOrd,eduChasiOrd){
$("#eduAplctOrd").val(eduAplctOrd);
$("#eduChasiOrd").val(eduChasiOrd);
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/instr/adultVisitEdu/asgnmInfo/instrAsgnmRqstDetail.do").submit();
}
function fncGoDetailThr(eduAplctOrd,eduChasiOrd){
$("#eduAplctOrd").val(eduAplctOrd);
$("#eduChasiOrd").val(eduChasiOrd);
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/instr/adultVisitEdu/endInfo/instrEduEndDetail.do").submit();
}
</script>
<!-- cont -->
<form:form id="listForm" name="listForm" commandName="vEInstrAsgnmVO">
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd" value="" />
<input type="hidden" name="eduChasiOrd" id="eduChasiOrd" value="" />
</form:form>
<div class="cont_wrap" id="sub">
<div class="cont_tit">
<h2>강사대시보드</h2>
@ -130,10 +150,10 @@
<c:forEach var="instrAsgnmList" items="${instrAsgnmList}" varStatus="status">
<c:choose>
<c:when test="${instrAsgnmList.notiCnt == 0}">
<tr class="new_cont">
<tr class="new_cont" onclick="fncGoDetail('<c:out value="${instrAsgnmList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmList.eduChasiOrd}"/>');">
</c:when>
<c:otherwise>
<tr>
<tr onclick="fncGoDetail('<c:out value="${instrAsgnmList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmList.eduChasiOrd}"/>');">
</c:otherwise>
</c:choose>
<td>
@ -180,10 +200,10 @@
<c:forEach var="instrAsgnmRqstList" items="${instrAsgnmRqstList}" varStatus="status">
<c:choose>
<c:when test="${instrAsgnmRqstList.notiCnt == 0}">
<tr class="new_cont">
<tr class="new_cont" onclick="fncGoDetailTwo('<c:out value="${instrAsgnmRqstList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmRqstList.eduChasiOrd}"/>');">
</c:when>
<c:otherwise>
<tr>
<tr onclick="fncGoDetailTwo('<c:out value="${instrAsgnmRqstList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmRqstList.eduChasiOrd}"/>');">
</c:otherwise>
</c:choose>
<td>
@ -230,10 +250,10 @@
<c:forEach var="instrAsgnmEndList" items="${instrAsgnmEndList}" varStatus="status">
<c:choose>
<c:when test="${instrAsgnmEndList.notiCnt == 0}">
<tr class="new_cont">
<tr class="new_cont" onclick="fncGoDetailThr('<c:out value="${instrAsgnmEndList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmEndList.eduChasiOrd}"/>');">
</c:when>
<c:otherwise>
<tr>
<tr onclick="fncGoDetailThr('<c:out value="${instrAsgnmEndList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmEndList.eduChasiOrd}"/>');">
</c:otherwise>
</c:choose>
<td>
@ -281,10 +301,10 @@
<c:forEach var="vEInstrPnltyList" items="${vEInstrPnltyList}" varStatus="status">
<c:choose>
<c:when test="${vEInstrPnltyList.notiCnt == 0}">
<tr class="new_cont">
<tr class="new_cont" onclick="location.href='${pageContext.request.contextPath}/web/ve/instr/adultVisitEdu/instrInfo/instrPrflDetail.do'">
</c:when>
<c:otherwise>
<tr>
<tr onclick="location.href='${pageContext.request.contextPath}/web/ve/instr/adultVisitEdu/instrInfo/instrPrflDetail.do'">
</c:otherwise>
</c:choose>
<td>

View File

@ -57,6 +57,16 @@
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/instr/tngrVisitEdu/asgnmInfo/instrAsgnmDetail.do").submit();
}
function fncGoDetailTwo(eduAplctOrd,eduChasiOrd){
$("#eduAplctOrd").val(eduAplctOrd);
$("#eduChasiOrd").val(eduChasiOrd);
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/instr/tngrVisitEdu/asgnmInfo/instrAsgnmRqstDetail.do").submit();
}
function fncGoDetailThr(eduAplctOrd,eduChasiOrd){
$("#eduAplctOrd").val(eduAplctOrd);
$("#eduChasiOrd").val(eduChasiOrd);
$("#listForm").attr("action","${pageContext.request.contextPath}/web/ve/instr/tngrVisitEdu/endInfo/instrEduEndDetail.do").submit();
}
</script>
<!-- cont -->
<div class="cont_wrap" id="sub">
@ -233,10 +243,10 @@
<c:forEach var="instrAsgnmRqstList" items="${instrAsgnmRqstList}" varStatus="status">
<c:choose>
<c:when test="${instrAsgnmRqstList.notiCnt == 0}">
<tr class="new_cont">
<tr class="new_cont" onclick="fncGoDetailTwo('<c:out value="${instrAsgnmRqstList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmRqstList.eduChasiOrd}"/>');">
</c:when>
<c:otherwise>
<tr>
<tr onclick="fncGoDetailTwo('<c:out value="${instrAsgnmRqstList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmRqstList.eduChasiOrd}"/>');">
</c:otherwise>
</c:choose>
@ -286,10 +296,10 @@
<c:forEach var="instrAsgnmEndList" items="${instrAsgnmEndList}" varStatus="status">
<c:choose>
<c:when test="${instrAsgnmEndList.notiCnt == 0}">
<tr class="new_cont">
<tr class="new_cont" onclick="fncGoDetailThr('<c:out value="${instrAsgnmEndList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmEndList.eduChasiOrd}"/>');">
</c:when>
<c:otherwise>
<tr>
<tr onclick="fncGoDetailThr('<c:out value="${instrAsgnmEndList.eduAplctOrd}"/>', '<c:out value="${instrAsgnmEndList.eduChasiOrd}"/>');">
</c:otherwise>
</c:choose>
<td>
@ -345,10 +355,10 @@
<c:forEach var="vEInstrPnltyList" items="${vEInstrPnltyList}" varStatus="status">
<c:choose>
<c:when test="${vEInstrPnltyList.notiCnt == 0}">
<tr class="new_cont">
<tr class="new_cont" onclick="location.href='${pageContext.request.contextPath}/web/ve/instr/tngrVisitEdu/instrInfo/instrPrflDetail.do'">
</c:when>
<c:otherwise>
<tr>
<tr class="new_cont" onclick="location.href='${pageContext.request.contextPath}/web/ve/instr/tngrVisitEdu/instrInfo/instrPrflDetail.do'">
</c:otherwise>
</c:choose>
<td>