• Y
  • List All
  • Feedback
    • This Project
    • This Group
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
2025_PROJECT / mjgo_admin star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
mjgo_adminsrcmainwebappWEB-INFjspwebcustomMsgCustomVeiwPopupAjax.jsp
Download as .zip file
File name
Commit message
Commit date
DATABASE
first commit
04-21
src/main
관리자페이지 기본 스타일 수정
04-22
.codetogether.ignore
first commit
04-21
.gitignore
first commit
04-21
pom.xml
first commit
04-21
File name
Commit message
Commit date
java
first commit
04-21
resources
first commit
04-21
webapp
관리자페이지 기본 스타일 수정
04-22
File name
Commit message
Commit date
META-INF
first commit
04-21
MMS
first commit
04-21
WEB-INF
관리자페이지 기본 스타일 수정
04-22
common
first commit
04-21
crosseditor/binary/images
first commit
04-21
css
관리자페이지 기본 스타일 수정
04-22
direct
first commit
04-21
dist
first commit
04-21
download
first commit
04-21
font
first commit
04-21
font-flexslider
first commit
04-21
fonts
first commit
04-21
html
first commit
04-21
images
first commit
04-21
img
관리자페이지 기본 스타일 수정
04-22
js
first commit
04-21
mail
first commit
04-21
mjon/MMS
first commit
04-21
pb
관리자페이지 기본 스타일 수정
04-22
public
first commit
04-21
publish
관리자페이지 기본 스타일 수정
04-22
sample_mjon
first commit
04-21
site
first commit
04-21
google53cfb10eb3856530.html
first commit
04-21
googlefa7d697b23d4a34a.html
first commit
04-21
imageEditorSample.html
first commit
04-21
imageEditorSample2.html
first commit
04-21
index.jsp
first commit
04-21
naver94c82af5badbae52b1e46e77b88410c9.html
first commit
04-21
robots.txt
first commit
04-21
sendRESTAPI_test_r1_send.jsp
first commit
04-21
sitemap.xml
first commit
04-21
tempPayPrint.html
first commit
04-21
tempPrint.html
first commit
04-21
tempPrint1.html
first commit
04-21
test.jsp
first commit
04-21
File name
Commit message
Commit date
META-INF
first commit
04-21
config/egovframework/springmvc
first commit
04-21
jsp
관리자페이지 기본 스타일 수정
04-22
lib
first commit
04-21
tld
first commit
04-21
decorators.xml
first commit
04-21
jeus-web-dd.xml
first commit
04-21
sitemesh.xml
first commit
04-21
web.xml
first commit
04-21
weblogic.xml
first commit
04-21
File name
Commit message
Commit date
agent
first commit
04-21
block
first commit
04-21
cmm
관리자페이지 기본 스타일 수정
04-22
cnt
first commit
04-21
cntsource
first commit
04-21
com/utl/wed
first commit
04-21
cop
first commit
04-21
egovframework/com/uss/ion/bnr
first commit
04-21
holiday
first commit
04-21
kisa/kisa
first commit
04-21
kopost/search
first commit
04-21
layout
관리자페이지 기본 스타일 수정
04-22
letter
first commit
04-21
main
관리자페이지 기본 스타일 수정
04-22
sec
first commit
04-21
sts/cst
first commit
04-21
sym
first commit
04-21
uat
관리자페이지 기본 스타일 수정
04-22
uss
관리자페이지 기본 스타일 수정
04-22
web
first commit
04-21
blank.jsp
first commit
04-21
cntCNT_000000000862.jsp
first commit
04-21
File name
Commit message
Commit date
addr
first commit
04-21
addrBlock
first commit
04-21
addragency
first commit
04-21
api
first commit
04-21
com
first commit
04-21
cop
first commit
04-21
custom
first commit
04-21
event
first commit
04-21
fax
first commit
04-21
grd
first commit
04-21
kakao
first commit
04-21
login
first commit
04-21
main
first commit
04-21
member
first commit
04-21
msg
first commit
04-21
msgcampain
first commit
04-21
msgdata
first commit
04-21
msgsent
first commit
04-21
pay
first commit
04-21
pop
first commit
04-21
reservedmsg
first commit
04-21
sample
first commit
04-21
search
first commit
04-21
survey
first commit
04-21
user
first commit
04-21
rejectTest.jsp
first commit
04-21
File name
Commit message
Commit date
MsgCustomListAjax.jsp
first commit
04-21
MsgCustomPopupAjax.jsp
first commit
04-21
MsgCustomVeiwPopupAjax.jsp
first commit
04-21
MsgCustomView.jsp
first commit
04-21
MsgMyCustomListAjax.jsp
first commit
04-21
hehihoho3@gmail.com 04-21 bfbbc99 first commit UNIX
Raw Open in browser Change history
<%@ 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> <head> <script type="text/javascript"> $(document).ready(function () { /* 상세보기 팝업 스크롤 생성 */ $(".customVeiw01 .layer_in").mCustomScrollbar({ axis: 'y', scrollbarPosition: "inside", theme: "dark", autoHideScrollbar: false, mouseWheelPixels: 300, scrollInertia: 600 }); //첫 번 째 msgCtmViewCont만 보이고 나머지는 닫아두기 $(".body_cont").find(".msgCtmViewCont").first().addClass("active"); $(".body_cont").find(".msgCtmViewCont").not(".active").find(".msgCtmViewCont_body").css("display","none"); }) /* 상세보기 팝업 내용 보기 버튼 */ function msgCtmViewPop(obj){ var targetHead=$(obj).closest(".msgCtmViewCont"); var targetBody=targetHead.find(".msgCtmViewCont_body"); if(targetHead.hasClass("active")){ targetBody.stop().slideUp(450); targetHead.removeClass("active"); }else{ targetBody.stop().slideDown(450); targetHead.addClass("active"); targetHead.siblings("div.msgCtmViewCont").removeClass("active"); targetHead.siblings("div.msgCtmViewCont").find(".msgCtmViewCont_body").stop().slideUp(450); } } function selectMyCustomDetail(customGroupId) { if(loginVO == "" || loginVO == null){ alert("로그인 후 이용이 가능합니다."); return false; } else { $("#customPopupDetailOpen").trigger("click"); } $.ajax({ type : 'POST' ,url : "<c:url value='/web/mjon/custom/selectMyCustomImgRequestListAjax.do'/>" ,data : {"customGroupId": customGroupId} ,dataType:'json' ,traditional : true ,success : function(returnData, status){ // 하위요소 제거 var div = document.getElementById("divAdd"); while (div.hasChildNodes()) { div.removeChild(div.firstChild); } var customList = returnData.customList; for(var i =0; i < customList.length; i++){ customList[i].customType customList[i].customPaymentYn var htmlTemp1 = ""; var htmlTemp2 = ""; // 타이틀 if(customList[i].customPaymentYn == "01"){ htmlTemp1 = "<span class='span_1'>재작대기중</span>"; //htmlTemp2 = "<span class='span_2_1'>작업대기중</span>"; }else if(customList[i].customPaymentYn == "02"){ htmlTemp1 = "<span class='span_2'>재작중</span>"; //htmlTemp2 = "<span class='span_2_2'>재작중</span>"; }else if(customList[i].customPaymentYn == "03"){ htmlTemp1 = "<span class='span_1'>수정요청</span>"; //htmlTemp2 = "<span class='span_2_1'>수정요청</span>"; }else if(customList[i].customPaymentYn == "04"){ htmlTemp1 = "<span class='span_2'>수정중</span>"; //htmlTemp2 = "<span class='span_2_2'>수정중</span>"; }else if(customList[i].customPaymentYn == "05"){ htmlTemp1 = "<span class='span_3'>재작완료</span>"; //htmlTemp2 = "<span class='span_2_3'>재작완료</span>"; } // 제작형태 if(customList[i].customType == "01"){ htmlTemp2 = "문자온 샘플 수정(글자, 색상, 폰트 등)"; }else if(customList[i].customType == "02"){ htmlTemp2 = "이미지 편집(첨부 이미지 1장)"; }else if(customList[i].customType == "03"){ htmlTemp2 = "이미지 편집(첨부 이미지 3장이하)"; }else if(customList[i].customType == "04"){ htmlTemp2 = "텍스트 단순수정"; } // 임시 div를 이용한 clone을 생성 하여 동적 추가 var temp_msgCtmViewCont = $('#temp_msgCtmViewCont').clone(); temp_msgCtmViewCont = temp_msgCtmViewCont.find('div').first(); temp_msgCtmViewCont.addClass('item_div_msgCtmViewCont') ; $("#divAdd").prepend(temp_msgCtmViewCont); // 리스트 타이틀 설정 $('.item_div_msgCtmViewCont').find(".msgCtmViewCont_head .msgCtmViewCont_head_left").append(htmlTemp1); if(customList[i].customType == "01"){ $('.item_div_msgCtmViewCont').find(".msgCtmViewCont_head .msgCtmViewCont_head_left").append("<p>샘플 수정</p>"); }else if(customList[i].customType == "02"){ $('.item_div_msgCtmViewCont').find(".msgCtmViewCont_head .msgCtmViewCont_head_left").append("<p>이미지 편집</p>"); }else if(customList[i].customType == "03"){ $('.item_div_msgCtmViewCont').find(".msgCtmViewCont_head .msgCtmViewCont_head_left").append("<p>이미지 편집</p>"); }else if(customList[i].customType == "04"){ $('.item_div_msgCtmViewCont').find(".msgCtmViewCont_head .msgCtmViewCont_head_left").append("<p>텍스트 단순수정</p>"); } $('.item_div_msgCtmViewCont').find(".msgCtmViewCont_head").append("<date>"+customList[i].frstRegistPnttm+"</date>"); // 리스트 상세 내역 설정 $('.item_div_msgCtmViewCont').find("td").each(function(index, item){ //추가한 행에 id 세팅함. // 제작형태 if($(this).attr('id') == 'customPayment'){ $(this).append(htmlTemp2); } // 재공방법 if($(this).attr('id') == 'customProvision'){ var customProvisionText = "내보관함" if(customList[i].customProvision != ''){ var provisionList = customList[i].customProvision.split(","); for(var j=0; j < provisionList.length; j++){ if(provisionList[j] == "01"){ customProvisionText += ", 카카오톡" }else if(provisionList[j] == "02"){ customProvisionText += ", 이메일("+customList[i].customResultEmail+")"; } } } $(this).text(customProvisionText); } // 연락처 if($(this).attr('id') == 'customPhoneNo'){ $(this).text(customList[i].customPhoneNo); } // 요청사항 if($(this).attr('id') == 'customRequest'){ $(this).text(customList[i].customRequest); } // 첨부파일 if($(this).attr('id') == 'customUploadFlie'){ $(this).text(customList[i].tempImg1); } // 선택 이미지 if($(this).attr('id') == 'customChoiceImg'){ $(this).find("img").attr('src',"/cmm/fms/getImage2.do?atchFileId="+customList[i].customChoiceImg+"&fileSn="+customList[i].customChoiceImgFileSn); } }); $('.item_div_msgCtmViewCont').removeClass('item_div_msgCtmViewCont') } //첫 번 째 msgCtmViewCont만 보이고 나머지는 닫아두기 $(".body_cont").find(".msgCtmViewCont").first().addClass("active").find(".msgCtmViewCont_body").css("display","block"); $(".body_cont").find(".msgCtmViewCont").not(".active").find(".msgCtmViewCont_body").css("display","none"); } ,error : function(request , status, error){ alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error); } }); } </script> </head> <body> <div class="popup-com custom_layer customVeiw01" tabindex="0" data-tooltip-con="customVeiw01" data-focus="customVeiw01" data-focus-prev="customVeiw01-close"> <div class="popup_heading"> <p>상세보기</p> <button type="button" class="tooltip-close" data-focus="customVeiw01-close"> <img src="/publish/images/content/layerPopup_close.png" alt="팝업 닫기"> </button> </div> <div class="layer_in"> <div class="body_cont"> <div id="divAdd"> <div class="msgCtmViewCont"> <div class="msgCtmViewCont_head"> <div class="msgCtmViewCont_head_left"> <span class="span_1">수정요청</span> <p>텍스트 단순수정</p> </div> <date>2022-05-01</date> <button type="button" class="view_button" onclick="msgCtmViewPop(this)" ><i></i></button> </div> <div class="msgCtmViewCont_body"> <table> <caption>제작형태, 제공방법, 연락처, 요청사항, 첨부파일, 요청이미지를 제공하는 표</caption> <colgroup> <col style="width: 105px;"> <col style="width: auto"> </colgroup> <tbody> <tr class="custom_view1"> <th>제작형태</th> <td> <span class="span_2_1">작업대기중</span> <span class="span_2_2">재작중</span> <span class="span_2_3">완료</span> </td> </tr> <tr class="custom_view1"> <th>제공방법</th> <td>내보관함, 카카오톡, 이메일(sdfajghasdk@naver.com)</td> </tr> <tr class="custom_view1"> <th>연락처</th> <td>01012345678</td> </tr> <tr class="custom_view1"> <th>요청사항</th> <td>예쁘게 해주세욜~!!</td> </tr> <tr class="custom_view1"> <th>첨부파일</th> <td class="custom_view1_img"> <p>123456.jpg</p> <p>456sadfsdaklf.jpg</p> <p>sdfaklfjasdlkfjasdklghasdklrfg.jpg</p> </td> </tr> <tr class="custom_view2"> <th>요청이미지</th> <td> <div style="text-align: center;"> <img src="/publish/images/content/custom_view_imsi.jpg" alt="요청이미지"> </div> </td> </tr> </tbody> </table> </div> </div> <div class="msgCtmViewCont"> <div class="msgCtmViewCont_head"> <div class="msgCtmViewCont_head_left"> <span class="span_2">수정요청</span> <p>텍스트 단순수정</p> </div> <date>2022-05-01</date> <button type="button" class="view_button" onclick="msgCtmViewPop(this)" ><i></i></button> </div> <div class="msgCtmViewCont_body"> <table> <caption>제작형태, 제공방법, 연락처, 요청사항, 첨부파일, 요청이미지를 제공하는 표</caption> <colgroup> <col style="width: 105px;"> <col style="width: auto"> </colgroup> <tbody> <tr class="custom_view1"> <th>제작형태</th> <td><span class="span_2_1">작업대기중</span><span class="span_2_2">재작중</span><span class="span_2_3">완료</span></td> </tr> <tr class="custom_view1"> <th>제공방법</th> <td>내보관함, 카카오톡, 이메일(sdfajghasdk@naver.com)</td> </tr> <tr class="custom_view1"> <th>연락처</th> <td>01012345678</td> </tr> <tr class="custom_view1"> <th>요청사항</th> <td>예쁘게 해주세욜~!!</td> </tr> <tr class="custom_view1"> <th>첨부파일</th> <td class="custom_view1_img"> <p>123456.jpg</p> <p>456sadfsdaklf.jpg</p> <p>sdfaklfjasdlkfjasdklghasdklrfg.jpg</p> </td> </tr> <tr class="custom_view2"> <th>요청이미지</th> <td> <div style="text-align: center;"> <img src="/publish/images/content/custom_view_imsi.jpg" alt="요청이미지"> </div> </td> </tr> </tbody> </table> </div> </div> <div class="msgCtmViewCont"> <div class="msgCtmViewCont_head"> <div class="msgCtmViewCont_head_left"> <span class="span_2">수정요청</span> <p>텍스트 단순수정</p> </div> <date>2022-05-01</date> <button type="button" class="view_button" onclick="msgCtmViewPop(this)" ><i></i></button> </div> <div class="msgCtmViewCont_body"> <table> <caption>제작형태, 제공방법, 연락처, 요청사항, 첨부파일, 요청이미지를 제공하는 표</caption> <colgroup> <col style="width: 105px;"> <col style="width: auto"> </colgroup> <tbody> <tr class="custom_view1"> <th>제작형태</th> <td><span class="span_2_1">작업대기중</span><span class="span_2_2">재작중</span><span class="span_2_3">완료</span></td> </tr> <tr class="custom_view1"> <th>제공방법</th> <td>내보관함, 카카오톡, 이메일(sdfajghasdk@naver.com)</td> </tr> <tr class="custom_view1"> <th>연락처</th> <td>01012345678</td> </tr> <tr class="custom_view1"> <th>요청사항</th> <td>예쁘게 해주세욜~!!</td> </tr> <tr class="custom_view1"> <th>첨부파일</th> <td class="custom_view1_img"> <p>123456.jpg</p> <p>456sadfsdaklf.jpg</p> <p>sdfaklfjasdlkfjasdklghasdklrfg.jpg</p> </td> </tr> <tr class="custom_view2"> <th>요청이미지</th> <td> <div style="text-align: center;"> <img src="/publish/images/content/custom_view_imsi.jpg" alt="요청이미지"> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="temp_msgCtmViewCont" style="display: none;"> <div class="msgCtmViewCont"> <div class="msgCtmViewCont_head"> <div class="msgCtmViewCont_head_left"> </div> <button type="button" class="view_button" onclick="msgCtmViewPop(this)" ><i></i></button> </div> <div class="msgCtmViewCont_body"> <table> <caption>제작형태, 제공방법, 연락처, 요청사항, 첨부파일, 요청이미지를 제공하는 표</caption> <colgroup> <col style="width: 105px;"> <col style="width: auto"> </colgroup> <tbody> <tr class="custom_view1"> <th>제작형태</th> <td id="customPayment"></td> </tr> <tr class="custom_view1"> <th>제공방법</th> <td id="customProvision">내보관함, 카카오톡, 이메일(sdfajghasdk@naver.com)</td> </tr> <tr class="custom_view1"> <th>연락처</th> <td id="customPhoneNo"></td> </tr> <tr class="custom_view1"> <th>요청사항</th> <td id="customRequest"></td> </tr> <tr class="custom_view1"> <th>첨부파일</th> <td class="custom_view1_img" id="customUploadFlie"> <p>123456.jpg</p> <p>456sadfsdaklf.jpg</p> <p>sdfaklfjasdlkfjasdklghasdklrfg.jpg</p> </td> </tr> <tr class="custom_view2"> <th>요청이미지</th> <td id="customChoiceImg"> <div style="text-align: center;"> <img src="/publish/images/content/custom_view_imsi.jpg" alt="요청이미지"> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div class="custom_btn" style="justify-content: center;"> <button type="button" class="tooltip-close" data-focus="customVeiw01-close" data-focus-next="customVeiw01">닫기</button> </div> </div> </div> </div> </body>

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up