랜드 정보 조회
This commit is contained in:
@@ -6,6 +6,7 @@ import BattleEventModal from './modal/BattleEventModal'
|
|||||||
import ReportListAnswerModal from './modal/ReportListAnswerModal';
|
import ReportListAnswerModal from './modal/ReportListAnswerModal';
|
||||||
import ReportListDetailModal from './modal/ReportListDetailModal';
|
import ReportListDetailModal from './modal/ReportListDetailModal';
|
||||||
import UserBlockDetailModal from './modal/UserBlockDetailModal';
|
import UserBlockDetailModal from './modal/UserBlockDetailModal';
|
||||||
|
import OwnerChangeModal from './modal/OwnerChangeModal';
|
||||||
//searchbar
|
//searchbar
|
||||||
import ReportListSearchBar from './searchBar/ReportListSearchBar';
|
import ReportListSearchBar from './searchBar/ReportListSearchBar';
|
||||||
import UserBlockSearchBar from './searchBar/UserBlockSearchBar';
|
import UserBlockSearchBar from './searchBar/UserBlockSearchBar';
|
||||||
@@ -35,5 +36,6 @@ export {
|
|||||||
EventListSearchBar,
|
EventListSearchBar,
|
||||||
LandAuctionSearchBar,
|
LandAuctionSearchBar,
|
||||||
LandAuctionModal,
|
LandAuctionModal,
|
||||||
BattleEventModal
|
BattleEventModal,
|
||||||
|
OwnerChangeModal
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ const SingleTimePicker = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<FormLabel>{label}</FormLabel>
|
{label && <FormLabel>{label}</FormLabel>}
|
||||||
<TimeContainer>
|
<TimeContainer>
|
||||||
<StyledSelectInput
|
<StyledSelectInput
|
||||||
onChange={handleTimeChange}
|
onChange={handleTimeChange}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ import LandInfoSearchBar, { useLandInfoSearch } from '../../components/ServiceMa
|
|||||||
import { convertKTCDate } from '../../utils';
|
import { convertKTCDate } from '../../utils';
|
||||||
import Loading from '../../components/common/Loading';
|
import Loading from '../../components/common/Loading';
|
||||||
import { TableSkeleton } from '../../components/Skeleton/TableSkeleton';
|
import { TableSkeleton } from '../../components/Skeleton/TableSkeleton';
|
||||||
|
import OwnerChangeModal from '../../components/ServiceManage/modal/OwnerChangeModal';
|
||||||
|
|
||||||
const LandInfoView = () => {
|
const LandInfoView = () => {
|
||||||
const token = sessionStorage.getItem('token');
|
const token = sessionStorage.getItem('token');
|
||||||
@@ -66,10 +67,10 @@ const LandInfoView = () => {
|
|||||||
|
|
||||||
const handleModalSubmit = async (type, param = null) => {
|
const handleModalSubmit = async (type, param = null) => {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
// case "regist":
|
case "regist":
|
||||||
// setModalType('regist');
|
setModalType('regist');
|
||||||
// handleModalView('detail');
|
handleModalView('detail');
|
||||||
// break;
|
break;
|
||||||
// case "detail":
|
// case "detail":
|
||||||
// await LandAuctionDetailView(token, param).then(data => {
|
// await LandAuctionDetailView(token, param).then(data => {
|
||||||
// setDetailData(data.auction_detail);
|
// setDetailData(data.auction_detail);
|
||||||
@@ -209,8 +210,10 @@ const LandInfoView = () => {
|
|||||||
</TableStyle>
|
</TableStyle>
|
||||||
</TableWrapper>
|
</TableWrapper>
|
||||||
}
|
}
|
||||||
|
|
||||||
<Pagination postsPerPage={searchParams.pageSize} totalPosts={dataList?.total_all} setCurrentPage={handlePageChange} currentPage={searchParams.currentPage} pageLimit={INITIAL_PAGE_LIMIT} />
|
<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} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -150,6 +150,7 @@ export const BtnWrapper = styled.div`
|
|||||||
justify-content: ${props => props.$justify};
|
justify-content: ${props => props.$justify};
|
||||||
gap: ${props => props.$gap};
|
gap: ${props => props.$gap};
|
||||||
margin-top: ${props => props.$marginTop};
|
margin-top: ${props => props.$marginTop};
|
||||||
|
margin-bottom: ${props => props.$marginBottom};
|
||||||
padding-top: ${props => props.$paddingTop};
|
padding-top: ${props => props.$paddingTop};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
@@ -569,6 +569,13 @@ export const MessageBox = styled.div`
|
|||||||
|
|
||||||
// FORM
|
// FORM
|
||||||
|
|
||||||
|
export const FormItemGroup = styled.div`
|
||||||
|
margin-bottom: 15px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: flex-start;
|
||||||
|
`;
|
||||||
|
|
||||||
export const FormGroup = styled.div`
|
export const FormGroup = styled.div`
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user