마이페이지 내 교육 문의 추가
This commit is contained in:
parent
6f1a89e7de
commit
9d9023647c
@ -302,6 +302,16 @@ public class MyPageController {
|
||||
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
VEPrcsDetailVO vEPrcsDetailVO = new VEPrcsDetailVO();
|
||||
vEPrcsDetailVO.setRecordCountPerPage(3);
|
||||
vEPrcsDetailVO.setFirstIndex(0);
|
||||
vEPrcsDetailVO.setQnaRegist(loginVO.getUniqId());
|
||||
List<VEPrcsDetailVO> qnaList = vEPrcsService.selectQnaPagingList(vEPrcsDetailVO);
|
||||
model.addAttribute("qnaList", qnaList);
|
||||
}
|
||||
|
||||
// return "/web/cop/bbs/FaqListAjax";
|
||||
return "web/my/myPageDashBoard";
|
||||
}
|
||||
@ -340,7 +350,7 @@ public class MyPageController {
|
||||
model.addAttribute("paginationInfo", paginationInfo);
|
||||
|
||||
// 사용자 이름 디코딩
|
||||
vEPrcsDetailVOList.stream().forEach(t->t.setMberNm(egovCryptoUtil.decrypt(t.getMberNm())));
|
||||
// vEPrcsDetailVOList.stream().forEach(t->t.setMberNm(egovCryptoUtil.decrypt(t.getMberNm())));
|
||||
|
||||
//대상 리스트, 페이징 정보 전달
|
||||
model.addAttribute("list", vEPrcsDetailVOList);
|
||||
|
||||
@ -48,6 +48,16 @@
|
||||
|
||||
}
|
||||
|
||||
function qnaGoDetail(p_pk){
|
||||
var form = document.deatilForm ;
|
||||
form.prcsAplctPrdQnaOrd.value = p_pk ;
|
||||
form.action = "<c:url value='/web/my/myQnaMngDetail.do'/>";
|
||||
form.submit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -55,6 +65,9 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form id="deatilForm" name="deatilForm" >
|
||||
<input type="hidden" id="prcsAplctPrdQnaOrd" name="prcsAplctPrdQnaOrd" value=""/>
|
||||
</form>
|
||||
<form id="listForm" name="listForm">
|
||||
<input type="hidden" name="eduAplctOrd" id="adrSeq" value="" />
|
||||
</form>
|
||||
@ -401,6 +414,113 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mypage_table">
|
||||
<div class="tb_list02 right">
|
||||
<div class="tb_tit02">
|
||||
<div class="tb_tit02_left">
|
||||
<div class="t_best">내 문의 목록</div>
|
||||
</div>
|
||||
<div class="btn_wrap1">
|
||||
<button type="button" title="실무역량강화 교육 더보기" class="con_more" onclick="location.href='<c:url value="/web/my/myQnaMngList.do" />'">더보기</button>
|
||||
</div>
|
||||
</div>
|
||||
<table>
|
||||
<caption>내 문의 목록표</caption>
|
||||
<colgroup>
|
||||
<col style="width:15%;">
|
||||
<col style="width:12%;">
|
||||
<col style="width:12%;">
|
||||
<col style="width:15%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>강의구분</th>
|
||||
<th>문의내용</th>
|
||||
<th>문의일시</th>
|
||||
<th>답변여부</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${qnaList}" varStatus="status" begin="0" end="2">
|
||||
<tr>
|
||||
<td onclick="qnaGoDetail('<c:out value="${list.prcsAplctPrdQnaOrd }" />');" style="cursor:pointer;">
|
||||
<ve:code codeId="VE0011" code="${list.lctrDivCd }" />
|
||||
</td>
|
||||
<td onclick="qnaGoDetail('<c:out value="${list.prcsAplctPrdQnaOrd }" />');" style="cursor:pointer;">
|
||||
<c:out value="${list.qnaCn }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.frstRegistPnttm }" />
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${empty list.qnaAnswerCn }">
|
||||
-
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
완료
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<%-- <div class="tb_list02">
|
||||
<div class="tb_tit02">
|
||||
<div class="tb_tit02_left">
|
||||
<div class="t_best">실무역량강화 교육</div>
|
||||
</div>
|
||||
<div class="btn_wrap1">
|
||||
<button type="button" title="실무역량강화 교육 더보기" class="con_more" onclick="location.href='<c:url value="/web/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctList.do" />'">더보기</button>
|
||||
</div>
|
||||
</div>
|
||||
<table>
|
||||
<caption>실무역량강화 교육 목록표</caption>
|
||||
<colgroup>
|
||||
<col style="width:15%;">
|
||||
<col style="width:12%;">
|
||||
<col style="width:12%;">
|
||||
<col style="width:15%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>과정명</th>
|
||||
<th>교육시작일</th>
|
||||
<th>교육종료일</th>
|
||||
<th>신청결과</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="list" items="${fndtnList}" varStatus="status" begin="0" end="2">
|
||||
<tr onclick="fncFndtnGoDetail('${list.prcsAplctPrdOrd}')">
|
||||
<td>
|
||||
<c:out value="${list.prcsNm}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.eduStrtPnttm}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:out value="${list.eduDdlnPnttm}"/>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${not empty list.aplctStateCd }">
|
||||
<kc:code codeId="VEA003" code="${list.aplctStateCd}"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<kc:code codeId="VE0003" code="${list.aprvlCd}"/>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div> --%>
|
||||
</div>
|
||||
|
||||
<!-- moblie table -->
|
||||
<div class="tb_list01_m mypage_m">
|
||||
|
||||
@ -58,7 +58,7 @@
|
||||
</colgroup>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<%-- <tr>
|
||||
<th scope="row">질문자ID</th>
|
||||
<td>
|
||||
<c:out value='${info.qnaRegist}' />
|
||||
@ -70,6 +70,7 @@
|
||||
<c:out value='${info.mberNm}' />
|
||||
</td>
|
||||
</tr>
|
||||
--%>
|
||||
<tr>
|
||||
<th scope="row">질문내용</th>
|
||||
<td>
|
||||
|
||||
@ -33,7 +33,6 @@ function linkPage(pageNo){
|
||||
}
|
||||
|
||||
function fncGoDetail(p_pk){
|
||||
console.log('p_pk: ', p_pk);
|
||||
var form = document.deatilForm ;
|
||||
form.prcsAplctPrdQnaOrd.value = p_pk ;
|
||||
form.action = "<c:url value='/web/my/myQnaMngDetail.do'/>";
|
||||
@ -51,7 +50,6 @@ function fncGoDetail(p_pk){
|
||||
|
||||
<form id="deatilForm" name="deatilForm" >
|
||||
<input type="hidden" id="prcsAplctPrdQnaOrd" name="prcsAplctPrdQnaOrd" value=""/>
|
||||
|
||||
</form>
|
||||
<form:form id="listForm" name="listForm" commandName="vEPrcsDetailVO">
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${vEPrcsDetailVO.pageIndex}' default='1' />"/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user