2023-12-21 18:19 사용자 청소년 설문 QR 분리
This commit is contained in:
parent
711155e5ac
commit
c078c60cb9
@ -863,10 +863,13 @@ public class EduEndAdultController {
|
||||
|
||||
@RequestMapping("eduEndQustnrNoLoginDetail.do")
|
||||
public String eduEndQustnrNoLoginDetail(
|
||||
ModelMap model
|
||||
@ModelAttribute("vEEduChasiVO") VEEduChasiVO vEEduChasiVO
|
||||
, @ModelAttribute("qustnrRespondInfoVO") QustnrRespondInfoVO qustnrRespondInfoVO
|
||||
, ModelMap model
|
||||
, HttpServletRequest request
|
||||
) throws Exception {
|
||||
|
||||
/*
|
||||
//설문 정보
|
||||
try {
|
||||
model = qustnrCommonUtil._qustnrQesItm(
|
||||
@ -881,6 +884,44 @@ public class EduEndAdultController {
|
||||
}catch(Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
*/
|
||||
|
||||
String s_action = request.getParameter("action"); //insert or select
|
||||
System.out.println("s_action");
|
||||
System.out.println(s_action);
|
||||
System.out.println(vEEduChasiVO.getQustnrTmplatId());
|
||||
System.out.println(vEEduChasiVO.getQestnrId());
|
||||
System.out.println(vEEduChasiVO.getQustnrRespondId());
|
||||
|
||||
System.out.println(qustnrRespondInfoVO.getQustnrTmplatId());
|
||||
System.out.println(qustnrRespondInfoVO.getQestnrId());
|
||||
System.out.println(qustnrRespondInfoVO.getQustnrRespondId());
|
||||
//차시 정보
|
||||
try {
|
||||
vEEduChasiVO.setInstrDiv(VeConstants.LCTR_DIV_CD_20); //10-청소년 강사, 20-성인강사 VE0001
|
||||
|
||||
VEEduChasiVO ChasiInfo = vEEduMIXService.selectChasiInfo(vEEduChasiVO);
|
||||
ChasiInfo.setInstrNm(egovCryptoUtil.decrypt(ChasiInfo.getInstrNm()));
|
||||
|
||||
ChasiInfo.setStrtTm(ChasiInfo.getStrtTm().substring(0,2)+":"+ChasiInfo.getStrtTm().substring(2,4));
|
||||
ChasiInfo.setEndTm(ChasiInfo.getEndTm().substring(0,2)+":"+ChasiInfo.getEndTm().substring(2,4));
|
||||
|
||||
model.addAttribute("chasiInfo", ChasiInfo);
|
||||
|
||||
}catch(Exception ex) {
|
||||
System.out.println("Exception vEEduAplctOnlnService.updateBulk");
|
||||
}
|
||||
|
||||
//참석 답변 정보
|
||||
try {
|
||||
List<QustnrRespondInfoVO> chasiSrvyList = egovQustnrRespondInfoService.selectChasiSrvyList202312(qustnrRespondInfoVO);
|
||||
model.addAttribute("qestnrRespondent", chasiSrvyList.get(0).getQestnrRespondent());
|
||||
model.addAttribute("qestnrParticipant", chasiSrvyList.get(0).getQestnrParticipant());
|
||||
model.addAttribute("chasiSrvyList", chasiSrvyList);
|
||||
model.addAttribute("chasiSrvyListSize", chasiSrvyList.size());
|
||||
}catch(Exception ex) {
|
||||
System.out.println("Exception vEEduAplctOnlnService.updateBulk");
|
||||
}
|
||||
|
||||
return "/web/ve/comm/eduEndQustnrNoLoginDetail";
|
||||
}
|
||||
|
||||
@ -522,7 +522,7 @@ public class ScholInfoController {
|
||||
|
||||
//차시 정보
|
||||
try {
|
||||
vEEduChasiVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //10-청소년 강사, 20-성인강사 VE0001
|
||||
//vEEduChasiVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //10-청소년 강사, 20-성인강사 VE0001
|
||||
|
||||
VEEduChasiVO ChasiInfo = vEEduMIXService.selectChasiInfo(vEEduChasiVO);
|
||||
ChasiInfo.setInstrNm(egovCryptoUtil.decrypt(ChasiInfo.getInstrNm()));
|
||||
|
||||
@ -1150,6 +1150,7 @@ public class EduEndTngrController {
|
||||
|
||||
}
|
||||
|
||||
//사용자 QR 설문 페이지 - 성인, 청소년 공통 처리
|
||||
@RequestMapping("eduEndQustnrNoLoginDetail.do")
|
||||
public String eduEndQustnrNoLoginDetail(
|
||||
@ModelAttribute("vEEduChasiVO") VEEduChasiVO vEEduChasiVO
|
||||
@ -1187,7 +1188,7 @@ public class EduEndTngrController {
|
||||
System.out.println(qustnrRespondInfoVO.getQustnrRespondId());
|
||||
//차시 정보
|
||||
try {
|
||||
vEEduChasiVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //10-청소년 강사, 20-성인강사 VE0001
|
||||
//vEEduChasiVO.setInstrDiv(VeConstants.LCTR_DIV_CD_10); //10-청소년 강사, 20-성인강사 VE0001
|
||||
|
||||
VEEduChasiVO ChasiInfo = vEEduMIXService.selectChasiInfo(vEEduChasiVO);
|
||||
ChasiInfo.setInstrNm(egovCryptoUtil.decrypt(ChasiInfo.getInstrNm()));
|
||||
|
||||
@ -226,6 +226,8 @@
|
||||
,"qustnrTmplatId" : p_qustnrTmplatId
|
||||
,"qestnrId" : p_qestnrId
|
||||
,"qustnrRespondId" : p_qustnrRespondId
|
||||
|
||||
,"instrDiv" : "20" //10-청소년, 20-성인
|
||||
};
|
||||
|
||||
commonPopLayeropen(
|
||||
|
||||
@ -434,46 +434,7 @@ $(document).ready(function(){
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br/>
|
||||
|
||||
<script src="${pageContext.request.contextPath}/visitEdu/usr/publish/script/qrCode/qrcode.js"></script>
|
||||
<script src="${pageContext.request.contextPath}/visitEdu/usr/publish/script/qrCodeCustom.js"></script>
|
||||
<script type="text/javaScript" language="javascript">
|
||||
$(document).ready(function (){
|
||||
var url = "";
|
||||
url += "${pageContext.request.scheme}";
|
||||
url += "://${pageContext.request.serverName}";
|
||||
if("${pageContext.request.serverPort}" != '80' || "${pageContext.request.serverPort}" != '443' ){
|
||||
url += ":${pageContext.request.serverPort}";
|
||||
}
|
||||
url += "${pageContext.request.contextPath}";
|
||||
url += "/web/ve/aplct/tngrVisitEdu/eduEnd/eduEndQustnrNoLoginDetail.do";
|
||||
url += "?qustnrTmplatId=${vEEduChasiVO.qustnrTmplatId}";
|
||||
url += "&qestnrId=${vEEduChasiVO.qestnrId}";
|
||||
url += "&qustnrRespondId=${vEEduChasiVO.qustnrRespondId}";
|
||||
|
||||
url += "&siteIdCd=${vEEduChasiVO.siteIdCd}";
|
||||
url += "&eduAplctOrd=${vEEduChasiVO.eduAplctOrd}";
|
||||
url += "&eduChasiOrd=${vEEduChasiVO.eduChasiOrd}";
|
||||
|
||||
makeCode(url);
|
||||
|
||||
console.log("url====");
|
||||
console.log("${vEEduChasiVO.qustnrTmplatId}");
|
||||
console.log("${vEEduChasiVO.qestnrId}");
|
||||
console.log("${vEEduChasiVO.qustnrRespondId}");
|
||||
console.log(url);
|
||||
console.log("${vEEduChasiVO.siteIdCd}");
|
||||
console.log("${vEEduChasiVO.eduAplctOrd}");
|
||||
console.log("${vEEduChasiVO.eduChasiOrd}");
|
||||
console.log(url);
|
||||
console.log("url====");
|
||||
|
||||
});
|
||||
</script>
|
||||
<div id="qrcode"></div>
|
||||
|
||||
<br/>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${setQustnrRsltId eq '' or setQustnrRsltId eq null}">
|
||||
|
||||
@ -457,6 +457,7 @@ $(document).ready(function(){
|
||||
url += "&siteIdCd=${vEEduChasiVO.siteIdCd}";
|
||||
url += "&eduAplctOrd=${vEEduChasiVO.eduAplctOrd}";
|
||||
url += "&eduChasiOrd=${vEEduChasiVO.eduChasiOrd}";
|
||||
url += "&instrDiv=${vEEduChasiVO.instrDiv}";
|
||||
|
||||
makeCode(url);
|
||||
|
||||
|
||||
@ -157,6 +157,42 @@
|
||||
);
|
||||
}
|
||||
|
||||
//설문 출력 팝업 - QR 코드만
|
||||
function fncQustnrQRPrintList(
|
||||
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
|
||||
|
||||
,"action" : p_action
|
||||
|
||||
,"qustnrTmplatId" : p_qustnrTmplatId
|
||||
,"qestnrId" : p_qestnrId
|
||||
,"qustnrRespondId" : p_qustnrRespondId
|
||||
|
||||
,"instrDiv" : "10" //10-청소년, 20-성인
|
||||
|
||||
};
|
||||
|
||||
commonPopLayeropen(
|
||||
"${pageContext.request.contextPath}/web/ve/aplct/cpyrgExprnClsrm/scholInfo/popup/qustnrQRPrintPopList.do"
|
||||
, 800
|
||||
, 700
|
||||
, paramObj
|
||||
, "Y"
|
||||
, "scholPrintPop"
|
||||
);
|
||||
}
|
||||
|
||||
function selectChasiStatus(id, chId, p_site_id_cd, action){
|
||||
$.ajax({
|
||||
type:"POST"
|
||||
@ -1078,9 +1114,9 @@
|
||||
<col style="width: auto;">
|
||||
<col style="width: 11%;">
|
||||
<col style="width: 8%;">
|
||||
<col style="width: 8%;">
|
||||
<col style="width: 120px;">
|
||||
<col style="width: 6%;">
|
||||
<col style="width: 12%;">
|
||||
<col style="width: 360px;">
|
||||
<col style="width: 12%;">
|
||||
<!--
|
||||
<col style="width: 12%;">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user