[BO] 임가 현황 - 임가 상세 작업 중 (6)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<input name="userRegionMainCode" th:value="${userRegionMainCode}" type="hidden"/>
|
||||
|
||||
<div class="content-inner">
|
||||
<!-- 필터 영역 -->
|
||||
<!-- 필터 영역 -->5241
|
||||
<section class="filter-wrap">
|
||||
<div class="form-area">
|
||||
<!-- 연/월 -->
|
||||
@@ -340,14 +340,14 @@
|
||||
<td>${ct.regionMainName}</td><!-- 실사 -->
|
||||
<td>${ct.regionSubName}</td><!-- 지역 -->
|
||||
<td>${ct.regionDetailName}</td><!-- 세부지역 -->
|
||||
<td>${isEmpty(ct.industryLargeName)}</td><!-- 업종 대분류 -->
|
||||
<td>${isEmpty(ct.industryMiddleName)}</td><!-- 업종 중분류1 -->
|
||||
<td>${ifNullDash(ct.industryLargeName)}</td><!-- 업종 대분류 -->
|
||||
<td>${ifNullDash(ct.industryMiddleName)}</td><!-- 업종 중분류1 -->
|
||||
<td>${ct.progressPercent}%</td><!-- 임가 진행 상황 -->
|
||||
<td>${isEmpty(ct.firstVisitDate)}</td><!-- 1차방문날짜 -->
|
||||
<td>${isEmpty(ct.secondVisitDate)}</td><!-- 2차방문날짜 -->
|
||||
<td>${ifNullDash(ct.firstVisitDate)}</td><!-- 1차방문날짜 -->
|
||||
<td>${ifNullDash(ct.secondVisitDate)}</td><!-- 2차방문날짜 -->
|
||||
<td>${ct.isGiftSent ? "전달" : "미전달"}</td> <!-- 답례품 -->
|
||||
<td class="hide-role-researcher">${isEmpty(ct.researcherName)}</td> <!-- 조사원이름 -->
|
||||
<td class="hide-role-researcher">${isEmpty(ct.researcherPhone)}</td> <!-- 조사원번호 -->
|
||||
<td class="hide-role-researcher">${ifNullDash(ct.researcherName)}</td> <!-- 조사원이름 -->
|
||||
<td class="hide-role-researcher">${ifNullDash(ct.researcherPhone)}</td> <!-- 조사원번호 -->
|
||||
</tr>
|
||||
`
|
||||
);
|
||||
@@ -398,13 +398,6 @@
|
||||
f.submit();
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
// TODO : 이거 공통으로 뺄지 ?
|
||||
function isEmpty(value, fallback = '-') {
|
||||
return value !== null && value !== undefined && value !== '' ? value : fallback;
|
||||
}
|
||||
</script>
|
||||
</section>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user