--- src/main/java/itn/let/fax/user/service/impl/FaxDAO.java
+++ src/main/java/itn/let/fax/user/service/impl/FaxDAO.java
... | ... | @@ -90,6 +90,9 @@ |
| 90 | 90 |
public List<FaxGroupDataVO> selectFaxSendList(FaxGroupDataVO faxGroupDataVO) {
|
| 91 | 91 |
return (List<FaxGroupDataVO>) list("faxDAO.selectFaxSendList", faxGroupDataVO);
|
| 92 | 92 |
} |
| 93 |
+ public List<FaxGroupDataVO> selectFaxSendList_advc(FaxGroupDataVO faxGroupDataVO) {
|
|
| 94 |
+ return (List<FaxGroupDataVO>) list("faxDAO.selectFaxSendList_advc", faxGroupDataVO);
|
|
| 95 |
+ } |
|
| 93 | 96 |
|
| 94 | 97 |
public List<FaxGroupDataVO> selectFaxSendDetailList(FaxGroupDataVO faxGroupDataVO) {
|
| 95 | 98 |
return (List<FaxGroupDataVO>) list("faxDAO.selectFaxSendDetailList", faxGroupDataVO);
|
... | ... | @@ -149,4 +152,5 @@ |
| 149 | 152 |
public List<FaxGroupDataVO> selectMyFaxSendList(FaxGroupDataVO faxGroupDataVO) {
|
| 150 | 153 |
return (List<FaxGroupDataVO>) list("faxDAO.selectMyFaxSendList", faxGroupDataVO);
|
| 151 | 154 |
} |
| 155 |
+ |
|
| 152 | 156 |
}(No newline at end of file) |
--- src/main/java/itn/let/fax/user/service/impl/FaxServiceImpl.java
+++ src/main/java/itn/let/fax/user/service/impl/FaxServiceImpl.java
... | ... | @@ -254,7 +254,7 @@ |
| 254 | 254 |
faxGroupDataVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
| 255 | 255 |
faxGroupDataVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
| 256 | 256 |
|
| 257 |
- List<FaxGroupDataVO> faxGroupListVO = faxDao.selectFaxSendList(faxGroupDataVO); |
|
| 257 |
+ List<FaxGroupDataVO> faxGroupListVO = faxDao.selectFaxSendList_advc(faxGroupDataVO); |
|
| 258 | 258 |
|
| 259 | 259 |
paginationInfo.setTotalRecordCount(faxGroupListVO.size() > 0 ? faxGroupListVO.get(0).getTotCnt() : 0); |
| 260 | 260 |
resultMap.put("faxGroupListVO", faxGroupListVO);
|
--- src/main/resources/egovframework/sqlmap/let/fax/Fax_SQL_Mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/fax/Fax_SQL_Mysql.xml
... | ... | @@ -286,6 +286,105 @@ |
| 286 | 286 |
LIMIT #recordCountPerPage# OFFSET #firstIndex# |
| 287 | 287 |
</select> |
| 288 | 288 |
|
| 289 |
+ |
|
| 290 |
+ <select id="faxDAO.selectFaxSendList_advc" resultClass="faxGroupDataVO" parameterClass="faxGroupDataVO"> |
|
| 291 |
+ |
|
| 292 |
+ SELECT |
|
| 293 |
+ tb.totCnt, |
|
| 294 |
+ tb.faxGroupId, |
|
| 295 |
+ tb.userId, |
|
| 296 |
+ tb.orignlFileNm, |
|
| 297 |
+ tb.subject, |
|
| 298 |
+ tb.sendStatus, |
|
| 299 |
+ tb.doneDate, |
|
| 300 |
+ tb.page, |
|
| 301 |
+ tb.totalEa, |
|
| 302 |
+ tb.holdEa, |
|
| 303 |
+ tb.sentEa, |
|
| 304 |
+ tb.unSendEa, |
|
| 305 |
+ tb.errorEa, |
|
| 306 |
+ tb.eachPrice, |
|
| 307 |
+ tb.totPrice, |
|
| 308 |
+ tb.refundPrice, |
|
| 309 |
+ tb.reqDate, |
|
| 310 |
+ SUM(tb.totalEa) OVER () AS totalEaSum, |
|
| 311 |
+ SUM(tb.holdEa) OVER () AS holdEaSum, |
|
| 312 |
+ SUM(tb.sentEa) OVER () AS sentEaSum, |
|
| 313 |
+ SUM(tb.unSendEa) OVER () AS unSendEaSum, |
|
| 314 |
+ SUM(tb.errorEa) OVER () AS errorEaSum |
|
| 315 |
+ FROM |
|
| 316 |
+ ( |
|
| 317 |
+ SELECT |
|
| 318 |
+ COUNT(1) OVER () AS totCnt, |
|
| 319 |
+ mjf.FAX_GROUP_ID AS faxGroupId, |
|
| 320 |
+ mjf.USER_ID AS userId, |
|
| 321 |
+ mjc.ORIGNL_FILE_NM AS orignlFileNm, |
|
| 322 |
+ pf.Subject AS subject, |
|
| 323 |
+ pf.SendStatus AS sendStatus, |
|
| 324 |
+ date_format(pf.DoneDate, '%Y-%m-%d %H:%i') AS doneDate, |
|
| 325 |
+ COALESCE(pf.Page, mjf.FAX_PAGE_CNT) AS page, |
|
| 326 |
+ IF(COALESCE(pf.TotalEA, 0) = 0, mjf.FAX_GROUP_CNT, COALESCE(pf.TotalEA, 0)) AS totalEa, |
|
| 327 |
+ IF(COALESCE(pf.TotalEA, 0) = 0, mjf.FAX_GROUP_CNT, IF(pf.SentEA = 0 AND pf.ErrorEA = 0, pf.TotalEA, 0)) AS holdEa, |
|
| 328 |
+ COALESCE(pf.SentEA, 0) AS sentEa, |
|
| 329 |
+ ( |
|
| 330 |
+ SELECT count(*) |
|
| 331 |
+ FROM pgi_faxlist pgf |
|
| 332 |
+ WHERE pf.seq = pgf.FaxTranSEQ AND ResultCode IN ('6500', '6503', '6504', '6505')
|
|
| 333 |
+ ) AS unSendEa, |
|
| 334 |
+ COALESCE(pf.ErrorEA, 0) - ( |
|
| 335 |
+ SELECT count(*) |
|
| 336 |
+ FROM pgi_faxlist pgf |
|
| 337 |
+ WHERE pf.seq = pgf.FaxTranSEQ AND ResultCode IN ('6500', '6503', '6504', '6505')
|
|
| 338 |
+ ) AS errorEa, |
|
| 339 |
+ mjf.EACH_PRICE AS eachPrice, |
|
| 340 |
+ mjf.TOT_PRICE AS totPrice, |
|
| 341 |
+ IF(pf.ErrorEA != 0, (pf.ErrorEA * pf.Page * mjf.EACH_PRICE), 0) AS refundPrice, |
|
| 342 |
+ date_format(pf.ReqDate, '%Y-%m-%d %H:%i') AS reqDate |
|
| 343 |
+ FROM |
|
| 344 |
+ pgi_faxtran pf |
|
| 345 |
+ LEFT JOIN mj_fax_group_data mjf ON pf.seq = mjf.PGI_FAXTRAN_SEQ |
|
| 346 |
+ LEFT JOIN mj_fax_convert_mng mjc ON mjf.CONVERT_MNG_SEQ = mjc.CONVERT_MNG_SEQ |
|
| 347 |
+ WHERE |
|
| 348 |
+ 1 = 1 |
|
| 349 |
+ <isNotEmpty property="userId"> |
|
| 350 |
+ AND mjf.USER_ID = #userId# |
|
| 351 |
+ </isNotEmpty> |
|
| 352 |
+ <isNotEmpty property="searchStartDate"> |
|
| 353 |
+ <![CDATA[ |
|
| 354 |
+ AND DATE_FORMAT(reqDate, '%Y-%m-%d') >= DATE_FORMAT(#searchStartDate#, '%Y-%m-%d') |
|
| 355 |
+ ]]> |
|
| 356 |
+ </isNotEmpty> |
|
| 357 |
+ <isNotEmpty property="searchEndDate"> |
|
| 358 |
+ <![CDATA[ |
|
| 359 |
+ AND DATE_FORMAT(reqDate, '%Y-%m-%d') <= DATE_FORMAT(#searchEndDate#, '%Y-%m-%d') |
|
| 360 |
+ ]]> |
|
| 361 |
+ </isNotEmpty> |
|
| 362 |
+ <isNotEmpty property="searchKeyword"> |
|
| 363 |
+ <!-- 현재는 검색 조건이 하나지만 추후를 위해 남김 --> |
|
| 364 |
+ <isEqual property="searchCondition" compareValue="1"> |
|
| 365 |
+ AND mjf.USER_ID LIKE CONCAT ('%', #searchKeyword#,'%')
|
|
| 366 |
+ </isEqual> |
|
| 367 |
+ <isEqual property="searchCondition" compareValue="2"> |
|
| 368 |
+ AND pf.Subject LIKE CONCAT ('%', #searchKeyword#,'%')
|
|
| 369 |
+ </isEqual> |
|
| 370 |
+ </isNotEmpty> |
|
| 371 |
+ ) AS tb |
|
| 372 |
+ ORDER BY |
|
| 373 |
+ 1 = 1 |
|
| 374 |
+ <isNotEmpty property="searchSortCnd"> |
|
| 375 |
+ ,$searchSortCnd$ |
|
| 376 |
+ </isNotEmpty> |
|
| 377 |
+ <isNotEmpty property="searchSortOrd"> |
|
| 378 |
+ $searchSortOrd$ |
|
| 379 |
+ </isNotEmpty> |
|
| 380 |
+ LIMIT #recordCountPerPage# OFFSET #firstIndex# |
|
| 381 |
+ |
|
| 382 |
+ |
|
| 383 |
+ |
|
| 384 |
+ |
|
| 385 |
+ </select> |
|
| 386 |
+ |
|
| 387 |
+ |
|
| 289 | 388 |
<select id="faxDAO.getExcelForFaxSendList" resultClass="faxGroupDataVO" parameterClass="faxGroupDataVO"> |
| 290 | 389 |
|
| 291 | 390 |
select |
--- src/main/webapp/WEB-INF/jsp/layout/include/defaultResource.jsp
+++ src/main/webapp/WEB-INF/jsp/layout/include/defaultResource.jsp
... | ... | @@ -43,6 +43,7 @@ |
| 43 | 43 |
20240704 이호영 추가 /cmnDateAndChk.js |
| 44 | 44 |
--> |
| 45 | 45 |
<script type="text/javascript" src="/publish/js/dateUtils.js"></script> |
| 46 |
+ <script type="text/javascript" src="/publish/js/urlUtils.js"></script> |
|
| 46 | 47 |
<script type="text/javascript" src="/publish/js/content.js?date=202211070003"></script> |
| 47 | 48 |
<script type="text/javascript" src="/publish/js/popupLayer.js"></script> |
| 48 | 49 |
<script type="text/javascript" src="/publish/js/popup.js"></script> |
--- src/main/webapp/WEB-INF/jsp/web/fax/faxSendList.jsp
+++ src/main/webapp/WEB-INF/jsp/web/fax/faxSendList.jsp
... | ... | @@ -144,20 +144,48 @@ |
| 144 | 144 |
<div class="send_top"> |
| 145 | 145 |
<div class="serv_content fax_content current"> |
| 146 | 146 |
<div class="heading"> |
| 147 |
- <h2>팩스발송</h2> |
|
| 147 |
+<!-- <h2>팩스발송</h2> --> |
|
| 148 |
+ <h2>발송결과</h2> |
|
| 148 | 149 |
</div> |
| 149 | 150 |
<div class="pay_tab_wrap"> |
| 150 |
- <ul class="tabType1"> |
|
| 151 |
+ <!-- <ul class="tabType1"> |
|
| 151 | 152 |
<li class="tab"> |
| 152 | 153 |
<button type="button" onclick="goPage()">팩스전송</button> |
| 153 | 154 |
</li> |
| 154 | 155 |
<li class="tab active"> |
| 155 | 156 |
<button type="button">팩스전송내역</button> |
| 156 | 157 |
</li> |
| 157 |
- </ul> |
|
| 158 |
+ </ul> --> |
|
| 159 |
+ <%@include file="/WEB-INF/jsp/web/kakao/include/KakaoSentTopMentTap.jsp" %> |
|
| 158 | 160 |
</div> |
| 159 | 161 |
<!--// tab button 끝--> |
| 160 | 162 |
|
| 163 |
+<!-- <div class="rev_content" id="tab5_1"> --> |
|
| 164 |
+ <div class="rev_admin" id ="revAdmin"> |
|
| 165 |
+ <div class="rev_admin_in"> |
|
| 166 |
+ <div class="rev_admin_top clearfix"> |
|
| 167 |
+ <p>전체</p> |
|
| 168 |
+ <c:set var="allTotal" value="${H_allSentCntVO.totCnt + A_allSentCntVO.totCnt }" />
|
|
| 169 |
+ <p><span><fmt:formatNumber value="${allTotal }" pattern="#,###"/></span> 건</p>
|
|
| 170 |
+ </div> |
|
| 171 |
+ <div class="rev_admin_btm admin_btm"> |
|
| 172 |
+<%-- <P class="title_top">WEB<span class="title_num"><fmt:formatNumber value="${H_allSentCntVO.totCnt}" pattern="#,###"/><span>건</span></span></P> --%>
|
|
| 173 |
+ <dl> |
|
| 174 |
+ <dt>대기</dt> |
|
| 175 |
+ <dd><span class="c_002c9a"><fmt:formatNumber value="${H_allSentCntVO.waitCnt}" pattern="#,###"/></span>건</dd>
|
|
| 176 |
+ </dl> |
|
| 177 |
+ <dl> |
|
| 178 |
+ <dt>성공</dt> |
|
| 179 |
+ <dd><span class="c_002c9a"><fmt:formatNumber value="${H_allSentCntVO.succCnt}" pattern="#,###"/></span>건</dd>
|
|
| 180 |
+ </dl> |
|
| 181 |
+ <dl> |
|
| 182 |
+ <dt>실패</dt> |
|
| 183 |
+ <dd><span class="c_e40000"><fmt:formatNumber value="${H_allSentCntVO.failCnt}" pattern="#,###"/></span>건</dd>
|
|
| 184 |
+ </dl> |
|
| 185 |
+ </div> |
|
| 186 |
+ </div> |
|
| 187 |
+ </div> |
|
| 188 |
+<!-- </div> --> |
|
| 161 | 189 |
<form id="faxSendListForm" name="faxSendListForm" action="" method="post"> |
| 162 | 190 |
<input type="hidden" id="pageIndex" name="pageIndex" value="${searchVO.pageIndex}"/>
|
| 163 | 191 |
<input type="hidden" name="searchSortCnd" id="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" />
|
+++ src/main/webapp/WEB-INF/jsp/web/fax/faxSendList_backup_advc_20240712.jsp
... | ... | @@ -0,0 +1,334 @@ |
| 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 uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 5 | +<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%> | |
| 6 | +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 7 | +<%@ page import="itn.com.cmm.LoginVO" %> | |
| 8 | + | |
| 9 | +<script src="/publish/js/content.js"></script> | |
| 10 | +<script src="/js/user/fax/sendListInit.js"></script> | |
| 11 | +<script type="text/javascript" src="<c:out value='/js/common/popup.js' />"></script> | |
| 12 | +<!-- 스프레드시트(타뷸레이터)관련 js --> | |
| 13 | +<!-- <script src="/js/user/fax/tabulator.js"></script> --> | |
| 14 | +<!-- 주소록관련 js --> | |
| 15 | +<!-- <script src="/js/user/fax/addr.js"></script> --> | |
| 16 | +<!-- 엑셀불러오기관련 js --> | |
| 17 | +<!-- <script src="/js/user/fax/exelLoad.js"></script> --> | |
| 18 | + | |
| 19 | +<!-- 현재 jsp에서 사용하는 file 관련 js --> | |
| 20 | +<%-- <script type="text/javascript" src="<c:out value='/js/user/fax/file.js' />"></script> --%> | |
| 21 | +<script type="text/javascript"> | |
| 22 | + | |
| 23 | + $(document).ready(function(){ | |
| 24 | + | |
| 25 | + fn_init(); | |
| 26 | + | |
| 27 | + $('.sort').click(function(){ | |
| 28 | + /* | |
| 29 | + 내림차순 sortBtnDesc | |
| 30 | + 오름차순 sortBtn | |
| 31 | + */ | |
| 32 | + var sortOrd = 'desc'; | |
| 33 | + if($(this).hasClass("sortBtnDesc")) | |
| 34 | + { | |
| 35 | + sortOrd = 'asc'; | |
| 36 | + } | |
| 37 | + $('#faxSendListForm #searchSortOrd').val(sortOrd); | |
| 38 | + $('#faxSendListForm #searchSortCnd').val($(this).attr('id')); | |
| 39 | + linkPage(1); | |
| 40 | + }); | |
| 41 | + | |
| 42 | + // 줄보기 선택 체인지 function | |
| 43 | + $('#pageUnitSelect').change(function(){ | |
| 44 | + $('#faxSendListForm #pageUnit').val($(this).val()); | |
| 45 | + linkPage(1); | |
| 46 | + }); | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + $('.goDetail').click(function(){ | |
| 51 | + | |
| 52 | + $('#goDetailForm #faxGroupId').val($(this).data('info')); | |
| 53 | + | |
| 54 | + var windowTargetName = "faxSendDetailPopup"; | |
| 55 | +// var features = "width=930, height=860, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbars=yes"; | |
| 56 | + // 2.POST로 데이터 전달 | |
| 57 | + document.goDetailForm.target=windowTargetName; | |
| 58 | + showPopup2('',windowTargetName ,'900','800'); | |
| 59 | + document.goDetailForm.submit(); | |
| 60 | + | |
| 61 | + }); | |
| 62 | + | |
| 63 | + | |
| 64 | + $('#excelDownLoad').click(function(){ | |
| 65 | + if($('#dataCnt').text() != 0) | |
| 66 | + { | |
| 67 | + $('#faxSendListForm').attr('action', '/web/mjon/fax/getExcelForFaxSendList.do'); | |
| 68 | + $('#faxSendListForm').submit(); | |
| 69 | + }else{ | |
| 70 | + alert("전송내역이 없습니다.") | |
| 71 | + } | |
| 72 | + }); | |
| 73 | + | |
| 74 | + $('#printfaxSentData').click(function(){ | |
| 75 | + | |
| 76 | + var windowTargetName = "printfaxSentData"; | |
| 77 | + // 2.POST로 데이터 전달 | |
| 78 | + $('#faxSendListForm').attr('target', windowTargetName); | |
| 79 | + showPopup2('',windowTargetName ,'900','800'); | |
| 80 | + $('#faxSendListForm').attr('action', '/web/mjon/fax/printfaxSentDataAjax.do'); | |
| 81 | + $('#faxSendListForm').submit(); | |
| 82 | + | |
| 83 | + | |
| 84 | + }); | |
| 85 | + | |
| 86 | + $('.dateClick').click(function(){ | |
| 87 | + linkPage(1); | |
| 88 | + }); | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + }); | |
| 93 | + | |
| 94 | + function fn_init(){ | |
| 95 | + | |
| 96 | + // 정렬 화살표 변경 | |
| 97 | + var cnd = '<c:out value="${searchVO.searchSortCnd}" />'; | |
| 98 | + var ord = '<c:out value="${searchVO.searchSortOrd}" />'; | |
| 99 | + var $sortInput = $('#'+cnd); | |
| 100 | + if(ord == 'desc') | |
| 101 | + { | |
| 102 | + $sortInput | |
| 103 | + .removeClass('sortBtn') | |
| 104 | + .addClass('sortBtn'+ord.charAt(0).toUpperCase() + ord.slice(1)); | |
| 105 | + } | |
| 106 | + // //정렬 변경 | |
| 107 | + | |
| 108 | + } | |
| 109 | + | |
| 110 | + | |
| 111 | + function linkPage(page){ | |
| 112 | + $('#faxSendListForm').attr('target', ''); | |
| 113 | + $('#faxSendListForm #pageIndex').val(page); | |
| 114 | + $('#faxSendListForm').attr('action', '/web/mjon/fax/faxSendList.do'); | |
| 115 | + $('#faxSendListForm').submit(); | |
| 116 | + } | |
| 117 | + | |
| 118 | + function goPage(){ | |
| 119 | + location.href="<c:url value='/web/mjon/fax/faxDataView.do'/>"; | |
| 120 | + } | |
| 121 | + | |
| 122 | + //캘린더에 날짜 입력해 주기 | |
| 123 | + function setCalVal(val,targetObj){ | |
| 124 | + $('input[name='+targetObj+']').val(val) ; | |
| 125 | + } | |
| 126 | + | |
| 127 | + // 검색 엔터 키 적용 | |
| 128 | + function enterkey() { | |
| 129 | + if (window.event.keyCode == 13) { | |
| 130 | + // 엔터키가 눌렸을 때 실행할 내용 | |
| 131 | + linkPage(1); | |
| 132 | + } | |
| 133 | + } | |
| 134 | + | |
| 135 | +</script> | |
| 136 | + | |
| 137 | + | |
| 138 | +<form id="goDetailForm" name="goDetailForm" action="<c:url value='/web/mjon/fax/faxSendDetailPopup.do'/>" method="post"> | |
| 139 | + <input type="hidden" id="faxGroupId" name="faxGroupId" value=""/> | |
| 140 | +</form> | |
| 141 | + | |
| 142 | +<div class="inner"> | |
| 143 | + <!-- send top --> | |
| 144 | + <div class="send_top"> | |
| 145 | + <div class="serv_content fax_content current"> | |
| 146 | + <div class="heading"> | |
| 147 | + <h2>팩스발송</h2> | |
| 148 | + </div> | |
| 149 | + <div class="pay_tab_wrap"> | |
| 150 | + <ul class="tabType1"> | |
| 151 | + <li class="tab"> | |
| 152 | + <button type="button" onclick="goPage()">팩스전송</button> | |
| 153 | + </li> | |
| 154 | + <li class="tab active"> | |
| 155 | + <button type="button">팩스전송내역</button> | |
| 156 | + </li> | |
| 157 | + </ul> | |
| 158 | + </div> | |
| 159 | + <!--// tab button 끝--> | |
| 160 | + | |
| 161 | + <form id="faxSendListForm" name="faxSendListForm" action="" method="post"> | |
| 162 | + <input type="hidden" id="pageIndex" name="pageIndex" value="${searchVO.pageIndex}"/> | |
| 163 | + <input type="hidden" name="searchSortCnd" id="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" /> | |
| 164 | + <input type="hidden" name="searchSortOrd" id="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" /> | |
| 165 | + <input type="hidden" name="pageUnit" id="pageUnit" value="<c:out value="${searchVO.pageUnit}" />" /> | |
| 166 | + <div class="excel_middle"> | |
| 167 | + <div class="select_btnWrap clearfix"> | |
| 168 | + <div class="btn_left"> | |
| 169 | + <span class="cal_label">기간선택</span> | |
| 170 | + <div class="calendar_wrap"> | |
| 171 | + <input type="text" class="startDate inp calendar" title="검색 시작일" id="searchStartDate" name="searchStartDate" value="<c:out value='${searchVO.searchStartDate}'/>" data-datecontrol="true"> | |
| 172 | + <span class="dateEtc">~</span> | |
| 173 | + <input type="text" class="endDate inp calendar" title="검색 종료일" id="searchEndDate" name="searchEndDate" value="<c:out value='${searchVO.searchEndDate}'/>" data-datecontrol="true"> | |
| 174 | + </div> | |
| 175 | + <button type="button" onclick="setCalVal(lastfulstday,'searchStartDate');setCalVal( lastfuledday,'searchEndDate'); return false;" class="btnType btnType19 dateClick">전월</button> | |
| 176 | + <button type="button" onclick="setCalVal(thisfulstlday,'searchStartDate');setCalVal( thisfuledtlday,'searchEndDate'); return false;" class="btnType btnType19 dateClick">당월</button> | |
| 177 | + <button type="button" onclick="setCalVal(threefulstday,'searchStartDate');setCalVal( threefuledday,'searchEndDate'); return false;" class="btnType btnType19 dateClick">3개월</button> | |
| 178 | + <button type="button" class="btnType6" onClick="javascript:linkPage(1); return false;">조회</button> | |
| 179 | + </div> | |
| 180 | + <div class="btn_right"> | |
| 181 | + <label for="searchCondition" class="label">제목 선택</label> | |
| 182 | + <select name="searchCondition" id="searchCondition" class="selType2"> | |
| 183 | + <option value="2" <c:if test="${searchVO.searchCondition == '2'}">selected</c:if> >제목</option> | |
| 184 | + </select> | |
| 185 | + <div class="search"> | |
| 186 | + <label for="id" class="label"></label> | |
| 187 | + <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" onkeyup="enterkey();" placeholder="검색어를 입력하세요." onfocus="this.placeholder=''" onblur="this.placeholder='검색어를 입력하세요.'" > | |
| 188 | + <button type="button" class="btnType btnType2" onClick="javascript:linkPage(1); return false;">검색</button> | |
| 189 | + </div> | |
| 190 | + </div> | |
| 191 | + </div> | |
| 192 | + </div> | |
| 193 | + </form> | |
| 194 | + <!-- 팩스전송내역 --> | |
| 195 | + <div class="tab_content current" id="tab_content_2"> | |
| 196 | + <div class="list_info"> | |
| 197 | + <input type="hidden" id="tdType" value="groupList"> | |
| 198 | + <p>총 <span class="c_e40000" id="dataCnt">${paginationInfo.totalRecordCount }</span>건</p> | |
| 199 | + <div> | |
| 200 | + <label for="pageUnitSelect" class="label">줄보기 선택</label> | |
| 201 | + <select id="pageUnitSelect" class="selType2"> | |
| 202 | + <option value="10" ${searchVO.pageUnit == 10 ? 'selected' : ''}>10개보기</option> | |
| 203 | + <option value="20" ${searchVO.pageUnit == 20 ? 'selected' : ''}>20개보기</option> | |
| 204 | + <option value="30" ${searchVO.pageUnit == 30 ? 'selected' : ''}>30개보기</option> | |
| 205 | + </select> | |
| 206 | + </div> | |
| 207 | + </div> | |
| 208 | + <div class="tb_wrap"> | |
| 209 | + <table class="tType4"> | |
| 210 | + <colgroup> | |
| 211 | + <col style="width: 50px;"> | |
| 212 | + <col style="width: auto;"> | |
| 213 | + <col style="width: 15%;"> | |
| 214 | + <col style="width: 9%;"> | |
| 215 | + <col style="width: 8%;"> | |
| 216 | + <col style="width: 6%;"> | |
| 217 | + <col style="width: 6%;"> | |
| 218 | + <col style="width: 6%;"> | |
| 219 | + <col style="width: 6%;"> | |
| 220 | + <col style="width: 10%;"> | |
| 221 | + <col style="width: 10%;"> | |
| 222 | + </colgroup> | |
| 223 | + <thead> | |
| 224 | + <tr> | |
| 225 | + <th rowspan="2"> | |
| 226 | + </th> | |
| 227 | + <th rowspan="2">제목 | |
| 228 | + <div class="sort_wrap"> | |
| 229 | + <input type="button" class="sort sortBtn" id="subject"> | |
| 230 | + </div> | |
| 231 | + </th> | |
| 232 | + <th rowspan="2">전송시간 | |
| 233 | + <div class="sort_wrap"> | |
| 234 | + <input type="button" class="sort sortBtn" id="doneDate"> | |
| 235 | + </div> | |
| 236 | + </th> | |
| 237 | + <th rowspan="2">문서매수 | |
| 238 | + <div class="sort_wrap"> | |
| 239 | + <input type="button" class="sort sortBtn" id="page"> | |
| 240 | + </div> | |
| 241 | + </th> | |
| 242 | + <th rowspan="2">발송건수 | |
| 243 | + <div class="sort_wrap"> | |
| 244 | + <input type="button" class="sort sortBtn" id="totalEa"> | |
| 245 | + </div> | |
| 246 | + </th> | |
| 247 | + <th colspan="4">발송결과 건수</th> | |
| 248 | + <th rowspan="2">발송금액 | |
| 249 | + <div class="sort_wrap"> | |
| 250 | + <input type="button" class="sort sortBtn" id="totPrice"> | |
| 251 | + </div> | |
| 252 | + </th> | |
| 253 | + <th rowspan="2">환불금액 | |
| 254 | + <div class="sort_wrap"> | |
| 255 | + <input type="button" class="sort sortBtn" id="refundPrice"> | |
| 256 | + </div> | |
| 257 | + </th> | |
| 258 | + </tr> | |
| 259 | + <tr> | |
| 260 | + <th>성공</th> | |
| 261 | + <th>대기</th> | |
| 262 | + <th>실패</th> | |
| 263 | + <th style="border-right: 1px solid #d5d5d5;">기타</th> | |
| 264 | + </tr> | |
| 265 | + </thead> | |
| 266 | + <tbody> | |
| 267 | + <c:forEach var="result" items="${faxGroupListVO }" varStatus="i"> | |
| 268 | + <tr> | |
| 269 | +<%-- <td>${(searchVO.pageIndex* searchVO.pageUnit) - searchVO.pageUnit - i.index}</td> --%> | |
| 270 | + <td>${(searchVO.pageIndex* searchVO.pageUnit) - searchVO.pageUnit+i.index+1}</td> | |
| 271 | +<%-- <td><a href="#none" onclick="fn_goDetail(${result.faxGroupId})">${result.subject }</td> --%> | |
| 272 | + <td data-info="${result.faxGroupId}" style="cursor : pointer;" class="goDetail">${result.subject }</td> | |
| 273 | + <td>${result.reqDate }</a></td> | |
| 274 | + <td>${result.page }</td> | |
| 275 | + <td>${result.totalEa }</td> | |
| 276 | + <td> | |
| 277 | + <p class="c_002c9a">${result.sentEa }</p> | |
| 278 | + </td> | |
| 279 | + <td> | |
| 280 | + <p class="c_222">${result.holdEa }</p> | |
| 281 | + </td> | |
| 282 | + <td> | |
| 283 | + <p class="c_e40000">${result.errorEa }</p> | |
| 284 | + </td> | |
| 285 | + <td> | |
| 286 | + <p class="c_e40000">${result.unSendEa }</p> | |
| 287 | + </td> | |
| 288 | + | |
| 289 | + <td> | |
| 290 | + <fmt:formatNumber value="${result.totPrice }" pattern="#,###.#"/> | |
| 291 | + </td> | |
| 292 | + <td> | |
| 293 | + <p class="c_e40000"><fmt:formatNumber value="${result.refundPrice }" pattern="#,###.#"/></p> | |
| 294 | + </td> | |
| 295 | + </tr> | |
| 296 | + </c:forEach> | |
| 297 | + <c:if test="${empty faxGroupListVO}"> | |
| 298 | + <tr> | |
| 299 | + <td colspan="11">전송내역이 없습니다.</td> | |
| 300 | + </ul> | |
| 301 | + </c:if> | |
| 302 | + </tbody> | |
| 303 | + </table> | |
| 304 | + </div> | |
| 305 | + <div class="table_btn clearfix"> | |
| 306 | + <div class="table_btn_left"> | |
| 307 | + </div> | |
| 308 | + <div class="table_btn_right"> | |
| 309 | + <button type="button" class="excel_btn btnType" id="excelDownLoad"><i class="downroad"></i>엑셀 다운로드</button> | |
| 310 | + <button type="button" class="print_btn btnType" id="printfaxSentData"></i>발송결과 출력하기</button> | |
| 311 | + </div> | |
| 312 | + </div> | |
| 313 | + <c:if test="${!empty faxGroupListVO}"> | |
| 314 | + <ul class="pagination"> | |
| 315 | + <ui:pagination paginationInfo = "${paginationInfo}" type="imageWeb" jsFunction="linkPage" /> | |
| 316 | + </ul> | |
| 317 | + </c:if> | |
| 318 | + </div> | |
| 319 | + <!-- //팩스전송내역 --> | |
| 320 | + | |
| 321 | + <!-- tab content1 --> | |
| 322 | + </div> | |
| 323 | + </div><!--// send top --> | |
| 324 | +<!-- send bottom --> | |
| 325 | +</div> | |
| 326 | +<!-- <form id="msgResendForm" name="msgResendForm" method="post"> --> | |
| 327 | +<!-- <input name="msgResendFlag" type="hidden" value="N"/> --> | |
| 328 | +<!-- <input name="msgSeqList" type="hidden" value=""/> --> | |
| 329 | +<!-- </form> --> | |
| 330 | +<!-- <form id="moveAddrForm" name="moveAddrForm" method="post"> --> | |
| 331 | +<!-- <input name="moveAddrFlag" type="hidden" value="N"/> --> | |
| 332 | +<!-- <input name="addrIdList" type="hidden" value=""/> --> | |
| 333 | +<!-- </form> --> | |
| 334 | + |
--- src/main/webapp/WEB-INF/jsp/web/kakao/include/KakaoSentTopMentTap.jsp
+++ src/main/webapp/WEB-INF/jsp/web/kakao/include/KakaoSentTopMentTap.jsp
... | ... | @@ -9,22 +9,31 @@ |
| 9 | 9 |
|
| 10 | 10 |
}); |
| 11 | 11 |
|
| 12 |
+ |
|
| 13 |
+ |
|
| 12 | 14 |
function initMenuTab(){
|
| 13 | 15 |
var form = document.bizForm; |
| 14 | 16 |
$('.topTab').removeClass("active");
|
| 15 | 17 |
$("#smsTab").addClass("active");
|
| 16 | 18 |
|
| 17 |
- var siteId = '${siteId}';
|
|
| 18 |
- if(siteId == ''){
|
|
| 19 |
- siteId = form.siteId.value; |
|
| 20 |
- } |
|
| 19 |
+// var siteId = '${siteId}';
|
|
| 20 |
+// console.log('siteId : ', siteId);
|
|
| 21 | 21 |
|
| 22 |
- if(siteId == 'tabSms'){
|
|
| 22 |
+ |
|
| 23 |
+ var uri = fn_G_getLastUrlSegment(); |
|
| 24 |
+ |
|
| 25 |
+ console.log('uri:', uri);
|
|
| 26 |
+ |
|
| 27 |
+ |
|
| 28 |
+ if(uri.includes('selectMsgSentView')){
|
|
| 23 | 29 |
$('.topTab').removeClass("active");
|
| 24 | 30 |
$("#smsTab").addClass("active");
|
| 25 |
- }else if(siteId == 'tabKakao'){
|
|
| 31 |
+ }else if(uri.includes('selectKakaoSentView')){
|
|
| 26 | 32 |
$('.topTab').removeClass("active");
|
| 27 | 33 |
$("#kakaoTab").addClass("active");
|
| 34 |
+ }else if(uri.includes('faxSendList')){
|
|
| 35 |
+ $('.topTab').removeClass("active");
|
|
| 36 |
+ $("#faxTab").addClass("active");
|
|
| 28 | 37 |
} |
| 29 | 38 |
} |
| 30 | 39 |
|
... | ... | @@ -59,6 +68,6 @@ |
| 59 | 68 |
<button type="button" onclick="javascript:fnLinkPageTab('tabKakao');return false;">카카오톡</button>
|
| 60 | 69 |
</li> |
| 61 | 70 |
<li class="tab topTab" id="faxTab"> |
| 62 |
- <button type="button" onclick="javascript:fnLinkPageTab('tabFax');return false;">카카오톡</button>
|
|
| 71 |
+ <button type="button" onclick="javascript:fnLinkPageTab('tabFax');return false;">팩스</button>
|
|
| 63 | 72 |
</li> |
| 64 | 73 |
</ul>(No newline at end of file) |
--- src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentView.jsp
... | ... | @@ -310,7 +310,7 @@ |
| 310 | 310 |
else {
|
| 311 | 311 |
if ($("#startDate").val() < prevMonth(3)) {
|
| 312 | 312 |
alert("최근 3개월까지만 다운로드 가능합니다.")
|
| 313 |
- return false; |
|
| 313 |
+// return false; |
|
| 314 | 314 |
} |
| 315 | 315 |
} |
| 316 | 316 |
|
--- src/main/webapp/WEB-INF/jsp/web/user/mberCompanyInfoChange.jsp
+++ src/main/webapp/WEB-INF/jsp/web/user/mberCompanyInfoChange.jsp
... | ... | @@ -383,7 +383,8 @@ |
| 383 | 383 |
} |
| 384 | 384 |
} |
| 385 | 385 |
,error : function(request , status, error){
|
| 386 |
- alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
|
| 386 |
+// alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
|
| 387 |
+ alert("오류가 발생하였습니다. \n입력 값을 다시 확인해 주세요.");
|
|
| 387 | 388 |
} |
| 388 | 389 |
}); |
| 389 | 390 |
} |
... | ... | @@ -949,7 +950,7 @@ |
| 949 | 950 |
<div class="input_left"><span class="essential">*</span>대표</div> |
| 950 | 951 |
<div class="input_right"> |
| 951 | 952 |
<label for="" class="label">대표명 입력</label> |
| 952 |
- <input type="text" class="list_inputType1" name="ceoNm" maxlength="50" value="${userInfo.ceoNm}"/>
|
|
| 953 |
+ <input type="text" class="list_inputType1" name="ceoNm" maxlength="30" value="${userInfo.ceoNm}"/>
|
|
| 953 | 954 |
</div> |
| 954 | 955 |
</div> |
| 955 | 956 |
<div class="input_list_item input_list_biz"> |
... | ... | @@ -1002,7 +1003,7 @@ |
| 1002 | 1003 |
<div class="input_left">상세 주소</div> |
| 1003 | 1004 |
<div class="input_right"> |
| 1004 | 1005 |
<label for="detailAdres" class="label">사업장 주소 상세 입력</label> |
| 1005 |
- <input type="text" class="list_inputType1 colorLight" name="detailAdres" size="100" value="${userInfo.detailAdres}"/>
|
|
| 1006 |
+ <input type="text" class="list_inputType1 colorLight" name="detailAdres" maxlength="30" size="100" value="${userInfo.detailAdres}"/>
|
|
| 1006 | 1007 |
</div> |
| 1007 | 1008 |
</div> |
| 1008 | 1009 |
<div class="mem_btnWrap2 justify"> |
--- src/main/webapp/WEB-INF/jsp/web/user/mberInfoChange.jsp
+++ src/main/webapp/WEB-INF/jsp/web/user/mberInfoChange.jsp
... | ... | @@ -196,7 +196,8 @@ |
| 196 | 196 |
} |
| 197 | 197 |
} |
| 198 | 198 |
,error : function(request , status, error){
|
| 199 |
- alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
|
| 199 |
+// alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
|
|
| 200 |
+// alert("입력한 정보를 다시 확인해 주세요");
|
|
| 200 | 201 |
} |
| 201 | 202 |
}); |
| 202 | 203 |
} |
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?