File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%@ 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 prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<script src="https://t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script>
<script language=javascript>
$(document).ready(function(){
if('03' == '${cmpPhoneChangeManageVO.hstSttus}'){
$("#workFileView").css("display","");
}
$(".fileView").children('img').remove();
$("#exPassword").keydown(function(key) {
if (key.keyCode == 13) { // μν°ν€κ° λλ Έμ λ
selectInputPwAjax()
}
});
// κΈ°λ³Έμ 보 μ 보 μ΄λ©μΌ μ£Όμ μ ν
$("#selectEmail").on("change",function(){
$("#emailAdd").val($(this).val());
});
// κ³μ°μ μ 보 μ΄λ©μΌ μ£Όμ μ ν
$("#selectTaxMngEmail").on("change",function(){
$("#taxMngEmail2").val($(this).val());
});
// μ¬μ
μλ±λ‘μ¦ λ³κ²½ μ΄λ²€νΈ
$(".input-file").change(function(e){
var id = $(this).attr("id");
var files = $("#"+id)[0].files;
tempFile(files);
});
//μ¬μ
μλ±λ‘λ²νΈ μ
λ ₯
$("input[name=bizNo]").on("keyup", function() {
$(this).val(bizNo($(this).val().replace(/[^-\.0-9]/g,"")))
})
});
// μμμ°½μμ νΈμΆ
function setWorkFileView() {
$("#workFileView").css("display","");
}
//μ¬μ
μλ±λ‘λ²νΈ - λ£κΈ°
function bizNo(str){
str = str.replace(/[^0-9]/g, '');
var tmp = '';
if(str.length < 4){
return str;
}else if(str.length < 7){
tmp += str.substr(0, 3);
tmp += '-';
tmp += str.substr(3);
return tmp;
}else{
tmp += str.substr(0, 3);
tmp += '-';
tmp += str.substr(3, 2);
tmp += '-';
tmp += str.substr(5);
return tmp;
}
return str;
}
function goMyPage(){
document.updateUserInfoForm.action = '/web/user/mberInfoChange.do';
document.updateUserInfoForm.submit();
}
//νμ¬ λΉλ°λ²νΈ μ
λ ₯ ν λ§λμ§ μ‘°ν
function selectInputPwAjax(){
if($("#exPassword").val() == ""){
alert("λΉλ°λ²νΈλ₯Ό μ
λ ₯ν΄ μ£ΌμΈμ.");
return false;
}
var form = document.selectPasswordCheckForm;
form.password.value = $("#exPassword").val();
var data = new FormData(form);
$.ajax({
cache : false
,url : "<c:url value='/web/user/selectPasswordCheckAjax.do'/>"
,async:false
,type : 'POST'
,data : data
,dataType:'json'
,processData: false
,contentType: false
,success : function(returnData, status){
if(returnData.result == "success") {
if(returnData.pwCheck == "1"){
$("#passwordCheckPage").css("display", "none");
$("#userInfoPage").css("display", "block");
$("#tr_cert").val(returnData.certVO.tr_cert);
$("#tr_url").val(returnData.certVO.tr_url);
$("#tr_add").val(returnData.certVO.tr_add);
}else{
$(".pass_no").css("display", "block");
$('#exPassword').val("");
$('#exPassword').focus();
}
} else{
alert(returnData.message);
return;
}
}
,error : function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
//μ¬μ
μλ±λ‘λ²νΈ νμΈ
function bizNoCheck(){
var numberMap = $("#bizNo").val().replace(/-/gi, '').split('').map(function (d){
return parseInt(d, 10);
});
if(numberMap.length == 10){
var keyArr = [1, 3, 7, 1, 3, 7, 1, 3, 5];
var chk = 0;
keyArr.forEach(function(d, i){
chk += d * numberMap[i];
});
chk += parseInt((keyArr[8] * numberMap[8])/ 10, 10);
console.log(chk);
if(Math.floor(numberMap[9]) === ( (10 - (chk % 10) ) % 10)){
alert("μ¬μ
μ λ²νΈ νμΈμ΄ μλ£ λμμ΅λλ€.");
return false;
}else{
alert("μ¬μ
μ λ²νΈκ° μ ν¨νμ§ μμ΅λλ€.");
return false;
}
}
alert("μ¬μ
μ λ²νΈκ° μ ν¨νμ§ μμ΅λλ€.");
return false;
}
//μ£Όμ κ²μ
function openDaumZipAddress(){
new daum.Postcode({
oncomplete: function(data) {
$("#zip").val(data.zonecode);
if(data.userSelectedType == "R"){
$("#adres").val(data.roadAddress);
}else{
$("#adres").val(data.jibunAddress);
}
}
}).open();
}
//μλ₯λ±λ‘ [μμ]--------------------------------------------------------------------------------------------
function selectAddFile(id){
$('#'+id).click();
}
//첨λΆνμΌ λ±λ‘
var _fileIdx = 0;
var _fileForm2 = new Array();
function tempFile(files){
var fd = new FormData();
fd.append('file', files[0]);
var tmpObj = new Object();
tmpObj.name = "file_" + _fileIdx;
tmpObj.fileObj = files[0];
_fileForm2.push(tmpObj);
tempFileInfo(files[0]);
_fileIdx++;
}
function tempFileInfo(fileObj){
$("#fileInfo").val(fileObj.name);
}
//μλ₯λ±λ‘ [λ]--------------------------------------------------------------------------------------------
//ν΄λν λ²νΈ λ±λ‘ [μμ]--------------------------------------------------------------------------------------------
window.name = "kmcis_web_sample";
var KMCIS_window;
function openKMCISWindow(){
//λ³ΈμΈμΈμ¦μλ λ‘κ·Έ
certAccessLog();
var UserAgent = navigator.userAgent;
/* λͺ¨λ°μΌ μ κ·Ό 체ν¬*/
// λͺ¨λ°μΌμΌ κ²½μ° (λ³λμ¬ν μμκ²½μ° μΆκ° νμ)
if (UserAgent.match(/iPhone|iPod|Android|Windows CE|BlackBerry|Symbian|Windows Phone|webOS|Opera Mini|Opera Mobi|POLARIS|IEMobile|lgtelecom|nokia|SonyEricsson/i) != null || UserAgent.match(/LG|SAMSUNG|Samsung/) != null) {
document.reqKMCISForm.target = 'KMCISWindow'; // λͺ¨λ°μΌ
} else { // λͺ¨λ°μΌμ΄ μλ κ²½μ°
KMCIS_window = window.open('', 'KMCISWindow', 'width=425, height=550, resizable=0, scrollbars=no, status=0, titlebar=0, toolbar=0, left=435, top=250' );
if(KMCIS_window == null){
alert(" β» μλμ° XP SP2 λλ μΈν°λ· μ΅μ€νλ‘λ¬ 7 μ¬μ©μμΌ κ²½μ°μλ \n νλ©΄ μλ¨μ μλ νμ
μ°¨λ¨ μλ¦Όμ€μ ν΄λ¦νμ¬ νμ
μ νμ©ν΄ μ£ΌμκΈ° λ°λλλ€. \n\nβ» MSN,μΌν,κ΅¬κΈ νμ
μ°¨λ¨ ν΄λ°κ° μ€μΉλ κ²½μ° νμ
νμ©μ ν΄μ£ΌμκΈ° λ°λλλ€.");
}
document.reqKMCISForm.target = 'KMCISWindow';
}
document.reqKMCISForm.action = 'https://www.kmcert.com/kmcis/web/kmcisReq.jsp';
document.reqKMCISForm.submit();
}
//ν΄λν λ²νΈ λ±λ‘ [λ]--------------------------------------------------------------------------------------------
//νμμ 보 λ³κ²½
var doubleSubmitFlag = false; //μ€λ³΅ λ±λ‘ λ°©μ§λ₯Ό μν λ³μ
function updateUserInfo(){
//μ νλ²νΈ μμ 체ν¬
var regExp = /^(01[016789]{1}|02|0[3-9]{1}[0-9]{1})-?[0-9]{3,4}-?[0-9]{4}$/;
if($("#agree1_1").is(":checked")){
$("#receiveMsg").val("Y");
}else{
$("#receiveMsg").val("N");
}
if($("#agree1_2").is(":checked")){
$("#receiveKakao").val("Y");
}else{
$("#receiveKakao").val("N");
}
if($("#agree1_3").is(":checked")){
$("#receivemail").val("Y");
}else{
$("#receivemail").val("N");
}
if($("#emailId").val().trim() == "" || $("#emailAdd").val().trim() == ""){
alert("μ΄λ©μΌμ νμ μ
λ ₯ νλͺ©μ
λλ€.")
return false;
}else {
var email = $("#emailId").val() + "@" + $("#emailAdd").val();
var taxExptext = /^[0-9a-zA-Z]([-_.]?[0-9a-zA-Z])*@[0-9a-zA-Z]([-_.]?[0-9a-zA-Z])*.[a-zA-Z]{2,3}$/i;
if(taxExptext.test(email)==false){
alert("μ΄λ©μΌμ£Όμ νμμ΄ μ¬λ°λ₯΄μ§ μμ΅λλ€.");
return false;
}
$("#mberEmailAdres").val(email);
}
if("${cmpPhoneChangeManageVO.hstSttus}" == '03'){
if($("#atFileBasicWriteWork").val() == ''){ //λ°λ €μ²λ¦¬ μ¬λ±λ‘ μ μ¬μ§μ¦λͺ
μ 체ν¬
alert("μ¬μ§μ¦λͺ
μλ₯Ό 첨λΆν΄μ£ΌμΈμ.")
return false;
}
$("#moblphonNoChangeYn").val('Y') //λ°λ €μ²λ¦¬ μ¬λ±λ‘ μ ν΄λν° μΈμ¦ μ²λ¦¬
}
/* if("${userInfo.moblphonNo}" != $("#moblphonNo").val()){
if($("#moblphonNoChangeYn").val() == 'N'){
alert("ν΄λν° λ³κ²½μ λ³ΈμΈμΈμ¦ ν κ°λ₯ν©λλ€.");
return false;
}
} */
var _fileForm2 = new Array();
var form = document.updateUserInfoForm;
var data = new FormData(form);
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
if(doubleSubmitFlag){
alert("μ΄λ―Έ μ¬λ±λ‘νμ
¨μ΅λλ€.");
return false;
}else{
$.ajax({
type : 'POST'
, enctype : 'multipart/form-data'
, url : "<c:url value='/web/user/updateUserInfoAjax.do'/>"
, data : data
, dataType:'json'
, async:false
, processData: false
, contentType: false
, cache : false
, success : function(returnData, status){
if(returnData.result == "success") {
alert("νμμ λ³΄κ° μ μμ μΌλ‘ λ³κ²½λμμ΅λλ€.");
doubleSubmitFlag = true;
goMyPage();
} else{
alert(returnData.message);
return;
}
}
,error : function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
}
//κΈ°μ
νμμ 보 λ³κ²½
var doubleSubmitFlag2 = false; //μ€λ³΅ λ±λ‘ λ°©μ§λ₯Ό μν λ³μ
function updateCmpUserInfo(){
var frm = document.updateCmpUserInfoForm;
if(frm.mberNm.value == ''){
alert("νμ¬λͺ
μ μ
λ ₯ν΄μ£ΌμΈμ"); return false;
}
if(frm.ceoNm.value == ''){
alert("λνλ₯Ό μ
λ ₯ν΄μ£ΌμΈμ"); return false;
}
//μ¬μ
μλ±λ‘λ²νΈ 체ν¬
var numberMap = $("#bizNo").val().replace(/-/gi, '').split('').map(function (d){
return parseInt(d, 10);
});
if(numberMap.length == 10){
var keyArr = [1, 3, 7, 1, 3, 7, 1, 3, 5];
var chk = 0;
keyArr.forEach(function(d, i){
chk += d * numberMap[i];
});
chk += parseInt((keyArr[8] * numberMap[8])/ 10, 10);
if(Math.floor(numberMap[9]) !== ( (10 - (chk % 10) ) % 10)){
alert("μ¬μ
μ λ²νΈκ° μ ν¨νμ§ μμ΅λλ€.");
return false;
}
}else{
alert("μ¬μ
μ λ²νΈκ° μ ν¨νμ§ μμ΅λλ€.");
return false;
}
if(doubleSubmitFlag2){
alert("μ΄λ―Έ λ±λ‘νμ
¨μ΅λλ€.");
return false;
}else{
frm.bizNo.value = frm.bizNo.value.replace(/-/gi, "").trim();
var data = new FormData(frm);
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
type : 'POST'
, enctype : 'multipart/form-data'
, url : "<c:url value='/web/user/updateCmpUserInfoAjax.do'/>"
, data : data
, dataType:'json'
, async:false
, processData: false
, contentType: false
, cache : false
, success : function(returnData, status){
if(returnData.result == "success") {
alert("κΈ°μ
μ 보 λ³κ²½μ΄ μ μ²λμμ΅λλ€.");
doubleSubmitFlag2 = true;
location.reload(); //κΈ°μ
μ 보 λ³κ²½ μ¬μ¬νλ©΄μ μν μλ‘κ³ μΉ¨
} else{
alert(returnData.message);
return;
}
}
,error : function(request , status, error){
// alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
alert("μ€λ₯κ° λ°μνμμ΅λλ€. \nμ
λ ₯ κ°μ λ€μ νμΈν΄ μ£ΌμΈμ.");
}
});
}
}
//κΈ°μ
μ 보λ³κ²½ μ¬λ±λ‘
var doubleSubmitFlag3 = false; //μ€λ³΅ λ±λ‘ λ°©μ§λ₯Ό μν λ³μ
function updateCmpUserRe(){
var form = document.updateCmpUserInfoForm;
if($("#atFileBasicWrite").val() == ''){
alert("μ¬μ
μλ±λ‘μ¦μ 첨λΆν΄μ£ΌμΈμ.")
return false;
}
form.bizNo.value = $("#bizNo").val().replaceAll('-','');
if(doubleSubmitFlag3){
alert("μ΄λ―Έ μ¬λ±λ‘νμ
¨μ΅λλ€.");
return false;
}else{
var _fileForm2 = new Array();
var data = new FormData(form);
_fileForm2.forEach(function(obj, idx) {
if (obj) data.append("file"+idx, obj.fileObj);
});
$.ajax({
cache : false
,url : "<c:url value='/web/user/updateCmpUserInfoAjax.do'/>"
,async:false
,type : 'POST'
,data : data
,dataType:'json'
,processData: false
,contentType: false
,success : function(returnData, status){
if(returnData.result == "success") {
alert("κΈ°μ
νμ μ 보λ³κ²½ μ¬λ±λ‘μ΄ μλ£λμμ΅λλ€.");
doubleSubmitFlag3 = true;
location.href='/web/user/mberInfoChange.do'; //λ§μ΄νμ΄μ§λ‘ μ΄λ
} else{
alert(returnData.message);
return;
}
}
,error : function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
}
//κΈ°μ
μ 보 λ³κ²½ μ¬λ±λ‘ μ·¨μ μ²λ¦¬
function updateCmpUserReCancel(cmpHstId){
if(!confirm("κΈ°μ
νμ λ³κ²½μ μ·¨μνμκ² μ΅λκΉ?")){
return false;
}
$.ajax({
type : 'POST'
,url : "<c:url value='/web/user/updateCmpUserInfoCancelAjax.do'/>"
,async:false
,data : {"cmpHstId":cmpHstId}
,dataType:'json'
,success : function(returnData, status){
if(returnData.result == "success") {
alert("κΈ°μ
νμ μ 보λ³κ²½ μ¬λ±λ‘ μ·¨μ μμ²μ΄ μ²λ¦¬λμμ΅λλ€.");
location.href='/web/user/mberInfoIndex.do'; //λ§μ΄νμ΄μ§λ‘ μ΄λ
} else{
alert(returnData.message);
return;
}
}
,error : function(request , status, error){
alert("κΈ°μ
νμ μ 보λ³κ²½ μ·¨μμμ² μ²λ¦¬ μ€ μ€λ₯κ° λ°μνμμ΅λλ€.");
console.log("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
//νμΌλ€μ΄λ‘λ
function fn_egov_downFile(atchFileId, fileSn){
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
}
function cortabView(obj){
var target=$(obj).closest('li');
var corTarget=$('.input_wrap .input_list_cor');
var idx=target.index();
target.closest('ul').find('li').removeClass('active');
target.addClass('active');
corTarget.hide().eq(idx).show();
}
function changeValue(obj){
$('#atFileBasicWrite').val(obj.value);
}
function changeValueWork(obj){
$('#atFileBasicWriteWork').val(obj.value);
}
</script>
<div class="inner">
<!-- send top -->
<div class="send_top">
<!-- tab button -->
<%@include file="/WEB-INF/jsp/web/user/mypageHeader.jsp" %>
<!--// tab button -->
<!-- λ§μ΄νμ΄μ§ - λΉλ°λ²νΈ νμΈ -->
<form id="selectPasswordCheckForm" name="selectPasswordCheckForm" method="post">
<input type="hidden" name="password" id="password">
<input type="hidden" name="userTy" id="userTy" value="userInfoCh">
</form>
<!-- phone λ³ΈμΈμΈμ¦ Form -->
<form name="reqKMCISForm" method="post" action="#">
<input type="hidden" name="tr_cert" id="tr_cert" value="">
<input type="hidden" name="tr_url" id="tr_url" value="">
<input type="hidden" name="tr_add" id="tr_add" value="">
<input type="hidden" name="tr_ver" value = "V2">
</form>
<!-- λ§μ΄νμ΄μ§ - νμμ 보 λ³κ²½ -->
<div class="mypage_content current" id="tab5_1">
<!-- λ§μ΄νμ΄μ§ - νμμ 보 λ³κ²½ -->
<form id="updateUserInfoForm" name="updateUserInfoForm" method="post">
<input type="hidden" name="dept" id="dept" value="<c:out value="${userInfo.dept}"/>">
<input type="hidden" name="mberId" id="mberId" value="<c:out value="${userInfo.mberId}"/>">
<input type="hidden" name="moblphonNoChangeYn" id="moblphonNoChangeYn" value="N">
<input type="hidden" name="mblDn" id="mblDn" value="">
<input type="hidden" name="mberEmailAdres" id="mberEmailAdres">
<input type="hidden" name="receiveMsg" id="receiveMsg"> <!-- λ§μΌν
μμ λμ - ν΄λν° -->
<input type="hidden" name="receiveKakao" id="receiveKakao"> <!-- λ§μΌν
μμ λμ - μΉ΄μΉ΄μ€ -->
<input type="hidden" name="receivemail" id="receivemail"> <!-- λ§μΌν
μμ λμ - μ΄λ©μΌ -->
<!-- <input type="hidden" name="atchFileId" id="atchFileId" /> -->
<input type="hidden" name="taxMngEmail" id="taxMngEmail" />
<div id="passwordCheckPage" style="display: block;">
<!-- λΉλ°λ²νΈ νμΈ -->
<div class="heading">
<h2>λΉλ°λ²νΈ νμΈ</h2>
</div>
<div class="mem_cont_in widthS">
<div class="input_list">
<p class="list_title2">λΉλ°λ²νΈ νμΈ ν μ΄μ© κ°λ₯ν νμ΄μ§ μ
λλ€.</p>
<div class="input_list_item colorW">
<div class="input_left">μμ΄λ</div>
<div class="input_right">
<label for="" class="label">μμ΄λ</label>
<input type="text" class="list_inputType1" value='<c:out value="${userInfo.mberId}"/>' readonly>
</div>
</div>
<div class="input_list_item">
<div class="input_left">λΉλ°λ²νΈ</div>
<div class="input_right">
<label for="" class="label">λΉλ°λ²νΈ μ
λ ₯</label>
<input type="password" class="list_inputType1" id="exPassword" name="exPassword">
</div>
<div class="list_alert pass_no" style="display: none;">
<i></i> <span>λΉλ°λ²νΈκ° μΌμΉνμ§ μμ΅λλ€.</span>
</div>
</div>
<div class="mem_btnWrap2">
<button type="button" class="mem_btn3" onclick="selectInputPwAjax()">νμΈ</button>
</div>
<p class="reqTxt4">
- μΈλΆλ‘λΆν° κ³ κ°λμ μ 보λ₯Ό μμ νκ² λ³΄νΈνκΈ° μν΄ λΉλ°λ²νΈλ₯Ό λ€μ νμΈνκ³ μμ΅λλ€.<br> -
λΉλ°λ²νΈλ 5ν μ΄μ ν릴 κ²½μ° μλ λ‘κ·Έμμ λ©λλ€.(μλ¬Έ, μ«μ, νΉμκΈ°νΈ μ‘°ν© 8μ μ΄μ)
</p>
</div>
<!--// κΈ°λ³Έμ 보 -->
</div>
<!--// λΉλ°λ²νΈ νμΈ -->
</div>
<div id="userInfoPage" style="display: none;">
<!-- νμμ 보 λ³κ²½ -->
<div class="heading">
<h2>νμμ 보 λ³κ²½</h2>
</div>
<div class="mem_cont_in">
<ul class="mem_cortab">
<li class="active"><button type="button" onclick="cortabView(this);">κΈ°λ³Έμ 보</button></li>
<li><button type="button" onclick="cortabView(this);">κΈ°μ
μ 보</button></li>
</ul>
<div class="input_wrap">
<!-- κΈ°λ³Έμ 보 -->
<div class="input_list input_list_cor">
<c:choose>
<c:when test="${cmpPhoneChangeManageVO.hstSttus eq '01'}"><!-- κΈ°μ
λ΄λΉμ λ³κ²½ μ¬μ¬μν -->
<div class="cor_noti">νμ¬ κΈ°μ
νμ λ΄λΉμ λ³κ²½ <span>μ¬μ¬μ€</span>μ
λλ€.</div>
</c:when>
<c:when test="${cmpPhoneChangeManageVO.hstSttus eq '03'}"><!-- κΈ°μ
λ΄λΉμ λ³κ²½ λ°λ €μν -->
<div class="cor_noti">κ³ κ°λμ '<c:out value="${cmpPhoneChangeManageVO.returnCn}" />' μ¬μ λ‘ μΈν΄ <span>μ¬μ¬ λ°λ € μν</span>μ
λλ€.<br>νμμλ₯λ₯Ό μ¬λ±λ‘ν΄μ£ΌμΈμ.</div>
</c:when>
<c:otherwise>
<div class="cor_noti">νμλμ μ 보λ₯Ό <span>νμΈ</span> λ° <span>λ³κ²½</span>νμ€ μ μμ΅λλ€.</div>
</c:otherwise>
</c:choose>
<div class="input_list_item colorW">
<div class="input_left">μμ΄λ</div>
<div class="input_right">
<label for="" class="label">μμ΄λ</label>
<input type="text" class="list_inputType1" value="<c:out value="${userInfo.mberId}"/>" readonly>
</div>
</div>
<div class="input_list_item colorW">
<div class="input_left">λ΄λΉμ</div>
<div class="input_right">
<label for="" class="label">λ΄λΉμ</label>
<c:choose>
<c:when test="${not empty cmpPhoneChangeManageVO && cmpPhoneChangeManageVO.hstSttus ne '02'}"><!-- κΈ°μ
λ΄λΉμ λ³κ²½ μ¬μ¬,λ°λ € μν μ μ μ²ν λ΄λΉμ μ 보 μ‘°ν -->
<input type="text" class="list_inputType1" name="managerNm" id="managerNm" value="<c:out value="${cmpPhoneChangeManageVO.managerNm}"/>" readonly>
</c:when>
<c:otherwise>
<input type="text" class="list_inputType1" name="managerNm" id="managerNm" value="<c:out value="${userInfo.managerNm}"/>" readonly>
</c:otherwise>
</c:choose>
</div>
</div>
<div class="input_list_item colorW input_list_phone">
<div class="input_left">ν΄λν°λ²νΈ</div>
<div class="input_right">
<label for="" class="label">ν΄λν°λ²νΈ</label>
<c:choose>
<c:when test="${not empty cmpPhoneChangeManageVO && cmpPhoneChangeManageVO.hstSttus ne '02'}"><!-- κΈ°μ
λ΄λΉμ λ³κ²½ μ¬μ¬,λ°λ € μν μ μ μ²ν λ΄λΉμ μ 보 μ‘°ν -->
<input type="text" class="list_inputType1" name="moblphonNo" id="moblphonNo" value="<c:out value="${cmpPhoneChangeManageVO.moblphonNo}"/>" readonly>
</c:when>
<c:otherwise>
<input type="text" class="list_inputType1" name="moblphonNo" id="moblphonNo" value="<c:out value="${userInfo.moblphonNo}"/>" readonly>
</c:otherwise>
</c:choose>
<div class="list_btn_wrap">
<c:if test="${cmpPhoneChangeManageVO.hstSttus eq null || cmpPhoneChangeManageVO.hstSttus eq '02'}"> <!-- λ§μ§λ§ λ³κ²½μ΄ μΉμΈμ΄κ±°λ μ μ² λ΄μμ΄ μμ λ ν΄λν° λ³κ²½ κ°λ₯ -->
<button type="button" onclick="openKMCISWindow()">ν΄λν° λ³κ²½</button>
</c:if>
</div>
</div>
</div>
<%-- <c:if test="${cmpPhoneChangeManageVO.hstSttus eq '01' || cmpPhoneChangeManageVO.hstSttus eq '03'}"> <!-- μ¬μ¬μ€μλ μ²¨λΆ λΆκ°λ₯ --> --%>
<div class="input_list_item colorW">
<div class="input_left">μ¬μ§μ¦λͺ
μ</div>
<div class="input_right">
<c:if test="${empty cmpPhoneChangeManageVO || cmpPhoneChangeManageVO.hstSttus eq '02'}"> <!-- μ¬μ¬μ€, λ°λ €κ° μλ μ κΈ°μ‘΄μ λ±λ‘ ν μ¬μ§μ¦λͺ
μ -->
<c:if test="${not empty userInfo.workAtchFileId}">
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${userInfo.workAtchFileId}" />
</c:import>
</c:if>
<c:if test="${empty userInfo.workAtchFileId}">
μμ λ¬Έμ μμ
</c:if>
</c:if>
<c:if test="${not empty cmpPhoneChangeManageVO && cmpPhoneChangeManageVO.hstSttus ne '02'}"> <!-- μ¬μ¬μ€, λ°λ € μ μ κ· μ μΆν μ¬μ§μ¦λͺ
μ -->
<c:if test="${not empty cmpPhoneChangeManageVO.workAtchFileId}">
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${cmpPhoneChangeManageVO.workAtchFileId}" />
</c:import>
</c:if>
<c:if test="${empty cmpPhoneChangeManageVO.workAtchFileId}">
μμ λ¬Έμ μμ
</c:if>
</c:if>
</div>
</div>
<%-- </c:if> --%>
<c:if test="${cmpPhoneChangeManageVO.hstSttus ne '01'}"> <!-- μ¬μ¬μ€μλ μ¬μ§μ¦λͺ
μ μ²¨λΆ λΆκ°λ₯ -->
<div class="input_list_item" id="workFileView" style="display:none;">
<div class="input_left input_left_poe"> <c:if test="${cmpPhoneChangeManageVO.hstSttus eq '03'}"><span class="essential">*</span></c:if>μ¬μ§μ¦λͺ
μ 첨λΆ<span class="poe_noti2">(λνμλ μλ΅)</span></div>
<div class="input_right">
<label for="atFileBasicWriteWork" class="label">μ¬μ§μ¦λͺ
μ 첨λΆ</label>
<input type="text" class="list_inputType1" disabled id="atFileBasicWriteWork" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:55%;">
<div class="list_btn_wrap">
<span>μ¬μ§μ¦λͺ
μ 첨λΆ(5MB μ΄λ΄)</span>
<input type="file" name="fileWork" id="fileWork" class="onlyC input-file" style="display: none" onchange="changeValueWork(this); return false;" />
<button type="button" onclick="document.all.fileWork.click(); return false;">νμΌμ²¨λΆ</button>
</div>
</div>
</div>
</c:if>
<div class="input_list_item emailWrap">
<div>
<div class="input_left">μ΄λ©μΌ</div>
<div class="input_right">
<div class="email">
<label for="" class="label">μ΄λ©μΌ μ£Όμ μμ리</label>
<input type="text" class="list_inputType1" id="emailId" value="${fn:substringBefore(userInfo.mberEmailAdres, '@') }" maxlength="50">
<span>@</span>
<label for="" class="label">μ΄λ©μΌ μ£Όμ λ·μ리</label>
<input type="text" class="list_inputType1" id="emailAdd" value="${fn:substringAfter(userInfo.mberEmailAdres, '@') }">
</div>
<div class="email_select">
<label for="selectEmail" class="label">μ΄λ©μΌ μ ν</label>
<select class="list_selType1" id="selectEmail" >
<c:forEach var="result" items="${emailCode}" varStatus="status">
<c:if test="${status.index eq 0 }">
<option value="1">${result.codeNm}</option>
</c:if>
<c:if test="${status.index ne 0 }">
<option value="${result.codeDc}">${result.codeNm}</option>
</c:if>
</c:forEach>
</select>
</div>
</div>
</div>
</div>
<div class="input_list_item send_agree">
<div class="input_left">λ§μΌν
μμ λμ</div>
<div class="input_right">
<div>
<div class="checkbox_wrap">
<input type="checkbox" id="agree1_1" title="νμκ°μ
μ 체μ½κ΄μ λμ" class="joinCheckbox type3" <c:if test="${userInfo.receiveMsg eq 'Y'}">checked="checked"</c:if>>
<label for="agree1_1">ν΄λν°</label>
</div>
</div>
<div>
<div class="checkbox_wrap">
<input type="checkbox" id="agree1_2" title="νμκ°μ
μ 체μ½κ΄μ λμ" class="joinCheckbox type3" <c:if test="${userInfo.receiveKakao eq 'Y'}">checked="checked"</c:if>>
<label for="agree1_2">μΉ΄μΉ΄μ€</label>
</div>
</div>
<div>
<div class="checkbox_wrap">
<input type="checkbox" id="agree1_3" title="νμκ°μ
μ 체μ½κ΄μ λμ" class="joinCheckbox type3" <c:if test="${userInfo.receivemail eq 'Y'}">checked="checked"</c:if>>
<label for="agree1_3">μ΄λ©μΌ</label>
</div>
</div>
<div class="list_alert reqest_text">
<span style="line-height:1.2;">μμ λμ μ κ°μ’
νν λ°</br> μ΄λ²€νΈ μ 보λ₯Ό λ°μλ³΄μ€ μ μμ΅λλ€.</span>
</div>
</div>
</div>
<p class="poe_noti">μ΄λ©μΌ λ° λ§μΌν
μμ λμ λ³κ²½μ μ¬μ¬ μμ΄ λ°λ‘ μ μ© κ°λ₯ν©λλ€.</p>
<div class="mem_btnWrap2 justify">
<%-- <c:choose>
<c:when test="${cmpPhoneChangeManageVO.hstSttus eq '03'}">
<button type="button" class="mem_btn3" onclick="updateUserInfo()" >μ¬λ±λ‘</button>
<button type="button" class="mem_btn3" onclick="updateUserInfoCancel()" >κΈ°μ
νμ λ³κ²½ μ·¨μ</button>
</c:when>
<c:otherwise>
<button type="button" class="mem_btn3" onclick="updateUserInfo()" >λ³κ²½</button>
</c:otherwise>
</c:choose> --%>
<button type="button" class="mem_btn3" onclick="updateUserInfo()" >
<c:if test="${cmpPhoneChangeManageVO.hstSttus eq '03'}">
</c:if>
<c:if test="${cmpPhoneChangeManageVO.hstSttus ne '03'}">
λ³κ²½
</c:if>
</button> <!-- κΈ°μ
νμμ λ΄λΉμ μ΄λ¦, λ²νΈλ κ΄λ¦¬μ μ¬μ¬ μ²λ¦¬ -->
</div>
</div>
</form>
<form id="updateCmpUserInfoForm" name="updateCmpUserInfoForm" method="post">
<input type="hidden" name="dept" id="dept" value="<c:out value="${userInfo.dept}"/>">
<input type="hidden" name="mberId" id="mberId" value="<c:out value="${userInfo.mberId}"/>">
<!--// κΈ°λ³Έμ 보 -->
<c:choose>
<c:when test="${cmpInfoChangeManageVO.hstSttus eq '01'}"><!-- κΈ°μ
μ 보 λ³κ²½ μ¬μ¬μν -->
<div class="input_list input_list_cor">
<div class="cor_noti">νμ¬ κΈ°μ
νμ λ³κ²½ <span>μ¬μ¬μ€</span>μ
λλ€.</div>
<div class="input_list_item">
<div class="input_left">κΈ°μ
μ ν</div>
<div class="input_right">
<ec:code codeId="ITN033" code="${cmpInfoChangeManageVO.bizType}" />
</div>
</div>
<div class="input_list_item">
<div class="input_left">νμ¬λͺ
</div>
<div class="input_right">
<c:out value='${cmpInfoChangeManageVO.mberNm}'/>
</div>
</div>
<div class="input_list_item">
<div class="input_left">λν</div>
<div class="input_right">
<c:out value='${cmpInfoChangeManageVO.ceoNm}'/>
</div>
</div>
<div class="input_list_item">
<div class="input_left">μμ²μΌ</div>
<div class="input_right">
<fmt:parseDate value='${cmpInfoChangeManageVO.frstRegistPnttm}' var='frstRegistPnttm' pattern="yyyy-MM-dd HH:mm:ss" />
<fmt:formatDate value="${frstRegistPnttm}" pattern="yyyy-MM-dd HH:mm"/>
</div>
</div>
<div class="input_list_item">
<div class="input_left">μ¬μ
μλ±λ‘λ²νΈ</div>
<div class="input_right">
<c:out value='${fn:substring(cmpInfoChangeManageVO.bizNo, 0, 3)}'/>-<c:out value='${fn:substring(cmpInfoChangeManageVO.bizNo, 3, 5)}'/>-<c:out value='${fn:substring(cmpInfoChangeManageVO.bizNo, 5, 10)}'/>
</div>
</div>
<div class="input_list_item">
<div class="input_left">λ¬Έμμ 보</div>
<div class="input_right">
<!-- μμ λ¬Έμ μμ λ λ
ΈμΆλλ μμ -->
<c:if test="${empty cmpInfoChangeManageVO.atchFileId}">
<strong>μμ λ¬Έμ μμ</strong>
</c:if>
<!-- νμΌ μ²¨λΆμ λ
ΈμΆ λλ μμ -->
<c:if test="${not empty cmpInfoChangeManageVO.atchFileId}">
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${cmpInfoChangeManageVO.atchFileId}" />
</c:import>
</c:if>
</div>
</div>
<c:if test="${not empty cmpInfoChangeManageVO.adres}">
<div class="input_list_item">
<div class="input_left">μ¬μ
μ₯ μ£Όμ</div>
<div class="input_right">
<c:out value='${cmpInfoChangeManageVO.adres}'/>
</div>
</div>
</c:if>
<c:if test="${not empty cmpInfoChangeManageVO.detailAdres}">
<div class="input_list_item">
<div class="input_left">μμΈ μ£Όμ</div>
<div class="input_right">
<c:out value='${cmpInfoChangeManageVO.detailAdres}'/>
</div>
</div>
</c:if>
</div>
</c:when>
<c:when test="${cmpInfoChangeManageVO.hstSttus eq '03'}"><!-- κΈ°μ
μ 보 λ³κ²½ λ°λ €μν -->
<%-- <input type="hidden" name="bizType" value="${cmpInfoChangeManageVO.bizType}"/>
<input type="hidden" name="mberNm" value="${cmpInfoChangeManageVO.mberNm}"/>
<input type="hidden" name="ceoNm" value="${cmpInfoChangeManageVO.ceoNm}"/>
<input type="hidden" name="bizNo" value="${cmpInfoChangeManageVO.bizNo}"/> --%>
<input type="hidden" name="zip" value="${cmpInfoChangeManageVO.zip}"/>
<input type="hidden" name="adres" value="${cmpInfoChangeManageVO.adres}"/>
<input type="hidden" name="detailAdres" value="${cmpInfoChangeManageVO.detailAdres}"/>
<div class="input_list input_list_cor">
<div class="text_top">
<p>
κ³ κ°λμ μλμ κ°μ μ¬μ λ‘ μΈν΄ <strong>μ¬μ¬ λ°λ € μν</strong>μ
λλ€.<br/>νμμλ₯λ₯Ό μ¬λ±λ‘ν΄μ£ΌμΈμ.
</p>
<dl>
<dt>λ°λ €μ¬μ </dt>
<dd><c:out value="${cmpInfoChangeManageVO.returnCn}" /></dd>
</dl>
</div>
<p class="list_title">κΈ°μ
μ 보</p>
<div class="input_list_item">
<div class="input_left">κΈ°μ
μ ν</div>
<div class="input_right">
<ec:radio name="bizType" id="" codeId="ITN033" selectedValue="${cmpInfoChangeManageVO.bizType}" />
<%-- <ec:code codeId="ITN033" code="${cmpInfoChangeManageVO.bizType}" /> --%>
</div>
</div>
<div class="input_list_item">
<div class="input_left">νμ¬λͺ
</div>
<div class="input_right">
<input type="text" class="list_inputType1" name="mberNm" value="${cmpInfoChangeManageVO.mberNm}"/>
<%-- <c:out value='${cmpInfoChangeManageVO.mberNm}'/> --%>
</div>
</div>
<div class="input_list_item">
<div class="input_left">λν</div>
<div class="input_right">
<input type="text" class="list_inputType1" name="ceoNm" value="${cmpInfoChangeManageVO.ceoNm}"/>
<%-- <c:out value='${cmpInfoChangeManageVO.ceoNm}'/> --%>
</div>
</div>
<div class="input_list_item">
<div class="input_left">μμ²μΌ</div>
<div class="input_right">
<fmt:parseDate value='${cmpInfoChangeManageVO.frstRegistPnttm}' var='frstRegistPnttm' pattern="yyyy-MM-dd HH:mm:ss" />
<fmt:formatDate value="${frstRegistPnttm}" pattern="yyyy-MM-dd HH:mm"/>
</div>
</div>
<div class="input_list_item input_list_biz">
<div class="input_left">μ¬μ
μλ±λ‘λ²νΈ</div>
<div class="input_right">
<label for="" class="label">μ¬μ
μλ±λ‘λ²νΈ μ
λ ₯</label>
<%-- <input type="text" class="list_inputType1" name="bizNo" value="${cmpInfoChangeManageVO.bizNo}"/> --%>
<input type="text" class="list_inputType1" name="bizNo" id="bizNo" maxlength="12" value="${fn:substring(cmpInfoChangeManageVO.bizNo, 0, 3)}-${fn:substring(cmpInfoChangeManageVO.bizNo, 3, 5)}-${fn:substring(cmpInfoChangeManageVO.bizNo, 5, 10)}"/>
<%-- <c:out value='${fn:substring(cmpInfoChangeManageVO.bizNo, 0, 3)}'/>-<c:out value='${fn:substring(cmpInfoChangeManageVO.bizNo, 3, 5)}'/>-<c:out value='${fn:substring(cmpInfoChangeManageVO.bizNo, 5, 10)}'/> --%>
<div class="list_btn_wrap">
<button type="button" onclick="bizNoCheck(); return false;">μ¬μ
μλ±λ‘λ²νΈ νμΈ</button>
</div>
</div>
</div>
<div class="input_list_item">
<div class="input_left">μ¬μ
μλ±λ‘μ¦</div>
<div class="input_right">
<c:if test="${not empty cmpInfoChangeManageVO.atchFileId}">
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${cmpInfoChangeManageVO.atchFileId}" />
</c:import>
</c:if>
<c:if test="${empty cmpInfoChangeManageVO.atchFileId}">
μμ λ¬Έμ μμ
</c:if>
</div>
</div>
<div class="input_list_item">
<div class="input_left"><span class="essential">*</span>μ¬μ
μλ±λ‘μ¦ μ²¨λΆ</div>
<div class="input_right">
<label for="atFileBasicWrite" class="label">μ¬μ
μλ±λ‘μ¦ μ²¨λΆ</label>
<input type="text" class="list_inputType1" disabled id="atFileBasicWrite" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:55%;">
<div class="list_btn_wrap">
<span>μ¬μ
μλ±λ‘μ¦ μ²¨λΆ(5MB μ΄λ΄)</span>
<input type="file" name="file" id="file" style="display: none" onchange="changeValue(this); return false;" />
<button type="button" onclick="document.all.file.click(); return false;">νμΌμ²¨λΆ</button>
</div>
</div>
</div>
<c:if test="${not empty cmpInfoChangeManageVO.adres}">
<div class="input_list_item">
<div class="input_left">μ¬μ
μ₯ μ£Όμ</div>
<div class="input_right">
<c:out value='${cmpInfoChangeManageVO.adres}'/>
</div>
</div>
</c:if>
<c:if test="${not empty cmpInfoChangeManageVO.detailAdres}">
<div class="input_list_item">
<div class="input_left">μμΈ μ£Όμ</div>
<div class="input_right">
<c:out value='${cmpInfoChangeManageVO.detailAdres}'/>
</div>
</div>
</c:if>
<div class="mem_btnWrap3 justify">
<button type="button" class="mem_btn5" onclick="updateCmpUserRe();" >μ¬λ±λ‘</button>
<button type="button" class="mem_btn4" onclick="updateCmpUserReCancel('<c:out value="${cmpInfoChangeManageVO.cmpHstId}"/>');" >μ¬λ±λ‘ μ·¨μ</button>
</div>
</div>
</div>
</c:when>
<c:otherwise>
<div class="input_list input_list_cor">
<div class="cor_noti">νμλμ μ 보λ₯Ό <span>νμΈ</span> λ° <span>λ³κ²½</span>νμ€ μ μμ΅λλ€.</div>
<div class="input_list_item">
<div class="input_left">κΈ°μ
μ ν</div>
<div class="input_right">
<ec:radio name="bizType" id="" codeId="ITN033" selectedValue="${userInfo.bizType}" />
</div>
</div>
<div class="input_list_item">
<div class="input_left"><span class="essential">*</span>νμ¬λͺ
</div>
<div class="input_right">
<label for="" class="label">νμ¬λͺ
μ
λ ₯</label>
<input type="text" class="list_inputType1" name="mberNm" maxlength="30" value="${userInfo.mberNm}"/>
</div>
</div>
<div class="input_list_item">
<div class="input_left"><span class="essential">*</span>λν</div>
<div class="input_right">
<label for="" class="label">λνλͺ
μ
λ ₯</label>
<input type="text" class="list_inputType1" name="ceoNm" maxlength="30" value="${userInfo.ceoNm}"/>
</div>
</div>
<div class="input_list_item input_list_biz">
<div class="input_left"><span class="essential">*</span>μ¬μ
μλ±λ‘λ²νΈ</div>
<div class="input_right">
<label for="" class="label">μ¬μ
μλ±λ‘λ²νΈ μ
λ ₯</label>
<input type="text" class="list_inputType1" name="bizNo" id="bizNo" maxlength="12" value="${fn:substring(userInfo.bizNo, 0, 3)}-${fn:substring(userInfo.bizNo, 3, 5)}-${fn:substring(userInfo.bizNo, 5, 10)}"/>
<div class="list_btn_wrap">
<button type="button" onclick="bizNoCheck(); return false;">μ¬μ
μλ±λ‘λ²νΈ νμΈ</button>
</div>
</div>
</div>
<div class="input_list_item colorW">
<div class="input_left">μ¬μ
μλ±λ‘μ¦</div>
<div class="input_right">
<c:if test="${not empty userInfo.atchFileId}">
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${userInfo.atchFileId}" />
</c:import>
</c:if>
<c:if test="${empty userInfo.atchFileId}">
μμ λ¬Έμ μμ
</c:if>
</div>
</div>
<div class="input_list_item">
<div class="input_left">μ¬μ
μλ±λ‘μ¦ μ²¨λΆ</div>
<div class="input_right">
<label for="atFileBasicWrite" class="label">μ¬μ
μλ±λ‘μ¦ μ²¨λΆ</label>
<input type="text" class="list_inputType1" disabled id="atFileBasicWrite" style="overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:55%;">
<div class="list_btn_wrap">
<span>μ¬μ
μλ±λ‘μ¦ μ²¨λΆ(5MB μ΄λ΄)</span>
<input type="file" name="file" id="file" class="onlyC" style="display: none" onchange="changeValue(this); return false;" />
<button type="button" onclick="document.all.file.click(); return false;">νμΌμ²¨λΆ</button>
</div>
</div>
</div>
<div class="input_list_item input_list_adres">
<div class="input_left">μ¬μ
μ₯ μ£Όμ</div>
<div class="input_right">
<label for="" class="label">μ¬μ
μ₯ μ£Όμ μ
λ ₯</label>
<input type="text" class="list_inputType1" name="adres" id="adres" readonly value="${userInfo.adres}"/>
<input type="hidden" class="list_inputType1" name="zip" id="zip" readonly value="${userInfo.zip}"/>
<div class="list_btn_wrap">
<button type="button" onClick="openDaumZipAddress();">μ°νΈλ²νΈ μ°ΎκΈ°</button>
</div>
</div>
</div>
<div class="input_list_item">
<div class="input_left">μμΈ μ£Όμ</div>
<div class="input_right">
<label for="detailAdres" class="label">μ¬μ
μ₯ μ£Όμ μμΈ μ
λ ₯</label>
<input type="text" class="list_inputType1 colorLight" name="detailAdres" maxlength="30" size="100" value="${userInfo.detailAdres}"/>
</div>
</div>
<div class="mem_btnWrap2 justify">
<button type="button" class="mem_btn3" onclick="updateCmpUserInfo()" >λ³κ²½</button>
</div>
</div>
</c:otherwise>
</c:choose>
</form>
</div>
</div>
</div>
<!--// νμμ 보 λ³κ²½ -->
</div>
</div>
</div>
<!--// λ§μ΄νμ΄μ§ - νμμ 보 λ³κ²½ -->
</div>
<!--// send top -->
</div>
<!--// content μμ -->