2025-10-23 17:12 관리자용 설문, 이수증 출력

This commit is contained in:
myname 2025-10-23 17:12:39 +09:00
parent 0ab67063f4
commit 9fc2876a75
3 changed files with 133 additions and 10 deletions

View File

@ -776,7 +776,7 @@
<col style="width: 210px;"> <col style="width: 210px;">
<col style="width: 250px;"> <col style="width: 250px;">
<%-- <col style="width: 140px;"> --%> <col style="width: 140px;">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
@ -790,7 +790,7 @@
<th>교육이수상태변경</th> <th>교육이수상태변경</th>
<th>취소상태</th> <th>취소상태</th>
<!-- <th>이수증</th> --> <th>내용확인</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -883,6 +883,59 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td>
<c:choose>
<c:when test="${list.aprvlCd eq 60 and list.qestRsltExists}">
<!-- 설문노출대상(확정처리를 받았음(60) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
<c:choose>
<c:when test="${list.qestnrId10Cnt gt 0}">
<!-- 작성된 설문이 있다 -->
<button type="button" class="btn_type04" data-tooltip="sub37_pop20"
onclick="fncInstrCostNewInfo('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
)" title="팝업 열림">설문완료</button>
</c:when>
<c:when test="${empty list.qestnrId10}">
<!-- 대상 설문이 없다 -->
대상설문없음
</c:when>
<c:when test="${not empty list.qestnrId10 and list.qestnrId10Cnt eq 0 and list.qustnrTm eq '1'}">
<!-- 설문 키값이 있고, 답변이 없고, 설문 오픈 시간이 지났다(1), (0-지나기전)면 설문 등록을 연다 -->
<!-- 작성된 설문이 없다 -->
등록된 설문없음
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<!-- 설문노출대상 아님 -->
-
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20'}">
<!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 -->
<button type="button" class="btn_type04"
onclick="fncPrintCert('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert','${list.qustnrTmplatId}','${list.qestnrId10}','')"/>출력</button>
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</td>
</tr> </tr>
</c:forEach> </c:forEach>
</c:when> </c:when>

View File

@ -965,12 +965,12 @@
<td> <td>
<c:choose> <c:choose>
<c:when test="${list.qestRsltExists}"> <c:when test="${list.aprvlCd eq 60 and list.qestRsltExists}">
<!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) --> <!-- 설문노출대상(확정처리를 받았음(60) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
<c:choose> <c:choose>
<c:when test="${list.aplctStateCd eq 20 and list.qestnrId10Cnt gt 0}"> <c:when test="${list.qestnrId10Cnt gt 0}">
<!-- 작성된 설문이 있다 --> <!-- 작성된 설문이 있다 -->
<button type="button" class="btn_type04" data-tooltip="sub37_pop20" <button type="button" class="btn_type04" data-tooltip="sub37_pop20"
onclick="fncInstrCostNewInfo('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select' onclick="fncInstrCostNewInfo('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
@ -978,12 +978,13 @@
)" title="팝업 열림">설문완료</button> )" title="팝업 열림">설문완료</button>
</c:when> </c:when>
<c:when test="${empty list.qestnrId10 and list.aprvlCd eq 20}"> <c:when test="${empty list.qestnrId10}">
<!-- 대상 설문이 없다 --> <!-- 대상 설문이 없다 -->
대상설문없음 대상설문없음
</c:when> </c:when>
<c:when test="${empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0}"> <c:when test="${not empty list.qestnrId10 and list.qestnrId10Cnt eq 0 and list.qustnrTm eq '1'}">
<!-- 설문 키값이 있고, 답변이 없고, 설문 오픈 시간이 지났다(1), (0-지나기전)면 설문 등록을 연다 -->
<!-- 작성된 설문이 없다 --> <!-- 작성된 설문이 없다 -->
등록된 설문없음 등록된 설문없음
</c:when> </c:when>
@ -1000,7 +1001,21 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<button type="button" class="btn_type04" onclick="fncPrintCert('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert','${list.qustnrTmplatId}','${list.qestnrId10}','')"/>이수증</button>
<c:choose>
<c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20'}">
<!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 -->
<button type="button" class="btn_type04"
onclick="fncPrintCert('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert','${list.qustnrTmplatId}','${list.qestnrId10}','')"/>출력</button>
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</td> </td>

View File

@ -776,7 +776,7 @@
<col style="width: 210px;"> <col style="width: 210px;">
<col style="width: 250px;"> <col style="width: 250px;">
<%-- <col style="width: 140px;"> --%> <col style="width: 140px;">
</colgroup> </colgroup>
<thead> <thead>
<tr> <tr>
@ -790,7 +790,7 @@
<th>교육이수상태변경</th> <th>교육이수상태변경</th>
<th>취소상태</th> <th>취소상태</th>
<!-- <th>이수증</th> --> <th>내용확인</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -883,6 +883,61 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td>
<c:choose>
<c:when test="${list.aprvlCd eq 60 and list.qestRsltExists}">
<!-- 설문노출대상(확정처리를 받았음(60) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
<c:choose>
<c:when test="${list.qestnrId10Cnt gt 0}">
<!-- 작성된 설문이 있다 -->
<button type="button" class="btn_type04" data-tooltip="sub37_pop20"
onclick="fncInstrCostNewInfo('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
)" title="팝업 열림">설문완료</button>
</c:when>
<c:when test="${empty list.qestnrId10}">
<!-- 대상 설문이 없다 -->
대상설문없음
</c:when>
<c:when test="${not empty list.qestnrId10 and list.qestnrId10Cnt eq 0 and list.qustnrTm eq '1'}">
<!-- 설문 키값이 있고, 답변이 없고, 설문 오픈 시간이 지났다(1), (0-지나기전)면 설문 등록을 연다 -->
<!-- 작성된 설문이 없다 -->
등록된 설문없음
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<!-- 설문노출대상 아님 -->
-
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${list.qestRsltExists and list.aprvlCd eq '60' and list.aplctStateCd eq '20'}">
<!-- 교육 기간 종료 & 교육신청은 확정(60) & 교육상태는 이슈(20) & 수료증 출력 가능 -->
<button type="button" class="btn_type04"
onclick="fncPrintCert('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert','${list.qustnrTmplatId}','${list.qestnrId10}','')"/>출력</button>
</c:when>
<c:otherwise>
-
</c:otherwise>
</c:choose>
</td>
</tr> </tr>
</c:forEach> </c:forEach>
</c:when> </c:when>