관리자 기소유예 설문조사
This commit is contained in:
parent
b775023900
commit
fb2b41597f
@ -167,6 +167,8 @@ public class VEPrcsDetailVO extends ComDefaultVO implements Serializable {
|
|||||||
|
|
||||||
private String lctrPlanRsltAtchFileId; //강의계획서 첨부파일 아이디
|
private String lctrPlanRsltAtchFileId; //강의계획서 첨부파일 아이디
|
||||||
|
|
||||||
|
private String qustnrTmplatId;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -810,6 +812,12 @@ public class VEPrcsDetailVO extends ComDefaultVO implements Serializable {
|
|||||||
public void setInstrNm(String instrNm) {
|
public void setInstrNm(String instrNm) {
|
||||||
this.instrNm = instrNm;
|
this.instrNm = instrNm;
|
||||||
}
|
}
|
||||||
|
public String getQustnrTmplatId() {
|
||||||
|
return qustnrTmplatId;
|
||||||
|
}
|
||||||
|
public void setQustnrTmplatId(String qustnrTmplatId) {
|
||||||
|
this.qustnrTmplatId = qustnrTmplatId;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -189,7 +189,18 @@
|
|||||||
vsit.trgt_nm AS trgtNm,
|
vsit.trgt_nm AS trgtNm,
|
||||||
vsit.sspn_idtmt_trgt_ord AS sspnIdtmtTrgtOrd,
|
vsit.sspn_idtmt_trgt_ord AS sspnIdtmtTrgtOrd,
|
||||||
vsit.clphone AS vs_clphone,
|
vsit.clphone AS vs_clphone,
|
||||||
vsit.d_birth AS dBirth
|
vsit.d_birth AS dBirth ,
|
||||||
|
CASE
|
||||||
|
WHEN EXISTS (/* 설문조사 */
|
||||||
|
SELECT
|
||||||
|
1
|
||||||
|
FROM
|
||||||
|
LETTNQESTNRRSLTDETAIL lersltD
|
||||||
|
WHERE
|
||||||
|
lersltD.respond_id = a.USER_ID
|
||||||
|
AND a.edu_aplct_ord = lersltD.edu_aplct_ord ) THEN 1
|
||||||
|
ELSE 0
|
||||||
|
END AS qestRsltExists
|
||||||
FROM
|
FROM
|
||||||
<include refid="VEEduMIXDAO.table_name"/> a
|
<include refid="VEEduMIXDAO.table_name"/> a
|
||||||
JOIN ve_prcs_aplct_prd vpap ON
|
JOIN ve_prcs_aplct_prd vpap ON
|
||||||
@ -229,6 +240,7 @@
|
|||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
|
|
||||||
AND a.use_yn = 'Y'
|
AND a.use_yn = 'Y'
|
||||||
|
AND a.aprvl_cd != '40' /* 취소된 내역 안 보여줌 */
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
@ -215,11 +215,27 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//설문조사 결과
|
||||||
|
function fncInstrCostInfo(eduId, userId) { //메뉴생성 화면 호출
|
||||||
|
var form = document.popupForm;
|
||||||
|
|
||||||
|
form.eduAplctOrd.value = eduId;
|
||||||
|
form.respondId.value = userId;
|
||||||
|
// form.prcsAplctPrdOrd.value = prcsAplctPrdOrd;
|
||||||
|
|
||||||
|
form.action = "<c:url value='/kccadr/oprtn/fndthEnhanceTrn/popup/lctrEvalPopup.do'/>";
|
||||||
|
openPopupAndSubmitForm('popupForm', 'popupForm', 900, 1200);
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<form id="popupForm" name="popupForm" method="post">
|
||||||
|
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
||||||
|
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd"/>
|
||||||
|
<input type="hidden" name="respondId" id="respondId"/>
|
||||||
|
</form>
|
||||||
<form id="instrForm" name="instrForm" method="post">
|
<form id="instrForm" name="instrForm" method="post">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
<input type="hidden" name="prcsAplctPrdOrd" id="prcsAplctPrdOrd" value="<c:out value='${vEPrcsDetailVO.prcsAplctPrdOrd}' />"/>
|
||||||
<input type="hidden" name="userId" id="userId"/>
|
<input type="hidden" name="userId" id="userId"/>
|
||||||
@ -441,7 +457,9 @@
|
|||||||
<col style="width: 12%">
|
<col style="width: 12%">
|
||||||
<col style="width: 210px;">
|
<col style="width: 210px;">
|
||||||
<col style="width: 210px;">
|
<col style="width: 210px;">
|
||||||
<col style="width: 210px;">
|
<col style="width: 210px;">
|
||||||
|
<col style="width: 180px;">
|
||||||
|
<col style="width: 210px;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -450,7 +468,9 @@
|
|||||||
<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>
|
||||||
@ -478,6 +498,27 @@
|
|||||||
<button type="button" class="btn_type04" onclick="fn_statusChg('20', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${list.sspnIdtmtTrgtOrd }"/>')">이수</button>
|
<button type="button" class="btn_type04" onclick="fn_statusChg('20', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${list.sspnIdtmtTrgtOrd }"/>')">이수</button>
|
||||||
<button type="button" class="btn_type05" onclick="fn_statusChg('10', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${list.sspnIdtmtTrgtOrd }"/>')">미이수</button>
|
<button type="button" class="btn_type05" onclick="fn_statusChg('10', '<c:out value="${list.eduAplctOrd }" />', '<c:out value="${list.sspnIdtmtTrgtOrd }"/>')">미이수</button>
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${list.qestRsltExists }">
|
||||||
|
<%-- <button type="button" class="btn_type04" onclick="fncInstrCostInfo('<c:out value="${list.qestnrId }"/>');">설문결과</button> --%>
|
||||||
|
<button type="button" class="btn_type04" onclick="fncInstrCostInfo('${list.eduAplctOrd }', '${list.userId }');">설문결과</button>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
미입력
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${list.qestRsltExists }">
|
||||||
|
<button type="button" title="이수증" class="btn_type04" onclick="fncCmpltCrtfc('<c:out value="${info.prcsAplctPrdOrd}"/>', '<c:out value="${list.eduAplctOrd}"/>');">이수증</button>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
-
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</c:when>
|
</c:when>
|
||||||
|
|||||||
@ -36,7 +36,7 @@
|
|||||||
type:"POST"
|
type:"POST"
|
||||||
,url:"${pageContext.request.contextPath}/web/ve/aplct/fndtnEnhanceTrn/selectQustnrCommonAjax.do"
|
,url:"${pageContext.request.contextPath}/web/ve/aplct/fndtnEnhanceTrn/selectQustnrCommonAjax.do"
|
||||||
,data: {
|
,data: {
|
||||||
"lctrDivCd" : "50" // 기반강화 -> 기소유예(60)도 같이써야함
|
"lctrDivCd" : "60" // 기반강화 -> 기소유예(60)도 같이써야함
|
||||||
// ,"eduChasiOrd" : chId
|
// ,"eduChasiOrd" : chId
|
||||||
}
|
}
|
||||||
,dataType:'json'
|
,dataType:'json'
|
||||||
@ -168,7 +168,7 @@
|
|||||||
if(returnData.result == 'success'){
|
if(returnData.result == 'success'){
|
||||||
|
|
||||||
alert("설문결과가 수정 되었습니다.");
|
alert("설문결과가 수정 되었습니다.");
|
||||||
self.close();
|
location.reload();
|
||||||
}else if(returnData.result == 'fail'){
|
}else if(returnData.result == 'fail'){
|
||||||
alert(returnData.msg);
|
alert(returnData.msg);
|
||||||
location.href="${pageContext.request.contextPath}/web/user/login/ssoLogin.do?test=test";
|
location.href="${pageContext.request.contextPath}/web/user/login/ssoLogin.do?test=test";
|
||||||
@ -200,7 +200,7 @@
|
|||||||
|
|
||||||
alert("설문결과가 삭제 되었습니다.");
|
alert("설문결과가 삭제 되었습니다.");
|
||||||
window.opener.location.reload();
|
window.opener.location.reload();
|
||||||
self.close();
|
fncPopClose();
|
||||||
}else if(returnData.result == 'fail'){
|
}else if(returnData.result == 'fail'){
|
||||||
alert(returnData.msg);
|
alert(returnData.msg);
|
||||||
// location.href="${pageContext.request.contextPath}/web/user/login/ssoLogin.do?test=test";
|
// location.href="${pageContext.request.contextPath}/web/user/login/ssoLogin.do?test=test";
|
||||||
@ -212,13 +212,16 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fncPopClose(){
|
||||||
|
self.close();
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<form:form id="createForm" name="createForm" method="post" commandName="vEInstrFeeAcmdtVO" onsubmit="return false;">
|
<form:form id="createForm" name="createForm" method="post" commandName="vEInstrFeeAcmdtVO" onsubmit="return false;">
|
||||||
<input type="hidden" name="qustnrTmplatId" id="qustnrTmplatId" value="QTMPLA_0000000000001">
|
<input type="hidden" name="qustnrTmplatId" id="qustnrTmplatId" value="<c:out value="${vEPrcsDetailVO.qustnrTmplatId}" />">
|
||||||
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd" value="<c:out value="${vEPrcsDetailVO.eduAplctOrd}" />">
|
<input type="hidden" name="eduAplctOrd" id="eduAplctOrd" value="<c:out value="${vEPrcsDetailVO.eduAplctOrd}" />">
|
||||||
<input type="hidden" name="respondId" id="respondId" value="<c:out value="${vEPrcsDetailVO.respondId}" />">
|
<input type="hidden" name="respondId" id="respondId" value="<c:out value="${vEPrcsDetailVO.respondId}" />">
|
||||||
<div class="area_popup">
|
<div class="area_popup">
|
||||||
|
|||||||
@ -363,30 +363,6 @@ $(document).ready(function(){
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<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=''">더보기</button> -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="best_list">
|
|
||||||
|
|
||||||
<c:forEach var="list" items="${courseOfTheMonthList}" begin="0" end="3">
|
|
||||||
<div class="best_con">
|
|
||||||
<input type="hidden" id="strtPnttm" value="${list.strtPnttm }">
|
|
||||||
<input type="hidden" id="endPnttm" value="${list.endPnttm }">
|
|
||||||
<ul>
|
|
||||||
<li class="con_title"><c:out value="${list.prcsNm}"/></li>
|
|
||||||
<li class="con_date"><c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/></li>
|
|
||||||
<li class="con_btn"><button type="button" title="수강신청" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');">상세정보</button></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</c:forEach>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- tab -->
|
<!-- tab -->
|
||||||
<ul class="tab tab_02">
|
<ul class="tab tab_02">
|
||||||
<li class="tab_li on"><button type="button" class="tab_button" data-info="list">리스트형</button></li>
|
<li class="tab_li on"><button type="button" class="tab_button" data-info="list">리스트형</button></li>
|
||||||
@ -607,4 +583,29 @@ $(document).ready(function(){
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</form:form>
|
</form:form>
|
||||||
|
|
||||||
|
<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=''">더보기</button> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="best_list">
|
||||||
|
|
||||||
|
<c:forEach var="list" items="${courseOfTheMonthList}" begin="0" end="3">
|
||||||
|
<div class="best_con">
|
||||||
|
<input type="hidden" id="strtPnttm" value="${list.strtPnttm }">
|
||||||
|
<input type="hidden" id="endPnttm" value="${list.endPnttm }">
|
||||||
|
<ul>
|
||||||
|
<li class="con_title"><c:out value="${list.prcsNm}"/></li>
|
||||||
|
<li class="con_date"><c:out value="${list.eduStrtPnttm}"/>~<c:out value="${list.eduDdlnPnttm}"/></li>
|
||||||
|
<li class="con_btn"><button type="button" title="수강신청" onclick="fncGoDetail('<c:out value="${list.prcsAplctPrdOrd}"/>');">상세정보</button></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</c:forEach>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user