diff --git a/src/main/java/itn/let/mjo/msgdata/web/MjonMsgDataController.java b/src/main/java/itn/let/mjo/msgdata/web/MjonMsgDataController.java index ede6f80f..f934df87 100644 --- a/src/main/java/itn/let/mjo/msgdata/web/MjonMsgDataController.java +++ b/src/main/java/itn/let/mjo/msgdata/web/MjonMsgDataController.java @@ -5993,6 +5993,8 @@ public class MjonMsgDataController { PaginationInfo paginationInfo = new PaginationInfo(); if(loginVO != null) { + mjonMsgSentVO.setStateType("all"); + mjonMsgSentVO.setListType("groupList"); mjonMsgSentVO.setUserId(userId); // 검색 리스트 불러오기 diff --git a/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp b/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp index ffc22260..edb7ca97 100644 --- a/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp @@ -3190,7 +3190,7 @@ function checkNumber(event) { } //문자 발송목록(msgSentType : 01:문자전송, 02:선거문자) -function getMjMsgSentListAll(pageNo, msgSenTType) { +function getMjMsgSentListAll(pageNo, msgSentType) { document.sentListForm.pageIndex.value = pageNo; var sendData= $(document.sentListForm).serializeArray(); @@ -3211,11 +3211,6 @@ function getMjMsgSentListAll(pageNo, msgSenTType) {
- - - - -
@@ -3227,33 +3222,10 @@ function getMjMsgSentListAll(pageNo, msgSenTType) { -
-
-
- 발송일시 : 2021-05-28 16:52:30 - MMS - -
-
-
    -
  • 발송된 그림문자 미리보기
  • -
  • 발송된 그림문자 미리보기
  • -
  • 발송된 그림문자 미리보기
  • -
-
-

(광고) 무료거부 080-888-8282

-

안녕하세요. 문자온미용실 입니다.
- 여름 맞이 이벤트 입니다.
- 7월부터 8월까지 모든 염색 10만원(시세이도 및 탈색은 별도) -

-
-
-
- +
+
+
@@ -3266,10 +3238,8 @@ function getMjMsgSentListAll(pageNo, msgSenTType) {

전송내역

-
- +
- @@ -3909,7 +3879,7 @@ function getMjMsgSentListAll(pageNo, msgSenTType) {
- --%> + --%>
diff --git a/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgSentListAjax.jsp b/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgSentListAjax.jsp index 7c7f47b6..fedb83ac 100644 --- a/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgSentListAjax.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/msgdata/MsgSentListAjax.jsp @@ -44,70 +44,184 @@ $(document).ready(function(){ $("[name='searchSortCnd']").val(sortCnd.substring(5)); // 구분자 제거 if (sortOrd == "desc") $("[name='searchSortOrd']").val("asc"); else $("[name='searchSortOrd']").val("desc"); - payUserListAjax('1'); //각 JSP마다 다를때 메소드 정의해 줘야됨 + getMjMsgSentListAll('1'); //각 JSP마다 다를때 메소드 정의해 줘야됨 }; }); +//문자 재전송 +function fnMjMsgReSendAll(msgGroupId, replaceCnt, electionCnt, advertisementCnt) { + if (replaceCnt > 0) { + alert("치환문자는 재전송 불가합니다."); + } + else { + var title = ""; + if (electionCnt > 0) { + title = "선거문자발송"; + } + else { + title = "문자발송"; + } + + //if (confirm(title + " 화면으로 이동합니다.\n문자내용, 받는사람 확인후 발송해주세요.")) { + if (confirm("문자내용, 받는사람 확인후 발송해주세요.")) { + var form = document.reSendAllForm; + form.msgResendAllFlag.value = "Y"; + form.msgResendAllGroupId.value = msgGroupId; + if (electionCnt > 0) { + form.action="/web/mjon/msgcampain/selectMsgDataView.do"; + } + else { + if (advertisementCnt > 0) { + // 광고문자 + form.msgResendAllAdvertiseYn.value = "Y"; + } + form.action="/web/mjon/msgdata/selectMsgDataView.do"; + } + form.submit(); + } + } +} + +//상세보기 버튼 실행 +function fnRevDetailPop(msgGroupId, msgId, fileCnt){ + document.resPopForm.msgGroupId.value = msgGroupId; + document.resPopForm.msgId.value = msgId; + var sendData = $(document.resPopForm).serializeArray(); + + var form = document.searchForm; + $("#msgSentDetailPopLoad").load("/web/mjon/msgsent/selectMsgSentDetailDataAjax.do", sendData ,function(response, status, xhr){ + }); +} + +
+ + + + +
+
+ + + +
+ -
+
- - - - - - - - + + + + + + + + - - - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + - - - - - - - - - - + +
발송일시 -
-
형태 -
-
발송방식 -
-
발송일시형태발송방식 내용받는사람 -
-
발신번호 -
-
발송건수 -
-
받는사람발신번호발송건수 재전송 선택
+ + + + + 장문 + + + 그림 + + + 단문 + + + + + + WEB + + + API + + + - + + + + + + + +

+ + + + + + + + 명 +

+
+ +

+
+ +

+
+
+
+ + + + + +
2023-06-10 17:50그림WEB010-1547-5895 외 1명010-5897-78958발송 내역이 없습니다.
2023-06-10 17:50그림WEB010-1547-5895 외 1명010-5897-78958
@@ -120,3 +234,5 @@ $(document).ready(function(){ + + \ No newline at end of file