Merge branch 'jsp'
@743d2e2171fda63dae65b8b1cfd1f1c234491ab5
--- src/main/java/itn/let/uat/uia/web/EgovMypageController.java
+++ src/main/java/itn/let/uat/uia/web/EgovMypageController.java
... | ... | @@ -1003,8 +1003,10 @@ |
| 1003 | 1003 |
}else if("03".equals(cmpChangeManageVO.getHstSttus())) { //가장 마지막 기업회원전환이 반려 상태일 시
|
| 1004 | 1004 |
model.addAttribute("cmpChangeManageVO", cmpChangeManageVO);
|
| 1005 | 1005 |
return "web/user/membershipChangeReturn"; |
| 1006 |
- } |
|
| 1007 |
- |
|
| 1006 |
+ }else if("02".equals(cmpChangeManageVO.getHstSttus())) { //가장 마지막 기업회원전환이 승인 상태일 시
|
|
| 1007 |
+ model.addAttribute("cmpChangeManageVO", cmpChangeManageVO);
|
|
| 1008 |
+ return "web/user/membershipChangeOk"; |
|
| 1009 |
+ } |
|
| 1008 | 1010 |
} |
| 1009 | 1011 |
} |
| 1010 | 1012 |
|
--- src/main/webapp/WEB-INF/jsp/uss/ion/msg/pdfView.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/msg/pdfView.jsp
... | ... | @@ -481,8 +481,10 @@ |
| 481 | 481 |
</thead> |
| 482 | 482 |
</table> |
| 483 | 483 |
<div class="button_box" style="margin-top: 15px;"> |
| 484 |
- <button type="button" class="btnType btnType20" onClick="fn_Update(); return false;" style="background-color: blue;">반려</button> |
|
| 485 |
- <button type="button" class="btnType btnType20" onClick="setRejectAreaCall('HIDE'); return false;">취소</button>
|
|
| 484 |
+ <%-- |
|
| 485 |
+ <button type="button" class="btnType btnType20" onClick="fn_Update(); return false;" style="background-color: blue;">반려</button> |
|
| 486 |
+ <button type="button" class="btnType btnType20" onClick="setRejectAreaCall('HIDE'); return false;">취소</button>
|
|
| 487 |
+ --%> |
|
| 486 | 488 |
</div> |
| 487 | 489 |
</form> |
| 488 | 490 |
</div> |
--- src/main/webapp/WEB-INF/jsp/uss/ion/msg/pdfViewPhone.jsp
+++ src/main/webapp/WEB-INF/jsp/uss/ion/msg/pdfViewPhone.jsp
... | ... | @@ -322,8 +322,10 @@ |
| 322 | 322 |
<td class="left" style="padding: 10px 0 10px 0; line-height: 1.6em;">${requiredDocuments}</td>
|
| 323 | 323 |
<td style="padding: 10px 0 10px 0; vertical-align: middle;"> |
| 324 | 324 |
<c:if test="${authYn eq 'H'}">
|
| 325 |
+ <%-- |
|
| 325 | 326 |
<button class="btnType1" onclick="updateAuthYn('<c:out value='${phmId}'/>', 'Y', '<c:out value='${userId}'/>'); return false;" style="background-color: blue;">인증완료</button>
|
| 326 | 327 |
<button class="btnType1" onclick="setRejectAreaCall('SHOW'); return false;" id="btnReject">반려 OPEN</button>
|
| 328 |
+ --%> |
|
| 327 | 329 |
</c:if> |
| 328 | 330 |
</td> |
| 329 | 331 |
</tr> |
+++ src/main/webapp/WEB-INF/jsp/web/user/membershipChangeOk.jsp
... | ... | @@ -0,0 +1,122 @@ |
| 1 | + <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 3 | +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | |
| 5 | +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> | |
| 6 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | |
| 7 | + | |
| 8 | +<script src="https://t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> | |
| 9 | +<script language=javascript> | |
| 10 | +$(document).ready(function(){ | |
| 11 | + $(".fileView").children('img').remove() | |
| 12 | +}); | |
| 13 | + | |
| 14 | + | |
| 15 | +var doubleSubmitFlag = false; //중복 등록 방지를 위한 변수 | |
| 16 | +function membershipChange(){ | |
| 17 | + | |
| 18 | + var form = document.mberManageVO; | |
| 19 | + | |
| 20 | + if($("#atFileBasicWrite").val() == '' && $("#atchFileSttus").val() == 'N'){ | |
| 21 | + alert("사업자등록증을 첨부해주세요.") | |
| 22 | + return false; | |
| 23 | + } | |
| 24 | + if($("#atFileBasicWriteWork").val() == '' && $("#workAtchFileSttus").val() == 'N' ){ | |
| 25 | + alert("재직증명서를 첨부해주세요.") | |
| 26 | + return false; | |
| 27 | + } | |
| 28 | + | |
| 29 | + /* if($("#atFileBasicWriteWork").val() == ''){ | |
| 30 | + alert("재직증명서를 첨부해주세요.") | |
| 31 | + return false; | |
| 32 | + } */ | |
| 33 | + | |
| 34 | + | |
| 35 | + if(doubleSubmitFlag){ | |
| 36 | + alert("이미 재등록하셨습니다."); | |
| 37 | + return false; | |
| 38 | + }else{ | |
| 39 | + var _fileForm2 = new Array(); | |
| 40 | + var data = new FormData(form); | |
| 41 | + _fileForm2.forEach(function(obj, idx) { | |
| 42 | + if (obj) data.append("file"+idx, obj.fileObj); | |
| 43 | + }); | |
| 44 | + $.ajax({ | |
| 45 | + cache : false | |
| 46 | + ,url : "<c:url value='/web/user/updateMembershipChangeAjax.do'/>" | |
| 47 | + ,async:false | |
| 48 | + ,type : 'POST' | |
| 49 | + ,data : data | |
| 50 | + ,dataType:'json' | |
| 51 | + ,processData: false | |
| 52 | + ,contentType: false | |
| 53 | + ,success : function(returnData, status){ | |
| 54 | + if(returnData.result == "success") { | |
| 55 | + alert("기업회원전환 재등록이 완료되었습니다."); | |
| 56 | + doubleSubmitFlag = true; | |
| 57 | + location.href='/web/user/membershipChange.do'; //마이페이지로 이동 | |
| 58 | + } else{ | |
| 59 | + alert(returnData.message); | |
| 60 | + return; | |
| 61 | + } | |
| 62 | + } | |
| 63 | + ,error : function(request , status, error){ | |
| 64 | + alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); | |
| 65 | + } | |
| 66 | + }); | |
| 67 | + } | |
| 68 | +} | |
| 69 | + | |
| 70 | +function changeValue(obj){ | |
| 71 | + $('#atFileBasicWrite').val(obj.value); | |
| 72 | +} | |
| 73 | + | |
| 74 | +function changeValueWork(obj){ | |
| 75 | + $('#atFileBasicWriteWork').val(obj.value); | |
| 76 | +} | |
| 77 | + | |
| 78 | +</script> | |
| 79 | +<div class="inner"> | |
| 80 | + <!-- send top --> | |
| 81 | + <div class="send_top"> | |
| 82 | + <!-- tab button --> | |
| 83 | + <%@include file="/WEB-INF/jsp/web/user/mypageHeader.jsp" %> | |
| 84 | + <!--// tab button --> | |
| 85 | + <!-- 마이페이지 - 기업회원 전환 --> | |
| 86 | + <form id="mberManageVO" name="mberManageVO" action="/web/user/login/usrJoinInsert.do" method="post" enctype="Multipart/form-data"> | |
| 87 | + <input type="hidden" name="mberId" value="${cmpChangeManageVO.mberId}"/> | |
| 88 | + <input type="hidden" name="uniqId" value="${cmpChangeManageVO.uniqId}"/> | |
| 89 | + <input type="hidden" name="bizType" value="${cmpChangeManageVO.bizType}"/> | |
| 90 | + <input type="hidden" name="mberNm" value="${cmpChangeManageVO.mberNm}"/> | |
| 91 | + <input type="hidden" name="ceoNm" value="${cmpChangeManageVO.ceoNm}"/> | |
| 92 | + <input type="hidden" name="bizNo" value="${cmpChangeManageVO.bizNo}"/> | |
| 93 | + <input type="hidden" name="managerNm" value="${loginVO.name}"/> <!-- 담당자 명 --> | |
| 94 | + <input type="hidden" name="atchFileSttus" id="atchFileSttus" value="${cmpChangeManageVO.atchFileSttus}"/> | |
| 95 | + <input type="hidden" name="workAtchFileSttus" id="workAtchFileSttus" value="${cmpChangeManageVO.workAtchFileSttus}"/> | |
| 96 | + <!-- 재등록 전 기존 첨부파일 ID, atchFIleId를 사용하지 못하는 이유 - 첨부파일 다운로드 공통(selectBBSFileInfs.do)에서 이미 name="atchFileId" 사용 --> | |
| 97 | + <input type="hidden" name="beforeAtchFileId" id="beforeAtchFileId" value="${cmpChangeManageVO.atchFileId}"/> | |
| 98 | + <input type="hidden" name="beforeWorkAtchFileId" id="beforeWorkAtchFileId" value="${cmpChangeManageVO.workAtchFileId}"/> | |
| 99 | + | |
| 100 | + <div class="mypage_content current" id="tab5_2"> | |
| 101 | + <div class="heading"> | |
| 102 | + <h2>기업회원 전환</h2> | |
| 103 | + </div> | |
| 104 | + <div class="mem_cont_in"> | |
| 105 | + <div class="text_top"> | |
| 106 | + <p> | |
| 107 | + 고객님이 신청한 기업회원 전환신청은 <strong>승인</strong>되었습니다.<br/>재로그인해주세요. | |
| 108 | + </p> | |
| 109 | + </div> | |
| 110 | + | |
| 111 | + <br /><br /> | |
| 112 | + <div class="mem_btnWrap2"> | |
| 113 | + <button type="button" class="mem_btn3" style="width: 100%;" onclick="location.href='/web/uat/uia/actionLogout.do'">로그아웃</button> | |
| 114 | + </div> | |
| 115 | + </div> | |
| 116 | + </div> | |
| 117 | + <!--// 마이페이지 - 비밀번호 변경 --> | |
| 118 | + </form> | |
| 119 | + </div> | |
| 120 | + <!--// send top --> | |
| 121 | +</div> | |
| 122 | +<!--// content 영역 --> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?