랜드 정보 조회

This commit is contained in:
2025-03-06 12:04:51 +09:00
parent 2330bbc393
commit 04adce4aaf
5 changed files with 20 additions and 7 deletions

View File

@@ -20,6 +20,7 @@ import LandInfoSearchBar, { useLandInfoSearch } from '../../components/ServiceMa
import { convertKTCDate } from '../../utils';
import Loading from '../../components/common/Loading';
import { TableSkeleton } from '../../components/Skeleton/TableSkeleton';
import OwnerChangeModal from '../../components/ServiceManage/modal/OwnerChangeModal';
const LandInfoView = () => {
const token = sessionStorage.getItem('token');
@@ -66,10 +67,10 @@ const LandInfoView = () => {
const handleModalSubmit = async (type, param = null) => {
switch (type) {
// case "regist":
// setModalType('regist');
// handleModalView('detail');
// break;
case "regist":
setModalType('regist');
handleModalView('detail');
break;
// case "detail":
// await LandAuctionDetailView(token, param).then(data => {
// setDetailData(data.auction_detail);
@@ -209,8 +210,10 @@ const LandInfoView = () => {
</TableStyle>
</TableWrapper>
}
<Pagination postsPerPage={searchParams.pageSize} totalPosts={dataList?.total_all} setCurrentPage={handlePageChange} currentPage={searchParams.currentPage} pageLimit={INITIAL_PAGE_LIMIT} />
{/*<LandDetailModal detailPop={detailPop} handleClick={handleClick} />*/}
<OwnerChangeModal modalType={modalType} detailView={modalState.detailModal} handleDetailView={() => handleModalClose('detail')} content={detailData} setDetailData={setDetailData} />
</>
);
};