[BO_추가요청사항] 대시보드 연월 검색 추가

This commit is contained in:
kangsunlee
2025-07-28 16:00:42 +09:00
parent 2a51bd0b41
commit 18cc8fd146
8 changed files with 68 additions and 48 deletions

View File

@@ -19,6 +19,15 @@
<option value="PAPER">지류</option>
</select>
</div>
<div class="component-select">
<select class="select-list" id="recordMonth" name="recordMonth" required>
<option th:each="month : ${monthList}"
th:value="${month.value}"
th:text="${month.label}"
th:selected="${month.value == currentMonth}">
</option>
</select>
</div>
</div>
</form>
</div>
@@ -414,6 +423,10 @@
$('#regionMainCode').change(function() {
getResearcherArea();
});
$('#recordMonth').change(function() {
getTotalPercentage();
});
});
</script>
<script>
@@ -459,7 +472,9 @@
// 엑셀 다운로드
const goExcel = () => {
excelDownload('/api/dashboard/chart/excel', null);
const f = document.reqForm;
const data = $(f).serializeObject();
excelDownload('/api/dashboard/chart/excel', data);
}
</script>
</section>