[BO] 임가현황 - 엑셀 다운로드 작업 중 (3)

This commit is contained in:
kangsunlee
2025-07-10 18:28:41 +09:00
parent cb93b98fd5
commit ae89471577
27 changed files with 443 additions and 189 deletions

View File

@@ -136,6 +136,15 @@
</table>
</div>
</div>
<div class="component-btns bottom-btn-group">
<div class="btns-row align-right">
<div class="btns-col-2">
<button type="button" class="btn" onclick="goExcel();">
<span class="btn-txt">엑셀 다운로드 <i class="ico-download" aria-hidden="true"></i></span>
</button>
</div>
</div>
</div>
</section>
<div class="component-input sms-check" th:if="${loginUserRoles.id == 'ROLE_ADMIN'}">
<label class="switch-inner">
@@ -446,6 +455,11 @@
{ handle422Type: 'alert' }
);
}
// 엑셀 다운로드
const goExcel = () => {
excelDownload('/api/dashboard/chart/excel', null);
}
</script>
</section>