fix : 자바 폴더 내 jsp파일 제거

main
이범준 2 years ago
parent faa67c078a
commit ab62131713

@ -1,320 +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/framework/js/egov/EgovZipPopup.js' />" ></script>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function(){
XitUserReg_inputEvr.init();
});
function showModalDialogCallback(retVal) {
XitUserReg_inputEvr.fnIdCheckCallback(retVal);
}
var XitUserReg_inputEvr = {
init: function(){
//중복아이디 검색 EventListener
$('.fnIdCheck').on({
click: function(){
XitUserReg_inputEvr.fnIdCheck();
}
});
//우편번호 검색 버튼 EventListener
$('.addrSearch').on({
click: function(){
XitUserReg_inputEvr.fnSearchAdres();
}
});
//저장 버튼 EventListener
$('.btnSave').on({
click: function(){
XitUserReg_inputEvr.addData();
}
});
//회원유형 탭 초기화
TabsUtil.init();
},
addData: function(){
var activeTab = TabsUtil.activeTab();
var activeForm = TabsUtil.activeForm();
oRequired = new required();
for (x in oRequired) {
var field = activeForm[oRequired[x][0]];
console.log(field);
}
switch (activeTab) {
case 0:
// if(!validateMberManageVO(activeForm))
// return false;
if(activeForm.password.value != activeForm.password2.value){
alert("<spring:message code="fail.user.passwordUpdate2" />");
return false;
}
break;
case 1:
// if(!validateEntrprsManageVO(activeForm))
// return false;
if(activeForm.entrprsMberPassword.value != activeForm.entrprsMberPassword2.value){
alert("<spring:message code="fail.user.passwordUpdate2" />");
return false;
}
break;
case 2:
// if(!validateUserManageVO(activeForm))
// return false;
if(activeForm.password.value != activeForm.password2.value){
alert("<spring:message code="fail.user.passwordUpdate2" />");
return false;
}
break;
default:
return false;
break;
}
activeForm.submit();
},
fnIdCheck: function(){
var activeTab = TabsUtil.activeTab();
var activeForm = TabsUtil.activeForm();
var elemntId = '';
switch (activeTab) {
case 0:
elemntId = 'mberId';
break;
case 1:
elemntId = 'entrprsmberId';
break;
case 2:
elemntId = 'emplyrId';
break;
default:
return false;
break;
}
var retVal;
var url = "<c:url value='/_anonymous_/login/IdDuplCnfirm.do'/>";
var varParam = new Object();
varParam.checkId = activeForm[elemntId].value;
var openParam = "dialogWidth:555px;dialogHeight:320px;scroll:no;status:no;center:yes;resizable:yes;";
retVal = window.showModalDialog(url, varParam, openParam);
if(retVal) {
activeForm[elemntId].value = retVal;
}
},
fnIdCheckCallback: function(retVal){
var activeTab = TabsUtil.activeTab();
var activeForm = TabsUtil.activeForm();
var elemntId = '';
switch (activeTab) {
case 0:
elemntId = 'mberId';
break;
case 1:
elemntId = 'entrprsmberId';
break;
case 2:
elemntId = 'emplyrId';
break;
default:
return false;
break;
}
if(retVal) {
activeForm[elemntId].value = retVal;
}
},
/* ========================
* 주소 검색 팝업 OPEN
-도로명 주소를 검색할 수 있는 팝업을 오픈한다.
======================== */
fnSearchAdres: function(){
var popUrl = '<c:url value="/_anonymous_/api/AdresSearch.do"/>';
var params = '?callback=XitUserReg_inputEvr.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 totalDetailAdres = ""; // 전체 상세 주소
totalDetailAdres += obj.addrDetail;
totalDetailAdres += obj.roadAddrPart2;
//화면에 출력
var activeTab = TabsUtil.activeTab();
var activeForm = TabsUtil.activeForm();
switch (activeTab) {
case 0:
activeForm.adres.value = obj.roadAddrPart1;
activeForm.zip.value = obj.zipNo;
activeForm.detailAdres.value = totalDetailAdres;
break;
case 1:
activeForm.adres.value = obj.roadAddrPart1;
activeForm.zip.value = obj.zipNo;
activeForm.detailAdres.value = totalDetailAdres;
break;
case 2:
activeForm.houseAdres.value = obj.roadAddrPart1;
activeForm.zip.value = obj.zipNo;
activeForm.zip_view.value = obj.zipNo;
activeForm.detailAdres.value = totalDetailAdres;
break;
default:
break;
}
}
}
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 = TabsUtil.activeForm();
frm.crtfcDnValue.value = dn;
}
/*
if (typeof(opener.fn_egov_dn_info_setting) == 'undefined') {
alert('메인 화면이 변경되거나 없습니다');
this.close();
} else {
opener.fn_egov_dn_info_setting(dn);
this.close();
}
*/
/**
* 탭 도구
* @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;
}
}
}
/* ********************************************************
* 처리결과메시지 출력
******************************************************** */
<c:if test="${!empty message}">alert("${message}");</c:if>
</script>
<style>
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-1">기업회원</a></li>
<li><a href="#tabs-2">업무사용자</a></li>
</ul>
<div id="tabs-0">
<%@ include file="/WEB-INF/jsp/framework/biz/cmm/anonymous/forms/GnrUserForm.jsp" %>
</div>
<!-- //tabs-0 -->
<div id="tabs-1">
<%@ include file="/WEB-INF/jsp/framework/biz/cmm/anonymous/forms/EntUserForm.jsp" %>
</div>
<!-- //tabs-1 -->
<div id="tabs-2">
<%@ include file="/WEB-INF/jsp/framework/biz/cmm/anonymous/forms/UserForm.jsp" %>
</div>
<!-- //tabs-2 -->
</div>
<!-- //userSeTabs -->
</div>
Loading…
Cancel
Save