[BO] 엑셀다운로드 로딩바 추가 - 로딩바가 필요한 엑셀 다운로드일 경우 excelDownload(url, data); 함수 사용하면 됩니다.

This commit is contained in:
kangsunlee
2025-07-07 10:52:52 +09:00
parent c04e89fae9
commit c171cfc3c7
5 changed files with 67 additions and 7 deletions

View File

@@ -491,13 +491,10 @@
const f = document.reqForm;
const data = $(f).serializeObject();
// size 를 제거하면 전체 목록을 가져온다.
delete data.size;
if (url !== '') {
location.href = url + '?' + new URLSearchParams(data).toString();
excelDownload(url, data);
} else {
console.warn('엑셀 다운르도 경로 없음.')
console.warn('엑셀 다운르도 경로 없음.');
}
}
</script>