20건 선거문자 기능 변경 - 전체선택 기능 추가 - 후보자 등록 정보 체크
- 전체선택 기능 추가 - 후보자 등록 정보 체크
@e563ff812f519f72d6fdda8e7e9b1a6a9b20f13f
--- src/main/java/itn/let/mjo/pay/service/MjonPayService.java
+++ src/main/java/itn/let/mjo/pay/service/MjonPayService.java
... | ... | @@ -76,9 +76,10 @@ |
| 76 | 76 |
|
| 77 | 77 |
void updatePointUseByCase(MjonPayVO mjonPayVO) throws Exception; |
| 78 | 78 |
|
| 79 |
- |
|
| 80 | 79 |
String selectSumPayMoney(String userId) throws Exception; |
| 81 |
- |
|
| 80 |
+ |
|
| 81 |
+ String selectAgentSumPayMoney(String userId) throws Exception; |
|
| 82 |
+ |
|
| 82 | 83 |
String selectSumPoint(String userId) throws Exception; |
| 83 | 84 |
|
| 84 | 85 |
List<MjonPayVO> selectPayListForRefund(MjonPayVO mjonPayVO) throws Exception; |
--- src/main/java/itn/let/mjo/pay/service/impl/MjonPayDAO.java
+++ src/main/java/itn/let/mjo/pay/service/impl/MjonPayDAO.java
... | ... | @@ -179,6 +179,10 @@ |
| 179 | 179 |
return (String) select("mjonPayDAO.selectSumPayMoney", userId);
|
| 180 | 180 |
} |
| 181 | 181 |
|
| 182 |
+ public String selectAgentSumPayMoney(String userId) throws Exception{
|
|
| 183 |
+ return (String) select("mjonPayDAO.selectAgentSumPayMoney", userId);
|
|
| 184 |
+ } |
|
| 185 |
+ |
|
| 182 | 186 |
public String selectSumPoint(String userId) throws Exception{
|
| 183 | 187 |
return (String) select("mjonPayDAO.selectSumPoint", userId);
|
| 184 | 188 |
} |
--- src/main/java/itn/let/mjo/pay/service/impl/MjonPayServiceImpl.java
+++ src/main/java/itn/let/mjo/pay/service/impl/MjonPayServiceImpl.java
... | ... | @@ -2499,11 +2499,14 @@ |
| 2499 | 2499 |
} |
| 2500 | 2500 |
} |
| 2501 | 2501 |
|
| 2502 |
- |
|
| 2503 |
- |
|
| 2504 | 2502 |
@Override |
| 2505 | 2503 |
public String selectSumPayMoney(String userId) throws Exception{
|
| 2506 | 2504 |
return mjonPayDAO.selectSumPayMoney(userId); |
| 2505 |
+ } |
|
| 2506 |
+ |
|
| 2507 |
+ @Override |
|
| 2508 |
+ public String selectAgentSumPayMoney(String userId) throws Exception {
|
|
| 2509 |
+ return mjonPayDAO.selectAgentSumPayMoney(userId); |
|
| 2507 | 2510 |
} |
| 2508 | 2511 |
|
| 2509 | 2512 |
@Override |
... | ... | @@ -2740,4 +2743,6 @@ |
| 2740 | 2743 |
return mjonPayDAO.selectPointInfoList(userId); |
| 2741 | 2744 |
} |
| 2742 | 2745 |
|
| 2746 |
+ |
|
| 2747 |
+ |
|
| 2743 | 2748 |
} |
--- src/main/java/itn/let/mjo/pay/web/MjonPayController.java
+++ src/main/java/itn/let/mjo/pay/web/MjonPayController.java
... | ... | @@ -2409,7 +2409,7 @@ |
| 2409 | 2409 |
mjonMsgVO.setUserId(userId); |
| 2410 | 2410 |
|
| 2411 | 2411 |
{ // 충전캐시
|
| 2412 |
- String sumPayMoney = mjonPayService.selectSumPayMoney(userId); |
|
| 2412 |
+ String sumPayMoney = mjonPayService.selectAgentSumPayMoney(userId); |
|
| 2413 | 2413 |
model.addAttribute("sumPayMoney", sumPayMoney);
|
| 2414 | 2414 |
} |
| 2415 | 2415 |
|
... | ... | @@ -2480,7 +2480,7 @@ |
| 2480 | 2480 |
|
| 2481 | 2481 |
|
| 2482 | 2482 |
{ // 충전캐시
|
| 2483 |
- String sumPayMoney = mjonPayService.selectSumPayMoney(userId); |
|
| 2483 |
+ String sumPayMoney = mjonPayService.selectAgentSumPayMoney(userId); |
|
| 2484 | 2484 |
model.addAttribute("sumPayMoney", sumPayMoney);
|
| 2485 | 2485 |
} |
| 2486 | 2486 |
|
--- src/main/resources/egovframework/sqlmap/let/pay/MjonPay_SQL_mysql.xml
+++ src/main/resources/egovframework/sqlmap/let/pay/MjonPay_SQL_mysql.xml
... | ... | @@ -1285,6 +1285,14 @@ |
| 1285 | 1285 |
|
| 1286 | 1286 |
<select id="mjonPayDAO.selectSumPayMoney" parameterClass="String" resultClass="String"> |
| 1287 | 1287 |
|
| 1288 |
+ SELECT SUM(AMT) |
|
| 1289 |
+ FROM MJ_PG |
|
| 1290 |
+ WHERE USER_ID = #userId# AND PG_STATUS = 1 |
|
| 1291 |
+ |
|
| 1292 |
+ </select> |
|
| 1293 |
+ |
|
| 1294 |
+ <select id="mjonPayDAO.selectAgentSumPayMoney" parameterClass="String" resultClass="String"> |
|
| 1295 |
+ |
|
| 1288 | 1296 |
SELECT SUM(CASH) |
| 1289 | 1297 |
FROM MJ_PG |
| 1290 | 1298 |
WHERE USER_ID = #userId# AND PG_STATUS = 1 |
... | ... | @@ -2180,7 +2188,7 @@ |
| 2180 | 2188 |
<select id="mjonPayDAO.selectCashInfoList" parameterClass="String" resultClass="mjonPayVO"> |
| 2181 | 2189 |
SELECT |
| 2182 | 2190 |
'chargeCash' AS divFlag |
| 2183 |
- ,SUM(AMT) AS cashSum |
|
| 2191 |
+ ,SUM(CASH) AS cashSum |
|
| 2184 | 2192 |
FROM |
| 2185 | 2193 |
MJ_PG |
| 2186 | 2194 |
WHERE 1=1 |
--- src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataCallToListView.jsp
... | ... | @@ -11,15 +11,25 @@ |
| 11 | 11 |
var sendComplete = '${resultTotCallToInfo.sendComplete}';
|
| 12 | 12 |
var sendReady = '${resultTotCallToInfo.sendReady}';
|
| 13 | 13 |
|
| 14 |
- $("#totCallToCnt").text(totCallToCnt);
|
|
| 15 |
- $("#sendComplete").text(sendComplete);
|
|
| 16 |
- $("#sendReady").text(sendReady);
|
|
| 14 |
+ if(sendReady > 0){
|
|
| 15 |
+ |
|
| 16 |
+ $("#totCallToCnt").text(totCallToCnt);
|
|
| 17 |
+ $("#sendComplete").text(sendComplete);
|
|
| 18 |
+ $("#sendReady").text(sendReady);
|
|
| 19 |
+ |
|
| 20 |
+ }else{
|
|
| 21 |
+ |
|
| 22 |
+ $("#totCallToCnt").text(0);
|
|
| 23 |
+ $("#sendComplete").text(0);
|
|
| 24 |
+ $("#sendReady").text(0);
|
|
| 25 |
+ |
|
| 26 |
+ } |
|
| 17 | 27 |
|
| 18 | 28 |
|
| 19 | 29 |
</script> |
| 20 | 30 |
<div class="listType list"> |
| 21 | 31 |
<ul class="thead_ul table_ul"> |
| 22 |
- <li></li> |
|
| 32 |
+ <li><div class="input_wrap"><input type="checkbox" id="checkAll" name="receipt_number_check"></div></li> |
|
| 23 | 33 |
<li> |
| 24 | 34 |
번호 |
| 25 | 35 |
<!-- <button type="button" class="btn_sort_up"><img src="/publish/images/sortUp.png"></button> |
--- src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataSMLView.jsp
... | ... | @@ -307,7 +307,7 @@ |
| 307 | 307 |
|
| 308 | 308 |
onlongclick(".btn_check_one", 1000, function () {
|
| 309 | 309 |
var checkbox = $('[name=chkCallTo]');
|
| 310 |
- publishCommon.longMousePressCheck(checkbox, 10); |
|
| 310 |
+ publishCommon.longMousePressCheck(checkbox, 10, $(".btn_check_one"));
|
|
| 311 | 311 |
publishCommon.clickCheckPrice(); |
| 312 | 312 |
}); |
| 313 | 313 |
|
... | ... | @@ -316,12 +316,25 @@ |
| 316 | 316 |
publishCommon.clickCheck(checkbox); |
| 317 | 317 |
publishCommon.clickCheckPrice(); |
| 318 | 318 |
}); |
| 319 |
+ |
|
| 320 |
+ $("#checkAll").change(function(){
|
|
| 321 |
+ |
|
| 322 |
+ publishCommon.clickCheckAll(); |
|
| 323 |
+ publishCommon.clickCheckPrice(); |
|
| 324 |
+ |
|
| 325 |
+ }); |
|
| 319 | 326 |
|
| 320 | 327 |
}); |
| 321 | 328 |
//수신자 목록 추가된 건수 및 발송 금액 변경해주기 |
| 322 | 329 |
fnChkCallToChange(); |
| 323 | 330 |
|
| 324 | 331 |
}); |
| 332 |
+ |
|
| 333 |
+ //후보자 등록 체크 |
|
| 334 |
+ var candiNm = '${mjonCandidateVO.candidateNm}';
|
|
| 335 |
+ if(candiNm == ""){
|
|
| 336 |
+ fn_candidateChk(); |
|
| 337 |
+ }; |
|
| 325 | 338 |
|
| 326 | 339 |
} |
| 327 | 340 |
|
... | ... | @@ -567,6 +580,7 @@ |
| 567 | 580 |
} |
| 568 | 581 |
|
| 569 | 582 |
$(document).ready(function (){
|
| 583 |
+ |
|
| 570 | 584 |
// 발송금액 단가표시 |
| 571 | 585 |
SetPriceWrapOpen(); |
| 572 | 586 |
|
... | ... | @@ -598,87 +612,6 @@ |
| 598 | 612 |
if(loginId != "" && loginId != null){
|
| 599 | 613 |
addTWCallToInfo(); |
| 600 | 614 |
} |
| 601 |
- |
|
| 602 |
- |
|
| 603 |
- //스프레드 시트 Tabulator 초기 셋팅 |
|
| 604 |
- /* var tabledata = [ |
|
| 605 |
- ]; */ |
|
| 606 |
- |
|
| 607 |
- //var selectRow; |
|
| 608 |
- |
|
| 609 |
- //받는사람 연락처 내용 처리 |
|
| 610 |
- //Tabulator AJAX Data Loading |
|
| 611 |
- /* tableL = new Tabulator(".callList_box", {
|
|
| 612 |
- height:"255px", |
|
| 613 |
- layout:"fitColumns", |
|
| 614 |
- //data:tabledata, |
|
| 615 |
- //autoColumns:true, |
|
| 616 |
- headerHozAlign:"center", |
|
| 617 |
- validationMode:"highlight", |
|
| 618 |
- //clipboard:false, |
|
| 619 |
- //clipboardCopySelector:"table", |
|
| 620 |
- //clipboardPasteAction:"insert", // insert, update, replace |
|
| 621 |
- placeholder:"복사(Ctrl+C)한 내용을 여기에 붙여넣기(Ctrl+V) 해주세요.", //fit columns to width of table (optional) |
|
| 622 |
- resizableColumns:false, |
|
| 623 |
- columns:[ //Define Table Columns |
|
| 624 |
- {formatter:"rowSelection", titleFormatter:"rowSelection",clipboard:false, hozAlign:"center", headerSort:false, cellClick:function(e, cell){
|
|
| 625 |
- cell.getRow().toggleSelect(); |
|
| 626 |
- } |
|
| 627 |
- }, |
|
| 628 |
- {title:"이름", hozAlign:"center", field:"name", editor:"input", validator:["maxLength:12"], cellEdited:function(cell){
|
|
| 629 |
- //cell - cell component |
|
| 630 |
- fnReplCell(); |
|
| 631 |
- }}, |
|
| 632 |
- {title:"휴대폰", hozAlign:"center", field:"phone", editor:"input", width:100, validator:["required","minLength:10", "maxLength:12"], cellEdited:function(cell){
|
|
| 633 |
- //cell - cell component |
|
| 634 |
- fnDuplPhone(); |
|
| 635 |
- }}, |
|
| 636 |
- {title:"[*1*]", hozAlign:"center", field:"rep1", editor:"input", validator:["maxLength:40"], cellEdited:function(cell){
|
|
| 637 |
- //cell - cell component |
|
| 638 |
- fnReplCell(); |
|
| 639 |
- }}, |
|
| 640 |
- {title:"[*2*]", hozAlign:"center", field:"rep2", editor:"input", validator:["maxLength:40"], cellEdited:function(cell){
|
|
| 641 |
- //cell - cell component |
|
| 642 |
- fnReplCell(); |
|
| 643 |
- }}, |
|
| 644 |
- {title:"[*3*]", hozAlign:"center", field:"rep3", editor:"input", validator:["maxLength:40"], cellEdited:function(cell){
|
|
| 645 |
- //cell - cell component |
|
| 646 |
- fnReplCell(); |
|
| 647 |
- }}, |
|
| 648 |
- {title:"[*4*]", hozAlign:"center", field:"rep4", editor:"input", validator:["maxLength:40"], cellEdited:function(cell){
|
|
| 649 |
- //cell - cell component |
|
| 650 |
- fnReplCell(); |
|
| 651 |
- }}, |
|
| 652 |
- |
|
| 653 |
- ], |
|
| 654 |
- validationFailed:function(cell, value, parameters){ // 유효성 체크 함수 - 아직 잘 모르겠음
|
|
| 655 |
- //take action on validation fail |
|
| 656 |
- var valid = cell.isValid(); |
|
| 657 |
- var fieldNm = cell.getField(); |
|
| 658 |
- var cellVal = cell.getValue(); |
|
| 659 |
- var returnVal = ""; |
|
| 660 |
- if(!valid){
|
|
| 661 |
- |
|
| 662 |
- if(fieldNm == "name"){
|
|
| 663 |
- alert("받는사람 이름은 최대 12글자까지만 입력 가능합니다.");
|
|
| 664 |
- cell.setValue(strMaxLengthSubstring(cellVal, 11)); //스크립트 함수가 0부터 시작이므로 원하는 글자수 -1을 해줘야한다. |
|
| 665 |
- cell.clearValidation(); |
|
| 666 |
- }else if(fieldNm == "phone"){
|
|
| 667 |
- alert("휴대폰번호는 하이픈(-)을 제외한 숫자만 정확히 입력해 주세요.");
|
|
| 668 |
- }else{
|
|
| 669 |
- alert("치환문자를 정확히 입력해 주세요. 40글자 이내로 입력 가능합니다.");
|
|
| 670 |
- cell.setValue(strMaxLengthSubstring(cellVal, 39)); |
|
| 671 |
- cell.clearValidation(); |
|
| 672 |
- } |
|
| 673 |
- |
|
| 674 |
- //해당 셀 데이터 삭제 |
|
| 675 |
- //cell.setValue("");
|
|
| 676 |
- |
|
| 677 |
- } |
|
| 678 |
- return value % parameters.phone; |
|
| 679 |
- }, |
|
| 680 |
- |
|
| 681 |
- }); */ |
|
| 682 | 615 |
|
| 683 | 616 |
|
| 684 | 617 |
//주소록 불러오기 팝업 내용 |
... | ... | @@ -1632,6 +1565,7 @@ |
| 1632 | 1565 |
|
| 1633 | 1566 |
}); |
| 1634 | 1567 |
|
| 1568 |
+ |
|
| 1635 | 1569 |
/* |
| 1636 | 1570 |
|
| 1637 | 1571 |
단문 / 장문 탭 옵션 선택시 실행 |
... | ... | @@ -1887,6 +1821,7 @@ |
| 1887 | 1821 |
$('.send_rev .send_content').css('padding-bottom','0');
|
| 1888 | 1822 |
$('.send_btn .btnType:first-child').html('예약하기');
|
| 1889 | 1823 |
}); |
| 1824 |
+ |
|
| 1890 | 1825 |
}); |
| 1891 | 1826 |
|
| 1892 | 1827 |
//선거 후보자 등록 알림 메세지 처리 |
... | ... | @@ -4098,7 +4033,7 @@ |
| 4098 | 4033 |
|
| 4099 | 4034 |
<!-- <div class="top_content current" id="tab1_1"> --> |
| 4100 | 4035 |
<div class="heading"> |
| 4101 |
- <h2>선거 20건씩 문자전송</h2> |
|
| 4036 |
+ <h2>20건 문자(수동문자) 전송</h2> |
|
| 4102 | 4037 |
<div class="election_btnWrap"> |
| 4103 | 4038 |
<button type="button" class="button2 info" onclick="infoPop('selectMsgDataView2');">발송규정</button>
|
| 4104 | 4039 |
<button type="button" class="button2 info" data-tooltip="candidate_popup03">사용안내</button> |
... | ... | @@ -4333,7 +4268,7 @@ |
| 4333 | 4268 |
<div class="put_left" id="twCallToList"> |
| 4334 | 4269 |
<div class="listType list"> |
| 4335 | 4270 |
<ul class="thead_ul table_ul"> |
| 4336 |
- <li></li> |
|
| 4271 |
+ <li><div class="input_wrap"><input type="checkbox" id="checkAll" name="receipt_number_check"></div></li> |
|
| 4337 | 4272 |
<li> |
| 4338 | 4273 |
번호 |
| 4339 | 4274 |
<!-- <button type="button" class="btn_sort_up"><img src="/publish/images/sortUp.png"></button> |
--- src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgcampain/tw/MsgTWDataView.jsp
... | ... | @@ -849,6 +849,14 @@ |
| 849 | 849 |
//문자발송 처리 함수 |
| 850 | 850 |
function fn_sendMsgData(){
|
| 851 | 851 |
|
| 852 |
+ var candiNm = $("#candidateNm").val();
|
|
| 853 |
+ |
|
| 854 |
+ if(candiNm == ""){
|
|
| 855 |
+ fn_candidateChk(); |
|
| 856 |
+ return false; |
|
| 857 |
+ } |
|
| 858 |
+ |
|
| 859 |
+ |
|
| 852 | 860 |
if(!checkConf()){ //문자온 conf-check
|
| 853 | 861 |
alert("현재 문자 발송하기 기능 점검 중입니다.\n\n1분 후 다시 시도해주세요.");
|
| 854 | 862 |
return false; |
... | ... | @@ -1926,10 +1934,9 @@ |
| 1926 | 1934 |
<div class="send_top"> |
| 1927 | 1935 |
<!-- tab button --> |
| 1928 | 1936 |
<ul class="tabType1"> |
| 1929 |
- <li class="tab active"><button type="button" onclick="TabType1(this,'1');">단문 · 장문 · 그림 문자</button></li> |
|
| 1930 |
- <li class="tab"> |
|
| 1931 |
- <!-- <button type="button" onclick="TabType1(this,'2');">대량 문자(엑셀·TXT)</button> --> |
|
| 1932 |
- <button type="button" onclick="javascript:fnMsgDataView(); return false;">단체문자(엑셀·TXT)</button> |
|
| 1937 |
+ <li class="tab"><button type="button" onclick="javascript:fnMsgDataView(); return false;">단체문자(자동동보문자)</button></li> |
|
| 1938 |
+ <li class="tab active"> |
|
| 1939 |
+ <button type="button">20건 문자(수동문자)</button> |
|
| 1933 | 1940 |
</li> |
| 1934 | 1941 |
</ul><!--// tab button --> |
| 1935 | 1942 |
<!-- tab content1 --> |
--- src/main/webapp/publish/js/publish.js
+++ src/main/webapp/publish/js/publish.js
... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 |
|
| 13 | 13 |
var publishCommon = {
|
| 14 | 14 |
count: 0, |
| 15 |
- longMousePressCheck: function (checkTarget, checkTime) {
|
|
| 15 |
+ longMousePressCheck: function (checkTarget, checkTime , $target) {
|
|
| 16 | 16 |
// checkTarget → 체크박스([name='']) / checkTime → 몇초 간격으로 체크 될지 |
| 17 | 17 |
var checkLength = checkTarget.length; // 체크박스 몇개인지 |
| 18 | 18 |
var cnt = 0; // 몇개 체크됐는지 |
... | ... | @@ -22,18 +22,16 @@ |
| 22 | 22 |
clearInterval(checkEvent); // 자동체크 끝. |
| 23 | 23 |
} |
| 24 | 24 |
$(checkTarget[cnt]).prop('checked', true); // 체크박스 체크.
|
| 25 |
+ $($target).on("mouseup",function(){
|
|
| 26 |
+ //마우스떼면 멈춤 |
|
| 27 |
+ clearInterval(checkEvent); |
|
| 28 |
+ }); |
|
| 25 | 29 |
cnt++; |
| 26 | 30 |
fnChkCallToChange(); |
| 27 | 31 |
}, checkTime); |
| 28 | 32 |
}, |
| 29 | 33 |
clickCheck: function (checkTarget) {
|
| 30 | 34 |
// 한번 클릭 했을 때 체크, checkTarget → 체크박스([name='']) |
| 31 |
- /*if (checkTarget.length < this.count) {
|
|
| 32 |
- // 체크 다하면 더이상 작동 x. |
|
| 33 |
- return false; |
|
| 34 |
- } |
|
| 35 |
- $(checkTarget[this.count]).prop('checked', true); // 체크박스 체크
|
|
| 36 |
- this.count++;*/ |
|
| 37 | 35 |
|
| 38 | 36 |
$("input:checkbox[name='chkCallTo']").each(function(){
|
| 39 | 37 |
|
... | ... | @@ -47,6 +45,30 @@ |
| 47 | 45 |
}); |
| 48 | 46 |
|
| 49 | 47 |
}, |
| 48 |
+ clickCheckAll : function(){
|
|
| 49 |
+ |
|
| 50 |
+ var chkCnt = $("input:checkbox[name='chkCallTo']").length;
|
|
| 51 |
+ var chkAllSts = $('input:checkbox[name="receipt_number_check"]').is(':checked');
|
|
| 52 |
+ |
|
| 53 |
+ if(chkCnt == 0){
|
|
| 54 |
+ |
|
| 55 |
+ alert("받는사람을 추가해 주세요.");
|
|
| 56 |
+ return false; |
|
| 57 |
+ |
|
| 58 |
+ } |
|
| 59 |
+ |
|
| 60 |
+ $("input:checkbox[name='chkCallTo']").each(function(){
|
|
| 61 |
+ |
|
| 62 |
+ if(chkAllSts){
|
|
| 63 |
+ $(this).prop("checked",true);
|
|
| 64 |
+ }else{
|
|
| 65 |
+ $(this).prop("checked",false);
|
|
| 66 |
+ } |
|
| 67 |
+ |
|
| 68 |
+ }); |
|
| 69 |
+ |
|
| 70 |
+ |
|
| 71 |
+ }, |
|
| 50 | 72 |
clickCheckPrice : function(){
|
| 51 | 73 |
|
| 52 | 74 |
fnChkCallToChange(); |
--- src/main/webapp/publish/sub_election_2023.html
+++ src/main/webapp/publish/sub_election_2023.html
... | ... | @@ -54,10 +54,20 @@ |
| 54 | 54 |
} |
| 55 | 55 |
}); |
| 56 | 56 |
|
| 57 |
- onlongclick(".btn_check_one", 1000, function () {
|
|
| 57 |
+ $(".input_wrap #checkAll").click(function(){
|
|
| 58 | 58 |
var checkbox = $('[name=receipt_number_check]');
|
| 59 |
- publishCommon.longMousePressCheck(checkbox, 300); |
|
| 59 |
+ if($(this).is(":checked") !== true){
|
|
| 60 |
+ checkbox.prop("checked",false);
|
|
| 61 |
+ }else{
|
|
| 62 |
+ publishCommon.longMousePressCheck(checkbox, 100); |
|
| 63 |
+ } |
|
| 60 | 64 |
}); |
| 65 |
+ |
|
| 66 |
+ onlongclick(".btn_check_one", 100, function (e) {
|
|
| 67 |
+ var checkbox = $('[name=receipt_number_check]');
|
|
| 68 |
+ publishCommon.longMousePressCheck(checkbox, 100, $(".btn_check_one"));
|
|
| 69 |
+ }); |
|
| 70 |
+ |
|
| 61 | 71 |
|
| 62 | 72 |
$(".btn_check_one").click(function(){
|
| 63 | 73 |
var checkbox = $('[name=receipt_number_check]');
|
... | ... | @@ -1339,7 +1349,7 @@ |
| 1339 | 1349 |
<div class="put_left"> |
| 1340 | 1350 |
<div class="listType list"> |
| 1341 | 1351 |
<ul class="thead_ul table_ul"> |
| 1342 |
- <li></li> |
|
| 1352 |
+ <li><div class="input_wrap"><input type="checkbox" id="checkAll" name="receipt_number_check"></div></li> |
|
| 1343 | 1353 |
<li> |
| 1344 | 1354 |
번호 |
| 1345 | 1355 |
<button type="button" class="btn_sort_up"><img src="/publish/images/sortUp.png"></button> |
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?