임가방문 목록 수정

This commit is contained in:
주수현
2025-06-14 13:51:08 +09:00
parent eccbf2a6e7
commit 13f0ca7bc8
6 changed files with 28 additions and 20 deletions

View File

@@ -47,7 +47,14 @@
<button type="button" class="tab-label" data-tab-value="tab1">담당 임가 목록</button>
<button type="button" class="tab-label" data-tab-value="tab2">임가방문정보</button>
</div>
<span id="household-totalElements"></span>
<div class="row">
<div class="col text-start">
<div class="fw-bolder text-muted">
TOTAL. <span id="household-totalElements"></span>
</div>
</div>
</div>
<form autocomplete="off" method="get" name="householdReqForm" th:object="${reqVO}">
<!-- hidden parameters -->
<input name="page" th:field="*{page}" type="hidden"/>
@@ -137,7 +144,7 @@
let dataOj = $(f).serializeObject();
ajaxUtil._ajaxMethod(
'/researcher/mappingHousehold',
'/researcher/mappingHouseholdList',
dataOj,
function (response) {
$('#household-totalElements').text(response.totalElements);
@@ -150,13 +157,8 @@
tbody.append(
`
<tr data-id="${ct.id}">
<td>
<label>
<input class="form-check-input" name="selectIds" type="checkbox" value="${ct.id}"/>
</label>
</td>
<td class="underline"><a href="">${ct.householdNum}</a></td>
<td>${ct.name}</td>
<td>${ct.ownerName}</td>
<td>${ct.phone}</td>
<td>${ct.regionMainCodeName}</td>
<td>${ct.regionSubCodeName}</td>
@@ -225,8 +227,13 @@
tbody.append(
`
<tr data-id="${ct.id}">
<td>
<label>
<input class="form-check-input" name="selectIds" type="checkbox" value="${ct.id}"/>
</label>
</td>
<td class="underline"><a href="">${ct.householdNum}</a></td>
<td>${ct.name}</td>
<td>${ct.ownerName}</td>
<td>${ct.visitDate}</td>
<td>${ct.Memo}</td>
<td>${ct.Memo}</td>