이호영 이호영 2025-01-13
Merge branch '4875_발송_페이지_로딩_속도개선' - 선택버튼 수정
@2d756d0d14900a85a14425138890312302e00d6c
src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp
--- src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/msgdata/MsgDataSMLView.jsp
@@ -231,10 +231,10 @@
 				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 @@
 					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 @@
 											<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 @@
 				<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">
Add a comment
List