This commit is contained in:
myname 2024-03-14 11:23:05 +09:00
commit 34be66ad53
6 changed files with 42 additions and 10 deletions

View File

@ -1914,6 +1914,8 @@ public class CndtnTrgtMngController {
try { try {
cndtnTrgtInfoMngVOList = cndtnTrgtInfoMngService.selectPagingList(cndtnTrgtInfoMngVO); cndtnTrgtInfoMngVOList = cndtnTrgtInfoMngService.selectPagingList(cndtnTrgtInfoMngVO);
cndtnTrgtInfoMngVOList = egovCryptoUtil.decryptCndtnTrgtMngVOList(cndtnTrgtInfoMngVOList);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
// TODO: handle exception // TODO: handle exception

View File

@ -1886,8 +1886,8 @@ public class CndtnPrcsInfoMngController {
, HttpServletRequest request , HttpServletRequest request
) throws Exception { ) throws Exception {
//LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기 LoginVO loginVO = checkLoginUtil.getAuthLoginVO(); //권한에 따른 로그인 정보 가져오기
//SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기 SsoLoginVO ssoLoginVO = checkLoginUtil.getSSOLoginVO(request); //SSO 로그인 정보 가져오기
//로그인 처리==================================== //로그인 처리====================================
@ -1903,7 +1903,7 @@ public class CndtnPrcsInfoMngController {
// model.addAttribute("fileListCnt", result.size()); // model.addAttribute("fileListCnt", result.size());
//대상 리스트, 페이징 정보 전달 //대상 리스트, 페이징 정보 전달
//model.addAttribute("info", info); model.addAttribute("loginId", loginVO.getId());
return "/oprtn/cndtnSspnIdtmt/popup/cnclStatusPopup"; return "/oprtn/cndtnSspnIdtmt/popup/cnclStatusPopup";
} }

View File

@ -44,9 +44,13 @@
function fn_updateCnclUpdate() { function fn_updateCnclUpdate() {
var v_msg = $('#rmrks').val(); var v_msg = $('#rmrks').val();
if(!v_msg){
alert("메모를 입력해 주세요");
return false;
}
window.opener.fn_popup_submit_cmmAjax(v_msg); window.opener.fn_popup_submit_cmmAjax(v_msg);
self.close(); // self.close();
} }
</script> </script>
</head> </head>
@ -60,7 +64,7 @@
<div class="area_popup"> <div class="area_popup">
<div class="cont_popup"> <div class="cont_popup">
<div class="pop_tb_tit01"> <div class="pop_tb_tit01">
<p>비공개 메모</p> <p>비공개 메모(<c:out value="${loginId }"/>)</p>
</div> </div>
<div> <div>
@ -85,7 +89,8 @@
<div class="btn_left"> <div class="btn_left">
</div> </div>
<div class="btn_center"> <div class="btn_center">
<button type="button" class="btn_type05" onclick="fn_updateCnclUpdate(30, 40, '취소');">등록</button> <!-- <button type="button" class="btn_type05" onclick="fn_updateCnclUpdate(30, 40, '취소');">등록</button> -->
<button type="button" class="btn_type05" id="test" onclick="fn_updateCnclUpdate();">등록</button>
<button type="button" class="btn_type02" onclick="window.close()">취소</button> <button type="button" class="btn_type02" onclick="window.close()">취소</button>
</div> </div>
<div class="btn_right"> <div class="btn_right">

View File

@ -567,6 +567,7 @@
function fn_popup_submit_cmmAjax(p_params){ function fn_popup_submit_cmmAjax(p_params){
console.log('???');
var sspnIdtmtTrgtOrdList = []; var sspnIdtmtTrgtOrdList = [];

View File

@ -60,9 +60,15 @@ $(document).ready(function(){
$('#fld').attr('type', 'hidden'); $('#fld').attr('type', 'hidden');
} }
}) });
// $('#fld').hide(); // $('#phone').keyup(function() {
// var input = $(this).val();
// console.log('input : ', input);
// // 숫자가 아닌 모든 문자를 찾아서 삭제합니다.
// var numericInput = input.replace(/[^0-9]/g, '');
// $(this).val(numericInput);
// });
}); });
@ -90,6 +96,15 @@ $(document).ready(function(){
// alert 두번 방지 if // alert 두번 방지 if
if(valChk){ if(valChk){
var phoneNumber = $('#phone').val();
// -가 없는 핸드폰 번호 형식을 검사하는 정규 표현식
var regex = /^01[0-9]{8,9}$/;
if(!regex.test(phoneNumber)) {
alert("올바른 핸드폰 번호 형식이 아닙니다.\n01012341234 형식으로 입력해 주세요");
return false;
}
if(!$('#chkY').prop("checked")){ if(!$('#chkY').prop("checked")){
alert('개인정보 처리 동의해 주세요.') alert('개인정보 처리 동의해 주세요.')
@ -98,9 +113,17 @@ $(document).ready(function(){
} }
return valChk; return valChk;
} }
function fncEduReg(){ function fncEduReg(){
if(!fnValidation()){ if(!fnValidation()){

View File

@ -72,6 +72,7 @@
//제출 //제출
function fn_new_confirm(p_prcsAplctPrdOrd){ function fn_new_confirm(p_prcsAplctPrdOrd){
var form = document.confirmForm; var form = document.confirmForm;
console.log('$("#dBirth").val() : ' , $('#dBirth').val());
var dBirth = $('#dBirth').val().replace(/\./g, ''); var dBirth = $('#dBirth').val().replace(/\./g, '');
var trgtNm = $('#trgtNm').val(); var trgtNm = $('#trgtNm').val();
var sex = $('input[name="sex"]:checked').val(); var sex = $('input[name="sex"]:checked').val();
@ -83,8 +84,8 @@
alert("성명을 입력해주세요."); alert("성명을 입력해주세요.");
return; return;
} }
console.log('dBirth : ' , dBirth);
if (dBirth==""){ if (!dBirth){
alert("주민번호앞자리를 입력해주세요."); alert("주민번호앞자리를 입력해주세요.");
return; return;
} }