2024-01-23 12:13 기소유예 대상자 검색 수정

This commit is contained in:
myname 2024-01-23 12:14:22 +09:00
parent 2da6ff4455
commit d320a5972e
6 changed files with 76 additions and 27 deletions

View File

@ -112,7 +112,7 @@ public class SspnIdtmtServiceImpl implements SspnIdtmtService {
//
// // step0.해당 계정으로 신청한 정보가 있는지 확인 하고, 있다면 동일한 정보로 신청했는지 확인 할것.
CndtnTrgtMngVO cndtnTrgtMngVO = cndtnTrgtInfoMngDAO.checkSspnIdtmtNewStep0(cndtnTrgtInfoMngVO);
/*
if ("F".equals(cndtnTrgtMngVO.getResultCd())) { //해당 계정으로 신청한 정보중에 다른 개인정보(이름, 생년월일, 성별) 사용해서 신청한 내용이 있다.
result="fail";
@ -124,6 +124,7 @@ public class SspnIdtmtServiceImpl implements SspnIdtmtService {
return modelAndView;
}
*/
// step1.신청 가능한 대상이 있는지 찾는다.

View File

@ -754,14 +754,16 @@ public class SspnIdtmtController {
LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
System.out.println(cndtnTrgtInfoMngVO.getUserId());
//System.out.println(cndtnTrgtInfoMngVO.getUserId());
cndtnTrgtInfoMngVO.setUserId(loginVO.getUniqId());
System.out.println(cndtnTrgtInfoMngVO.getUserId());
//System.out.println(cndtnTrgtInfoMngVO.getUserId());
/*
System.out.println(cndtnTrgtInfoMngVO.getSex());
//System.out.println(cndtnTrgtInfoMngVO.getDBirth());
System.out.println(cndtnTrgtInfoMngVO.getdBirth());
System.out.println(cndtnTrgtInfoMngVO.getTrgtNm());
*/
cndtnTrgtInfoMngVO = egovCryptoUtil.encryptCndtnTrgtMngVOInfo(cndtnTrgtInfoMngVO);

View File

@ -235,6 +235,43 @@
$('#trgtNm').val('');
$('#dBirth').val('');
}
//기소유예 신청
function fncAplctPopup(
p_prcsAplctPrdOrd
, 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 = {
"prcsAplctPrdOrd": p_prcsAplctPrdOrd
,"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/sspnIdtmt/popup/eduAplctPopList.do"
, 800
, 700
, paramObj
, "Y"
, "AplctPopup"
);
}
</script>
<form name="regForm" id="regForm">
@ -247,6 +284,7 @@
<form name="confirmForm" id="confirmForm">
<input type="hidden" name="trgtNm">
<input type="hidden" name="dBirth">
<input type="hidden" name="sex">
</form>
<div class="cont_wrap" id="sub">
<div class="cont_tit">
@ -361,6 +399,10 @@
</div>
<div class="btn_right" class="aplctBtn">
<button type="button" class="btnType04" id="regBtn" data-info="<c:out value="${info.prcsAplctPrdOrd}"/>" data-tooltip="target_confirm_popup" >신청</button>
<button type="button" class="btnType04" data-tooltip=""
onclick="fncAplctPopup('<c:out value="${list.prcsAplctPrdOrd}"/>','','','10','select'
,'','',''
)" title="팝업 열림">신청</button>
</div>
</div>

View File

@ -525,7 +525,7 @@ $(document).ready(function(){
return Math.ceil((parseInt(date.substring(6,8))+fd.getDay())/7);
}
//설문 팝업
//기소유예 신청
function fncAplctPopup(
p_prcsAplctPrdOrd
, id //aplctOrd

View File

@ -228,7 +228,7 @@ $(document).ready(function(){
</div>
<div class="popup_cont">
<div class="cont_body">
<div class="cont_body">
<div class="pop_tb_type01" style="overflow:visible;">
<table>
<caption>교육대상자 확인 : 성명, 주민번호앞자리, 성별 등의 정보입력</caption>
@ -274,18 +274,21 @@ $(document).ready(function(){
<div class="btn_right">
</div>
</div>
<div class="pop_btn_wrap btn_layout01">
<div class="btn_left">
</div>
<div class="btn_center">
</div>
<div class="btn_right">
<button type="button" id="qaBtn" class="btnType05" onclick="fn_qa()" style="display:none;">문의하기</button>
</div>
</div>
<!-- <div class="pop_tb_type01" style="overflow:visible;display:none;" id="VOList"> -->
<div class="pop_tb_type01" style="display:none;" id="VOList">
<div class="pop_btn_wrap btn_layout01">
<div class="btn_left">
</div>
<div class="btn_center">
</div>
<div class="btn_right">
<button type="button" id="qaBtn" class="btnType05" onclick="fn_qa()" style="display:none;">문의하기</button>
</div>
</div>
<!-- <div class="pop_tb_type01" style="overflow:visible;" id="VOList"> -->
<div class="pop_tb_type01" style="overflow:visible;display:none;" id="VOList">
<table>
<colgroup>
<col style="width:30%;">
@ -302,11 +305,9 @@ $(document).ready(function(){
<th>검사명</th>
<th>선택</th>
</tr>
</div>
</div>
</table>
<br/><br/><br/>
</div>
</div>

View File

@ -34,12 +34,15 @@ $( document ).ready(function() {
});
function _goPage(){
history.back();
}
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.action = "<c:url value='/web/ve/instr/tngrVisitEdu/endInfo/instrEduEndList.do'/>";
listForm.submit();
var list2Form = document.list2Form ;
list2Form.pageIndex.value = pageNo ;
list2Form.action = "<c:url value='/web/ve/instr/tngrVisitEdu/endInfo/instrEduEndList.do'/>";
list2Form.submit();
}
function eduRsltRprtRegPop(){
@ -105,7 +108,7 @@ $( document ).ready(function() {
<!-- cont -->
<div class="cont_wrap" id="sub">
<form:form id="listForm" name="listForm" commandName="vEEduAplctVO" method="post">
<form:form id="list2Form" name="list2Form" commandName="vEEduAplctVO" method="post">
<input type="hidden" id="eduAplctOrd" name="eduAplctOrd" value="<c:out value="${eduAplctOrd}" />" />
<input type="hidden" id="eduChasiOrd" name="eduChasiOrd" value="<c:out value="${eduChasiOrd}" />" />
<input type="hidden" id="searchSubmitYn" name="searchSubmitYn" value="<c:out value="${vEInstrAsgnmVO.searchSubmitYn}" />" />
@ -762,7 +765,7 @@ $( document ).ready(function() {
</div>
<div class="btn_right">
<button type="button" class="btnType02 m_btn_block" onclick="linkPage(1)">목록</button>
<button type="button" class="btnType02 m_btn_block" onclick="_goPage()">목록</button>
</div>
</div>