|
|
@ -64,11 +64,13 @@ export default function ControlApprovalsContainer({ mode }) { |
|
|
|
const [filterId, setFilterId] = useState(''); |
|
|
|
const [filterId, setFilterId] = useState(''); |
|
|
|
|
|
|
|
|
|
|
|
// 지역
|
|
|
|
// 지역
|
|
|
|
const [filterArea, setFilterArea] = useState('전체'); |
|
|
|
const [filterArea, setFilterArea] = useState({ |
|
|
|
|
|
|
|
ctprvn: '전체', |
|
|
|
// 시군구
|
|
|
|
sig: '전체', |
|
|
|
const [district, setDistrict] = useState('전체'); |
|
|
|
address: '' |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log('>>>', filterArea); |
|
|
|
const { map, mapType } = useSelector(state => state.mapState); |
|
|
|
const { map, mapType } = useSelector(state => state.mapState); |
|
|
|
|
|
|
|
|
|
|
|
// popup
|
|
|
|
// popup
|
|
|
@ -77,7 +79,6 @@ export default function ControlApprovalsContainer({ mode }) { |
|
|
|
const popupRef = useRef(null); |
|
|
|
const popupRef = useRef(null); |
|
|
|
const rightMenuRef = useRef(null); |
|
|
|
const rightMenuRef = useRef(null); |
|
|
|
const savedRightMenuRef = useRef(null); |
|
|
|
const savedRightMenuRef = useRef(null); |
|
|
|
const [clientX, setClientX] = useState(0); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 비행구역 데이터블록
|
|
|
|
// 비행구역 데이터블록
|
|
|
|
const [dataBlocks, setDataBlocks] = useState([]); |
|
|
|
const [dataBlocks, setDataBlocks] = useState([]); |
|
|
@ -242,7 +243,9 @@ export default function ControlApprovalsContainer({ mode }) { |
|
|
|
getLaancAprvList({ |
|
|
|
getLaancAprvList({ |
|
|
|
searchStDt: searchDate.startDate, |
|
|
|
searchStDt: searchDate.startDate, |
|
|
|
searchEndDt: searchDate.endDate, |
|
|
|
searchEndDt: searchDate.endDate, |
|
|
|
selectZone: filterArea, |
|
|
|
ctprvn: filterArea.ctprvn === '전체' ? '' : filterArea.ctprvn, |
|
|
|
|
|
|
|
sig: filterArea.sig === '전체' ? '' : filterArea.sig, |
|
|
|
|
|
|
|
address: filterArea.address, |
|
|
|
approvalCd: |
|
|
|
approvalCd: |
|
|
|
search === '승인' |
|
|
|
search === '승인' |
|
|
|
? 'S' |
|
|
|
? 'S' |
|
|
@ -258,7 +261,9 @@ export default function ControlApprovalsContainer({ mode }) { |
|
|
|
getLaancAprvList({ |
|
|
|
getLaancAprvList({ |
|
|
|
searchStDt: searchDate.startDate, |
|
|
|
searchStDt: searchDate.startDate, |
|
|
|
searchEndDt: searchDate.endDate, |
|
|
|
searchEndDt: searchDate.endDate, |
|
|
|
selectZone: filterArea, |
|
|
|
ctprvn: filterArea.ctprvn === '전체' ? '' : filterArea.ctprvn, |
|
|
|
|
|
|
|
sig: filterArea.sig === '전체' ? '' : filterArea.sig, |
|
|
|
|
|
|
|
address: filterArea.address, |
|
|
|
applyNo: search |
|
|
|
applyNo: search |
|
|
|
}) |
|
|
|
}) |
|
|
|
); |
|
|
|
); |
|
|
@ -267,7 +272,9 @@ export default function ControlApprovalsContainer({ mode }) { |
|
|
|
getLaancAprvList({ |
|
|
|
getLaancAprvList({ |
|
|
|
searchStDt: searchDate.startDate, |
|
|
|
searchStDt: searchDate.startDate, |
|
|
|
searchEndDt: searchDate.endDate, |
|
|
|
searchEndDt: searchDate.endDate, |
|
|
|
selectZone: filterArea |
|
|
|
ctprvn: filterArea.ctprvn === '전체' ? '' : filterArea.ctprvn, |
|
|
|
|
|
|
|
sig: filterArea.sig === '전체' ? '' : filterArea.sig, |
|
|
|
|
|
|
|
address: filterArea.address |
|
|
|
}) |
|
|
|
}) |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
@ -504,8 +511,6 @@ export default function ControlApprovalsContainer({ mode }) { |
|
|
|
handleDragEnd={handleDragEnd} |
|
|
|
handleDragEnd={handleDragEnd} |
|
|
|
filterId={filterId} |
|
|
|
filterId={filterId} |
|
|
|
setFilterId={setFilterId} |
|
|
|
setFilterId={setFilterId} |
|
|
|
district={district} |
|
|
|
|
|
|
|
setDistrict={setDistrict} |
|
|
|
|
|
|
|
filterArea={filterArea} |
|
|
|
filterArea={filterArea} |
|
|
|
setFilterArea={setFilterArea} |
|
|
|
setFilterArea={setFilterArea} |
|
|
|
/> |
|
|
|
/> |
|
|
|