탭 모션 적용
This commit is contained in:
@@ -16,6 +16,7 @@ import CircularProgress from '../common/CircularProgress';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import CurrencyIndexSearchBar from '../searchBar/CurrencyIndexSearchBar';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { AnimatedPageWrapper } from '../common/Layout';
|
||||
|
||||
const CreditContent = () => {
|
||||
const { t } = useTranslation();
|
||||
@@ -112,7 +113,7 @@ const CreditContent = () => {
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<AnimatedPageWrapper>
|
||||
<FormWrapper>
|
||||
<CurrencyIndexSearchBar
|
||||
searchParams={searchParams}
|
||||
@@ -214,7 +215,7 @@ const CreditContent = () => {
|
||||
<TopButton />
|
||||
</>
|
||||
}
|
||||
</>
|
||||
</AnimatedPageWrapper>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import Loading from '../common/Loading';
|
||||
import { ExcelDownButton } from '../common';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { formatStringDate } from '../../utils';
|
||||
import { AnimatedPageWrapper } from '../common/Layout';
|
||||
|
||||
const UserContent = () => {
|
||||
const token = sessionStorage.getItem('token');
|
||||
@@ -24,20 +25,6 @@ const UserContent = () => {
|
||||
const [dataList, setDataList] = useState([]);
|
||||
const [resultData, setResultData] = useState([]);
|
||||
|
||||
// const [sendDate, setSendDate] = useState(START_DATE);
|
||||
// const [finishDate, setFinishDate] = useState(END_DATE);
|
||||
|
||||
const headers = [
|
||||
{key: 'date', label: '일자'},
|
||||
{key: 'nru', label: 'NRU'},
|
||||
{key: 'ugqCreate', label: '일자'},
|
||||
{key: 'dglc', label: '일자'},
|
||||
{key: 'dau', label: '일자'},
|
||||
{key: 'mcu', label: '일자'},
|
||||
{key: 'date', label: '일자'},
|
||||
{key: 'date', label: '일자'},
|
||||
]
|
||||
|
||||
useEffect(() => {
|
||||
fetchData(START_DATE, END_DATE);
|
||||
}, []);
|
||||
@@ -54,8 +41,6 @@ const UserContent = () => {
|
||||
setLoading(false);
|
||||
});
|
||||
|
||||
// setSendDate(startDateToLocal);
|
||||
// setFinishDate(endDateToLocal);
|
||||
};
|
||||
|
||||
// 검색 함수
|
||||
@@ -63,14 +48,8 @@ const UserContent = () => {
|
||||
fetchData(send_dt, end_dt);
|
||||
};
|
||||
|
||||
// 엑셀 다운로드
|
||||
// const handleXlsxExport = () => {
|
||||
// const fileName = 'Caliverse_User_Index.xlsx';
|
||||
// userIndexExport(token, fileName, sendDate, finishDate);
|
||||
// };
|
||||
|
||||
return (
|
||||
<>
|
||||
<AnimatedPageWrapper>
|
||||
<DailyDashBoard />
|
||||
<UserIndexSearchBar setResultData={setResultData} resultData={resultData} handleSearch={handleSearch} fetchData={fetchData} />
|
||||
<TableInfo>
|
||||
@@ -125,8 +104,7 @@ const UserContent = () => {
|
||||
</tbody>
|
||||
</TableStyle>
|
||||
</IndexTableWrap>
|
||||
{loading && <Loading/>}
|
||||
</>
|
||||
</AnimatedPageWrapper>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user