관리자 회원상세 팝업 최근문자전송 리스트 팝업 상세 리스트 조회 화면 추가
최근문자전송 리스트 팝업 상세 리스트 조회 화면 추가
@39a9da9e5076eb5930017ccd40c76026e74d10eb
--- src/main/java/itn/let/uss/umt/web/EgovUserManageController.java
+++ src/main/java/itn/let/uss/umt/web/EgovUserManageController.java
... | ... | @@ -1958,6 +1958,57 @@ |
| 1958 | 1958 |
|
| 1959 | 1959 |
return "cmm/uss/umt/EgovGnrlUserSelectMsgDataListPop"; |
| 1960 | 1960 |
} |
| 1961 |
+ |
|
| 1962 |
+ /** |
|
| 1963 |
+ * 사용자정보 발송 문자내역 상세(Msg Group List) 리스트 팝업 띄우기 |
|
| 1964 |
+ * @param selectedUserId -> uniqId 상세조회대상 사용자아이디 |
|
| 1965 |
+ * @param userSearchVO 검색조건 |
|
| 1966 |
+ * @return cmm/uss/umt/EgovGnrlUserSelectUpdtPopup |
|
| 1967 |
+ * @param model 화면모델 |
|
| 1968 |
+ * @throws Exception |
|
| 1969 |
+ */ |
|
| 1970 |
+ @RequestMapping("/uss/umt/user/EgovGnrlselectedUserMsgDataDetailListAjax.do")
|
|
| 1971 |
+ public String EgovGnrlselectedUserMsgDataDetailListAjax(@ModelAttribute("searchVO") MjonMsgVO searchVO,
|
|
| 1972 |
+ HttpServletRequest request, |
|
| 1973 |
+ Model model) throws Exception {
|
|
| 1974 |
+ |
|
| 1975 |
+ searchVO.setUserId(searchVO.getUserId()); |
|
| 1976 |
+ |
|
| 1977 |
+ //회원정보 불러오기 |
|
| 1978 |
+ MberManageVO mberManageVO = mberManageService.selectMber(searchVO.getUserId()); |
|
| 1979 |
+ |
|
| 1980 |
+ /** pageing */ |
|
| 1981 |
+ PaginationInfo paginationInfo = new PaginationInfo(); |
|
| 1982 |
+ paginationInfo.setCurrentPageNo(searchVO.getPageIndex()); |
|
| 1983 |
+ paginationInfo.setRecordCountPerPage(searchVO.getPageUnit()); |
|
| 1984 |
+ paginationInfo.setPageSize(searchVO.getPageSize()); |
|
| 1985 |
+ |
|
| 1986 |
+ searchVO.setFirstIndex(paginationInfo.getFirstRecordIndex()); |
|
| 1987 |
+ searchVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
|
| 1988 |
+ searchVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
|
| 1989 |
+ |
|
| 1990 |
+ if("".equals(searchVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
|
| 1991 |
+ searchVO.setSearchSortCnd("msgGroupId");
|
|
| 1992 |
+ searchVO.setSearchSortOrd("desc");
|
|
| 1993 |
+ } |
|
| 1994 |
+ |
|
| 1995 |
+ List<MjonMsgVO> resultList = new ArrayList<MjonMsgVO>(); |
|
| 1996 |
+ resultList = mjonMsgService.selectMjonMsgGroupDtList(searchVO); |
|
| 1997 |
+ |
|
| 1998 |
+ model.addAttribute("resultList", resultList);
|
|
| 1999 |
+ model.addAttribute("searchVO", searchVO);
|
|
| 2000 |
+ |
|
| 2001 |
+ //문자발송 실패 결과 코드정보 리스트 불러오기 |
|
| 2002 |
+ MjonMsgResultCodeVO mjonMsgResultCodeVO = new MjonMsgResultCodeVO(); |
|
| 2003 |
+ List<MjonMsgResultCodeVO> resultMsgCodeList = mjonMsgService.selectMsgResultCodeAllList(mjonMsgResultCodeVO); |
|
| 2004 |
+ |
|
| 2005 |
+ model.addAttribute("resultMsgCodeList", resultMsgCodeList);
|
|
| 2006 |
+ |
|
| 2007 |
+ paginationInfo.setTotalRecordCount(resultList.size() > 0 ? ((MjonMsgVO)resultList.get(0)).getTotCnt() : 0); |
|
| 2008 |
+ model.addAttribute("paginationInfo", paginationInfo);
|
|
| 2009 |
+ |
|
| 2010 |
+ return "cmm/uss/umt/EgovGnrlUserSelectMsgDataDetailListPop"; |
|
| 2011 |
+ } |
|
| 1961 | 2012 |
|
| 1962 | 2013 |
/** |
| 1963 | 2014 |
* @Method Name : EgovGnrlselectedUserKakaoDataListAjax |
+++ src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectMsgDataDetailListPop.jsp
... | ... | @@ -0,0 +1,397 @@ |
| 1 | +<%-- | |
| 2 | + Class Name : EgovGnrlUserSelectMsgDataListPop.jsp | |
| 3 | + Description : 사용자 문자전송리스트(전체) | |
| 4 | + Modification Information | |
| 5 | + | |
| 6 | + 수정일 수정자 수정내용 | |
| 7 | + ------- -------- --------------------------- | |
| 8 | + 2022.07.01 우영두 최초 생성 | |
| 9 | + | |
| 10 | + author : 우영두 | |
| 11 | + since : 2022.07.01 | |
| 12 | + | |
| 13 | + Copyright (C) 2009 by MOPAS All right reserved. | |
| 14 | +--%> | |
| 15 | +<%@ page contentType="text/html; charset=utf-8"%> | |
| 16 | +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 17 | +<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 18 | +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | |
| 19 | +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 20 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | |
| 21 | +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> | |
| 22 | +<% pageContext.setAttribute("newLineChar", "\r\n"); %> | |
| 23 | +<% pageContext.setAttribute("newLineChar2", "\n"); %> | |
| 24 | +<% | |
| 25 | + response.setHeader("Cache-Control","no-store"); | |
| 26 | + response.setHeader("Pragma","no-cache"); | |
| 27 | + response.setDateHeader("Expires",0); | |
| 28 | + if (request.getProtocol().equals("HTTP/1.1")) response.setHeader("Cache-Control", "no-cache"); | |
| 29 | +%> | |
| 30 | +<!DOCTYPE html> | |
| 31 | +<html lang="ko"> | |
| 32 | +<head> | |
| 33 | +<title>사용자 문자전송 관리</title> | |
| 34 | +<meta http-equiv="content-type" content="text/html; charset=utf-8"> | |
| 35 | +<link rel="stylesheet" href="/pb/css/reset.css"> | |
| 36 | +<link rel="stylesheet" href="/pb/css/common.css"> | |
| 37 | +<link rel="stylesheet" href="/pb/css/content.css"> | |
| 38 | +<link rel="stylesheet" href="/pb/css/popup.css"> | |
| 39 | + | |
| 40 | +<style> | |
| 41 | +.pageCont .tbType1 tbody tr td.sms_detail {overflow:inherit;text-overflow:inherit;position:relative;} | |
| 42 | +.pageCont .tbType1 tbody tr td.sms_detail p {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} | |
| 43 | +.pageCont .tbType1 tbody tr td.sms_detail .sms_detail_hover {overflow:hidden;text-overflow:ellipsis;display:none;word-wrap:break-word;-webkit-line-clamp:20;-webkit-box-orient:vertical;position:absolute;left:-5px;top:45px;width:calc(100% + 150px);padding:15px;line-height:20px;white-space:normal;border:1px solid #e5e5e5;background:#fff;border-radius:5px;box-sizing:border-box;box-shadow:0px 3px 10px 0px rgb(0 0 0 / 0.2);z-index:1;font-size:14px;text-align:left;} | |
| 44 | +.pageCont .tbType1 tbody tr td.sms_detail .sms_detail_hover:after {content:'';position:absolute;left:0;bottom:0;width:100%;height:10px;background:#fff;border-radius:0 0 5px 5px;} | |
| 45 | +.pageCont .tbType1 tbody tr td.sms_detail:hover .sms_detail_hover {display:-webkit-box;} | |
| 46 | +</style> | |
| 47 | + | |
| 48 | +<script type="text/javascript" src="/pb/js/jquery-3.5.0.js"></script> | |
| 49 | +<script type="text/javascript" src="/pb/js/common.js"></script> | |
| 50 | +<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> | |
| 51 | +<script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script> | |
| 52 | +<script type="text/javascript" src="<c:url value='/js/ncms_common.js' />"></script> | |
| 53 | +<script type="text/javaScript" language="javascript"> | |
| 54 | + | |
| 55 | +function fn_search(){ | |
| 56 | + var searchKeyword = $('input[name=searchKeyword]').val(); | |
| 57 | + $('input[name=searchKeyword]').val(searchKeyword.replace(/(\s*)/g, "")); | |
| 58 | + linkPage(1); | |
| 59 | +} | |
| 60 | + | |
| 61 | +function linkPage(pageNo){ | |
| 62 | + var listForm = document.listForm ; | |
| 63 | + listForm.pageIndex.value = pageNo ; | |
| 64 | + listForm.action = "<c:url value='/uss/umt/user/EgovGnrlselectedUserMsgDataDetailListAjax.do'/>"; | |
| 65 | + listForm.submit(); | |
| 66 | +} | |
| 67 | + | |
| 68 | + | |
| 69 | +function fnCheckAll() { | |
| 70 | + if( $("#checkAll").is(':checked') ){ | |
| 71 | + $("input[name=del]").prop("checked", true); | |
| 72 | + }else{ | |
| 73 | + $("input[name=del]").prop("checked", false); | |
| 74 | + } | |
| 75 | +} | |
| 76 | + | |
| 77 | +/* 체크된 메인배너 목록 삭제 */ | |
| 78 | +function fn_delete(){ | |
| 79 | + if($("input[name=del]:checked").length == 0){ | |
| 80 | + alert("선택된 항목이 없습니다."); | |
| 81 | + return; | |
| 82 | + } | |
| 83 | + | |
| 84 | + if (confirm("해당 문자를 삭제하시겠습니까?")){ | |
| 85 | + frm = document.listForm; | |
| 86 | + frm.action = "<c:url value='/uss/ion/msg/SendMsgDelete.do' />"; | |
| 87 | + frm.submit(); | |
| 88 | + } | |
| 89 | +} | |
| 90 | + | |
| 91 | +/* 수정 화면*/ | |
| 92 | +function fn_modify(msgId){ | |
| 93 | + var frm = document.modiForm ; | |
| 94 | + frm.msgId.value = msgId ; | |
| 95 | + //frm.submit(); | |
| 96 | +} | |
| 97 | + | |
| 98 | +/* 수정 화면*/ | |
| 99 | +function fn_detail_list(msgGroupId){ | |
| 100 | + var frm = document.modiForm ; | |
| 101 | + frm.msgGroupId.value = msgGroupId ; | |
| 102 | + frm.submit(); | |
| 103 | +} | |
| 104 | + | |
| 105 | +//엑셀 다운로드 | |
| 106 | +function sendMsgDtlExcelDownload(){ | |
| 107 | + var frm = document.listForm; | |
| 108 | + frm.method = "post"; | |
| 109 | + frm.action = "<c:url value='/uss/ion/msg/SendMsgDtlExcelDownload.do'/>"; | |
| 110 | + frm.submit(); | |
| 111 | +} | |
| 112 | + | |
| 113 | +function goList(){ | |
| 114 | + | |
| 115 | + var form = document.msgListForm; | |
| 116 | + | |
| 117 | + form.action="/uss/umt/user/EgovGnrlselectedUserMsgDataListAjax.do"; | |
| 118 | + form.submit(); | |
| 119 | + | |
| 120 | +} | |
| 121 | + | |
| 122 | +</script> | |
| 123 | +<style> | |
| 124 | +.calBtn{ | |
| 125 | + border: none; | |
| 126 | + background-color: transparent !important; | |
| 127 | + background-image: url(/pb/img/common/calendarIcon.png); | |
| 128 | + background-repeat: no-repeat; | |
| 129 | + width: 25px; | |
| 130 | + height: 25px !important; | |
| 131 | + vertical-align: middle; | |
| 132 | + margin-left: -38px !important; | |
| 133 | + margin-top: -2px !important; | |
| 134 | + cursor: pointer; | |
| 135 | +} | |
| 136 | +.pageCont {width:100%;padding:50px 30px;box-sizing:border-box;} | |
| 137 | +.tableWrapTotal {margin:0 0 20px;} | |
| 138 | +.tableWrapTotal .tbType1 thead tr:first-child {border-width:1px;} | |
| 139 | +.tableWrapTotal .tbType1 thead tr th {border-left:1px solid #e6e6e6;} | |
| 140 | +.tableWrapTotal .tbType1 thead tr th:first-child {border-left:0 none;} | |
| 141 | +.tableWrapTotal .tbType1 thead tr.content th {font-size:14px;} | |
| 142 | +.tableWrapTotal .tbType1 tbody tr td {border-left:1px solid #e6e6e6;} | |
| 143 | +.tableWrapTotal .tbType1 tbody tr td:first-child {border-left:0 none;} | |
| 144 | +.listSerch .select {height:42px;vertical-align:top;} | |
| 145 | +.pageCont .tbType1 tbody tr td.msg_detail {overflow:inherit;} | |
| 146 | +.pageCont .tbType1 tbody tr td.msg_detail a {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;} | |
| 147 | +/* .layer_msg_wrap {position:relative;} */ | |
| 148 | +.layer_msg_wrap .layer_msg_detail {overflow:hidden;display:none;position:absolute;left:50%;top:600px;width:400px;max-height:600px;background:#eee;transform:translateX(-50%);z-index:1;} | |
| 149 | +.layer_msg_wrap .layer_msg_detail button {position:absolute;right:0;top:0;width:35px;height:35px;} | |
| 150 | +.layer_msg_wrap .layer_msg_detail button:before {content:'';position:absolute;left:50%;top:50%;width:1px;height:14px;margin:-7px 0 0;background:#fff;transform:rotate(-45deg);} | |
| 151 | +.layer_msg_wrap .layer_msg_detail button:after {content:'';position:absolute;left:50%;top:50%;width:1px;height:14px;margin:-7px 0 0;background:#fff;transform:rotate(45deg);} | |
| 152 | +.layer_msg_wrap .layer_msg_detail .title {height:35px;padding:0 15px;font-size:16px;line-height:35px;text-align:left;color:#fff;background:#456ded;border-radius:5px 5px 0 0;} | |
| 153 | +.layer_msg_wrap .layer_msg_detail .content {overflow-y:auto;max-height:535px;margin:15px;padding:10px 15px;line-height:20px;white-space:normal;background:#fff;} | |
| 154 | +.layer_msg_wrap .layer_msg_detail .content .rev_cont {text-align:left;} | |
| 155 | +@media screen and (max-width:916px){ | |
| 156 | + .pageCont .tableWrap table thead tr th {padding:15px 0;} | |
| 157 | +} | |
| 158 | + | |
| 159 | +</style> | |
| 160 | +</head> | |
| 161 | +<body> | |
| 162 | +<div class="loading_layer"> | |
| 163 | + <div class="loading_container"> | |
| 164 | + <div class="bar"></div> | |
| 165 | + <div class="text">Loading</div> | |
| 166 | + </div> | |
| 167 | +</div> | |
| 168 | +<form name="listForm" action="<c:url value='/uss/umt/user/EgovGnrlselectedUserMsgDataDetailListAjax.do'/>" method="post"> | |
| 169 | + <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/> | |
| 170 | + <input type="hidden" name="delFlag" value="Y" /> | |
| 171 | + <input type="hidden" name="selectedId" /> | |
| 172 | + <input type="hidden" name="msgGroupId" value="<c:out value='${searchVO.msgGroupId}'/>"/> | |
| 173 | + <input type="hidden" name="pageType" /> | |
| 174 | + <input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" /> | |
| 175 | + <input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" /> | |
| 176 | + <input type="hidden" name="detailType" value="<c:out value="${searchVO.detailType}" />" /> | |
| 177 | + <input type="hidden" name="userId" id="userId" value="<c:out value='${searchVO.userId}'/>" /> | |
| 178 | + | |
| 179 | + <div class="contWrap" style="width:100%;position:relative;left:inherit;top:inherit;min-height:auto;padding:40px;"> | |
| 180 | + <div class="pageTitle"> | |
| 181 | + <!-- <div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div> --> | |
| 182 | + <h2 class="titType1 c_222222 fwBold">'<c:out value="${searchVO.userId}"/>'의 문자전송 리스트</h2> | |
| 183 | + <!-- <p class="tType6 c_999999">문자전송리스트 현황을 파악할 수 있습니다.</p> --> | |
| 184 | + </div> | |
| 185 | + <div class="pageCont"> | |
| 186 | + <div class="listSerch"> | |
| 187 | + <select name="searchCondition" class="select" title="검색조건 선택"> | |
| 188 | + <option value="" <c:if test="${searchVO.searchCondition == ''}">selected="selected"</c:if>>수신번호/내용(전체)</option> | |
| 189 | + <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if>>수신번호</option> | |
| 190 | + <option value="2" <c:if test="${searchVO.searchCondition == '2'}">selected="selected"</c:if>>내용</option> | |
| 191 | + </select> | |
| 192 | + | |
| 193 | + <ec:select codeId="ITN021" name="searchCondition4" id="searchCondition4" css="class='select'" selectedValue="${searchVO.searchCondition4}" | |
| 194 | + defaultValue="" defaultText="메시지상태(전체)" /> | |
| 195 | + | |
| 196 | + <ec:select codeId="ITN019" name="searchCondition2" id="searchCondition2" css="class='select'" selectedValue="${searchVO.searchCondition2}" | |
| 197 | + defaultValue="" defaultText="전송사(전체)" /> | |
| 198 | + | |
| 199 | + <select name="searchMsgResultCode" class="select" title="발송결과 선택"> | |
| 200 | + <option value="" <c:if test="${searchVO.searchMsgResultCode == ''}">selected="selected"</c:if>>발송결과(전체)</option> | |
| 201 | + <option value="S" <c:if test="${searchVO.searchMsgResultCode == 'S'}">selected="selected"</c:if>>발송성공</option> | |
| 202 | + <option value="W" <c:if test="${searchVO.searchMsgResultCode == 'W'}">selected="selected"</c:if>>발송대기</option> | |
| 203 | + <option value="F" <c:if test="${searchVO.searchMsgResultCode == 'F'}">selected="selected"</c:if>>발송실패</option> | |
| 204 | + </select> | |
| 205 | + | |
| 206 | + <ec:select codeId="ITN023" name="searchCondition3" id="searchCondition3" css="class='select'" selectedValue="${searchVO.searchCondition3}" | |
| 207 | + defaultValue="" defaultText="삭제여부(전체)" /> | |
| 208 | + | |
| 209 | + <input id="searchKeyword" name="searchKeyword" class="recentSearch" type="text" value="<c:out value='${searchVO.searchKeyword}'/>" size="25" title="검색" maxlength="100" /> | |
| 210 | + <input type="button" class="btnType1" value="검색" onclick="fn_search(); return false;"> | |
| 211 | + | |
| 212 | + </div> | |
| 213 | + <div class="listTop"> | |
| 214 | + <p class="tType5">총 <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${paginationInfo.totalRecordCount}" pattern="#,###" /></span>건</p> | |
| 215 | + <div class="rightWrap"> | |
| 216 | + <input type="button" class="excelBtn" onclick="javascript:sendMsgDtlExcelDownload();"> | |
| 217 | + <input type="button" class="printBtn"> | |
| 218 | + <select name="pageUnit" id="pageUnit" class="select" title="검색조건선택" onchange="linkPage(1);"> | |
| 219 | + <option value='10' <c:if test="${searchVO.pageUnit == '10' or searchVO.pageUnit == ''}">selected</c:if>>10줄</option> | |
| 220 | + <option value='20' <c:if test="${searchVO.pageUnit == '20'}">selected</c:if>>20줄</option> | |
| 221 | + <option value='30' <c:if test="${searchVO.pageUnit == '30'}">selected</c:if>>30줄</option> | |
| 222 | + </select> | |
| 223 | + </div> | |
| 224 | + </div> | |
| 225 | + <div class="tableWrap"> | |
| 226 | + <table class="tbType1"> | |
| 227 | + <colgroup> | |
| 228 | + <%-- <col style="width: 3%"> --%> | |
| 229 | + <col style="width: 4%"> | |
| 230 | + <col style="width: 7%"> | |
| 231 | + <col style="width: 10%"> | |
| 232 | + <col style="width: 10%"> | |
| 233 | + <col style="width: 9%"> | |
| 234 | + <col style="width: *%"> | |
| 235 | + <col style="width: 6%"> | |
| 236 | + <col style="width: 6%"> | |
| 237 | + <col style="width: 6%"> | |
| 238 | + <%-- <col style="width: 6%"> --%> | |
| 239 | + <col style="width: 6%"> | |
| 240 | + | |
| 241 | + <col style="width: 5%"> | |
| 242 | + <col style="width: 6%"> | |
| 243 | + </colgroup> | |
| 244 | + <thead> | |
| 245 | + <tr> | |
| 246 | + <!-- <th><input type="checkbox" name="checkAll" id="checkAll" class="check2" value="1" onClick="fnCheckAll();"></th> --> | |
| 247 | + <th>번호<input type="button" class="sort sortBtn" id="sort_userData"></th> | |
| 248 | + | |
| 249 | + <th>아이디<input type="button" class="sort sortBtn" id="sort_userId"></th> | |
| 250 | + <th>발신번호<input type="button" class="sort sortBtn" id="sort_callFrom"></th> | |
| 251 | + | |
| 252 | + <th>수신번호<input type="button" class="sort sortBtn" id="sort_callTo"></th> | |
| 253 | + <th>전송시간<input type="button" class="sort sortBtn" id="sort_sentDateTxt"></th> | |
| 254 | + | |
| 255 | + <th>내용<input type="button" class="sort sortBtn" id="sort_smsTxt"></th> | |
| 256 | + <th>상태<input type="button" class="sort sortBtn" id="sort_curStateTxt"></th> | |
| 257 | + | |
| 258 | + <th>결과<input type="button" class="sort sortBtn" id="sort_rsltCode"></th> | |
| 259 | + <th>타입<input type="button" class="sort sortBtn" id="sort_msgTypeTxt"></th> | |
| 260 | + | |
| 261 | + <!-- <th>기기<input type="button" class="sort sortBtn" id="sort_conectMthdTxt"></th> --> | |
| 262 | + <th>전송사<input type="button" class="sort sortBtn" id="sort_agentCode"></th> | |
| 263 | + | |
| 264 | + <th>통신사<input type="button" class="sort sortBtn" id="sort_rsltNet"></th> | |
| 265 | + <th>삭제여부<input type="button" class="sort sortBtn" id="sort_delFlag"></th> | |
| 266 | + </tr> | |
| 267 | + </thead> | |
| 268 | + <tbody> | |
| 269 | + <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 270 | + <tr> | |
| 271 | + <%-- <td> | |
| 272 | + <input name="del" id="del_${status.index}" type="checkbox" value="${result.msgId}" /> | |
| 273 | + </td> --%> | |
| 274 | + <td> | |
| 275 | + <c:if test="${searchVO.searchSortOrd eq 'desc' }"> | |
| 276 | + <c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/> | |
| 277 | + </c:if> | |
| 278 | + <c:if test="${searchVO.searchSortOrd eq 'asc' }"> | |
| 279 | + <c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/> | |
| 280 | + </c:if> | |
| 281 | + </td> | |
| 282 | + | |
| 283 | + <td><a href="#" onclick="fn_modify('${result.userData}'); return false;"><c:out value="${result.userId}"/></a></td> | |
| 284 | + <td><a href="#" onclick="fn_modify('${result.userData}'); return false;"><c:out value="${result.callFrom}"/></a></td> | |
| 285 | + | |
| 286 | + <td><a href="#" onclick="fn_modify('${result.userData}'); return false;"><c:out value="${result.callTo}"/></a></td> | |
| 287 | + <td title="<c:out value="${result.sentDateTxt}"/>"> | |
| 288 | + <fmt:parseDate value="${result.sentDateTxt}" var="sentDateValue" pattern="yyyy-MM-dd HH:mm"/> | |
| 289 | + <fmt:formatDate value="${sentDateValue}" pattern="MM-dd HH:mm"/> | |
| 290 | + </td> | |
| 291 | + | |
| 292 | + <c:choose> | |
| 293 | + <c:when test="${empty result.smsTxt}"> | |
| 294 | + <c:choose> | |
| 295 | + <c:when test="${result.msgType eq '4'}"> | |
| 296 | + <td title="내용없음"> | |
| 297 | + </c:when> | |
| 298 | + <c:otherwise> | |
| 299 | + <td title="그림문자"> | |
| 300 | + </c:otherwise> | |
| 301 | + </c:choose> | |
| 302 | + </c:when> | |
| 303 | + <c:otherwise> | |
| 304 | + <td title="<c:out value="${result.smsTxt}"/>"> | |
| 305 | + </c:otherwise> | |
| 306 | + </c:choose> | |
| 307 | + <a href="#" onclick="fn_modify('${result.userData}'); return false;"> | |
| 308 | + <c:choose> | |
| 309 | + <c:when test="${empty result.smsTxt}"> | |
| 310 | + <c:choose> | |
| 311 | + <c:when test="${result.msgType eq '4'}"> | |
| 312 | + 내용없음 | |
| 313 | + </c:when> | |
| 314 | + <c:otherwise> | |
| 315 | + 그림문자 | |
| 316 | + </c:otherwise> | |
| 317 | + </c:choose> | |
| 318 | + </c:when> | |
| 319 | + <c:otherwise> | |
| 320 | + <c:out value="${result.smsTxt}"/> | |
| 321 | + </c:otherwise> | |
| 322 | + </c:choose> | |
| 323 | + </a> | |
| 324 | + </td> | |
| 325 | + <td> | |
| 326 | + <c:choose> | |
| 327 | + <c:when test="${result.reserveCYn == 'Y'}"> | |
| 328 | + 예약 취소 | |
| 329 | + </c:when> | |
| 330 | + <c:otherwise> | |
| 331 | + <c:out value="${result.curStateTxt}"/> | |
| 332 | + </c:otherwise> | |
| 333 | + </c:choose> | |
| 334 | + </td> | |
| 335 | + | |
| 336 | + <td> | |
| 337 | + <%-- <c:out value="${result.rsltCode}"/> / <c:out value="${result.rsltCode2}"/> --%> | |
| 338 | + <c:choose> | |
| 339 | + <c:when test="${result.resultCodeTxt == 'S'}"> | |
| 340 | + 발송성공 | |
| 341 | + </c:when> | |
| 342 | + <c:when test="${result.resultCodeTxt == 'W'}"> | |
| 343 | + 발송대기 | |
| 344 | + </c:when> | |
| 345 | + <c:otherwise> | |
| 346 | + 발송실패 | |
| 347 | + </c:otherwise> | |
| 348 | + </c:choose> | |
| 349 | + </td> | |
| 350 | + <td><c:out value="${result.msgTypeTxt}"/></td> | |
| 351 | + | |
| 352 | + <%-- <td><c:out value="${result.conectMthdTxt}"/></td> --%> | |
| 353 | + <td><c:out value="${result.agentCodeTxt}"/></td> | |
| 354 | + | |
| 355 | + <td><c:out value="${result.rsltNet}"/></td> | |
| 356 | + <td><c:out value="${result.delFlagTxt}"/></td> | |
| 357 | + | |
| 358 | + </tr> | |
| 359 | + </c:forEach> | |
| 360 | + <c:if test="${empty resultList}"> | |
| 361 | + <tr><td colspan="14"><spring:message code="common.nodata.msg" /></td></tr> | |
| 362 | + </c:if> | |
| 363 | + </tbody> | |
| 364 | + </table> | |
| 365 | + </div> | |
| 366 | + <div class="btnWrap"> | |
| 367 | + <!-- <input type="button" class="btnType2" value="삭제" onclick="fn_delete(); return false;"> --> | |
| 368 | + <!-- <input type="button" class="btnType1" value="등록" onclick="location.href='/uss/ion/msg/SendMsgModify.do'; return false;" value="등록" > --> | |
| 369 | + <input type="button" class="btnType1" value="목록" onclick="goList(); return false;" value="목록" > | |
| 370 | + </div> | |
| 371 | + <!-- 페이지 네비게이션 시작 --> | |
| 372 | + <c:if test="${!empty resultList}"> | |
| 373 | + <div class="page"> | |
| 374 | + <ul class="inline"> | |
| 375 | + <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" /> | |
| 376 | + </ul> | |
| 377 | + </div> | |
| 378 | + </c:if> | |
| 379 | + <!-- //페이지 네비게이션 끝 --> | |
| 380 | + </div> | |
| 381 | + </div> | |
| 382 | +</form> | |
| 383 | +<form name="modiForm" method="get" action="<c:url value='/uss/ion/msg/SendMsgDetailList.do'/>" > | |
| 384 | + <input name="msgId" type="hidden" /> | |
| 385 | + <input name="userId" type="hidden" value="<c:out value='${searchVO.userId}'/>"/> | |
| 386 | + <input name="msgGroupId" type="hidden" /> | |
| 387 | + <input name="detailType" type="hidden" value="sendMsgList" /> | |
| 388 | +</form> | |
| 389 | + | |
| 390 | +<form name="msgListForm" id="msgListForm" method="post"> | |
| 391 | + <input type="hidden" name="reserveType" id="reserveType" value="<c:out value='${searchVO.reserveType}'/>"/> | |
| 392 | + <input type="hidden" name="mberId" id="mberId" value="<c:out value='${searchVO.userId}'/>"/> | |
| 393 | + | |
| 394 | +</form> | |
| 395 | + | |
| 396 | +</body> | |
| 397 | +</html> |
--- src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectMsgDataListPop.jsp
+++ src/main/webapp/WEB-INF/jsp/cmm/uss/umt/EgovGnrlUserSelectMsgDataListPop.jsp
... | ... | @@ -276,6 +276,18 @@ |
| 276 | 276 |
|
| 277 | 277 |
} |
| 278 | 278 |
|
| 279 |
+function fnGoMsgGroupList(msgGroupId){
|
|
| 280 |
+ |
|
| 281 |
+ var form = document.msgGrpListForm; |
|
| 282 |
+ |
|
| 283 |
+ form.msgGroupId.value = msgGroupId; |
|
| 284 |
+ |
|
| 285 |
+ form.action="/uss/umt/user/EgovGnrlselectedUserMsgDataDetailListAjax.do"; |
|
| 286 |
+ form.submit(); |
|
| 287 |
+ |
|
| 288 |
+ |
|
| 289 |
+} |
|
| 290 |
+ |
|
| 279 | 291 |
</script> |
| 280 | 292 |
<style> |
| 281 | 293 |
.calBtn{
|
... | ... | @@ -336,7 +348,7 @@ |
| 336 | 348 |
<input type="hidden" name="ntceEndde" id="ntceEndde" value=""> |
| 337 | 349 |
<input type="hidden" name="reserveType" id="reserveType" value="${searchVO.reserveType}">
|
| 338 | 350 |
|
| 339 |
- <div class="contWrap" style="position:relative;left:inherit;top:inherit;min-height:auto;padding:40px;"> |
|
| 351 |
+ <div class="contWrap" style="width:100%;position:relative;left:inherit;top:inherit;min-height:auto;padding:40px;"> |
|
| 340 | 352 |
<div class="pageTitle"> |
| 341 | 353 |
<!-- <div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div> --> |
| 342 | 354 |
<h2 class="titType1 c_222222 fwBold">'<c:out value="${searchVO.userId}"/>'의 문자전송 리스트</h2>
|
... | ... | @@ -597,7 +609,7 @@ |
| 597 | 609 |
</c:otherwise> |
| 598 | 610 |
</c:choose> |
| 599 | 611 |
</td> |
| 600 |
- <td class="sms_detail left"> |
|
| 612 |
+ <td class="sms_detail left" onclick="fnGoMsgGroupList('<c:out value="${result.msgGroupId}"/>');" style="cursor:pointer;">
|
|
| 601 | 613 |
<c:choose> |
| 602 | 614 |
<c:when test="${empty result.smsTxt}">
|
| 603 | 615 |
<c:choose> |
... | ... | @@ -741,5 +753,11 @@ |
| 741 | 753 |
<input name="msgGroupId" type="hidden" /> |
| 742 | 754 |
<input name="detailType" type="hidden" value="sendMsgList" /> |
| 743 | 755 |
</form> |
| 756 |
+<form name="msgGrpListForm" id="msgGrpListForm" method="post"> |
|
| 757 |
+ <input name="userId" type="hidden" value="<c:out value='${searchVO.userId}'/>"/>
|
|
| 758 |
+ <input name="msgGroupId" type="hidden" value=""/> |
|
| 759 |
+ <input type="hidden" name="reserveType" id="reserveType1" value="${searchVO.reserveType}">
|
|
| 760 |
+ |
|
| 761 |
+</form> |
|
| 744 | 762 |
</body> |
| 745 | 763 |
</html> |
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?