no message
parent
5c95e350ca
commit
7202d2f78d
@ -1,157 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
|
||||
|
||||
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/showModalDialogCallee.js'/>" ></script>
|
||||
<script type="text/javaScript">
|
||||
$(document).ready(function(){
|
||||
|
||||
//조회 버튼 EventListener
|
||||
$('#chk_btn').on({
|
||||
click: function(){
|
||||
fnCheckId();
|
||||
}
|
||||
});
|
||||
//사용 버튼 EventListener
|
||||
$('#use_btn').on({
|
||||
click: function(){
|
||||
fnReturnId();
|
||||
}
|
||||
});
|
||||
//닫기 버튼 EventListener
|
||||
$('#btnClose').on({
|
||||
click: function(){
|
||||
fnClose();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* 2020.09.04 정지현
|
||||
* - IE에서 엔터를 누르면 submit되어 새창에서 중복검사가 됨.
|
||||
* =>엔터키를 누르면 중복검사 함수를 호출하도록 수정.
|
||||
*/
|
||||
$(window).keydown(function(e){
|
||||
if(e.keyCode == 13){
|
||||
fnCheckId();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
function fnCheckId(){
|
||||
if(document.checkForm.checkId.value==""){
|
||||
alert("중복조회할 아이디를 입력하십시오.");
|
||||
document.checkForm.focus();
|
||||
return;
|
||||
}
|
||||
if(fnCheckNotKorean(document.checkForm.checkId.value)){
|
||||
/**
|
||||
* 2020.09.04 정지현
|
||||
* - IE에서 중복검사 조회를 하면 새창에서 결과가 조회됨.
|
||||
* =>새창이 뜨지 않도록 수정.
|
||||
*/
|
||||
document.checkForm.target = 'modal';
|
||||
window.name = 'modal';
|
||||
document.checkForm.submit();
|
||||
}else{
|
||||
alert("한글은 사용할 수 없습니다.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
function fnReturnId(){
|
||||
var retVal="";
|
||||
if (document.checkForm.usedCnt.value == 0){
|
||||
retVal = document.checkForm.resultId.value;
|
||||
setReturnValue(retVal);
|
||||
window.returnValue = retVal;
|
||||
window.close();
|
||||
}else if (document.checkForm.usedCnt.value == 1){
|
||||
alert("이미사용중인 아이디입니다.");
|
||||
return;
|
||||
}else{
|
||||
alert("먼저 중복확인을 실행하십시오");
|
||||
return;
|
||||
}
|
||||
}
|
||||
function fnClose(){
|
||||
var retVal="";
|
||||
window.returnValue = retVal;
|
||||
window.close();
|
||||
}
|
||||
function fnCheckNotKorean(koreanStr){
|
||||
for(var i=0;i<koreanStr.length;i++){
|
||||
var koreanChar = koreanStr.charCodeAt(i);
|
||||
if( !( 0xAC00 <= koreanChar && koreanChar <= 0xD7A3 ) && !( 0x3131 <= koreanChar && koreanChar <= 0x318E ) ) {
|
||||
}else{
|
||||
//hangul finding....
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
<form name="checkForm" action ="<c:url value='/_anonymous_/login/IdDuplCnfirm.do'/>">
|
||||
<!-- <input type="submit" id="invisible" class="invisible"/> -->
|
||||
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window1" style="max-width: 500px;">
|
||||
<p class="container-window-header2">아이디 중복확인</p>
|
||||
|
||||
|
||||
<table class="table-03">
|
||||
<colgroup>
|
||||
<col style="width: 100px;"/>
|
||||
<col style="width: ;"/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>사용할아이디 </td>
|
||||
<td>
|
||||
<input type="hidden" name="resultId" value="<c:out value="${checkId}"/>" />
|
||||
<input type="hidden" name="usedCnt" value="<c:out value="${usedCnt}"/>" />
|
||||
<input type="text" name="checkId" title="선택여부" value="<c:out value="${checkId}"/>" maxlength="20" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">결과 :
|
||||
<c:choose>
|
||||
<c:when test="${usedCnt eq -1}">
|
||||
중복확인을 실행하십시오
|
||||
</c:when>
|
||||
<c:when test="${usedCnt eq 0}">
|
||||
${checkId} 는 사용가능한 아이디입니다.
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
${checkId} 는 사용할수 없는 아이디입니다.
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="container-window-btn1">
|
||||
<span class="flr">
|
||||
<a href="#" class="btn btn-blue" id="chk_btn">조회</a>
|
||||
<a href="#" class="btn btn-green" id="use_btn">사용</a>
|
||||
<a href="#" class="btn btn-lightgray" id="btnClose">닫기</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
@ -1,329 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
|
||||
|
||||
<script type="text/javascript" src="<c:url value="/_anonymous_/login/validator.do"/>"></script>
|
||||
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
|
||||
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/EgovZipPopup.js' />" ></script>
|
||||
<script type="text/javaScript">
|
||||
function fnIdCheck(){
|
||||
var retVal;
|
||||
var url = "<c:url value='/_anonymous_/login/IdDuplCnfirm.do'/>";
|
||||
var varParam = new Object();
|
||||
varParam.checkId = document.userManageVO.emplyrId.value;
|
||||
var openParam = "dialogWidth:555px;dialogHeight:320px;scroll:no;status:no;center:yes;resizable:yes;";
|
||||
retVal = window.showModalDialog(url, varParam, openParam);
|
||||
if(retVal) {
|
||||
document.userManageVO.emplyrId.value = retVal;
|
||||
document.userManageVO.id_view.value = retVal;
|
||||
}
|
||||
}
|
||||
function showModalDialogCallback(retVal) {
|
||||
if(retVal) {
|
||||
document.userManageVO.emplyrId.value = retVal;
|
||||
document.userManageVO.id_view.value = retVal;
|
||||
}
|
||||
}
|
||||
function fnInsert(){
|
||||
if(validateUserManageVO(document.userManageVO)){
|
||||
if(document.userManageVO.passwd.value != document.userManageVO.passwd2.value){
|
||||
alert("비밀번호와 비밀번호 확인이 일치하지 않습니다.");
|
||||
return;
|
||||
}
|
||||
document.userManageVO.submit();
|
||||
}
|
||||
}
|
||||
function fn_egov_inqire_cert() {
|
||||
var url = '/uat/uia/EgovGpkiRegist.do';
|
||||
var popupwidth = '500';
|
||||
var popupheight = '400';
|
||||
var title = '인증서';
|
||||
|
||||
Top = (window.screen.height - popupheight) / 3;
|
||||
Left = (window.screen.width - popupwidth) / 2;
|
||||
if (Top < 0) Top = 0;
|
||||
if (Left < 0) Left = 0;
|
||||
Future = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,left=" + Left + ",top=" + Top + ",width=" + popupwidth + ",height=" + popupheight;
|
||||
PopUpWindow = window.open(url, title, Future)
|
||||
PopUpWindow.focus();
|
||||
}
|
||||
|
||||
function fn_egov_dn_info_setting(dn) {
|
||||
var frm = document.userManageVO;
|
||||
|
||||
frm.crtfcDn.value = dn;
|
||||
}
|
||||
|
||||
/*
|
||||
if (typeof(opener.fn_egov_dn_info_setting) == 'undefined') {
|
||||
alert('메인 화면이 변경되거나 없습니다');
|
||||
this.close();
|
||||
} else {
|
||||
opener.fn_egov_dn_info_setting(dn);
|
||||
this.close();
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/* ========================
|
||||
* 주소 검색 팝업 OPEN
|
||||
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
|
||||
======================== */
|
||||
function fnSearchAdres(){
|
||||
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
|
||||
var params = '?callback=fnSearchAdresCallback';
|
||||
popUrl += params;
|
||||
var popTitle = "주소 찾기";
|
||||
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
|
||||
window.open(popUrl, popTitle ,popOption);
|
||||
}
|
||||
/* ========================
|
||||
* 주소 검색 콜백 함수
|
||||
-주소 검색 팝업의 검색결과를 전달 받는다.
|
||||
======================== */
|
||||
function fnSearchAdresCallback(obj){
|
||||
//검색결과 Set
|
||||
var totalDaddr = ""; // 전체 상세 주소
|
||||
totalDaddr += obj.addrDetail;
|
||||
totalDaddr += obj.roadAddrPart2;
|
||||
|
||||
|
||||
//화면에 출력
|
||||
document.userManageVO.addr.value = obj.roadAddrPart1;
|
||||
document.userManageVO.zip.value = obj.zipNo;
|
||||
document.userManageVO.zip_view.value = obj.zipNo;
|
||||
document.userManageVO.daddr.value = totalDaddr;
|
||||
}
|
||||
|
||||
|
||||
/* ********************************************************
|
||||
* 처리결과메시지 출력
|
||||
******************************************************** */
|
||||
<c:if test="${!empty message}">alert("${message}");</c:if>
|
||||
</script>
|
||||
<style type="text/css">
|
||||
table {
|
||||
table-layout: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
<div style="padding-left: 20px;">
|
||||
<!-- 검색 필드 박스 시작 -->
|
||||
<div id="search_field" >
|
||||
<div id="search_field_loc"><h2><strong>업무사용자 등록</strong></h2></div>
|
||||
</div>
|
||||
<%--@elvariable id="userManageVO" type=""--%>
|
||||
<form:form modelAttribute="userManageVO" action="${pageContext.request.contextPath}/_anonymous_/login/UserReg_insert_proc.do" name="userManageVO" method="post" >
|
||||
<!-- 우편번호검색 -->
|
||||
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
|
||||
|
||||
<div class="modify_user">
|
||||
<table class="table-02">
|
||||
<tr>
|
||||
<th width="15%" height="23">
|
||||
<label class="required">사용자아이디</label>
|
||||
</th>
|
||||
<td width="35%" >
|
||||
<input type="text" size="20" maxlength="20" disabled="disabled" id="id_view" name="id_view" style="width: 60%">
|
||||
<form:input path="emplyrId" id="emplyrId" title="사용자아이디" size="20" maxlength="20" cssStyle="display:none"/>
|
||||
<a href="#LINK" onclick="fnIdCheck(); return false;">
|
||||
<img src="<c:url value='/'/>/resources/image/fims/framework/common/more.png"/>(중복아이디 검색)
|
||||
</a>
|
||||
<form:errors path="emplyrId" cssClass="error"/>
|
||||
</td>
|
||||
<th width="15%" height="23">
|
||||
<label class="required">핸드폰번호 </label>
|
||||
</th>
|
||||
<td width="35%" >
|
||||
<form:input path="mblTelno" id="mblTelno" title="핸드폰번호" cssClass="txaIpt" size="20" maxlength="15" />
|
||||
<form:errors path="mblTelno" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th width="15%" height="23">
|
||||
<label class="required">비밀번호</label>
|
||||
</th>
|
||||
<td width="35%" >
|
||||
<form:password path="passwd" id="passwd" title="비밀번호" size="20" maxlength="20" />
|
||||
<form:errors path="passwd" cssClass="error" />
|
||||
</td>
|
||||
<th width="15%" height="23">
|
||||
<label class="required">비밀번호확인</label>
|
||||
</th>
|
||||
<td width="35%" >
|
||||
<input name="passwd2" id="passwd2" title="비밀번호확인" type="password" size="20" maxlength="20" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th width="15%" height="23">
|
||||
<label class="required">비밀번호힌트</label>
|
||||
</th>
|
||||
<td width="35%" >
|
||||
<form:select path="passwdHint" id="passwdHint" title="비밀번호힌트">
|
||||
<form:option value="" label="--선택하세요--"/>
|
||||
<form:options items="${passwdHint_result}" itemValue="code" itemLabel="codeVal"/>
|
||||
</form:select>
|
||||
<form:errors path="passwdHint" cssClass="error"/>
|
||||
</td>
|
||||
<th width="15%" height="23">
|
||||
<label class="required">비밀번호정답</label>
|
||||
</th>
|
||||
<td width="35%" >
|
||||
<form:input path="passwdNsr" id="passwdNsr" title="비밀번호정답" cssClass="txaIpt" size="50" maxlength="100" />
|
||||
<form:errors path="passwdNsr" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">이름</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<input name="emplyrNm" id="emplyrNm" title="사용자이름" type="text" size="20" value="" maxlength="60" />
|
||||
<form:errors path="emplyrNm" cssClass="error" />
|
||||
</td>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">소속기관</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<form:select path="nsttCd" id="nsttCd" title="소속기관">
|
||||
<form:option value="" label="--선택하세요--"/>
|
||||
<form:options items="${nsttCd_result}" itemValue="code" itemLabel="codeVal"/>
|
||||
</form:select>
|
||||
<form:errors path="nsttCd" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">조직코드</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<form:select path="orgId" id="orgId" title="부서">
|
||||
<form:option value="" label="--선택하세요--"/>
|
||||
<form:options items="${orgId_result}" itemValue="code" itemLabel="codeVal"/>
|
||||
</form:select>
|
||||
<form:errors path="orgId" cssClass="error"/>
|
||||
</td>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">직위명</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<form:input path="posNm" id="posNm" title="직위명" cssClass="txaIpt" size="20" maxlength="30" />
|
||||
<form:errors path="posNm" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">이메일주소</label>
|
||||
</th>
|
||||
<td width="30%">
|
||||
<form:input path="emlAdrs" id="emlAdrs" title="이메일주소" cssClass="txaIpt" size="20" maxlength="50" />
|
||||
<form:errors path="emlAdrs" cssClass="error" />
|
||||
</td>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">지역번호</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<form:input path="areaNo" id="areaNo" title="areaNo" cssClass="txaIpt" size="10" maxlength="10" />
|
||||
<form:errors path="areaNo" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">사무실전화번호</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<form:input path="telno" id="telno" title="사무실전화번호" cssClass="txaIpt" size="20" maxlength="15" />
|
||||
<form:errors path="telno" cssClass="error" />
|
||||
</td>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">팩스번호</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<form:input path="fxno" id="fxno" cssClass="txaIpt" title="팩스번호" size="20" maxlength="15" />
|
||||
<form:errors path="fxno" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">주소</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<form:input path="addr" id="addr" title="주소" cssClass="txaIpt" size="40" maxlength="100" readonly="true" cssStyle="width: 60%"/>
|
||||
<form:errors path="addr" cssClass="error" />
|
||||
<form:hidden path="zip" />
|
||||
<!-- <a href="#LINK" onclick="javascript:fn_egov_ZipSearch(document.userManageVO, document.userManageVO.zip, document.userManageVO.zip_view, document.userManageVO.addr);"> -->
|
||||
<a href="#LINK" onclick="javascript:fnSearchAdres(); return false;">
|
||||
<img src="<c:url value='/resources/image/fims/framework/btn/search.png'/>" alt=""/>(우편번호 검색)
|
||||
</a>
|
||||
<form:errors path="zip" cssClass="error" />
|
||||
<input name="zip_view" id="zip_view" type="hidden" title="우편번호" size="20" value="<c:out value='${userManageVO.zip}'/>" maxlength="8" readonly="readonly" />
|
||||
</td>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">상세주소</label>
|
||||
</th>
|
||||
<td width="30%" >
|
||||
<form:input path="daddr" id="daddr" title="상세주소" cssClass="txaIpt" size="40" maxlength="50" />
|
||||
<form:errors path="daddr" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th width="20%" height="23">
|
||||
<label class="required">그룹아이디</label>
|
||||
</th>
|
||||
<td colspan="3" width="30%">
|
||||
<form:select path="grpId" id="grpId" title="그룹아이디">
|
||||
<form:option value="" label="--선택하세요--"/>
|
||||
<form:options items="${grpId_result}" itemValue="code" itemLabel="codeVal"/>
|
||||
</form:select>
|
||||
<form:errors path="grpId" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 버튼 시작(상세지정 style로 div에 지정) -->
|
||||
<div class="buttons" style="padding-top:10px;padding-bottom:10px;">
|
||||
|
||||
<!-- 목록/저장버튼 -->
|
||||
<table border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tr>
|
||||
<td>
|
||||
<a href="#LINK" onclick="JavaScript:fnInsert(); return false;" class="btn btn-blue">저장</a>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td>
|
||||
</td>
|
||||
<td width="10"></td>
|
||||
<td>
|
||||
<a href="#LINK" onclick="javascript:document.userManageVO.reset();" class="btn btn-lightgray">취소</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- 버튼 끝 -->
|
||||
|
||||
<!-- 검색조건 유지 -->
|
||||
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
|
||||
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
|
||||
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/><c:if test="${userSearchVO.pageIndex eq null}">1</c:if>"/>
|
||||
|
||||
</form:form>
|
||||
</div>
|
@ -1,180 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
|
||||
|
||||
|
||||
|
||||
<script type="text/javaScript" language="javascript" defer="defer">
|
||||
$(document).ready(function(){
|
||||
XitUserReg_inputEvr.init();
|
||||
});
|
||||
|
||||
|
||||
var XitUserReg_inputEvr = {
|
||||
init: function(){
|
||||
//회원유형 탭 초기화
|
||||
// TabsUtil.init();
|
||||
|
||||
|
||||
|
||||
//일반 회원가입 버튼 EventListener
|
||||
$('#mber_btn').click(function(){
|
||||
var url = '<c:url value="/_anonymous_/login/UserReg_Forms_GNR.do"/>';
|
||||
var option = "width=740px, height=850px, resizable=no, scrollbars=yes, location=no, top=100px, left=100px";
|
||||
window.open(url, '회원가입', option);
|
||||
window.close();
|
||||
});
|
||||
//기업 회원가입 버튼 EventListener
|
||||
$('#ent_btn').click(function(){
|
||||
var url = '<c:url value="/_anonymous_/login/UserReg_Forms_ENT.do"/>';
|
||||
var option = "width=740px, height=920px, resizable=no, scrollbars=yes, location=no, top=100px, left=100px";
|
||||
window.open(url, '회원가입', option);
|
||||
window.close();
|
||||
});
|
||||
//업무사용자 회원가입 버튼 EventListener
|
||||
$('#user_btn').click(function(){
|
||||
var url = '<c:url value="/_anonymous_/login/UserReg_Forms_USR.do"/>';
|
||||
var option = "width=740px, height=920px, resizable=no, scrollbars=yes, location=no, top=100px, left=100px";
|
||||
window.open(url, '회원가입', option);
|
||||
window.close();
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 탭 도구
|
||||
* @date 2020.11.18.
|
||||
* @author 박민규
|
||||
*/
|
||||
var TabsUtil = {
|
||||
init: function(){
|
||||
$("#userSeTabs").tabs({
|
||||
activate: function(event, ui){
|
||||
TabsUtil.tabClickEvnt();
|
||||
}
|
||||
|
||||
});
|
||||
$("#userSeTabs ul").show();
|
||||
},
|
||||
activeTab: function(){
|
||||
var selectedTab = $("#userSeTabs").tabs('option', 'active');
|
||||
return selectedTab;
|
||||
},
|
||||
activeForm: function(){
|
||||
var selectedTab = TabsUtil.activeTab();
|
||||
var form = $('#tabs-'+selectedTab+' form')[0];
|
||||
return form;
|
||||
},
|
||||
setUseSe: function(){
|
||||
var selectedTab = TabsUtil.activeTab();
|
||||
switch (selectedTab) {
|
||||
case 0:
|
||||
$('input[name="userSe"]').val('GNR');
|
||||
break;
|
||||
case 1:
|
||||
$('input[name="userSe"]').val('ENT');
|
||||
break;
|
||||
case 2:
|
||||
$('input[name="userSe"]').val('USR');
|
||||
break;
|
||||
default:
|
||||
$('input[name="userSe"]').val('');
|
||||
break;
|
||||
}
|
||||
},
|
||||
tabClickEvnt: function(){
|
||||
var selectedTab = TabsUtil.activeTab();
|
||||
var url = '';
|
||||
switch (selectedTab) {
|
||||
case 0:
|
||||
url = '<c:url value="/_anonymous_/login/UserReg_Forms_GNR.do"/>';
|
||||
break;
|
||||
case 1:
|
||||
url = '<c:url value="/_anonymous_/login/UserReg_Forms_ENT.do"/>';
|
||||
break;
|
||||
case 2:
|
||||
url = '<c:url value="/_anonymous_/login/UserReg_Forms_USR.do"/>';
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
||||
cmmAjax({
|
||||
url : url,
|
||||
dataType : "html",
|
||||
showSuccessMsg: false,
|
||||
success : function(res) {
|
||||
$('#tabs-0').html(res);
|
||||
XitUserReg_inputEvr.init();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ********************************************************
|
||||
* 처리결과메시지 출력
|
||||
******************************************************** */
|
||||
<c:if test="${!empty message}">alert("${message}");</c:if>
|
||||
</script>
|
||||
<style type="text/css">
|
||||
table {
|
||||
table-layout: auto;
|
||||
}
|
||||
#userSeTabs.ui-widget-content {
|
||||
margin-top: 10px;
|
||||
border: 0px;
|
||||
}
|
||||
#userSeTabs #tabs-0 {
|
||||
padding: 0px;
|
||||
margin-top: -35px;
|
||||
}
|
||||
#userSeTabs .ui-tabs-panel.ui-widget-content.ui-corner-bottom {
|
||||
padding: 0px;
|
||||
}
|
||||
#userSeTabs .container-window1 {
|
||||
margin: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- <div style="width: 700px; margin-top: 10px;"> -->
|
||||
<!-- <div id="userSeTabs"> -->
|
||||
<!-- <ul style="display: none; margin-left: 10px;"> -->
|
||||
<!-- <li><a href="#tabs-0">일반회원</a></li> -->
|
||||
<!-- <li><a href="#tabs-0">기업회원</a></li> -->
|
||||
<!-- <li><a href="#tabs-0">업무사용자</a></li> -->
|
||||
<!-- </ul> -->
|
||||
|
||||
<!-- <div id="tabs-0"> -->
|
||||
<!-- </div> -->
|
||||
|
||||
<!-- </div> -->
|
||||
<!-- </div> -->
|
||||
|
||||
<div class="popup" style="min-width: 600px;">
|
||||
<div class="container-window1" style="max-width: 600px;">
|
||||
<p class="container-window-header2">회원 가입</p>
|
||||
|
||||
|
||||
<div class="container-window-btn1" style="text-align: center;">
|
||||
<span class="">
|
||||
<a href="#" class="btn btn-lightgray" id="mber_btn">일반회원 가입</a>
|
||||
<a href="#" class="btn btn-lightgray" id="ent_btn">기업회원 가입</a>
|
||||
<a href="#" class="btn btn-lightgray" id="user_btn">업무사용자 가입</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,355 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
|
||||
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/showModalDialog.js'/>" ></script>
|
||||
<script type="text/javascript" src="<c:url value="/_anonymous_/login/validator.do"/>"></script>
|
||||
<validator:javascript formName="userManageVO" staticJavascript="false" xhtml="true" cdata="false"/>
|
||||
<form:form modelAttribute="userManageVO" name="userManageVO" method="post" action="${pageContext.request.contextPath}/_anonymous_/login/UserReg_insert_proc.do">
|
||||
<!-- 우편번호검색 -->
|
||||
<input type="hidden" name="zip_url" value="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" />
|
||||
<input type="hidden" name="userSe" value="USR"/>
|
||||
|
||||
|
||||
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window1" style="max-width: 700px;">
|
||||
<c:set var="pageTitle">업무사용자 관리</c:set>
|
||||
<p class="container-window-header2">${pageTitle } 등록</p>
|
||||
|
||||
<table class="table-03">
|
||||
<caption>${pageTitle} 등록</caption>
|
||||
<colgroup>
|
||||
<col style="width: 22%;">
|
||||
<col style="width: ;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
<label for="emplyrId" class="required">사용자아이디</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:input path="emplyrId" id="emplyrId" title="사용자아이디" size="20" readonly="true" maxlength="20" style="width:60%;" />
|
||||
<a id="fnIdCheck" >
|
||||
<img src="/resources/image/fims/framework/etc/img_search.gif" alt=""/>(중복아이디 검색)
|
||||
</a>
|
||||
<form:errors path="emplyrId" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
<label for="passwd" class="required">비밀번호</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:password path="passwd" id="passwd" title="비밀번호" size="20" maxlength="20" />
|
||||
<form:errors path="passwd" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<label for="passwd2" class="required">비밀번호확인</label>
|
||||
</th>
|
||||
<td>
|
||||
<input name="passwd2" id="passwd2" title="비밀번호확인" type="password" size="20" maxlength="20" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
<label for="passwdHint" class="required">비밀번호힌트</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:select path="passwdHint" id="passwdHint" title="비밀번호힌트">
|
||||
<form:option value="" label="--선택하세요--"/>
|
||||
<form:options items="${passwdHint_result}" itemValue="code" itemLabel="codeVal"/>
|
||||
</form:select>
|
||||
<form:errors path="passwdHint" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<label for="passwdNsr" class="required">비밀번호정답</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:input path="passwdNsr" id="passwdNsr" title="비밀번호정답" cssClass="txaIpt" size="50" maxlength="100" />
|
||||
<form:errors path="passwdNsr" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
<label for="emplyrNm" class="required">이름</label>
|
||||
</th>
|
||||
<td>
|
||||
<input name="emplyrNm" id="emplyrNm" title="사용자이름" type="text" size="20" value="" maxlength="60" />
|
||||
<form:errors path="emplyrNm" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
<label for="nsttCd" class="required">소속기관</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:select path="nsttCd" id="nsttCd" title="소속기관">
|
||||
<form:option value="" label="--선택하세요--"/>
|
||||
<form:options items="${nsttCd_result}" itemValue="code" itemLabel="codeVal"/>
|
||||
</form:select>
|
||||
<form:errors path="nsttCd" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
<label for="orgId" class="required">조직코드</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:select path="orgId" id="orgId" title="부서">
|
||||
<form:option value="" label="--선택하세요--"/>
|
||||
<form:options items="${orgId_result}" itemValue="code" itemLabel="codeVal"/>
|
||||
</form:select>
|
||||
<form:errors path="orgId" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="posNm" class="required">직위명</label></th>
|
||||
<td>
|
||||
<form:input path="posNm" id="posNm" title="직위명" cssClass="txaIpt" size="20" maxlength="30" />
|
||||
<form:errors path="posNm" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><label for="emlAdrs" class="required">이메일주소</label></th>
|
||||
<td>
|
||||
<form:input path="emlAdrs" id="emlAdrs" title="이메일주소" cssClass="txaIpt" size="20" maxlength="50" />
|
||||
<form:errors path="emlAdrs" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="areaNo" class="required">지역번호</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:input path="areaNo" id="areaNo" title="areaNo" cssClass="txaIpt" size="10" maxlength="10" style="width:40px;"/>
|
||||
<form:errors path="areaNo" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="mblTelno" class="required">핸드폰번호</label></th>
|
||||
<td>
|
||||
<form:input path="mblTelno" id="mblTelno" title="핸드폰번호" cssClass="txaIpt" size="20" maxlength="15" />
|
||||
<form:errors path="mblTelno" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><label for="telno" class="required">사무실전화번호</label></th>
|
||||
<td>
|
||||
<form:input path="telno" id="telno" title="사무실전화번호" cssClass="txaIpt" size="20" maxlength="15" />
|
||||
<form:errors path="telno" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="fxno" class="required">팩스번호</label></th>
|
||||
<td>
|
||||
<form:input path="fxno" id="fxno" cssClass="txaIpt" title="팩스번호" size="20" maxlength="15" />
|
||||
<form:errors path="fxno" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="zip">우편번호</label></th>
|
||||
<td>
|
||||
<form:input path="zip" title="우편번호" type="text" size="20" value="" maxlength="6" style="width:60px;" readonly="true" />
|
||||
<!-- <a href="#LINK" onclick="javascript:fn_egov_ZipSearch(document.userManageVO, document.userManageVO.zip, document.userManageVO.zip_view, document.userManageVO.addr);"> -->
|
||||
<a id="addrSearch">
|
||||
<img src="<c:url value='/resources/image/fims/framework/btn/search.png'/>" alt=""/>(우편번호 검색)
|
||||
</a>
|
||||
<form:errors path="zip" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="addr" class="required">주소</label></th>
|
||||
<td>
|
||||
<form:input path="addr" id="addr" title="주소" cssClass="txaIpt" size="40" maxlength="100"/>
|
||||
<form:errors path="addr" cssClass="error" />
|
||||
<input name="zip_view" id="zip_view" type="hidden" title="우편번호" size="20" value="<c:out value='${userManageVO.zip}'/>" maxlength="8" readonly="readonly" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="daddr" class="required">상세주소</label></th>
|
||||
<td>
|
||||
<form:input path="daddr" id="daddr" title="상세주소" cssClass="txaIpt" size="40" maxlength="50" />
|
||||
<form:errors path="daddr" cssClass="error" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>
|
||||
<label for="grpId" class="required">그룹아이디</label>
|
||||
</th>
|
||||
<td>
|
||||
<form:select path="grpId" id="grpId" title="그룹아이디">
|
||||
<form:option value="" label="--선택하세요--"/>
|
||||
<form:options items="${grpId_result}" itemValue="code" itemLabel="codeVal"/>
|
||||
</form:select>
|
||||
<form:errors path="grpId" cssClass="error"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="container-window-btn1">
|
||||
<span class="flr">
|
||||
<!-- <a href="#" class="btn btn-blue" id="btnSave">저장</a> -->
|
||||
<!-- <a href="#" class="btn btn-lightgray" id="btnClose">닫기</a> -->
|
||||
<a href="#" id="btnSave" class="btn btn-blue">저장</a>
|
||||
<a href="#" onclick="javascript:document.userManageVO.reset(); return false;" class="btn btn-lightgray">취소</a>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 검색조건 유지 -->
|
||||
<input type="hidden" name="searchCondition" value="<c:out value='${userSearchVO.searchCondition}'/>"/>
|
||||
<input type="hidden" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>"/>
|
||||
<input type="hidden" name="sbscrbSttus" value="<c:out value='${userSearchVO.sbscrbSttus}'/>"/>
|
||||
<input type="hidden" name="pageIndex" value="<c:out value='${userSearchVO.pageIndex}'/><c:if test="${userSearchVO.pageIndex eq null}">1</c:if>"/>
|
||||
|
||||
</form:form>
|
||||
|
||||
|
||||
|
||||
<script type="text/javaScript" language="javascript" defer="defer">
|
||||
$(document).ready(function(){
|
||||
UserForm.init();
|
||||
});
|
||||
|
||||
function showModalDialogCallback(retVal) {
|
||||
UserForm.fnIdCheckCallback(retVal);
|
||||
}
|
||||
|
||||
var UserForm = {
|
||||
init: function(){
|
||||
//중복아이디 검색 EventListener
|
||||
$('#fnIdCheck').on({
|
||||
click: function(){
|
||||
UserForm.fnIdCheck();
|
||||
}
|
||||
});
|
||||
//우편번호 검색 버튼 EventListener
|
||||
$('#addrSearch').on({
|
||||
click: function(){
|
||||
UserForm.fnSearchAdres();
|
||||
}
|
||||
});
|
||||
//저장 버튼 EventListener
|
||||
$('#btnSave').on({
|
||||
click: function(){
|
||||
UserForm.addData();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
addData: function(){
|
||||
if(!validateUserManageVO(document.userManageVO))
|
||||
return false;
|
||||
if(document.userManageVO.passwd.value != document.userManageVO.passwd2.value){
|
||||
alert("비밀번호와 비밀번호 확인이 일치하지 않습니다.");
|
||||
return false;
|
||||
}
|
||||
|
||||
document.userManageVO.submit();
|
||||
},
|
||||
|
||||
fnIdCheck: function(){
|
||||
var retVal;
|
||||
var url = "<c:url value='/_anonymous_/login/IdDuplCnfirm.do'/>";
|
||||
var varParam = new Object();
|
||||
varParam.checkId = document.userManageVO.emplyrId.value;
|
||||
var openParam = "dialogWidth:555px;dialogHeight:320px;scroll:no;status:no;center:yes;resizable:yes;";
|
||||
retVal = window.showModalDialog(url, varParam, openParam);
|
||||
if(retVal) {
|
||||
document.userManageVO.emplyrId.value = retVal;
|
||||
}
|
||||
},
|
||||
|
||||
fnIdCheckCallback: function(retVal){
|
||||
if(retVal) {
|
||||
document.userManageVO.emplyrId.value = retVal;
|
||||
}
|
||||
},
|
||||
|
||||
/* ========================
|
||||
* 주소 검색 팝업 OPEN
|
||||
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
|
||||
======================== */
|
||||
fnSearchAdres: function(){
|
||||
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
|
||||
var params = '?callback=UserForm.fnSearchAdresCallback';
|
||||
popUrl += params;
|
||||
var popTitle = "AddrSearch";
|
||||
var popOption = "width=570px, height=420px, resizable=yes, scrollbars=yes, location=no, top=100px, left=100px";
|
||||
window.open(popUrl, popTitle ,popOption);
|
||||
},
|
||||
/* ========================
|
||||
* 주소 검색 콜백 함수
|
||||
-주소 검색 팝업의 검색결과를 전달 받는다.
|
||||
======================== */
|
||||
fnSearchAdresCallback: function(obj){
|
||||
//검색결과 Set
|
||||
var totalDaddr = ""; // 전체 상세 주소
|
||||
totalDaddr += obj.addrDetail;
|
||||
totalDaddr += obj.roadAddrPart2;
|
||||
|
||||
|
||||
document.userManageVO.addr.value = obj.roadAddrPart1;
|
||||
document.userManageVO.zip.value = obj.zipNo;
|
||||
document.userManageVO.zip_view.value = obj.zipNo;
|
||||
document.userManageVO.daddr.value = totalDaddr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function fn_egov_inqire_cert() {
|
||||
var url = '/uat/uia/EgovGpkiRegist.do';
|
||||
var popupwidth = '500';
|
||||
var popupheight = '400';
|
||||
var title = '인증서';
|
||||
|
||||
Top = (window.screen.height - popupheight) / 3;
|
||||
Left = (window.screen.width - popupwidth) / 2;
|
||||
if (Top < 0) Top = 0;
|
||||
if (Left < 0) Left = 0;
|
||||
Future = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=no,left=" + Left + ",top=" + Top + ",width=" + popupwidth + ",height=" + popupheight;
|
||||
PopUpWindow = window.open(url, title, Future)
|
||||
PopUpWindow.focus();
|
||||
}
|
||||
|
||||
function fn_egov_dn_info_setting(dn) {
|
||||
document.userManageVO.crtfcDn.value = dn;
|
||||
}
|
||||
|
||||
/*
|
||||
if (typeof(opener.fn_egov_dn_info_setting) == 'undefined') {
|
||||
alert('메인 화면이 변경되거나 없습니다');
|
||||
this.close();
|
||||
} else {
|
||||
opener.fn_egov_dn_info_setting(dn);
|
||||
this.close();
|
||||
}
|
||||
*/
|
||||
|
||||
/* ********************************************************
|
||||
* 처리결과메시지 출력
|
||||
******************************************************** */
|
||||
<c:if test="${!empty message}">alert("${message}");</c:if>
|
||||
</script>
|
@ -1,19 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
|
||||
|
||||
|
||||
<link type="text/css" rel="stylesheet" href="<c:url value='/resources/css/fims/framework/zip.css'/>" >
|
||||
|
||||
<form name="pForm" action="<c:url value='sym/cmm/EgovCcmZipSearchPopup.do'/>">
|
||||
<input type="submit" id="invisible" class="invisible"/>
|
||||
<input type="hidden" name="init" value="">
|
||||
</form>
|
||||
<!-- IE
|
||||
<iframe name="ifcal" src="<c:url value='/sym/cmm/EgovCcmZipSearchList.do'/>" style="width:500px; height:325px;" frameborder=0></iframe>
|
||||
-->
|
||||
<!-- FIREFOX -->
|
||||
<iframe name="ifcal" title="우편번호찾기 팝업" src="<c:url value='/framework/biz/cmm/popup/XitZipSearchList.do'/>" style="width:560px; height:340px;" frameborder=0></iframe>
|
@ -1,111 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||||
|
||||
|
||||
|
||||
|
||||
<%--<link rel="stylesheet" type="text/css" href="<c:url value='/resources/css/fims/framework/zip.css'/>" >--%>
|
||||
<link href="<c:url value='/'/>resources/css/fims/framework/oldcommon.css" rel="stylesheet" type="text/css" >
|
||||
<title>우편번호 찾기</title>
|
||||
<script type="text/javascript" src="<c:url value='/resources/js/fims/framework/egov/showModalDialogCallee.js'/>" ></script>
|
||||
<script type="text/javaScript" language="JavaScript">
|
||||
<!--
|
||||
/* ********************************************************
|
||||
* 페이징 처리 함수
|
||||
******************************************************** */
|
||||
function fn_xit_pageview(pageNo){
|
||||
document.listForm.pageIndex.value = pageNo;
|
||||
document.listForm.action = "<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>";
|
||||
document.listForm.submit();
|
||||
}
|
||||
/* ********************************************************
|
||||
* 조회 처리
|
||||
******************************************************** */
|
||||
function fn_xit_search_Zip(){
|
||||
document.listForm.pageIndex.value = 1;
|
||||
document.listForm.submit();
|
||||
}
|
||||
/* ********************************************************
|
||||
* 결과 우편번호,주소 반환
|
||||
******************************************************** */
|
||||
function fn_xit_return_Zip(zip,addr){
|
||||
var retVal = new Object();
|
||||
var sZip = zip;
|
||||
var vZip = zip.substring(0,3)+"-"+zip.substring(3,6);
|
||||
var sAddr = addr.replace("/^\s+|\s+$/g","");
|
||||
retVal.sZip = sZip;
|
||||
retVal.vZip = vZip;
|
||||
retVal.sAddr = sAddr;
|
||||
|
||||
setReturnValue(retVal);
|
||||
|
||||
parent.window.returnValue = retVal;
|
||||
parent.window.close();
|
||||
}
|
||||
-->
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 자바스크립트 경고 태그 -->
|
||||
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
|
||||
|
||||
<form name="listForm" action="<c:url value='/framework/biz/cmm/popup/ZipSearchList.do'/>" method="post">
|
||||
<input name="searchCondition" type="hidden" size="35" value="4" />
|
||||
<table style="width:550px" cellpadding="8" class="table-search" border="0">
|
||||
<tr>
|
||||
<td style="width:35%" class="title_left">
|
||||
<img src="<c:url value='/resources/image/fims/framework/etc/tit_icon.gif'/>" width="16" height="16" hspace="3" align="middle" alt="제목"/> 우편번호 찾기
|
||||
</td>
|
||||
<td style="width:60%" class="title_right">
|
||||
동명을 입력하시오. <input name="searchKeyword" type="text" size="20" value="${searchVO.searchKeyword}" maxlength="20" title="동명"/>
|
||||
</td>
|
||||
<th style="width:5%">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><img src="<c:url value='/resources/image/fims/framework/etc/bu2_left.gif'/>" alt="조회" width="8" height="20" /></td>
|
||||
<td class="btnBackground" nowrap="nowrap">
|
||||
<input type="submit" value="조회" onclick="javascript:fn_xit_search_Zip();" class="btnNew" style="height:20px;width:26px;padding:0px 0px 0px 0px;" >
|
||||
</td>
|
||||
<td><img src="<c:url value='/resources/image/fims/framework/etc/bu2_right.gif'/>" alt="조회" width="8" height="20" /></td>
|
||||
<td width="10"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</th>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style="width:550px" cellpadding="0" class="table-line" border="0" summary="우편번호 건색 결과를 알려주는 테이블입니다.우편번호 및 주소 내용을 담고 있습니다">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title" style="width:25%" scope="col" nowrap="nowrap">우편번호</th>
|
||||
<th class="title" style="width:75%" scope="col" nowrap="nowrap">주소</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
||||
<tr style="cursor:pointer;cursor:hand;" onclick="javascript:fn_xit_return_Zip( '${resultInfo.zip}', '${resultInfo.ctprvnNm} ${resultInfo.sggNm} ${resultInfo.emdNm} ${resultInfo.liBuldNm}');">
|
||||
<td class="lt_text3" nowrap="nowrap" ><c:out value='${fn:substring(resultInfo.zip, 0,3)}'/>-<c:out value='${fn:substring(resultInfo.zip, 3,6)}'/></td>
|
||||
<td class="lt_text" nowrap="nowrap" >${resultInfo.ctprvnNm} ${resultInfo.sggNm} ${resultInfo.emdNm} ${resultInfo.liBuldNm} ${resultInfo.lnbrDongHo}</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="width:550px" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td height="3px"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div align="center">
|
||||
<ul class="paging_align">
|
||||
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="fn_xit_pageview"/>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
||||
</form>
|
@ -1,272 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
|
||||
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('input').attr('autocomplete', 'off');
|
||||
$(".btn").click(function(){
|
||||
fn_findId();
|
||||
});
|
||||
|
||||
TabsUtil.init();
|
||||
});
|
||||
|
||||
/**
|
||||
* 비밀번호 찾기
|
||||
*/
|
||||
function fn_findId(){
|
||||
var activeForm = TabsUtil.activeForm();
|
||||
var param = $(activeForm).serialize();
|
||||
$.ajax({
|
||||
url : "${ctx}/login/findIdPopup/result.do",
|
||||
data : param,
|
||||
type : "post",
|
||||
dataType : "html",
|
||||
global : false,
|
||||
beforeSend:function(jqXhr, settings) {
|
||||
jqXhr.setRequestHeader('AJAX',true);
|
||||
},
|
||||
success : function(data) {
|
||||
$(activeForm).attr("action", "${ctx}/login/findIdPopup/result.do");
|
||||
$(activeForm).attr("method", "post");
|
||||
$(activeForm).submit();
|
||||
},
|
||||
error : function(request, error){
|
||||
alert("일치하는 회원 정보가 없습니다.");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 탭 도구
|
||||
* @date 2020.11.18.
|
||||
* @author 박민규
|
||||
*/
|
||||
var TabsUtil = {
|
||||
init: function(){
|
||||
$("#userSeTabs").tabs();
|
||||
$("#userSeTabs ul").show();
|
||||
},
|
||||
activeTab: function(){
|
||||
var selectedTab = $("#userSeTabs").tabs('option', 'active');
|
||||
return selectedTab;
|
||||
},
|
||||
activeForm: function(){
|
||||
var selectedTab = TabsUtil.activeTab();
|
||||
var form = $('#tabs-'+selectedTab+' form')[0];
|
||||
return form;
|
||||
},
|
||||
setUseSe: function(){
|
||||
var selectedTab = TabsUtil.activeTab();
|
||||
switch (selectedTab) {
|
||||
case 0:
|
||||
$('input[name="userSe"]').val('GNR');
|
||||
break;
|
||||
case 1:
|
||||
$('input[name="userSe"]').val('ENT');
|
||||
break;
|
||||
case 2:
|
||||
$('input[name="userSe"]').val('USR');
|
||||
break;
|
||||
default:
|
||||
$('input[name="userSe"]').val('');
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
#userSeTabs.ui-widget-content {
|
||||
margin-top: 10px;
|
||||
border: 0px;
|
||||
}
|
||||
#userSeTabs #tabs-0 {
|
||||
padding: 0px;
|
||||
margin-top: -35px;
|
||||
}
|
||||
#userSeTabs .ui-tabs-panel.ui-widget-content.ui-corner-bottom {
|
||||
padding: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<title>아이디 찾기</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="userSeTabs">
|
||||
<ul style="display: none;">
|
||||
<li><a href="#tabs-0">일반회원</a></li>
|
||||
<li><a href="#tabs-1">기업회원</a></li>
|
||||
<li><a href="#tabs-2">업무사용자</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div id="tabs-0">
|
||||
<form id="findIdForm" method="post">
|
||||
<input type="hidden" name="userSe" value="GNR"/>
|
||||
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">일반회원 아이디 찾기</p>
|
||||
<p class="text-center">※ 회원정보에 등록한 이름과 이메일 주소가 같아야 합니다.</p>
|
||||
|
||||
<div class="bg">
|
||||
<table class="table-03">
|
||||
<caption>아이디 찾기</caption>
|
||||
<colgroup>
|
||||
<col style="width: 80px;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span>* </span>이름</th>
|
||||
<td>
|
||||
<input type="text" id="name" name="name" title="이름" required="" placeholder="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>이메일</th>
|
||||
<td>
|
||||
<input type="text" id="email" name="email" title="이메일" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<!-- <button type="submit" href="#" id="find_btn" class="btn btn-blue">찾기</button> -->
|
||||
<button type="button" id="find_btn" class="btn btn-blue">찾기</button>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
</div>
|
||||
<!-- //tabs-0 -->
|
||||
|
||||
|
||||
<div id="tabs-1">
|
||||
<form id="findIdForm" method="post">
|
||||
<input type="hidden" name="userSe" value="ENT"/>
|
||||
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">기업회원 아이디 찾기</p>
|
||||
<p class="text-center">※ 회원정보에 등록한 이름과 이메일 주소가 같아야 합니다.</p>
|
||||
|
||||
<div class="bg">
|
||||
<table class="table-03">
|
||||
<caption>아이디 찾기</caption>
|
||||
<colgroup>
|
||||
<col style="width: 80px;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span>* </span>회사명</th>
|
||||
<td>
|
||||
<input type="text" id="name" name="name" title="이름" required="" placeholder="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>이메일</th>
|
||||
<td>
|
||||
<input type="text" id="email" name="email" title="이메일" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<!-- <button type="submit" href="#" id="find_btn" class="btn btn-blue">찾기</button> -->
|
||||
<button type="button" id="find_btn" class="btn btn-blue">찾기</button>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
</div>
|
||||
<!-- //tabs-1 -->
|
||||
|
||||
|
||||
<div id="tabs-2">
|
||||
<form id="findIdForm" method="post">
|
||||
<input type="hidden" name="userSe" value="USR"/>
|
||||
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">업무사용자 아이디 찾기</p>
|
||||
<p class="text-center">※ 회원정보에 등록한 이름과 이메일 주소가 같아야 합니다.</p>
|
||||
|
||||
<div class="bg">
|
||||
<table class="table-03">
|
||||
<caption>아이디 찾기</caption>
|
||||
<colgroup>
|
||||
<col style="width: 80px;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span>* </span>이름</th>
|
||||
<td>
|
||||
<input type="text" id="name" name="name" title="이름" required="" placeholder="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>이메일</th>
|
||||
<td>
|
||||
<input type="text" id="email" name="email" title="이메일" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<!-- <button type="submit" href="#" id="find_btn" class="btn btn-blue">찾기</button> -->
|
||||
<button type="button" id="find_btn" class="btn btn-blue">찾기</button>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
</div>
|
||||
<!-- //tabs-2 -->
|
||||
|
||||
|
||||
</div>
|
||||
<!-- //userSeTabs -->
|
||||
</body>
|
||||
</html>
|
@ -1,95 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
|
||||
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$('input').attr('autocomplete', 'off');
|
||||
$(".btn").click(function(){
|
||||
fn_findId();
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* 비밀번호 찾기
|
||||
*/
|
||||
function fn_findId(){
|
||||
var param = $("#findIdForm").serialize();
|
||||
$.ajax({
|
||||
url : "${ctx}/login/FindId_result_popup.do",
|
||||
data : param,
|
||||
type : "post",
|
||||
dataType : "html",
|
||||
global : false,
|
||||
beforeSend:function(jqXhr, settings) {
|
||||
jqXhr.setRequestHeader('AJAX',true);
|
||||
},
|
||||
success : function(data) {
|
||||
$("#findIdForm").attr("action", "${ctx}/login/findIdPopup/result.do");
|
||||
$("#findIdForm").attr("method", "post");
|
||||
$("#findIdForm").submit();
|
||||
},
|
||||
error : function(request, error){
|
||||
alert("일치하는 회원 정보가 없습니다.");
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<title>아이디 찾기</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="findIdForm" method="post">
|
||||
<input type="hidden" name="userSe" value="USR"/>
|
||||
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">아이디 찾기</p>
|
||||
<p class="text-center">※ 회원정보에 등록한 이름과 이메일 주소가 같아야 합니다.</p>
|
||||
|
||||
<div class="bg">
|
||||
<table class="table-03">
|
||||
<caption>아이디 찾기</caption>
|
||||
<colgroup>
|
||||
<col style="width: 80px;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span>* </span>이름</th>
|
||||
<td>
|
||||
<input type="text" id="name" name="name" title="이름" required="" placeholder="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>이메일</th>
|
||||
<td>
|
||||
<input type="text" id="email" name="email" title="이메일" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<!-- <button type="submit" href="#" id="find_btn" class="btn btn-blue">찾기</button> -->
|
||||
<button type="button" id="find_btn" class="btn btn-blue">찾기</button>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@ -1,85 +0,0 @@
|
||||
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
|
||||
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp" %>
|
||||
|
||||
<%-- <%@include file="/WEB-INF/sitemesh/main/includeBase.jsp" %> --%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
<title>아이디 찾기 결디</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
/**
|
||||
* 아이디 찾기
|
||||
*/
|
||||
function fn_FindId(){
|
||||
var popUrl ="${ctx}/login/findIdPopup/input.do";
|
||||
if(document.referrer.indexOf('findIdPopup/inputEvr.do')>-1)
|
||||
popUrl = "${ctx}/login/findIdPopup/inputEvr.do";
|
||||
var popOption = "width=500px, height=335px, resizable=no, location=no, top=100px, left100px;"
|
||||
|
||||
window.open(popUrl,"아이디 찾기",popOption);
|
||||
}
|
||||
|
||||
/**
|
||||
* 비밀번호 찾기
|
||||
*/
|
||||
function fn_FindPw(){
|
||||
var popUrl = "${ctx}/login/findPwdPopup/input.do";
|
||||
if(document.referrer.indexOf('findIdPopup/inputEvr.do')>-1)
|
||||
popUrl = "${ctx}/login/findPwdPopup/inputEvr.do";
|
||||
var popOption = "width=500px, height=380px, resizable=no, location=no, top=100px, left100px";
|
||||
var target = '비밀번호 찾기';
|
||||
|
||||
window.open(popUrl,target,popOption);
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="findPwForm">
|
||||
<input type="hidden" name="name" value="${xitLoginVO.name }"/>
|
||||
<input type="hidden" name="email" value="${xitLoginVO.email }"/>
|
||||
<input type="hidden" name="id" value="${userAcnt }"/>
|
||||
<input type="hidden" name="userSe" value="${xitLoginVO.userSe }"/>
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">아이디 찾기</p>
|
||||
|
||||
<div class="bg">
|
||||
<p class="result_msg">
|
||||
<c:choose>
|
||||
<c:when test="${userAcnt eq null}">
|
||||
아이디가 존재하지 않습니다.
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:out value="${xitLoginVO.name }"/>님의 아이디는 <span><c:out value="${userAcnt }"/></span> 입니다.
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<c:if test="${userAcnt eq null}">
|
||||
<a href="#" onclick="javascript:fn_FindId(); return false;" class="btn btn-blue">아이디 찾기</a>
|
||||
</c:if>
|
||||
<a href="#" onclick="javascript:fn_FindPw(); return false;" class="btn btn-blue">비밀번호 찾기</a>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,301 +0,0 @@
|
||||
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
|
||||
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp" %>
|
||||
|
||||
<%-- <%@include file="/WEB-INF/jsp/project/bustms/cmmn/includeBase.jsp" %> --%>
|
||||
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -->
|
||||
<!DOCTYPE html>
|
||||
<!-- <html lang="ko"> -->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
<title>비밀번호 찾기</title>
|
||||
<link rel="stylesheet" type="text/css" href="<c:url value='/'/>/resources/3rd-party/jquery-ui/1.13.2/themes/redmond/jquery-ui.css" />
|
||||
<script type="text/javascript" src="<c:url value='/'/>/resources/3rd-party/jquery-ui/1.13.2/jquery-ui.js" ></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".btn").click(function(){
|
||||
fn_findPw();
|
||||
fn_check();
|
||||
});
|
||||
|
||||
$('input').attr('autocomplete', 'off');
|
||||
|
||||
|
||||
|
||||
TabsUtil.init();
|
||||
});
|
||||
function fn_check(){
|
||||
var activeForm = TabsUtil.activeForm();
|
||||
if($(activeForm).find("#id").val().length==0 || $(activeForm).find("#name").val().length==0 || $(activeForm).find("#email").val().length==0){
|
||||
alert("입력란을 모두 작성해주세요.");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 비밀번호 찾기
|
||||
*/
|
||||
function fn_findPw(){
|
||||
var activeForm = TabsUtil.activeForm();
|
||||
var param = $(activeForm).serialize();
|
||||
$.ajax({
|
||||
url : "${ctx}/login/FindPwd_select_proc.do",
|
||||
data : param,
|
||||
type : "post",
|
||||
dataType : "json",
|
||||
global : false,
|
||||
beforeSend:function(jqXhr, settings) {
|
||||
jqXhr.setRequestHeader('AJAX',true);
|
||||
},
|
||||
success : function(data) {
|
||||
if(data.result == 'Y'){
|
||||
if(!confirm("비밀번호가 초기화 됩니다.\n\n계속 진행하시겠습니까?"))
|
||||
return false;
|
||||
|
||||
$(activeForm).attr("action", "${ctx}/login/FindPwd_update_proc.do");
|
||||
$(activeForm).attr("method", "post");
|
||||
$(activeForm).submit();
|
||||
}else{
|
||||
alert("입력하신 내용과 일치하는 정보가 없습니다.");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 탭 도구
|
||||
* @date 2020.11.18.
|
||||
* @author 박민규
|
||||
*/
|
||||
var TabsUtil = {
|
||||
init: function(){
|
||||
$("#userSeTabs").tabs();
|
||||
$("#userSeTabs ul").show();
|
||||
},
|
||||
activeTab: function(){
|
||||
var selectedTab = $("#userSeTabs").tabs('option', 'active');
|
||||
return selectedTab;
|
||||
},
|
||||
activeForm: function(){
|
||||
var selectedTab = TabsUtil.activeTab();
|
||||
var form = $('#tabs-'+selectedTab+' form')[0];
|
||||
return form;
|
||||
},
|
||||
setUseSe: function(){
|
||||
var selectedTab = TabsUtil.activeTab();
|
||||
switch (selectedTab) {
|
||||
case 0:
|
||||
$('input[name="userSe"]').val('GNR');
|
||||
break;
|
||||
case 1:
|
||||
$('input[name="userSe"]').val('ENT');
|
||||
break;
|
||||
case 2:
|
||||
$('input[name="userSe"]').val('USR');
|
||||
break;
|
||||
default:
|
||||
$('input[name="userSe"]').val('');
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
#userSeTabs.ui-widget-content {
|
||||
margin-top: 10px;
|
||||
border: 0px;
|
||||
}
|
||||
#userSeTabs #tabs-0 {
|
||||
padding: 0px;
|
||||
margin-top: -35px;
|
||||
}
|
||||
#userSeTabs .ui-tabs-panel.ui-widget-content.ui-corner-bottom {
|
||||
padding: 0px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="userSeTabs">
|
||||
<ul style="display: none;">
|
||||
<li><a href="#tabs-0">일반회원</a></li>
|
||||
<li><a href="#tabs-1">기업회원</a></li>
|
||||
<li><a href="#tabs-2">업무사용자</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div id="tabs-0">
|
||||
<form id="findPwForm" method="post">
|
||||
<input type="hidden" name="userSe" value="GNR"/>
|
||||
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">일반회원 비밀번호 찾기</p>
|
||||
|
||||
<div class="bg">
|
||||
<table class="table-03">
|
||||
<caption>비밀번호 찾기</caption>
|
||||
<colgroup>
|
||||
<col style="width: 80px;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span>* </span>이름</th>
|
||||
<td>
|
||||
<input type="text" id="name" name="name" title="이름" value="${xitLoginVO.name }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>아이디</th>
|
||||
<td>
|
||||
<input type="text" id="id" name="id" title="아이디" value="${xitLoginVO.id }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>이메일</th>
|
||||
<td>
|
||||
<input type="text" id="email" name="email" title="이메일" value="${xitLoginVO.email }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<button type="button" class="btn btn-blue">비밀번호 찾기</button>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
</div>
|
||||
<!-- //tabs-0 -->
|
||||
|
||||
|
||||
<div id="tabs-1">
|
||||
<form id="findPwForm" method="post">
|
||||
<input type="hidden" name="userSe" value="ENT"/>
|
||||
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">기업회원 비밀번호 찾기</p>
|
||||
|
||||
<div class="bg">
|
||||
<table class="table-03">
|
||||
<caption>비밀번호 찾기</caption>
|
||||
<colgroup>
|
||||
<col style="width: 80px;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span>* </span>회사명</th>
|
||||
<td>
|
||||
<input type="text" id="name" name="name" title="이름" value="${xitLoginVO.name }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>아이디</th>
|
||||
<td>
|
||||
<input type="text" id="id" name="id" title="아이디" value="${xitLoginVO.id }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>이메일</th>
|
||||
<td>
|
||||
<input type="text" id="email" name="email" title="이메일" value="${xitLoginVO.email }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<button type="button" class="btn btn-blue">비밀번호 찾기</button>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
</div>
|
||||
<!-- //tabs-1 -->
|
||||
|
||||
|
||||
<div id="tabs-2">
|
||||
<form id="findPwForm" method="post">
|
||||
<input type="hidden" name="userSe" value="USR"/>
|
||||
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">업무사용자 비밀번호 찾기</p>
|
||||
|
||||
<div class="bg">
|
||||
<table class="table-03">
|
||||
<caption>비밀번호 찾기</caption>
|
||||
<colgroup>
|
||||
<col style="width: 80px;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span>* </span>이름</th>
|
||||
<td>
|
||||
<input type="text" id="name" name="name" title="이름" value="${xitLoginVO.name }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>아이디</th>
|
||||
<td>
|
||||
<input type="text" id="id" name="id" title="아이디" value="${xitLoginVO.id }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>이메일</th>
|
||||
<td>
|
||||
<input type="text" id="email" name="email" title="이메일" value="${xitLoginVO.email }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<button type="button" class="btn btn-blue">비밀번호 찾기</button>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
</div>
|
||||
<!-- //tabs-2 -->
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,113 +0,0 @@
|
||||
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
|
||||
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp" %>
|
||||
|
||||
<%-- <%@include file="/WEB-INF/jsp/project/bustms/cmmn/includeBase.jsp" %> --%>
|
||||
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -->
|
||||
<!DOCTYPE html>
|
||||
<!-- <html lang="ko"> -->
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
<title>비밀번호 찾기</title>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(".btn").click(function(){
|
||||
fn_findPw();
|
||||
fn_check();
|
||||
});
|
||||
|
||||
$('input').attr('autocomplete', 'off');
|
||||
});
|
||||
function fn_check(){
|
||||
if($("#id").val().length==0 || $("#name").val().length==0 || $("#email").val().length==0){
|
||||
alert("입력란을 모두 작성해주세요.");
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 비밀번호 찾기
|
||||
*/
|
||||
function fn_findPw(){
|
||||
var param = $("#findPwForm").serialize();
|
||||
$.ajax({
|
||||
url : "${ctx}/login/FindPwd_select_proc.do",
|
||||
data : param,
|
||||
type : "post",
|
||||
dataType : "json",
|
||||
global : false,
|
||||
beforeSend:function(jqXhr, settings) {
|
||||
jqXhr.setRequestHeader('AJAX',true);
|
||||
},
|
||||
success : function(data) {
|
||||
if(data.result == 'Y'){
|
||||
if(!confirm("비밀번호가 초기화 됩니다.\n\n계속 진행하시겠습니까?"))
|
||||
return false;
|
||||
|
||||
$("#findPwForm").attr("action", "${ctx}/login/FindPwd_update_proc.do");
|
||||
$("#findPwForm").attr("method", "post");
|
||||
$("#findPwForm").submit();
|
||||
}else{
|
||||
alert("입력하신 내용과 일치하는 정보가 없습니다.");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form id="findPwForm" method="post">
|
||||
<input type="hidden" name="userSe" value="USR"/>
|
||||
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px; padding: 53px 45px;">
|
||||
<p class="container-window-header2">비밀번호 찾기</p>
|
||||
|
||||
<div class="bg">
|
||||
<table class="table-03">
|
||||
<caption>비밀번호 찾기</caption>
|
||||
<colgroup>
|
||||
<col style="width: 80px;"/>
|
||||
<col/>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><span>* </span>이름</th>
|
||||
<td>
|
||||
<input type="text" id="name" name="name" title="이름" value="${xitLoginVO.name }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>아이디</th>
|
||||
<td>
|
||||
<input type="text" id="id" name="id" title="아이디" value="${xitLoginVO.id }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><span>* </span>이메일</th>
|
||||
<td>
|
||||
<input type="text" id="email" name="email" title="이메일" value="${xitLoginVO.email }" required="" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<button type="button" class="btn btn-blue">비밀번호 찾기</button>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,65 +0,0 @@
|
||||
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ include file="/WEB-INF/jsp/include/taglib.jsp" %>
|
||||
<%@ include file="/WEB-INF/jsp/include/fims/taglib.jsp" %>
|
||||
|
||||
<%-- <%@include file="/WEB-INF/sitemesh/main/includeBase.jsp" %> --%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no">
|
||||
<title>비밀번호 찾기</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
//팝업창 닫기
|
||||
function fn_close(){
|
||||
window.close();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="findArea">
|
||||
<div class="popup" style="min-width: 100%;">
|
||||
<div class="container-window3" style="max-width: 500px;">
|
||||
<p class="container-window-header2">비밀번호 찾기</p>
|
||||
|
||||
<div class="bg">
|
||||
<c:choose>
|
||||
<c:when test="${result == 'Y' }">
|
||||
<%-- <p class="result_msg"><c:out value="${xitLoginVO.name }"/>님의 이메일로 비밀번호가 발송되었습니다.</p> --%>
|
||||
<p class="result_msg">
|
||||
<c:out value="${xitLoginVO.name }"/>님의 패스워드가 <strong><c:out value="${tempPwd }"/></strong>로 변경 되었습니다.
|
||||
</p>
|
||||
<p class="result_msg">
|
||||
비밀번호를 수정 후 사용하시기 바랍니다.
|
||||
</p>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<p class="result_msg">
|
||||
<c:out value="${xitLoginVO.message }"/>
|
||||
</p>
|
||||
<p class="result_msg">
|
||||
실패사유: <c:out value="${xitLoginVO.failDetail }"/>
|
||||
</p>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="container-window-btn1 text-center">
|
||||
<span>
|
||||
<a href="#" onclick="javascript:fn_close(); return false;" class="btn btn-lightgray">닫기</a>
|
||||
</span>
|
||||
</div>
|
||||
<!-- //등록버튼 -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- //popup -->
|
||||
|
||||
</div>
|
||||
<!-- // findArea -->
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,26 +0,0 @@
|
||||
/* 사용자 수정 화면 오픈 */
|
||||
function fn_goMyView(uniqId, userSe) {
|
||||
|
||||
let popUrl ='';
|
||||
let popOption = '';
|
||||
let params = {
|
||||
selectedId: uniqId
|
||||
};
|
||||
|
||||
popUrl = "/framework/biz/mng/usr/modifyUserPopup.do";
|
||||
popOption = {width: 1100, height: 600};
|
||||
params = {uniqId: uniqId}
|
||||
|
||||
|
||||
const target = '정보수정';
|
||||
$.blockUI({message: '' ,css: {width: '100%', height: '100%'}
|
||||
//모달창 외부 클릭시 닫기
|
||||
,onOverlayClick: () => {
|
||||
$.unblockUI();
|
||||
popup?.self?.close();
|
||||
}
|
||||
});
|
||||
popup = CmmPopup.open(popUrl, params, popOption, target);
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue