이지우 - 사용자 기소유예 강의목록 > 상세 > 신청 시 휴대폰인증 처리 추가
This commit is contained in:
parent
a319299940
commit
e685f3c350
@ -224,7 +224,7 @@ public class SspnIdtmtServiceImpl implements SspnIdtmtService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//핸드폰으로 인증번호 발송
|
//핸드폰으로 인증번호 발송
|
||||||
if ("Y".equals(smsYn)) {
|
if ("Y".equals(smsYn) && !"Y".equals(cndtnTrgtInfoMngVO.getChkYn())) {
|
||||||
//인증번호 생성
|
//인증번호 생성
|
||||||
String code = RandomStringUtils.randomNumeric(6);
|
String code = RandomStringUtils.randomNumeric(6);
|
||||||
VEEduAplctVO vEEduAplctVO = new VEEduAplctVO();
|
VEEduAplctVO vEEduAplctVO = new VEEduAplctVO();
|
||||||
|
|||||||
@ -59,6 +59,8 @@ public class CndtnTrgtMngVO extends ComDefaultVO implements Serializable {
|
|||||||
|
|
||||||
private String cmptntAthrtNm; // 관할청이름 - 의뢰통지서 첨부파일에 사용
|
private String cmptntAthrtNm; // 관할청이름 - 의뢰통지서 첨부파일에 사용
|
||||||
|
|
||||||
|
private String chkYn; // 기소유예 대상자 휴대폰 인증번호 체크 여부
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String getSspnIdtmtTrgtOrd() {
|
public String getSspnIdtmtTrgtOrd() {
|
||||||
@ -265,6 +267,13 @@ public class CndtnTrgtMngVO extends ComDefaultVO implements Serializable {
|
|||||||
this.mergeStatus = mergeStatus;
|
this.mergeStatus = mergeStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String getChkYn() {
|
||||||
|
return chkYn;
|
||||||
|
}
|
||||||
|
public void setChkYn(String chkYn) {
|
||||||
|
this.chkYn = chkYn;
|
||||||
|
}
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "\n CndtnTrgtMngVO => \n"
|
return "\n CndtnTrgtMngVO => \n"
|
||||||
@ -286,6 +295,7 @@ public class CndtnTrgtMngVO extends ComDefaultVO implements Serializable {
|
|||||||
+ ", prcsAplctPrdOrdCmplt=[" + prcsAplctPrdOrdCmplt + "] // 병합인 경우 상위 병합자의 기소유예대상자순번\n"
|
+ ", prcsAplctPrdOrdCmplt=[" + prcsAplctPrdOrdCmplt + "] // 병합인 경우 상위 병합자의 기소유예대상자순번\n"
|
||||||
+ ", mergeStatus=[" + mergeStatus + "] // 병합 상태(Excel)\n"
|
+ ", mergeStatus=[" + mergeStatus + "] // 병합 상태(Excel)\n"
|
||||||
+ ", rmrks=[" + rmrks + "] // 비고\n"
|
+ ", rmrks=[" + rmrks + "] // 비고\n"
|
||||||
|
+ ", chkYn=[" + chkYn + "] // 인증여부\n"
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
public String getCmptntAthrtNm() {
|
public String getCmptntAthrtNm() {
|
||||||
|
|||||||
@ -273,7 +273,26 @@
|
|||||||
, "Y"
|
, "Y"
|
||||||
, "AplctPopup"
|
, "AplctPopup"
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
function fn_eduRegPopup(trgtNm, dBirth, sspnIdtmtTrgtOrd){
|
||||||
|
var data ={
|
||||||
|
"prcsAplctPrdOrd": $('#regForm input[name="prcsAplctPrdOrd"]').val()
|
||||||
|
, "trgtNm" : trgtNm
|
||||||
|
, "dBirth" : dBirth
|
||||||
|
, "sspnIdtmtTrgtOrd" :sspnIdtmtTrgtOrd
|
||||||
|
}
|
||||||
|
|
||||||
|
commonPopLayeropen(
|
||||||
|
"${pageContext.request.contextPath}/web/ve/aplct/sspnIdtmt/eduAplctPop.do"
|
||||||
|
// "${pageContext.request.contextPath}/web/ve/aplct/fndtnEnhanceTrn/eduAplctPop.do"
|
||||||
|
, 800
|
||||||
|
, 800
|
||||||
|
, data
|
||||||
|
, "N"
|
||||||
|
, "eduRegPopup"
|
||||||
|
);
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<form name="regForm" id="regForm">
|
<form name="regForm" id="regForm">
|
||||||
@ -287,6 +306,8 @@
|
|||||||
<input type="hidden" name="trgtNm">
|
<input type="hidden" name="trgtNm">
|
||||||
<input type="hidden" name="dBirth">
|
<input type="hidden" name="dBirth">
|
||||||
<input type="hidden" name="sex">
|
<input type="hidden" name="sex">
|
||||||
|
<input type="hidden" name="clphone">
|
||||||
|
<input type="hidden" name="chkYn">
|
||||||
</form>
|
</form>
|
||||||
<div class="cont_wrap" id="sub">
|
<div class="cont_wrap" id="sub">
|
||||||
<div class="cont_tit">
|
<div class="cont_tit">
|
||||||
@ -401,8 +422,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="btn_right" class="aplctBtn">
|
<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" id="regBtn" data-info="<c:out value="${info.prcsAplctPrdOrd}"/>" data-tooltip="target_confirm_popup" >신청</button> --%>
|
||||||
<button type="button" class="btnType04" id="regBtn" data-info="<c:out value='${list.prcsAplctPrdOrd}'/>" data-tooltip="sub36_pop02"
|
<button type="button" class="btnType04" id="regBtn" data-info="<c:out value='${info.prcsAplctPrdOrd}'/>" data-tooltip="sub36_pop02"
|
||||||
onclick="fncAplctPopup('<c:out value="${list.prcsAplctPrdOrd}"/>','','','10','select'
|
onclick="fncAplctPopup('<c:out value="${info.prcsAplctPrdOrd}"/>','','','10','select'
|
||||||
,'','',''
|
,'','',''
|
||||||
)" title="팝업 열림">신청</button>
|
)" title="팝업 열림">신청</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -581,6 +581,7 @@ $(document).ready(function(){
|
|||||||
<input type="hidden" name="dBirth">
|
<input type="hidden" name="dBirth">
|
||||||
<input type="hidden" name="sex">
|
<input type="hidden" name="sex">
|
||||||
<input type="hidden" name="clphone">
|
<input type="hidden" name="clphone">
|
||||||
|
<input type="hidden" name="chkYn">
|
||||||
</form>
|
</form>
|
||||||
<form name="regForm" id="regForm">
|
<form name="regForm" id="regForm">
|
||||||
<input type="hidden" name="prcsAplctPrdOrd">
|
<input type="hidden" name="prcsAplctPrdOrd">
|
||||||
|
|||||||
@ -71,7 +71,6 @@
|
|||||||
|
|
||||||
//제출
|
//제출
|
||||||
function fn_new_confirm(p_prcsAplctPrdOrd){
|
function fn_new_confirm(p_prcsAplctPrdOrd){
|
||||||
|
|
||||||
var form = document.confirmForm;
|
var form = document.confirmForm;
|
||||||
var dBirth = $('#dBirth').val().replace(/\./g, '');
|
var dBirth = $('#dBirth').val().replace(/\./g, '');
|
||||||
var trgtNm = $('#trgtNm').val();
|
var trgtNm = $('#trgtNm').val();
|
||||||
@ -102,6 +101,7 @@
|
|||||||
form.dBirth.value = dBirth;
|
form.dBirth.value = dBirth;
|
||||||
form.sex.value = sex;
|
form.sex.value = sex;
|
||||||
form.clphone.value = clphone;
|
form.clphone.value = clphone;
|
||||||
|
form.chkYn.value = chkYn;
|
||||||
|
|
||||||
var data = new FormData(document.getElementById("confirmForm"));
|
var data = new FormData(document.getElementById("confirmForm"));
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user