api 공통 모듈생성

search, api 공통 모듈 생성
공통모듈 화면 별 반영
This commit is contained in:
2025-05-01 07:04:14 +09:00
parent f8d5b2197d
commit fa290b64ec
52 changed files with 3171 additions and 674 deletions

View File

@@ -26,6 +26,7 @@ import { INITIAL_PAGE_LIMIT } from '../../assets/data/adminConstants';
import { useAlert } from '../../context/AlertProvider';
import { useLoading } from '../../context/LoadingProvider';
import { alertTypes } from '../../assets/data/types';
import useCommonSearchOld from '../../hooks/useCommonSearchOld';
const CaliumRequest = () => {
const token = sessionStorage.getItem('token');
@@ -56,7 +57,7 @@ const CaliumRequest = () => {
handleOrderByChange,
updateSearchParams,
configLoaded
} = useCommonSearch(token, "caliumRequestSearch");
} = useCommonSearchOld("caliumRequestSearch");
const handleSubmit = async (type, param = null) => {
switch (type) {