From 52a69ea8ea973e4c62481d4019f7b798220e2b58 Mon Sep 17 00:00:00 2001 From: rosewiper Date: Fri, 15 Dec 2023 15:39:53 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A0=EA=B1=B0=EB=AC=B8=EC=9E=90=2020?= =?UTF-8?q?=EA=B1=B4=20=EC=A0=84=EC=B2=B4=EC=84=A0=ED=83=9D=20=EB=B0=8F=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=95,=201=EB=AA=85=EC=94=A9=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=20=EB=B2=84=ED=8A=BC=20=EC=9C=84=EC=B9=98=20=EC=A1=B0?= =?UTF-8?q?=EC=A0=95=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../msgcampain/tw/MsgTWDataCallToListView.jsp | 26 ++++++++++++------- .../web/msgcampain/tw/MsgTWDataSMLView.jsp | 21 ++++++++------- src/main/webapp/publish/css/content.css | 2 +- src/main/webapp/publish/js/publish.js | 12 ++++++--- 4 files changed, 39 insertions(+), 22 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp b/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp index 54ed944b..355e2e14 100644 --- a/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp @@ -29,7 +29,7 @@
diff --git a/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp b/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp index 1b6a7d6a..ee7bbb14 100644 --- a/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp +++ b/src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp @@ -313,6 +313,7 @@ function addTWCallToInfo(){ var checkbox = $('[name=chkCallTo]'); publishCommon.longMousePressCheck(checkbox, 10, $(".btn_check_one")); publishCommon.clickCheckPrice(); + }); $(".btn_check_one").click(function(){ @@ -321,7 +322,7 @@ function addTWCallToInfo(){ publishCommon.clickCheckPrice(); }); - $("#checkAll").change(function(){ + $("#checkAll").click(function(){ publishCommon.clickCheckAll(); publishCommon.clickCheckPrice(); @@ -4272,7 +4273,7 @@ function getMjMsgSentListAll(pageNo) {
    -
  • +
  • 번호
-
- <%--
    - -
--%> +
+
    + <%-- --%> +
  • +
- + +
-

마우스를 누르고 있으면 받는사람을 연속적으로 20명까지 선택할 수 있습니다.

+

마우스를 계속 누르고 있으면 받는 사람이 연속으로 선택됩니다.

@@ -4314,7 +4317,7 @@ function getMjMsgSentListAll(pageNo) {
-
전체 받는사람
+
전체 받는사람

0

diff --git a/src/main/webapp/publish/css/content.css b/src/main/webapp/publish/css/content.css index af1fddbc..f8746966 100644 --- a/src/main/webapp/publish/css/content.css +++ b/src/main/webapp/publish/css/content.css @@ -618,7 +618,7 @@ button.check_validity:hover {border: 1px solid #a3a3a3;box-shadow: 0px 0px 5px .sub .election .receipt_number_table_wrap .put_right .receipt_info dd:last-child{margin:0 0 0 0;} .sub .election .receipt_number_table_wrap .put_right .receipt_info dd b{font-size:16px;font-weight:500;} .sub .election .receipt_number_table_wrap .put_right .receipt_info .btn_reset{font-size:14px;font-weight:400;color:#666;} -.sub .election .receipt_number_table_wrap .put_right .receipt_info .btn_reset i{display:inline-block;width:13px;height:13px;margin:-1px 2px 0 0;background:url(/publish/images/icon_reset.png) no-repeat center center;} +.sub .election .receipt_number_table_wrap .put_right .receipt_info .btn_reset i{display:inline-block;width:15px;height:13px;margin:-1px 2px 0 0;background:url(/publish/images/icon_reset.png) no-repeat center center;} .sub .election .list_bottom{display:flex;width:100%;align-items:center;justify-content:space-between;padding:0 0 10px 0;} .sub .election .list_bottom .pagination{display:inline-flex;width:auto;margin:0;justify-content:flex-start;} .sub .election .list_bottom .pagination button{height:32px;} diff --git a/src/main/webapp/publish/js/publish.js b/src/main/webapp/publish/js/publish.js index 74217e3d..a637c02d 100644 --- a/src/main/webapp/publish/js/publish.js +++ b/src/main/webapp/publish/js/publish.js @@ -48,7 +48,7 @@ var publishCommon = { clickCheckAll: function () { var chkCnt = $("input:checkbox[name='chkCallTo']").length; - var chkAllSts = $('input:checkbox[name="receipt_number_check"]').is(':checked'); + var btnAllVal = $("#checkAll").val(); //var chkAllSts = $('input:checkbox[name="receipt_number_check"]').attr("checked"); if (chkCnt == 0) { @@ -60,9 +60,10 @@ var publishCommon = { $("input:checkbox[name='chkCallTo']").each(function () { - if (chkAllSts) { + if (btnAllVal == 'N') { $(this).attr("checked", "checked"); //$(this).prop("checked",true); + } else { $(this).removeAttr("checked"); //$(this).prop("checked",false); @@ -70,7 +71,12 @@ var publishCommon = { }); - + //전체선택 체크 여부 값 변경해 주기 + if(btnAllVal == 'N'){ + $("#checkAll").val("Y"); + }else{ + $("#checkAll").val("N"); + } }, clickCheckPrice: function () {