Explorar o código

아이디 비밀번호 찾기 페이지 합침

jsshin %!s(int64=4) %!d(string=hai) anos
pai
achega
719950edc4

+ 2 - 39
src/main/java/com/style24/front/biz/web/TsfCustomerController.java

@@ -69,30 +69,11 @@ public class TsfCustomerController extends TsfBaseController {
 	private TsfCommonService commonService;
 
 	/**
-	 * 아이디 찾기 화면
+	 * 아이디 비밀번호 찾기 화면
 	 *
 	 * @return ModelAndView
 	 * @author jsshin
-	 * @since 2021. 02. 05
-	 */
-	@RequestMapping("/id/find/form")
-	public ModelAndView idFindForm(@RequestParam(value = "sEncData", required = false) String sEncData, @RequestParam(value = "authMethod", required = false) String authMethod) {
-
-		ModelAndView mav = new ModelAndView();
-
-		mav.addObject("sEncData", sEncData);
-		mav.addObject("authMethod", authMethod);
-
-		mav.setViewName(super.getDeviceViewName("customer/IdFindForm"));
-		return mav;
-	}
-
-	/**
-	 * 아이디 찾기 화면
-	 *
-	 * @return ModelAndView
-	 * @author jsshin
-	 * @since 2021. 02. 05
+	 * @since 2021. 07. 19
 	 */
 	@RequestMapping("/id/pwd/find/form")
 	public ModelAndView idPwdFindForm(@RequestParam(value = "sEncData", required = false) String sEncData
@@ -161,24 +142,6 @@ public class TsfCustomerController extends TsfBaseController {
 		return result;
 	}
 
-	/**
-	 * 비밀번호 찾기 화면
-	 *
-	 * @return ModelAndView
-	 * @author jsshin
-	 * @since 2021. 02. 05
-	 */
-	@RequestMapping("/password/find/form")
-	public ModelAndView pwdFindForm(@RequestParam(value = "sEncData", required = false) String sEncData, @RequestParam(value = "authMethod", required = false) String authMethod) {
-
-		ModelAndView mav = new ModelAndView();
-		mav.addObject("sEncData", sEncData);
-		mav.addObject("authMethod", authMethod);
-
-		mav.setViewName(super.getDeviceViewName("customer/PasswordFindForm"));
-		return mav;
-	}
-
 	/**
 	 * 비밀번호 찾기 - 고객정보 찾기
 	 * @param customer - 고객정보

+ 4 - 2
src/main/webapp/WEB-INF/views/mob/customer/IdAndPwdFindFormMob.html

@@ -396,6 +396,7 @@
 
 	// 아이디 찾기실패
 	var fnGetDisplayCustIdFail = function (authMethod) {
+		$('.registration_nav').hide();
 		if (authMethod === 'custInfo') {
 			$('#failCustInfoId').show();
 		}
@@ -446,7 +447,7 @@
 		}
 	};
 
-	// 찾기성공
+	// 비밀번호 찾기성공
 	var fnGetDisplayCustPwdSucc = function (authMethod, custInfo) {
 		if (custInfo.authMethod === 'custInfo') {
 			$('#sendEmail').text(custInfo.maskingEmail)
@@ -457,8 +458,9 @@
 		}
 	};
 
- 	// 찾기실패
+ 	// 비밀번호 찾기실패
 	var fnGetDisplayCustPwdFail = function (authMethod) {
+		$('.registration_nav').hide();
 		if (authMethod === 'custInfo') {
 			$('#failCustInfoPwd').show();
 		}

+ 0 - 339
src/main/webapp/WEB-INF/views/mob/customer/IdFindFormMob.html

@@ -1,339 +0,0 @@
-<!DOCTYPE html>
-<html lang="ko"
-	xmlns:th="http://www.thymeleaf.org"
-	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
-	layout:decorator="mob/common/layout/LoginLayoutMob">
-<!--
- *******************************************************************************
- * @source  : IdFindFormMob.html
- * @desc    : 아이디 찾기 Page
- *============================================================================
- * STYLE24
- * Copyright(C) 2020 TSIT, All rights reserved.
- *============================================================================
- * VER  DATE         AUTHOR      DESCRIPTION
- * ===  ===========  ==========  =============================================
- * 1.0  2021.04.12   jsshin     최초 작성
- *******************************************************************************
- -->
-<body>
-<th:block layout:fragment="content">
-	<main class="container mb">
-		<!-- ★ 컨텐츠 시작 -->
-		<section class="content mb_idInquiry_1">
-			<div class="inner">
-				<div class="close">
-					<a href="javascript:history.back(-1);" class="btn_close"><span></span><span></span></a>
-				</div>
-			</div>
-			<div class="inner">
-				<h2 class="title">아이디/비밀번호찾기</h2>
-			</div>
-			<div class="inner">
-				<div class="registration_nav">
-					<ul class="tab_btn">
-						<li class="active">
-							<a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_CUSTOMER_ID_FIND);">아이디찾기</a>
-						</li>
-						<li>
-							<a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_CUSTOMER_PWD_FIND);">비밀번호 찾기</a>
-						</li>
-					</ul>
-				</div>
-				<div class="registration_tap">
-					<div class="form_group">
-						<!-- 라디오탭 -->
-						<div id="searchDiv" class="radio_nav">
-							<ul class="form_field">
-								<li class="ui_col_4 active">
-									<input type="radio" name="radio1" id="rdi1-1" value="1" checked><label for="rdi1-1"> <span>회원정보인증</span> </label>
-								</li>
-								<li class="ui_col_4">
-									<input type="radio" name="radio1" id="rdi1-2" value="2"><label for="rdi1-2"> <span>휴대폰인증</span> </label>
-								</li>
-								<li class="ui_col_4">
-									<input type="radio" name="radio1" id="rdi1-3" value="3"><label for="rdi1-3"> <span>아이핀인증</span> </label>
-								</li>
-							</ul>
-						</div>
-						<!-- //라디오탭 -->
-						<!-- 라디오탭 -->
-						<div class="radio_tap">
-							<div class="form_group">
-								<form id="searchCustInfo" name="searchCustInfo" class="form_wrap form_full" method="post">
-									<div>
-										<div class="form_field mt0">
-											<input type="text" name="custNm" placeholder="이름" id="custNm" class="form_control" maxlength="30"/>
-										</div>
-										<div class="form_field">
-											<input type="text" name="birthYmd" placeholder="생년월일 8자리 (예:19880912)" id="birthYmd" class="form_control"/>
-										</div>
-										<div class="form_field">
-											<input type="text" name="email" placeholder="이메일" id="email" class="form_control"/>
-										</div>
-										<div class="btn_group_flex">
-											<div>
-												<button type="button" id="btnInfoConfirm" class="btn btn_dark">확인</button>
-											</div>
-										</div>
-									</div>
-								</form>
-							</div>
-							<div class="form_group" style="display: none;">
-								<div class="form_wrap form_full">
-									<div>
-										<div class="txt">
-												회원님의 명의로 등록된 휴대폰으로<br>
-												본인확인을 진행합니다.
-										</div>
-										<div class="btn_group_flex">
-											<div>
-												<button type="button" id="btnCellPhoneCertify" class="btn btn_dark">
-													본인명의 휴대폰으로 인증
-												</button>
-											</div>
-										</div>
-									</div>
-								</div>
-							</div>
-							<div class="form_group" style="display: none;">
-								<div class="form_wrap form_full">
-									<div>
-										<div class="txt">
-											아이핀 인증을 통해 찾을 수 있습니다.
-										</div>
-										<div class="btn_group_flex">
-											<div>
-												<button type="button" id="btnIpinCertify" class="btn btn_dark">
-													아이핀 인증
-												</button>
-											</div>
-										</div>
-									</div>
-								</div>
-							</div>
-						</div>
-					</div>
-				</div>
-				<!-- 아이디찾기 결과 -->
-				<div id="succeedCustId" class="form_wrap form_full" style="display: none;">
-					<div class="find_result clear">
-						<div class="form_info">
-							<span class="ico_content_find"></span>
-							<p>아이디 찾기 결과 안내</p>
-						</div>
-						<div class="form_print_bar mt40">
-							<ul>
-								<li>
-									<span class="t_span">아이디</span>
-									<span id="resultId" name="resultId" class="c_primary bold" data-font="lato"></span>
-								</li>
-								<li>
-									<span class="t_span">가입일자</span>
-									<span id="joinDt" name="joinDt" class="bold" data-font="lato"></span>
-								</li>
-								<li id="liJoinPath">
-									<span class="t_span">가입경로</span>
-									<span id="joinPath" name="joinPath" class="bold" data-font="lato"></span>
-								</li>
-							</ul>
-						</div>
-						<div class="btn_group_flex">
-							<div>
-								<button type="button" class="btn btn_dark btn_block" onclick="cfnGoToPage(_PAGE_LOGIN);">로그인 하기</button>
-							</div>
-						</div>
-					</div>
-				</div>
-				<!-- //아이디찾기 결과 -->
-				<!-- 회원정보로 아이디찾기 실패일경우 -->
-				<div id="failCustId" class="form_wrap form_full" style="display: none;">
-					<div class="find_result clear">
-						<div class="form_info">
-							<span class="ico_content_none"></span>
-							<p>입력한 정보와 일치하는 아이디가 존재하지 않습니다.</p>
-							<p class="t_info mt10">
-								정확한 확인을 위해 휴대폰 인증/아이핀 인증을 통한<br>아이디 찾기를 진행해 주세요.
-							</p>
-						</div>
-						<div class="btn_group_flex">
-							<div>
-								<button type="button" class="btn btn_primary btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_JOIN_TYPE);">
-									<span>회원가입</span>
-								</button>
-							</div>
-							<div>
-								<button type="button" class="btn btn_dark btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_ID_FIND);">
-									<span>다시 찾기</span>
-								</button>
-							</div>
-						</div>
-					</div>
-				</div>
-				<!-- //회원정보로 아이디찾기 실패일경우 -->
-				<!-- 휴대폰,아이핀 본인인증으로 아이디찾기 실패일경우 -->
-				<div id="failAuthentication" class="form_wrap form_full" style="display: none;">
-					<div class="find_result clear">
-						<div class="form_info">
-							<span class="ico_content_none"></span>
-							<p>입력한 정보와 일치하는 아이디가 존재하지 않습니다.</p>
-							<p class="t_info mt10">
-								<span class="c_primary">STYLE24의 새로운 가족이 되어 주세요!</span>
-							</p>
-						</div>
-						<div class="btn_group_flex">
-							<div>
-								<button type="button" class="btn btn_primary btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_JOIN_TYPE);">
-									<span>회원가입</span>
-								</button>
-							</div>
-						</div>
-					</div>
-				</div>
-				<!-- //휴대폰,아이핀 본인인증으로 아이디찾기 실패일경우 -->
-			</div>
-		</section>
-		<!-- ★ 컨텐츠 종료 -->
-	</main>
-<script th:src="@{'/biz/customer.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/biz/customer.js"></script>
-<script th:inline="javascript">
-/*<![CDATA[*/
-	const sEncData = [[${sEncData}]];   //인증 후 해당 페이지로 리다이렉트함
-	const authMethod = [[${authMethod}]]; //인증 후 해당 페이지로 리다이렉트함
-
-	// 회원정보로 아이디 찾기
-	$('#btnInfoConfirm').on('click', function() {
-		let custInfo = $('#searchCustInfo').serializeObject();
-
-		if (gagajf.isNull(custInfo.custNm)) {
-			mcxDialog.alert('이름을 형식에 맞게 입력해주세요.');
-			return;
-		}
-
-		if (gagajf.isNull(custInfo.email)) {
-			mcxDialog.alert('이메일을 입력하여 주세요.');
-			return;
-		}
-
-		if (!fnCheckValidationEmail(custInfo.email)) {
-			mcxDialog.alert('이메일 형식에 맞게 입력해주세요.');
-			return;
-		}
-		custInfo.authMethod = 'custInfo';
-
-		let jsonData = JSON.stringify(custInfo);
-		//console.log('jsonData', jsonData);
-		gagajf.ajaxJsonSubmit('/customer/id/find', jsonData, fnInfoConfirmCallBack);
-	});
-
-	// 찾기결과
-	var fnInfoConfirmCallBack = function (result) {
-		$('#btnInfoConfirm').hide();
-		$('#searchDiv').hide();
-		$('.regist_box').hide();
-		$('.form_field').hide();
-		if (result.isFind) {
-			fnGetDisplaySucc(result.authMethod, result);
-		} else {
-			fnGetDisplayFail(result.authMethod);
-		}
-	};
-
-	// 찾기성공
-	var fnGetDisplaySucc = function (authMethod, custInfo) {
-		$('#resultId').text(custInfo.maskingCustId);
-		$('#joinDt').text(fnToDateFormat(custInfo.joinDt));
-		let joinPath = fnSnsJoinPath(custInfo); // 가입경로 : 직접이면 표시 안함, 간편가입 연동 표시
-		if (!gagajf.isNull(joinPath)) {
-			$('#liJoinPath').show();
-			$('#joinPath').text(joinPath);
-		}
-		$('#succeedCustId').show();
-	};
-
-	// 찾기실패
-	var fnGetDisplayFail = function (authMethod) {
-		$('.registration_nav').hide();
-		if (authMethod === 'custInfo') {
-			$('#failCustId').show();
-		}
-		if (authMethod === 'mobile' || authMethod === 'ipin') {
-			$('#failAuthentication').show();
-		}
-	};
-
-	// 가입경로
-	var fnSnsJoinPath = function (custInfo) {
-		let snsType = '';
-		if (!gagajf.isNull(custInfo.ysJoinDt)) {
-			snsType += 'YES24';
-		}
-		if (!gagajf.isNull(custInfo.nvJoinDt)) {
-			if (!gagajf.isNull(snsType)) {
-				snsType += '/'
-			}
-			snsType = 'NAVER'
-		}
-		if (!gagajf.isNull(custInfo.kkJoinDt)) {
-			if (!gagajf.isNull(snsType)) {
-				snsType += '/'
-			}
-			snsType += 'KAKAO';
-		}
-		if (!gagajf.isNull(snsType)) {
-			snsType += ' 연동';
-		} else {
-			snsType += 'STYLE24';
-		}
-		return snsType;
-	};
-
-	// 휴대폰 인증
-	$('#btnCellPhoneCertify').on('click', function () {
-		cfnOpenCellphoneCertify(_PAGE_CUSTOMER_ID_FIND);
-	});
-
-	// 아이핀 인증
-	$('#btnIpinCertify').on('click', function () {
-		cfnOpenIpinCertify(_PAGE_CUSTOMER_ID_FIND);
-	});
-
-	// 나이스 본인인증 후 콜백
-	var fnNiceCallBack = function(encData, authMethod) {
-		if (!gagajf.isNull(encData)) {
-			let custInfo = {};
-			custInfo.encData = encData;
-			custInfo.authMethod = authMethod;
-			let jsonData = JSON.stringify(custInfo);
-			gagajf.ajaxJsonSubmit('/customer/id/find', jsonData, fnInfoConfirmCallBack)
-		}
-	};
-
-	$(document).ready(function () {
-		if (!gagajf.isNull(sEncData)) {
-			fnNiceCallBack(sEncData, authMethod);
-		}
-
-		/* 회원정보인증/휴대폰인증/아이핀인증_taps */
-		$('.radio_tap > .form_group').hide();
-		$('.radio_tap > .form_group').eq(0).show();
-		$('.radio_tap').each(function(){
-			$(this).find('.form_group').hide();
-			$(this).find('.form_group').eq(0).show();
-		});
-
-		$(document).on('click','.radio_nav > ul > li',function(e){
-			$(this).addClass('active').siblings().removeClass('active');
-			$(this).find('input').prop("checked", true);
-			$(this).parent().parent().parent().find('.radio_tap > .form_group').hide();
-			$(this).parent().parent().parent().find('.radio_tap > .form_group').eq($(this).index()).show();
-			return false;
-		});
-	});
-
-/*]]>*/
-</script>
-
-</th:block>
-</body>
-</html>

+ 0 - 305
src/main/webapp/WEB-INF/views/mob/customer/PasswordFindFormMob.html

@@ -1,305 +0,0 @@
-<!DOCTYPE html>
-<html lang="ko"
-	xmlns:th="http://www.thymeleaf.org"
-	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
-	layout:decorator="mob/common/layout/LoginLayoutMob">
-<!--
- *******************************************************************************
- * @source  : PasswordFindFormMob.html
- * @desc    : 비밀번호 찾기 Page
- *============================================================================
- * STYLE24
- * Copyright(C) 2020 TSIT, All rights reserved.
- *============================================================================
- * VER  DATE         AUTHOR      DESCRIPTION
- * ===  ===========  ==========  =============================================
- * 1.0  2021.04.12   jsshin     최초 작성
- *******************************************************************************
- -->
-<body>
-<th:block layout:fragment="content">
-    <main class="container mb">
-    <!-- ★ 컨텐츠 시작 -->
-        <section class="content mb_idInquiry_1">
-            <div class="inner">
-                <div class="close">
-                    <a href="javascript:history.back(-1);" class="btn_close"><span></span><span></span></a>
-                </div>
-            </div>
-            <div class="inner">
-                <h2 class="title">아이디/비밀번호찾기</h2>
-            </div>
-            <div class="inner">
-                <div class="registration_nav">
-                    <ul class="tab_btn">
-                        <li>
-                            <a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_CUSTOMER_ID_FIND);">아이디찾기</a>
-                        </li>
-                        <li class="active">
-                            <a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_CUSTOMER_PWD_FIND);">비밀번호 찾기</a>
-                        </li>
-                    </ul>
-                </div>
-                <div class="registration_tap">
-                    <div class="form_group">
-                        <!-- 라디오탭 -->
-                        <div class="radio_nav">
-                            <ul class="form_field">
-                                <li class="ui_col_4 active">
-                                    <input type="radio" name="radio1" id="rdi1-1" value="1" checked><label for="rdi1-1"> <span>회원정보인증</span> </label>
-                                </li>
-                                <li class="ui_col_4">
-                                    <input type="radio" name="radio1" id="rdi1-2" value="2"><label for="rdi1-2"> <span>휴대폰인증</span> </label>
-                                </li>
-                                <li class="ui_col_4">
-                                    <input type="radio" name="radio1" id="rdi1-3" value="3"><label for="rdi1-3"> <span>아이핀인증</span> </label>
-                                </li>
-                            </ul>
-                        </div>
-                         <!-- //라디오탭 -->
-                          <!-- 라디오탭 -->
-                        <div class="radio_tap">
-                            <div class="form_group">
-                                <form id="searchCustInfo" name="searchCustInfo" class="form_wrap form_full" method="post">
-                                    <div>
-                                        <div class="form_field mt0">
-                                            <input type="text" name="custId" placeholder="아이디" id="custId" class="form_control" minlength="4" maxlength="12"/>
-                                        </div>
-                                        <div class="form_field">
-                                            <input type="text" name="custNm" placeholder="이름" id="custNm" class="form_control" maxlength="30"/>
-                                        </div>
-                                        <div class="form_field">
-                                            <input type="text" name="email" placeholder="이메일" id="email" class="form_control" maxlength="30"/>
-                                        </div>
-                                            <div class="btn_group_flex">
-                                                <div>
-                                                    <button type="button" id="btnInfoConfirm" class="btn btn_dark">확인</button>
-                                                </div>
-                                            </div>
-                                    </div>
-                                </form>
-                            </div>
-                            <div class="form_group" style="display: none;">
-                                <div class="form_wrap form_full">
-                                    <div>
-                                        <div class="txt">
-                                            회원님의 명의로 등록된 휴대폰으로<br>
-                                            본인확인을 진행합니다.
-                                        </div>
-                                        <div class="btn_group_flex">
-                                            <div>
-                                                <button type="button" id="btnCellPhoneCertify" class="btn btn_dark">본인명의 휴대폰으로 인증</button>
-                                            </div>
-                                        </div>
-                                    </div>
-                                </div>
-                            </div>
-                            <div class="form_group" style="display: none;">
-                                <div class="form_wrap form_full">
-                                    <div>
-                                        <div class="txt">
-                                            아이핀 인증을 통해 찾을 수 있습니다.
-                                        </div>
-                                        <div class="btn_group_flex">
-                                            <div>
-                                                <button type="button" id="btnIpinCertify" class="btn btn_dark">아이핀 인증</button>
-                                            </div>
-                                        </div>
-                                    </div>
-                                </div>
-                            </div>
-                        </div>
-                         <!-- //라디오탭 -->
-                    </div>
-                </div>
-                <!-- 임시비밀번호 발급 -->
-                <div id="sendEmailDiv" class="find_result clear" style="display: none;">
-                    <div class="form_info">
-                        <span class="ico_content_mail"></span>
-                        <p>아래의 이메일로 임시비밀번호가 발급되었습니다.</p>
-                        <p class="t_info mt10">
-                            로그인 시 비밀번호를 새로 설정하신 후 이용하실 수 있습니다.
-                        </p>
-                    </div>
-                    <div class="form_print_bar mt40">
-                        <p id="sendEmail" class="c_primary bold" data-font="lato"></p>
-                    </div>
-                    <div class="btn_group_block btn_group_md ui_row">
-                        <div class="ui_col_12">
-                            <button type="button" class="btn btn_dark btn_block" onclick="cfnGoToPage(_PAGE_LOGIN);">
-                                <span>로그인 하기</span>
-                            </button>
-                        </div>
-                    </div>
-                </div>
-                <!-- //임시비밀번호 발급 -->
-                <!-- 회원정보로 비밀번호 찾기 실패일경우 -->
-                <div id="failCustId" class="form_wrap form_full" style="display: none;">
-                    <div class="find_result clear">
-                        <div class="form_info">
-                            <span class="ico_content_none"></span>
-                            <p>입력한 정보와 일치하는 아이디가 존재하지 않습니다.</p>
-                            <p class="t_info mt10">
-                                정확한 확인을 위해 휴대폰 인증/아이핀 인증을 통한<br>아이디 찾기를 진행해 주세요.
-                            </p>
-                        </div>
-                        <div class="btn_group_flex">
-                            <div>
-                                <button type="button" class="btn btn_primary btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_JOIN_TYPE);">
-                                    <span>회원가입</span>
-                                </button>
-                            </div>
-                            <div>
-                                <button type="button" class="btn btn_dark btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_PWD_FIND);">
-                                    <span>다시 찾기</span>
-                                </button>
-                            </div>
-                        </div>
-                    </div>
-                </div>
-                <!-- //회원정보로 비밀번호 찾기 실패일경우 -->
-                <!-- 휴대폰,아이핀 본인인증으로 비밀번호찾기 실패일경우 -->
-                <div id="failAuthentication" class="form_wrap form_full" style="display: none;">
-                    <div class="find_result clear">
-                        <div class="form_info">
-                            <span class="ico_content_none"></span>
-                            <p>입력한 정보와 일치하는 아이디가 존재하지 않습니다.</p>
-                            <p class="t_info mt10">
-                                <span class="c_primary">STYLE24의 새로운 가족이 되어 주세요!</span>
-                            </p>
-                        </div>
-                        <div class="btn_group_flex">
-                            <div>
-                                <button type="button" class="btn btn_primary btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_JOIN_TYPE);">
-                                    <span>회원가입</span>
-                                </button>
-                            </div>
-                        </div>
-                    </div>
-                </div>
-                <!-- //휴대폰,아이핀 본인인증으로 비밀번호찾기 실패일경우 -->
-             </div>
-        </section>
-        <!-- ★ 컨텐츠 종료 -->
-    </main>
-<script th:src="@{'/biz/customer.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/biz/customer.js"></script>
-<script th:inline="javascript">
-/*<![CDATA[*/
-	const sEncData = [[${sEncData}]];   //인증 후 해당 페이지로 리다이렉트함
-	const authMethod = [[${authMethod}]]; //인증 후 해당 페이지로 리다이렉트함
-
-    $('#btnInfoConfirm').on('click', function () {
-        let custInfo = $('#searchCustInfo').serializeObject();
-
-        if(gagajf.isNull(custInfo.custId)) {
-            mcxDialog.alert("아이디를 입력해주세요.");
-            return;
-        }
-
-        if (gagajf.isNull(custInfo.custNm)) {
-            mcxDialog.alert('이름을 형식에 맞게 입력해주세요.');
-            return;
-        }
-
-        if (gagajf.isNull(custInfo.email)) {
-            mcxDialog.alert('이메일을 입력하여 주세요.');
-            return;
-        }
-
-        if (!fnCheckValidationEmail(custInfo.email)) {
-            mcxDialog.alert('이메일 형식에 맞게 입력해주세요.');
-            return;
-        }
-
-        custInfo.authMethod = 'custInfo';
-        let jsonData = JSON.stringify(custInfo);
-        //console.log('jsonData', jsonData);
-        gagajf.ajaxJsonSubmit('/customer/password/find/custinfo', jsonData, fnInfoConfirmCallBack);
-    });
-
-    // 휴대폰 인증
-    $('#btnCellPhoneCertify').on('click', function () {
-        cfnOpenCellphoneCertify(_PAGE_CUSTOMER_PWD_FIND);
-    });
-
-    // 아이핀 인증
-    $('#btnIpinCertify').on('click', function () {
-        cfnOpenIpinCertify(_PAGE_CUSTOMER_PWD_FIND);
-    });
-
-        // 찾기결과
-    var fnInfoConfirmCallBack = function (result) {
-        $('#btnInfoConfirm').hide();
-        $('.form_field').hide();
-        $('.registration_cont').hide();
-        $('.registration_nav').hide();
-        $('#searchDiv').hide();
-        if (result.isFind) {
-            fnGetDisplaySucc(result.authMethod, result);
-        } else {
-            fnGetDisplayFail(result.authMethod);
-        }
-    };
-
-    // 찾기성공
-    var fnGetDisplaySucc = function (authMethod, custInfo) {
-        if (custInfo.authMethod === 'custInfo') {
-            $('#sendEmail').text(custInfo.maskingEmail)
-            $('#sendEmailDiv').show();
-        }
-        if (authMethod === 'mobile' || authMethod === 'ipin') {
-            cfnGoToPage(_PAGE_CUSTOMER_PWD_CHANGE_FIND);
-        }
-    };
-
-
-	// 찾기실패
-	var fnGetDisplayFail = function (authMethod) {
-		$('.form_head').hide();
-		$('.registration_nav').hide();
-		if (authMethod === 'custInfo') {
-			$('#failCustId').show();
-		}
-		if (authMethod === 'mobile' || authMethod === 'ipin') {
-			$('#failAuthentication').show();
-		}
-
-	};
-
-    // 나이스 본인인증 후 콜백
-    var fnNiceCallBack = function(encData, authMethod) {
-        if (!gagajf.isNull(encData)) {
-            let custInfo = {};
-            custInfo.encData = encData;
-            custInfo.authMethod = authMethod;
-            let jsonData = JSON.stringify(custInfo);
-            gagajf.ajaxJsonSubmit('/customer/password/find/certify', jsonData, fnInfoConfirmCallBack)
-        }
-    };
-
-    $(document).ready(function () {
-        if (!gagajf.isNull(sEncData)) {
-            fnNiceCallBack(sEncData, authMethod);
-        }
-
-        /* 회원정보인증/휴대폰인증/아이핀인증_taps */
-        $('.radio_tap > .form_group').hide();
-        $('.radio_tap > .form_group').eq(0).show();
-        $('.radio_tap').each(function(){
-            $(this).find('.form_group').hide();
-            $(this).find('.form_group').eq(0).show();
-        });
-
-        $(document).on('click','.radio_nav > ul > li',function(e){
-            $(this).addClass('active').siblings().removeClass('active');
-            $(this).find('input').prop("checked", true);
-            $(this).parent().parent().parent().find('.radio_tap > .form_group').hide();
-            $(this).parent().parent().parent().find('.radio_tap > .form_group').eq($(this).index()).show();
-            return false;
-        });
-    });
-/*]]>*/
-</script>
-</th:block>
-</body>
-</html>

+ 11 - 3
src/main/webapp/WEB-INF/views/web/customer/IdAndPwdFindFormWeb.html

@@ -90,7 +90,7 @@
 								</div>
 								<!-- //회원정보인증 -->
 								<!-- 휴대폰인증 -->
-								<div class="regist_box" style="display: none;">
+								<div class="regist_box">
 									<div class="txt">
 										<p>회원님의 명의로 등록된 휴대폰으로 본인확인을 진행합니다.</p>
 									</div>
@@ -104,7 +104,7 @@
 								</div>
 								<!-- //휴대폰인증 -->
 								<!-- 아이핀인증 -->
-								<div class="regist_box" style="display: none;">
+								<div class="regist_box">
 									<div class="txt">
 										<p>아이핀 인증을 통해 찾을 수 있습니다.</p>
 									</div>
@@ -376,6 +376,7 @@
 		$('#btnCustIdConfirm').hide();
 		$('#searchCustIdDiv').hide();
 		$('#searchCustId').hide();
+		$('.form_group').eq(0).find('.regist_box').removeClass('on');
 		if (result.isFind) {
 			fnGetDisplayCustIdSucc(result.authMethod, result);
 		} else {
@@ -397,6 +398,7 @@
 
 	// 아이디 찾기실패
 	var fnGetDisplayCustIdFail = function (authMethod) {
+		$('.registration_nav').hide();
 		if (authMethod === 'custInfo') {
 			$('#failCustInfoId').show();
 		}
@@ -439,6 +441,7 @@
 		$('#btnCustPwdConfirm').hide();
 		$('#searchPwdDiv').hide();
 		$('#searchCustPwd').hide();
+		$('.form_group').eq(1).find('.regist_box').removeClass('on');
 		if (result.isFind) {
 			fnGetDisplayCustPwdSucc(result.authMethod, result);
 		} else {
@@ -459,7 +462,6 @@
 
 	// 패스워드 찾기실패
 	var fnGetDisplayCustPwdFail = function (authMethod) {
-		$('.form_head').hide();
 		$('.registration_nav').hide();
 		if (authMethod === 'custInfo') {
 			$('#failCustInfoPwd').show();
@@ -524,11 +526,17 @@
 		return snsType;
 	};
 
+
 	$(document).ready( function() {
 		let index = pageGb !== 'custId' ? 1 : 0;
 		$('.registration_tap > .form_group').hide();
 		$('.registration_tap > .form_group').eq(index).show();
 
+		$(document).on('click','.registration_nav > ul > li',function(e){
+			$('#searchCustId')[0].reset();
+			$('#searchCustPwd')[0].reset();
+		});
+
 		$(document).on('click','.mb .registration_tap > .form_group > .form_field > div',function(e){
 			// form 데이터 리셋
 			$('#searchCustId')[0].reset();

+ 0 - 335
src/main/webapp/WEB-INF/views/web/customer/IdFindFormWeb.html

@@ -1,335 +0,0 @@
-<!DOCTYPE html>
-<html lang="ko"
-	  xmlns:th="http://www.thymeleaf.org"
-	  xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
-	  layout:decorator="web/common/layout/DefaultLayoutWeb">
-<!--
- *******************************************************************************
- * @source  : IdFindFormWeb.html
- * @desc    : 아이디 비번 찾기 Page
- *============================================================================
- * STYLE24
- * Copyright(C) 2021 TSIT, All rights reserved.
- *============================================================================
- * VER  DATE         AUTHOR      DESCRIPTION
- * ===  ===========  ==========  =============================================
- * 1.0  2021.02.05   jsshin     최초 작성
- *******************************************************************************
- -->
-<body>
-
-<th:block layout:fragment="content">
-	<div id="container" class="container mb">
-		<div class="wrap">
-			<div class="content find"> <!-- 페이지특정 클래스 = find -->
-				<div class="cont_head">
-					<h4>아이디&#47;비밀번호 찾기</h4>
-				</div>
-				<div class="cont_body">
-					<form id="searchCustInfo" name="searchCustInfo" class="form_wrap form_col_c" role="form" method="post">
-						<div class="registration_nav">
-							<ul>
-								<li class="active">
-									<a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_CUSTOMER_ID_FIND);">아이디 찾기</a>
-								</li>
-								<li>
-									<a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_CUSTOMER_PWD_FIND);">비밀번호 찾기</a>
-								</li>
-							</ul>
-						</div>
-						<!-- new -->
-						<div class="registration_tap">
-							<div class="form_group" style="display: block;">
-								<!-- 아이디찾기일경우 -->
-								<div id="searchDiv" class="form_field">
-									<div>
-										<input type="radio" name="rdi-mbCertify1" id="rdi-mbCertify11" checked="checked"/>
-										<label for="rdi-mbCertify11"><span>회원정보인증</span></label>
-									</div>
-									<div>
-										<input type="radio" name="rdi-mbCertify1" id="rdi-mbCertify12"/>
-										<label for="rdi-mbCertify12"><span>휴대폰인증</span></label>
-									</div>
-									<div>
-										<input type="radio" name="rdi-mbCertify1" id="rdi-mbCertify13"/>
-										<label for="rdi-mbCertify13"><span>아이핀인증</span></label>
-									</div>
-								</div>
-								<div class="registration_cont">
-									<!-- 회원정보인증 -->
-									<div class="regist_box on">
-										<div class="form_field">
-											<label class="input_label sr-only">이름</label>
-											<div class="ui_col_12">
-												<div class="input_wrap">
-													<input type="text" name="custNm" placeholder="이름" id="custNm" class="form_control" maxlength="30"/>
-												</div>
-											</div>
-										</div>
-										<div class="form_field">
-											<label class="input_label sr-only">생년월일 8자리 (예:19880912)</label>
-											<div class="ui_col_12">
-												<div class="input_wrap">
-													<input type="text" name="birthYmd" placeholder="생년월일 8자리 (예:19880912)" id="birthYmd" class="form_control" maxlength="8" data-valid-type="numeric"/>
-												</div>
-											</div>
-										</div>
-										<div class="form_field">
-											<label class="input_label sr-only">이메일</label>
-											<div class="ui_col_12">
-												<div class="input_wrap">
-													<input type="text" name="email" placeholder="이메일" id="email" class="form_control" maxlength="30"/>
-												</div>
-											</div>
-										</div>
-										<div class="btn_group_block ui_row mt20">
-											<div class="ui_col_12">
-												<button type="button" id="btnInfoConfirm" class="btn btn_dark btn_block">
-													<span>확인</span>
-												</button>
-											</div>
-										</div>
-									</div>
-									<!-- //회원정보인증 -->
-									<!-- 휴대폰인증 -->
-									<div class="regist_box">
-										<div class="txt">
-											<p>회원님의 명의로 등록된 휴대폰으로<br>본인확인을 진행합니다.</p>
-										</div>
-										<div class="ui_row mt20">
-											<div class="ui_col_12">
-												<button type="button" id="btnCellPhoneCertify" class="btn btn_dark btn_block">
-													<span>본인명의 휴대폰으로 인증</span>
-												</button>
-											</div>
-										</div>
-									</div>
-									<!-- //휴대폰인증 -->
-									<!-- 아이핀인증 -->
-									<div class="regist_box">
-										<div class="txt">
-											<p>아이핀 인증을 통해 찾을 수 있습니다.</p>
-										</div>
-										<div class="ui_row mt20">
-											<div class="ui_col_12">
-												<button type="button" id="btnIpinCertify" class="btn btn_dark btn_block">
-													<span>아이핀 인증</span>
-												</button>
-											</div>
-										</div>
-									</div>
-									<!-- //아이핀인증 -->
-								</div>
-								<!-- //아이디찾기일경우 -->
-								<!-- 아이디찾기 성공일경우 -->
-								<div id="succeedCustId" class="find_result clear hide">
-									<div class="form_info">
-										<span class="ico_content_find"></span>
-										<p>아이디 찾기 결과 안내</p>
-									</div>
-									<div class="form_print_bar mt40">
-										<ul>
-											<li>
-												<span class="t_span">아이디</span>
-												<span id="resultId" name="resultId" class="c_primary bold" data-font="lato"></span>
-											</li>
-											<li>
-												<span class="t_span">가입일자</span>
-												<span id="joinDt" name="joinDt" class="bold" data-font="lato"></span>
-											</li>
-											<li id="liJoinPath" class="hide">
-												<span class="t_span">가입경로</span>
-												<span id="joinPath" name="joinPath" class="bold" data-font="lato"></span>
-											</li>
-										</ul>
-									</div>
-									<div class="btn_group_block btn_group_md ui_row">
-										<div class="ui_col_12">
-											<button type="button" class="btn btn_dark btn_block" onclick="cfnGoToPage(_PAGE_LOGIN);">
-												<span>로그인 하기</span>
-											</button>
-										</div>
-									</div>
-								</div>
-								<!-- //아이디찾기 성공일경우 -->
-								<!-- 회원정보로 아이디찾기 실패일경우 -->
-								<div id="failCustId" class="find_result clear hide">
-									<div class="form_info">
-										<span class="ico_content_none"></span>
-										<p>입력한 정보와 일치하는 아이디가 존재하지 않습니다.</p>
-										<p class="t_info mt10">
-											정확한 확인을 위해 휴대폰 인증/아이핀 인증을 통한<br>아이디 찾기를 진행해 주세요.
-										</p>
-									</div>
-									<div class="btn_group_block btn_group_md ui_row">
-										<div class="ui_col_6">
-											<button type="button" class="btn btn_primary btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_JOIN_TYPE);">
-												<span>회원가입</span>
-											</button>
-										</div>
-										<div class="ui_col_6">
-											<button type="button" class="btn btn_dark btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_ID_FIND);">
-												<span>다시 찾기</span>
-											</button>
-										</div>
-									</div>
-								</div>
-								<!-- //회원정보로 아이디찾기 실패일경우 -->
-								<!-- 휴대폰,아이핀 본인인증으로 아이디찾기 실패일경우 -->
-								<div id="failAuthentication" class="find_result clear hide">
-									<div class="form_info">
-										<span class="ico_content_none"></span>
-										<p>입력한 정보와 일치하는 아이디가 존재하지 않습니다.</p>
-										<p class="t_info mt10">
-											<span class="c_primary">STYLE24의 새로운 가족이 되어 주세요!</span>
-										</p>
-									</div>
-									<div class="btn_group_block btn_group_md ui_row">
-										<div class="ui_col_12">
-											<button type="button" class="btn btn_primary btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_JOIN_TYPE);">
-												<span>회원가입</span>
-											</button>
-										</div>
-									</div>
-								</div>
-								<!-- //휴대폰,아이핀 본인인증으로 아이디찾기 실패일경우 -->
-							</div>
-						</div>
-						<!-- //new -->
-					</form>
-				</div>
-			</div>
-		</div>
-	</div>
-<script th:src="@{'/biz/customer.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/biz/customer.js"></script>
-<script th:inline="javascript">
-/*<![CDATA[*/
-
-		// 회원정보로 아이디 찾기
-		$('#btnInfoConfirm').on('click', function() {
-			let custInfo = $('#searchCustInfo').serializeObject();
-
-			if (gagajf.isNull(custInfo.custNm)) {
-				mcxDialog.alert('이름을 형식에 맞게 입력해주세요.');
-				return;
-			}
-
-			if (gagajf.isNull(custInfo.email)) {
-				mcxDialog.alert('이메일을 입력하여 주세요.');
-				return;
-			}
-
-			if (!fnCheckValidationEmail(custInfo.email)) {
-				mcxDialog.alert('이메일 형식에 맞게 입력해주세요.');
-				return;
-			}
-			custInfo.authMethod = 'custInfo';
-
-			let jsonData = JSON.stringify(custInfo);
-			//console.log('jsonData', jsonData);
-			gagajf.ajaxJsonSubmit('/customer/id/find', jsonData, fnInfoConfirmCallBack);
-		});
-
-		// 휴대폰 인증
-		$('#btnCellPhoneCertify').on('click', function () {
-			cfnOpenCellphoneCertify();
-		});
-
-		// 아이핀 인증
-		$('#btnIpinCertify').on('click', function () {
-			cfnOpenIpinCertify();
-		});
-
-		// 나이스 본인인증 후 콜백
-		var fnNiceCallBack = function(encData, authMethod) {
-			if (!gagajf.isNull(encData)) {
-				let custInfo = {};
-				custInfo.encData = encData;
-				custInfo.authMethod = authMethod;
-				let jsonData = JSON.stringify(custInfo);
-				gagajf.ajaxJsonSubmit('/customer/id/find', jsonData, fnInfoConfirmCallBack)
-			}
-		};
-
-		// 찾기결과
-		var fnInfoConfirmCallBack = function (result) {
-			$('#searchDiv').hide();
-			$('.regist_box').hide();
-			$('.form_field').hide();
-			if (result.isFind) {
-				fnGetDisplaySucc(result.authMethod, result);
-			} else {
-				fnGetDisplayFail(result.authMethod);
-			}
-		};
-
-		// 찾기성공
-		var fnGetDisplaySucc = function (authMethod, custInfo) {
-			$('#resultId').text(custInfo.maskingCustId);
-			$('#joinDt').text(fnToDateFormat(custInfo.joinDt));
-			let joinPath = fnSnsJoinPath(custInfo); // 가입경로 : 직접이면 표시 안함, 간편가입 연동 표시
-			if (!gagajf.isNull(joinPath)) {
-				$('#liJoinPath').show();
-				$('#joinPath').text(joinPath);
-			}
-			$('#succeedCustId').show();
-		};
-
-		// 찾기실패
-		var fnGetDisplayFail = function (authMethod) {
-			$('.registration_nav').hide();
-			if (authMethod === 'custInfo') {
-				$('#failCustId').show();
-			}
-			if (authMethod === 'mobile' || authMethod === 'ipin') {
-				$('#failAuthentication').show();
-			}
-		};
-
-		// 가입경로
-		var fnSnsJoinPath = function (custInfo) {
-			let snsType = '';
-			if (!gagajf.isNull(custInfo.ysJoinDt)) {
-				snsType += 'YES24';
-			}
-			if (!gagajf.isNull(custInfo.nvJoinDt)) {
-				if (!gagajf.isNull(snsType)) {
-					snsType += '/'
-				}
-				snsType = 'NAVER'
-			}
-			if (!gagajf.isNull(custInfo.kkJoinDt)) {
-				if (!gagajf.isNull(snsType)) {
-					snsType += '/'
-				}
-				snsType += 'KAKAO';
-			}
-			if (!gagajf.isNull(snsType)) {
-				snsType += '연동';
-			} else {
-				snsType += 'STYLE24';
-			}
-			return snsType;
-		};
-
-		$(document).ready( function() {
-			$(document).on('click','.mb .registration_tap > .form_group > .form_field > div',function(e){
-				// form 데이터 리셋
-				$('#searchCustInfo')[0].reset();
-
-				$(this).find('input').prop('checked', true);
-				$(this).parents('.form_group').find('.regist_box').removeClass('on');
-				$(this).parents('.form_group').find('.regist_box').eq($(this).index()).addClass('on');
-				return false;
-			});
-
-			$('#searchCustInfo')[0].reset();
-		});
-
-/*]]>*/
-</script>
-
-</th:block>
-
-</body>
-</html>

+ 0 - 296
src/main/webapp/WEB-INF/views/web/customer/PasswordFindFormWeb.html

@@ -1,296 +0,0 @@
-<!DOCTYPE html>
-<html lang="ko"
-	  xmlns:th="http://www.thymeleaf.org"
-	  xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
-	  layout:decorator="web/common/layout/DefaultLayoutWeb">
-<!--
- *******************************************************************************
- * @source  : PasswordFindFormWeb.html
- * @desc    : 비밀번호 찾기 Page
- *============================================================================
- * STYLE24
- * Copyright(C) 2021 TSIT, All rights reserved.
- *============================================================================
- * VER  DATE         AUTHOR      DESCRIPTION
- * ===  ===========  ==========  =============================================
- * 1.0  2021.02.05   jsshin     최초 작성
- *******************************************************************************
- -->
-<body>
-
-<th:block layout:fragment="content">
-	<div id="container" class="container mb">
-		<div class="wrap">
-			<div class="content find"> <!-- 페이지특정 클래스 = find -->
-				<div class="cont_head">
-					<h4>아이디&#47;비밀번호 찾기</h4>
-				</div>
-				<div class="cont_body">
-					<form id="searchCustInfo" name="searchCustInfo" class="form_wrap form_col_c" role="form" method="post">
-						<div class="registration_nav">
-							<ul>
-								<li><a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_CUSTOMER_ID_FIND);">아이디 찾기</a></li>
-								<li class="active"><a href="javascript:void(0)" onclick="cfnGoToPage(_PAGE_CUSTOMER_PWD_FIND);">비밀번호 찾기</a></li>
-							</ul>
-						</div>
-						<!-- new -->
-						<div class="registration_tap">
-							<div class="form_group" style="display: block;">
-								<!-- 비밀번호찾기일경우 -->
-								<div class="form_field">
-									<div>
-										<input type="radio" name="rdi-mbCertify2" id="rdi-mbCertify21" checked="checked"/>
-										<label for="rdi-mbCertify21"><span>회원정보인증</span></label>
-									</div>
-									<div>
-										<input type="radio" name="rdi-mbCertify2" id="rdi-mbCertify22"/>
-										<label for="rdi-mbCertify22"><span>휴대폰인증</span></label>
-									</div>
-									<div>
-										<input type="radio" name="rdi-mbCertify2" id="rdi-mbCertify23"/>
-										<label for="rdi-mbCertify23"><span>아이핀인증</span></label>
-									</div>
-								</div>
-								<div class="registration_cont">
-									<!-- 회원정보인증 -->
-									<div class="regist_box on">
-										<div class="form_field form_full">
-											<label class="input_label sr-only">아이디</label>
-											<div class="ui_col_12">
-												<div class="input_wrap">
-													<input type="text" name="custId" placeholder="아이디" id="custId" class="form_control" minlength="4" maxlength="12"/>
-												</div>
-											</div>
-										</div>
-										<div class="form_field">
-											<label class="input_label sr-only">이름</label>
-											<div class="ui_col_12">
-												<div class="input_wrap">
-													<input type="text" name="custNm" placeholder="이름" id="custNm" class="form_control" maxlength="30"/>
-												</div>
-											</div>
-										</div>
-										<div class="form_field">
-											<label class="input_label sr-only">이메일</label>
-											<div class="ui_col_12">
-												<div class="input_wrap">
-													<input type="text" name="email" placeholder="이메일" id="email" class="form_control" maxlength="30"/>
-												</div>
-											</div>
-										</div>
-										<div class="btn_group_block ui_row mt20">
-											<div class="ui_col_12">
-												<button type="button" id="btnInfoConfirm" class="btn btn_dark btn_block">
-													<span>확인</span>
-												</button>
-											</div>
-										</div>
-									</div>
-									<!-- //회원정보인증 -->
-									<!-- 휴대폰인증 -->
-									<div class="regist_box">
-										<div class="txt">
-											<p>회원님의 명의로 등록된 휴대폰으로 본인확인을 진행합니다.</p>
-										</div>
-										<div class="ui_row mt20">
-											<div class="ui_col_12">
-												<button type="button" id="btnCellPhoneCertify" class="btn btn_dark btn_block">
-													<span>본인명의 휴대폰으로 인증</span>
-												</button>
-											</div>
-										</div>
-									</div>
-									<!-- //휴대폰인증 -->
-									<!-- 아이핀인증 -->
-									<div class="regist_box">
-										<div class="txt">
-											<p>아이핀 인증을 통해 찾을 수 있습니다.</p>
-										</div>
-										<div class="ui_row mt20">
-											<div class="ui_col_12">
-												<button type="button" id="btnIpinCertify" class="btn btn_dark btn_block">
-													<span>아이핀 인증</span>
-												</button>
-											</div>
-										</div>
-									</div>
-									<!-- //아이핀인증 -->
-								</div>
-								<!-- //비밀번호찾기일경우 -->
-								<!-- 임시비밀번호 발급 -->
-								<div id="sendEmailDiv" class="find_result clear hide">
-									<div class="form_info">
-										<span class="ico_content_mail"></span>
-										<p>아래의 이메일로 임시비밀번호가 발급되었습니다.</p>
-										<p class="t_info mt10">
-											로그인 시 비밀번호를 새로 설정하신 후 이용하실 수 있습니다.
-										</p>
-									</div>
-									<div class="form_print_bar mt40">
-										<p id="sendEmail" class="c_primary bold" data-font="lato"></p>
-									</div>
-									<div class="btn_group_block btn_group_md ui_row">
-										<div class="ui_col_12">
-											<button type="button" class="btn btn_dark btn_block" onclick="cfnGoToPage(_PAGE_LOGIN);">
-												<span>로그인 하기</span>
-											</button>
-										</div>
-									</div>
-								</div>
-								<!-- //임시비밀번호 발급 -->
-								<div id="failCustId" class="find_result clear hide">
-									<div class="form_info">
-										<span class="ico_content_none"></span>
-										<p>입력한 정보와 일치하는 아이디가 존재하지 않습니다.</p>
-										<p class="t_info mt10">
-											정확한 확인을 위해 휴대폰 인증/아이핀 인증을 통한<br>아이디 찾기를 진행해 주세요.
-										</p>
-									</div>
-									<div class="btn_group_block btn_group_md ui_row">
-										<div class="ui_col_6">
-											<button type="button" class="btn btn_primary btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_JOIN_TYPE);">
-												<span>회원가입</span>
-											</button>
-										</div>
-										<div class="ui_col_6">
-											<button type="button" class="btn btn_dark btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_PWD_FIND);">
-												<span>다시 찾기</span>
-											</button>
-										</div>
-									</div>
-								</div>
-								<!-- //회원정보로 아이디찾기 실패일경우 -->
-								<!-- 비밀번호 찾기 결과안내 실패일경우 -->
-								<div id="failAuthentication" class="find_result clear hide">
-									<div class="form_info">
-										<span class="ico_content_none"></span>
-										<p>입력한 정보와 일치하는 정보가 존재하지 않습니다.</p>
-										<p class="t_info mt10">
-											<span class="c_primary">STYLE24의 새로운 가족이 되어 주세요!</span>
-										</p>
-									</div>
-									<div class="btn_group_block btn_group_md ui_row">
-										<div class="ui_col_12">
-											<button type="button" class="btn btn_primary btn_block" onclick="cfnGoToPage(_PAGE_CUSTOMER_JOIN_TYPE);">
-												<span>회원가입</span>
-											</button>
-										</div>
-									</div>
-								</div>
-								<!-- //비밀번호 찾기 결과안내 실패일경우 -->
-							</div>
-						</div>
-						<!-- //new -->
-					</form>
-				</div>
-			</div>
-		</div>
-	</div>
-<script th:src="@{'/biz/customer.js?v=' + ${#calendars.format(#calendars.createNow(), 'yyyyMMddHHmmss')}}" src="/biz/customer.js"></script>
-<script th:inline="javascript">
-/*<![CDATA[*/
-
-	$('#btnInfoConfirm').on('click', function () {
-		let custInfo = $('#searchCustInfo').serializeObject();
-
-		if(gagajf.isNull(custInfo.custId)) {
-			mcxDialog.alert("아이디를 입력해주세요.");
-			return;
-		}
-
-		if (gagajf.isNull(custInfo.custNm)) {
-			mcxDialog.alert('이름을 형식에 맞게 입력해주세요.');
-			return;
-		}
-
-		if (gagajf.isNull(custInfo.email)) {
-			mcxDialog.alert('이메일을 입력하여 주세요.');
-			return;
-		}
-
-		if (!fnCheckValidationEmail(custInfo.email)) {
-			mcxDialog.alert('이메일 형식에 맞게 입력해주세요.');
-			return;
-		}
-
-		custInfo.authMethod = 'custInfo';
-		let jsonData = JSON.stringify(custInfo);
-		//console.log('jsonData', jsonData);
-		gagajf.ajaxJsonSubmit('/customer/password/find/custinfo', jsonData, fnInfoConfirmCallBack);
-	});
-
-	// 휴대폰 인증
-	$('#btnCellPhoneCertify').on('click', function () {
-		cfnOpenCellphoneCertify();
-	});
-
-	// 아이핀 인증
-	$('#btnIpinCertify').on('click', function () {
-		cfnOpenIpinCertify();
-	});
-
-	// 찾기결과
-	var fnInfoConfirmCallBack = function (result) {
-		$('.form_field').hide();
-		$('.registration_cont').hide();
-		$('.registration_nav').hide();
-		$('#searchDiv').hide();
-		if (result.isFind) {
-			fnGetDisplaySucc(result.authMethod, result);
-		} else {
-			fnGetDisplayFail(result.authMethod);
-		}
-	};
-
-	// 찾기성공
-	var fnGetDisplaySucc = function (authMethod, custInfo) {
-		if (custInfo.authMethod === 'custInfo') {
-			$('#sendEmail').text(custInfo.maskingEmail)
-			$('#sendEmailDiv').show();
-		}
-		if (authMethod === 'mobile' || authMethod === 'ipin') {
-			cfnGoToPage(_PAGE_CUSTOMER_PWD_CHANGE_FIND);
-		}
-	};
-
-	// 찾기실패
-	var fnGetDisplayFail = function (authMethod) {
-		$('.form_head').hide();
-		$('.registration_nav').hide();
-		if (authMethod === 'custInfo') {
-			$('#failCustId').show();
-		}
-		if (authMethod === 'mobile' || authMethod === 'ipin') {
-			$('#failAuthentication').show();
-		}
-
-	};
-
-	// 나이스 본인인증 후 콜백
-	var fnNiceCallBack = function(encData, authMethod) {
-		if (!gagajf.isNull(encData)) {
-			let custInfo = {};
-			custInfo.encData = encData;
-			custInfo.authMethod = authMethod;
-			let jsonData = JSON.stringify(custInfo);
-			gagajf.ajaxJsonSubmit('/customer/password/find/certify', jsonData, fnInfoConfirmCallBack)
-		}
-	};
-
-	$(document).ready( function() {
-		$(document).on('click','.mb .registration_tap > .form_group >.form_field > div',function(e){
-			$(this).find('input').prop('checked', true);
-			$(this).parents('.form_group').find('.regist_box').removeClass('on');
-			$(this).parents('.form_group').find('.regist_box').eq($(this).index()).addClass('on');
-			return false;
-		});
-		$('#searchCustInfo')[0].reset();
-	});
-
-/*]]>*/
-</script>
-
-</th:block>
-
-</body>
-</html>