[BO] 사용하지않는 엑셀다운로드 api, 버튼 삭제

This commit is contained in:
kangsunlee
2025-07-11 09:19:44 +09:00
parent ae89471577
commit 6ab19b5288
8 changed files with 32 additions and 628 deletions

View File

@@ -350,31 +350,6 @@
);
}
function goExcel() {
const selectedTab = document.querySelector('.tab-label[aria-selected="true"]');
let url = '';
if (selectedTab.dataset.tabValue === 'tab1') {
url = '/api/researcher/mappingHouseholdList/excel';
} else if (selectedTab.dataset.tabValue === 'tab2') {
url = '/api/researcher/visitHousehold/list/excel';
}
const f = document.householdReqForm;
f.isPaging.value = false;
const data = $(f).serializeObject();
// size 를 제거하면 전체 목록을 가져온다.
delete data.size;
if (url !== '') {
location.href = url + '?' + new URLSearchParams(data).toString();
} else {
console.warn('엑셀 다운르도 경로 없음.')
}
}
// 체크박스 선택/해제
function toggleCheckbox(oj) {
$('input[name=selectIds]').prop("checked", oj.checked);