2023-12-28 14:15 설문 수정
This commit is contained in:
parent
0cae9576f3
commit
f9448d6f18
@ -165,6 +165,8 @@ public class CrownixAjaxController {
|
||||
System.out.println(request.getParameter("eduAplctOrd"));
|
||||
System.out.println("----------------");
|
||||
|
||||
try {
|
||||
|
||||
VEACmpltCrtfcVO vEACmpltCrtfcVO = new VEACmpltCrtfcVO();
|
||||
vEACmpltCrtfcVO.setPrcsAplctPrdOrd(request.getParameter("prcsAplctPrdOrd"));
|
||||
vEACmpltCrtfcVO.setEduAplctOrd(request.getParameter("eduAplctOrd"));
|
||||
@ -210,8 +212,12 @@ public class CrownixAjaxController {
|
||||
modelAndView.addObject("data_3", vEACmpltCrtfcVO.getEduStrtPnttm()+"~"+vEACmpltCrtfcVO.getEduDdlnPnttm());
|
||||
|
||||
//강사명1,2,3
|
||||
System.out.println("vEACmpltCrtfcVO.getDesc1()");
|
||||
System.out.println(vEACmpltCrtfcVO.getInstrNm());
|
||||
System.out.println(vEACmpltCrtfcVO.getDesc1());
|
||||
|
||||
if ("".equals(vEACmpltCrtfcVO.getDesc1())) {
|
||||
|
||||
if ("".equals(vEACmpltCrtfcVO.getDesc1()) || vEACmpltCrtfcVO.getDesc1()==null) {
|
||||
modelAndView.addObject("data_41", vEACmpltCrtfcVO.getInstrNm());
|
||||
}else {
|
||||
//modelAndView.addObject("data_41", vEACmpltCrtfcVO.getInstrNm());
|
||||
@ -227,10 +233,13 @@ public class CrownixAjaxController {
|
||||
|
||||
String s_rd = vEACmpltCrtfcVO.getRd();
|
||||
s_rd = s_rd.substring(0,4)+"년 "+s_rd.substring(4,6)+"월 "+s_rd.substring(6,8)+"일";
|
||||
|
||||
|
||||
modelAndView.addObject("data_d", s_rd);
|
||||
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
return modelAndView;
|
||||
|
||||
}
|
||||
|
||||
@ -232,6 +232,7 @@ public class FndtnEnhanceTrnController {
|
||||
vEPrcsDetailVO.setPrcsDiv("10");// 과정구분 VE0015 10-산업종사자, 20-대학생, 30-공무원, 40-일반인, 50-청소년, 60-학부모
|
||||
}
|
||||
*/
|
||||
vEPrcsDetailVO.setSiteId("50");
|
||||
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.findByAprvlQustnrList(vEPrcsDetailVO);
|
||||
|
||||
// 현재 날짜를 가져옵니다.
|
||||
|
||||
@ -215,7 +215,9 @@ public class SspnIdtmtController {
|
||||
vEPrcsDetailVO.setPrcsDiv("10");// 과정구분 VE0015 10-산업종사자, 20-대학생, 30-공무원, 40-일반인, 50-청소년, 60-학부모
|
||||
}
|
||||
*/
|
||||
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.findByAprvlList(vEPrcsDetailVO);
|
||||
vEPrcsDetailVO.setSiteId("50");
|
||||
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.findByAprvlQustnrList(vEPrcsDetailVO);
|
||||
//List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.findByAprvlList(vEPrcsDetailVO);
|
||||
|
||||
// 현재 날짜를 가져옵니다.
|
||||
LocalDate currentDate = LocalDate.now();
|
||||
@ -690,9 +692,11 @@ public class SspnIdtmtController {
|
||||
if(StringUtil.isEmpty(vEPrcsDetailVO.getPrcsDiv())) {
|
||||
|
||||
//vEPrcsDetailVO.setPrcsDiv("10");// 과정구분 VE0015 10-산업종사자, 20-대학생, 30-공무원, 40-일반인, 50-청소년, 60-학부모
|
||||
vEPrcsDetailVO.setSiteId("60");
|
||||
|
||||
}
|
||||
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.findByAprvlList(vEPrcsDetailVO);
|
||||
//List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.findByAprvlList(vEPrcsDetailVO);
|
||||
List<VEPrcsDetailVO> vEPrcsDetailVOList = vEPrcsAplctPrdService.findByAprvlQustnrList(vEPrcsDetailVO);
|
||||
|
||||
|
||||
// 현재 날짜를 가져옵니다.
|
||||
|
||||
@ -130,6 +130,8 @@ public class VEEduChasiVO extends ComDefaultVO implements Serializable {
|
||||
private String sumScore; //전체점수
|
||||
private String avgScore; //평균점수
|
||||
|
||||
private String siteId; //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소
|
||||
|
||||
private String siteIdCd; //사이트ID 구분 10-기본, 20-신청자, 30-강사
|
||||
|
||||
private String prcsAplctPrdOrd; //기간과정신청정보
|
||||
@ -715,5 +717,11 @@ public class VEEduChasiVO extends ComDefaultVO implements Serializable {
|
||||
public void setEduTrgt(String eduTrgt) {
|
||||
this.eduTrgt = eduTrgt;
|
||||
}
|
||||
public String getSiteId() {
|
||||
return siteId;
|
||||
}
|
||||
public void setSiteId(String siteId) {
|
||||
this.siteId = siteId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -793,7 +793,7 @@
|
||||
vpap.edu_ddln_pnttm AS eduDdlnPnttm ,
|
||||
|
||||
CASE
|
||||
WHEN to_char(sysdate, 'YYYY.MM.DD') > vpap.edu_ddln_pnttm THEN 1
|
||||
WHEN to_char(sysdate, 'YYYY.MM.DD') > NVL(vpap.edu_ddln_pnttm,vpap.edu_strt_pnttm) THEN 1
|
||||
ELSE 0
|
||||
END AS qestRsltExists,
|
||||
|
||||
|
||||
@ -34,9 +34,12 @@
|
||||
, vadi.edu_cmplt_crtfc_nmbr AS eduCmpltCrtfcNmbr
|
||||
*/
|
||||
, NVL(vadi.edu_cmplt_crtfc_nmbr,'이수번호발급전') AS eduCmpltCrtfcNmbr
|
||||
/*
|
||||
, to_char(sysdate, 'YYYYMMDD') AS rd
|
||||
*/
|
||||
, to_char(NVL(vadi.aplct_pnttm,sysdate), 'YYYYMMDD') AS rd
|
||||
|
||||
, vi.DESC_1 AS desc1
|
||||
, NVL(vi.DESC_1,'') AS desc1
|
||||
, vi.DESC_2 AS desc2
|
||||
, vi.DESC_3 AS desc3
|
||||
, vi.DESC_4 AS desc4
|
||||
|
||||
@ -294,7 +294,7 @@ $(document).ready(function(){
|
||||
</form>
|
||||
|
||||
<form id="newSrvyPopupForm" name="newSrvyPopupForm" method="post" >
|
||||
<input type="hidden" name="siteId" id="siteId" value="50">
|
||||
<input type="hidden" name="siteId" id="siteId" value="${vEEduChasiVO.siteId}">
|
||||
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd" value="${vEEduChasiVO.eduAplctOrd}">
|
||||
<input type="hidden" name="eduChasiOrd" id="eduChasiOrd" value="${vEEduChasiVO.eduChasiOrd}">
|
||||
<input type="hidden" name="qustnrTmplatId" id="qustnrTmplatId" value="${chasiSrvyList[0].qustnrTmplatId}">
|
||||
|
||||
@ -292,6 +292,7 @@ $(document).ready(function(){
|
||||
"eduAplctOrd" : id
|
||||
,"eduChasiOrd" : chId
|
||||
,"siteIdCd" : p_site_id_cd
|
||||
,"siteId" : "50" //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소
|
||||
|
||||
,"action" : p_action
|
||||
|
||||
@ -436,7 +437,7 @@ $(document).ready(function(){
|
||||
)" title="팝업 열림">설문완료</button>
|
||||
</c:when>
|
||||
|
||||
<c:when test="${empty list.qestnrId10 and list.aplctStateCd eq 20}">
|
||||
<c:when test="${empty list.qestnrId10 and list.aprvlCd eq 20}">
|
||||
<!-- 대상 설문이 없다 -->
|
||||
대상설문없음
|
||||
</c:when>
|
||||
@ -478,7 +479,6 @@ $(document).ready(function(){
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
|
||||
</td>
|
||||
<!-- <td>-</td> -->
|
||||
</tr>
|
||||
@ -599,7 +599,7 @@ $(document).ready(function(){
|
||||
viewer.openFile('cmplt_crtfc_20231030.mrd', '/rf [http://192.168.0.59:3080/offedu/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctCmpltCrtfcAjax.do?prcsAplctPrdOrd='+p_prcsAplctPrdOrd+'&eduAplctOrd='+p_eduAplctOrd+']'
|
||||
, {clientSidePdf: {embeddedFont: true}});
|
||||
*/
|
||||
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rf [http://192.168.0.59:3080/offedu/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctCmpltCrtfcAjax.do?prcsAplctPrdOrd='+p_prcsAplctPrdOrd+'&eduAplctOrd='+p_eduAplctOrd+']');
|
||||
//viewer.openFile('cmplt_crtfc_20231030.mrd', '/rf [http://192.168.0.32:3080/offedu/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctCmpltCrtfcAjax.do?prcsAplctPrdOrd='+p_prcsAplctPrdOrd+'&eduAplctOrd='+p_eduAplctOrd+']');
|
||||
viewer.openFile('cmplt_crtfc_20231030.mrd', '/rf [http://119.193.215.98:9989/offedu/ve/aplct/fndtnEnhanceTrn/fndtnEduAplctCmpltCrtfcAjax.do?prcsAplctPrdOrd='+p_prcsAplctPrdOrd+'&eduAplctOrd='+p_eduAplctOrd+']');
|
||||
|
||||
}
|
||||
|
||||
@ -202,6 +202,7 @@
|
||||
"eduAplctOrd" : id
|
||||
,"eduChasiOrd" : chId
|
||||
,"siteIdCd" : p_site_id_cd
|
||||
,"siteId" : "50" //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소
|
||||
|
||||
,"action" : p_action
|
||||
|
||||
@ -211,12 +212,13 @@
|
||||
};
|
||||
|
||||
commonPopLayeropen(
|
||||
"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrPopList.do"
|
||||
//"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrPopList.do"
|
||||
"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrFndtnPopList.do"
|
||||
, 800
|
||||
, 700
|
||||
, paramObj
|
||||
, "Y"
|
||||
, "scholPop"
|
||||
, "QustnrList"
|
||||
);
|
||||
}
|
||||
</script>
|
||||
@ -289,29 +291,31 @@
|
||||
</td>
|
||||
<td><kc:code codeId="VE0003" code="${list.aprvlCd}"/></td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.qustnrQesitmId10Cnt gt 0 and list.aprvlCd eq 20 and list.dateChk eq 1}">
|
||||
|
||||
|
||||
<%-- <c:choose> --%>
|
||||
<%-- <c:when test="${list.qustnrQesitmId10Cnt gt 0 and list.aprvlCd eq 20 and list.dateChk eq 1}"> --%>
|
||||
<!--
|
||||
<button type="button" class="btnType02" data-tooltip="sub37_pop20"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduPrcsOrd}','10','select'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문완료</button>
|
||||
-->
|
||||
<button type="button" class="btnType01" data-tooltip="sub37_pop01" onclick="selectQestnInfo('${list.eduAplctOrd}','update')" title="팝업 열림">설문완료</button>
|
||||
</c:when>
|
||||
<c:when test="${not empty list.qestnrId10 and list.aprvlCd eq 20 and list.dateChk eq 1}">
|
||||
<!-- <button type="button" class="btnType02" data-tooltip="sub37_pop20" -->
|
||||
<!-- onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduPrcsOrd}','10','select' -->
|
||||
<!-- ,'${list.qustnrTmplatId}','${list.qestnrId10}','' -->
|
||||
<!-- )" title="팝업 열림">설문완료</button> -->
|
||||
<!-- -->
|
||||
<%-- <button type="button" class="btnType01" data-tooltip="sub37_pop01" onclick="selectQestnInfo('${list.eduAplctOrd}','update')" title="팝업 열림">설문완료</button> --%>
|
||||
<%-- </c:when> --%>
|
||||
<%-- <c:when test="${not empty list.qestnrId10 and list.aprvlCd eq 20 and list.dateChk eq 1}"> --%>
|
||||
<!--
|
||||
<button type="button" class="btnType01" data-tooltip="sub37_pop20"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduPrcsOrd}','10','insert'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문등록</button>
|
||||
-->
|
||||
<button type="button" class="btnType01" data-tooltip="sub37_pop01" onclick="selectQestnInfo('${list.eduAplctOrd}','insert')" title="팝업 열림">설문등록</button>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
해당설문없음
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<!-- <button type="button" class="btnType01" data-tooltip="sub37_pop20" -->
|
||||
<!-- onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduPrcsOrd}','10','insert' -->
|
||||
<!-- ,'${list.qustnrTmplatId}','${list.qestnrId10}','' -->
|
||||
<!-- )" title="팝업 열림">설문등록</button> -->
|
||||
<!-- -->
|
||||
<%-- <button type="button" class="btnType01" data-tooltip="sub37_pop01" onclick="selectQestnInfo('${list.eduAplctOrd}','insert')" title="팝업 열림">설문등록</button> --%>
|
||||
<%-- </c:when> --%>
|
||||
<%-- <c:otherwise> --%>
|
||||
<!-- 해당설문없음 -->
|
||||
<%-- </c:otherwise> --%>
|
||||
<%-- </c:choose> --%>
|
||||
|
||||
|
||||
<!-- 신청 승인상태 20 and 현재가 교육종료보다 이후 체크 1 -->
|
||||
@ -327,20 +331,73 @@
|
||||
<%-- </c:otherwise> --%>
|
||||
<%-- </c:choose> --%>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10}">
|
||||
<!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
|
||||
|
||||
<c:choose>
|
||||
|
||||
<c:when test="${list.qestnrId10Cnt gt 0}">
|
||||
<!-- 작성된 설문이 있다 -->
|
||||
<button type="button" class="btnType02" data-tooltip="sub37_pop20"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문완료</button>
|
||||
</c:when>
|
||||
|
||||
<c:when test="${empty list.qestnrId10 and list.aprvlCd eq 20}">
|
||||
<!-- 대상 설문이 없다 -->
|
||||
대상설문없음
|
||||
</c:when>
|
||||
|
||||
<c:when test="${empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0}">
|
||||
<!-- 작성된 설문이 없다 -->
|
||||
<button type="button" class="btnType01" data-tooltip="sub37_pop20"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문등록</button>
|
||||
</c:when>
|
||||
|
||||
<c:otherwise>
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<!-- 설문노출대상 아님 -->
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<%-- <c:choose> --%>
|
||||
<%-- <c:when test="${list.qustnrQesitmId10Cnt gt 0 and list.aprvlCd eq 20 and list.dateChk eq 1}"> --%>
|
||||
<%-- <button type="button" title="출력" class="btnType03" onclick="fncCmpltCrtfc('<c:out value="${list.prcsOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">출력</button> --%>
|
||||
<%-- </c:when> --%>
|
||||
<%-- <c:when test="${list.qustnrQesitmId10Cnt gt 0 and list.aprvlCd eq 20}"> --%>
|
||||
<!-- 교육완료 -->
|
||||
<%-- </c:when> --%>
|
||||
<%-- <c:otherwise> --%>
|
||||
<!-- - -->
|
||||
<%-- </c:otherwise> --%>
|
||||
<%-- </c:choose> --%>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${list.qustnrQesitmId10Cnt gt 0 and list.aprvlCd eq 20 and list.dateChk eq 1}">
|
||||
<button type="button" title="출력" class="btnType03" onclick="fncCmpltCrtfc('<c:out value="${list.prcsOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">출력</button>
|
||||
<c:when test="${list.qestnrId10Cnt gt 0}">
|
||||
<button type="button" title="이수증"
|
||||
style="height:30px;width:73px;"
|
||||
class="btnType01" onclick="fncCmpltCrtfc('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">이수증</button>
|
||||
</c:when>
|
||||
<c:when test="${list.qustnrQesitmId10Cnt gt 0 and list.aprvlCd eq 20}">
|
||||
교육완료
|
||||
<c:when test="${list.aplctStateCd eq 20 and not list.qestRsltExists}">
|
||||
설문등록 후 발급
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
|
||||
@ -107,6 +107,41 @@
|
||||
form.submit();
|
||||
|
||||
}
|
||||
|
||||
//설문 팝업
|
||||
function fncQustnrList(
|
||||
id //aplctOrd
|
||||
, chId //chasiOrd
|
||||
, p_site_id_cd //10,20,30
|
||||
, p_action //select, insert
|
||||
, p_qustnrTmplatId //select, insert
|
||||
, p_qestnrId //select, insert
|
||||
, p_qustnrRespondId //select, insert
|
||||
) {
|
||||
|
||||
paramObj = {
|
||||
"eduAplctOrd" : id
|
||||
,"eduChasiOrd" : chId
|
||||
,"siteIdCd" : p_site_id_cd
|
||||
,"siteId" : "60" //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소
|
||||
|
||||
,"action" : p_action
|
||||
|
||||
,"qustnrTmplatId" : p_qustnrTmplatId
|
||||
,"qestnrId" : p_qestnrId
|
||||
,"qustnrRespondId" : p_qustnrRespondId
|
||||
};
|
||||
|
||||
commonPopLayeropen(
|
||||
//"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrPopList.do"
|
||||
"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrFndtnPopList.do"
|
||||
, 800
|
||||
, 700
|
||||
, paramObj
|
||||
, "Y"
|
||||
, "QustnrList"
|
||||
);
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- content -->
|
||||
@ -149,7 +184,7 @@
|
||||
<col style="width:;">
|
||||
<col style="width:13%;">
|
||||
<col style="width:13%;">
|
||||
<col style="width:13%;">
|
||||
<%-- <col style="width:13%;"> --%>
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -157,7 +192,7 @@
|
||||
<th>교육일자</th>
|
||||
<th>신청결과</th>
|
||||
<th>설문조사</th>
|
||||
<th>이수증</th>
|
||||
<!-- <th>이수증</th> -->
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -174,18 +209,59 @@
|
||||
<td><kc:code codeId="VE0003" code="${list.aprvlCd}"/></td>
|
||||
<td>
|
||||
<!-- 신청 승인상태 20 and 현재가 교육종료보다 이후 체크 1 -->
|
||||
<%-- <c:choose> --%>
|
||||
<%-- <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:when> --%>
|
||||
<%-- <c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }"> --%>
|
||||
<!-- 설문완료 -->
|
||||
<%-- </c:when> --%>
|
||||
<%-- <c:otherwise> --%>
|
||||
<!-- - -->
|
||||
<%-- </c:otherwise> --%>
|
||||
<%-- </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="btnType04" data-tooltip="edu_in">설문등록</button>
|
||||
<c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10}">
|
||||
<!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
|
||||
|
||||
<c:choose>
|
||||
|
||||
<c:when test="${list.qestnrId10Cnt gt 0}">
|
||||
<!-- 작성된 설문이 있다 -->
|
||||
<button type="button" class="btnType02" data-tooltip="sub37_pop20"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문완료</button>
|
||||
</c:when>
|
||||
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }">
|
||||
설문완료
|
||||
|
||||
<c:when test="${empty list.qestnrId10 and list.aprvlCd eq 20}">
|
||||
<!-- 대상 설문이 없다 -->
|
||||
대상설문없음
|
||||
</c:when>
|
||||
|
||||
<c:when test="${empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0}">
|
||||
<!-- 작성된 설문이 없다 -->
|
||||
<button type="button" class="btnType01" data-tooltip="sub37_pop20"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문등록</button>
|
||||
</c:when>
|
||||
|
||||
<c:otherwise>
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<!-- 설문노출대상 아님 -->
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</td>
|
||||
<!--
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${list.qestRsltExists }">
|
||||
@ -199,6 +275,7 @@
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
|
||||
@ -372,6 +372,39 @@ $(document).ready(function(){
|
||||
});
|
||||
}
|
||||
|
||||
//설문 팝업
|
||||
function fncQustnrList(
|
||||
id //aplctOrd
|
||||
, chId //chasiOrd
|
||||
, p_site_id_cd //10,20,30
|
||||
, p_action //select, insert
|
||||
, p_qustnrTmplatId //select, insert
|
||||
, p_qestnrId //select, insert
|
||||
, p_qustnrRespondId //select, insert
|
||||
) {
|
||||
|
||||
paramObj = {
|
||||
"eduAplctOrd" : id
|
||||
,"eduChasiOrd" : chId
|
||||
,"siteIdCd" : p_site_id_cd
|
||||
,"siteId" : "60" //설문정보를 위해서 설문지의 대상값을 넣는다. VE0011 10-청소년, 20-성인,30-체험, 40-외부, 50-기반, 60-기소
|
||||
|
||||
,"action" : p_action
|
||||
|
||||
,"qustnrTmplatId" : p_qustnrTmplatId
|
||||
,"qestnrId" : p_qestnrId
|
||||
,"qustnrRespondId" : p_qustnrRespondId
|
||||
};
|
||||
|
||||
commonPopLayeropen(
|
||||
"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrFndtnPopList.do"
|
||||
, 800
|
||||
, 700
|
||||
, paramObj
|
||||
, "Y"
|
||||
, "QustnrList"
|
||||
);
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- content -->
|
||||
@ -514,49 +547,62 @@ $(document).ready(function(){
|
||||
list.aplctStateCd ne 30
|
||||
list.aprvlCd ne 40
|
||||
-->
|
||||
<%-- <c:choose> --%>
|
||||
<%-- <c:when test="${list.aprvlCd eq 20 --%>
|
||||
<%-- and list.dateChk eq 1 --%>
|
||||
<%-- and not list.qestRsltExists --%>
|
||||
<%-- and list.aplctStateCd ne 30 --%>
|
||||
<%-- and list.aprvlCd ne 40 --%>
|
||||
<%-- }"> --%>
|
||||
<%-- <button type="button" class="btnType01" data-tooltip="sub37_pop01" onclick="selectQestnInfo('${list.eduAplctOrd}','insert')" title="팝업 열림">설문등록</button> --%>
|
||||
<%-- </c:when> --%>
|
||||
<%-- <c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }"> --%>
|
||||
<%-- <button type="button" class="btnType01" data-tooltip="sub37_pop01" onclick="selectQestnInfo('${list.eduAplctOrd}','update')" title="팝업 열림">설문수정</button> --%>
|
||||
<%-- </c:when> --%>
|
||||
<%-- <c:otherwise> --%>
|
||||
<!-- - -->
|
||||
<%-- </c:otherwise> --%>
|
||||
<%-- </c:choose> --%>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${list.aprvlCd eq 20
|
||||
and list.dateChk eq 1
|
||||
and not list.qestRsltExists
|
||||
and list.aplctStateCd ne 30
|
||||
and list.aprvlCd ne 40
|
||||
}">
|
||||
<button type="button" class="btnType01" data-tooltip="sub37_pop01" onclick="selectQestnInfo('${list.eduAplctOrd}','insert')" title="팝업 열림">설문등록</button>
|
||||
<c:when test="${list.aprvlCd eq 20 and list.qestRsltExists and list.aplctStateCd ne 10}">
|
||||
<!-- 설문노출대상(승인처리를 받았음(20) && 교육기간이 지났음 list.qestRsltExists=true && 미이수가 아닌것(10) ) -->
|
||||
|
||||
<c:choose>
|
||||
|
||||
<c:when test="${list.qestnrId10Cnt gt 0}">
|
||||
<!-- 작성된 설문이 있다 -->
|
||||
<button type="button" class="btnType02" data-tooltip="sub37_pop20"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문완료</button>
|
||||
</c:when>
|
||||
<c:when test="${list.aprvlCd eq 20 and list.dateChk eq 1 and list.qestRsltExists }">
|
||||
<button type="button" class="btnType01" data-tooltip="sub37_pop01" onclick="selectQestnInfo('${list.eduAplctOrd}','update')" title="팝업 열림">설문수정</button>
|
||||
|
||||
<c:when test="${empty list.qestnrId10 and list.aprvlCd eq 20}">
|
||||
<!-- 대상 설문이 없다 -->
|
||||
대상설문없음
|
||||
</c:when>
|
||||
|
||||
<c:when test="${empty list.qestnrId10Cnt or list.qestnrId10Cnt eq 0}">
|
||||
<!-- 작성된 설문이 없다 -->
|
||||
<button type="button" class="btnType01" data-tooltip="sub37_pop20"
|
||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||
,'${list.qustnrTmplatId}','${list.qestnrId10}',''
|
||||
)" title="팝업 열림">설문등록</button>
|
||||
</c:when>
|
||||
|
||||
<c:otherwise>
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
<!-- <td> -->
|
||||
<!--
|
||||
취소상태
|
||||
list.aplctStateCd ne 30
|
||||
list.aprvlCd ne 40
|
||||
-->
|
||||
<%-- <c:choose>
|
||||
<c:when test="${list.qestRsltExists }">
|
||||
<button type="button" title="출력" class="btnType03">출력</button>
|
||||
</c:when>
|
||||
<c:when test="${list.dateChk eq 1
|
||||
and not list.qestRsltExists
|
||||
and list.aplctStateCd ne 30
|
||||
and list.aprvlCd ne 40
|
||||
}">
|
||||
교육완료
|
||||
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<!-- 설문노출대상 아님 -->
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose> --%>
|
||||
|
||||
<%-- <button type="button" title="이수증" class="btnType01" onclick="fncCmpltCrtfc('<c:out value="${list.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">이수증테스트</button> --%>
|
||||
|
||||
<!-- </td> -->
|
||||
<!-- <td>-</td> -->
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${empty list}">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user