Merge branch '4875_발송_페이지_로딩_속도개선' - 선택버튼 수정

This commit is contained in:
hehihoho3@gmail.com 2025-01-13 17:20:09 +09:00
parent 99c305c16d
commit 2d756d0d14

View File

@ -231,10 +231,10 @@ function resultLatestMsgList(){
resultList.forEach(function(item, index) {
let listItem =
'<li id="latestLi">' +
'<input type="checkbox" id="bokAddrChk_' + (index + 1) + '" name="bookAddrChk" value="' + item.addrPhoneNo + '">' +
'<label for="bokAddrChk_' + (index + 1) + '" class="label">최근 전송내역</label>' +
'<p>' + item.addrPhoneNo + '</p>' +
'<button type="button" id="bookMarkAddrDel">' +
'<input type="checkbox" id="addrChk_' + (index + 1) + '" name="latAddrChk" value="' + item.callTo + '">' +
'<label for="addrChk_' + (index + 1) + '" class="label">최근 전송내역</label>' +
'<p>' + item.callTo + '</p>' +
'<button type="button" id="latestAddrDel">' +
'<img src="/publish/images/popup/close3.png" alt="전화번호 삭제">' +
'</button>' +
'</li>';
@ -281,8 +281,8 @@ function resultBookMarkMsgList(){
console.log(item.addrPhoneNo + " : " + item.addrPhoneNo);
let listItem =
'<li id="bookMarkLi">' +
'<input type="checkbox" id="addrChk_' + (index + 1) + '" name="latAddrChk" value="' + item.addrPhoneNo + '">' +
'<label for="addrChk_' + (index + 1) + '" class="label">최근 전송내역</label>' +
'<input type="checkbox" id="bokAddrChk_' + (index + 1) + '" name="bookAddrChk" value="' + item.addrPhoneNo + '">' +
'<label for="bokAddrChk_' + (index + 1) + '" class="label">최근 전송내역</label>' +
'<p>' + item.addrPhoneNo + '</p>' +
'<button type="button" id="bookMarkAddrDel">' +
'<img src="/publish/images/popup/close3.png" alt="전화번호 삭제">' +
@ -3595,7 +3595,9 @@ function getMjMsgSentListAll(pageNo) {
<input type="checkbox" id="addrChk_${status.count}" name="latAddrChk" value="<c:out value='${latestMsgList.callTo}'/>">
<label for="addrChk_${status.count}" class="label">최근 전송내역</label>
<p><c:out value="${latestMsgList.callTo}"/></p>
<button type="button" id="latestAddrDel"><img src="/publish/images/popup/close3.png" alt="전화번호 삭제"></button>
<button type="button" id="latestAddrDel">
<img src="/publish/images/popup/close3.png" alt="전화번호 삭제">
</button>
</li>
</c:forEach>
</c:when>
@ -3617,6 +3619,9 @@ function getMjMsgSentListAll(pageNo) {
<div class="history_cont hascont">
<div class="histroy_trans" id="bookMarkMsgArea">
<ul id="bookMsgUl">
<li>
<p>데이터 로딩중입니다.</p>
</li>
<%-- <c:choose>
<c:when test="${not empty resultBookMarkMsgList}">
<c:forEach var="bookMarkMsgList" items="${resultBookMarkMsgList}" varStatus="status">