[BO] 임가현황, 조사원현황 엑셀 다운로드 작업 중 (1)

This commit is contained in:
kangsunlee
2025-07-04 09:56:03 +09:00
parent 38a9ca2997
commit f53cab803b
23 changed files with 692 additions and 70 deletions

View File

@@ -9,6 +9,8 @@
<!-- hidden parameters -->
<input name="sort" th:field="*{sort}" type="hidden"/>
<input name="page" th:field="*{page}" type="hidden"/>
<input name="isPaging" type="hidden"/>
<div class="input-group">
<div class="input-label">
<p class="label-txt">
@@ -108,6 +110,7 @@
const getResearchers = (pageNo) => {
const f = document.reqForm;
f.page.value = pageNo;
f.isPaging.value = true;
let dataOj = $(f).serializeObject();
@@ -191,12 +194,14 @@
function goExcel() {
const f = document.reqForm;
f.isPaging.value = false;
const data = $(f).serializeObject();
// size 를 제거하면 전체 목록을 가져온다.
delete data.size;
location.href = '/admin/researchers/excel?' + new URLSearchParams(data).toString();
location.href = '/api/researcher/list/excel?' + new URLSearchParams(data).toString();
}
// 체크박스 선택/해제