[BO_추가요청사항] 대시보드 연월 검색 추가
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user