[BO] 수정 반영

This commit is contained in:
kangsunlee
2025-07-14 17:46:15 +09:00
parent 52b962fcf4
commit cb8525c7b2
16 changed files with 121 additions and 72 deletions

View File

@@ -13,7 +13,7 @@
<button type="button" class="btn small btn-secondary" onclick="showDeleteVisitInfoConfirm();">
<span class=" btn-txt">삭제</span>
</button>
<button type="button" class="btn small btn-primary" onclick="showVisitInfoModal();">
<button type="button" class="btn small btn-primary" id="visitAddBtn" onclick="showVisitInfoModal();">
<span class="btn-txt">추가</span>
</button>
</div>
@@ -54,6 +54,7 @@
const tbody = $('.tab-content.household-visit tbody');
tbody.empty();
$('#visitAddBtn').toggle(response.length < 2);
if(response.length === 0) {
tbody.append(`<tr><td colspan="6" style="text-align: center;">등록이 필요합니다.</td></tr>`);