Browse Source

테이블 디자인 수정

master
sanguu516 6 months ago
parent
commit
5bd523ca9a
  1. 11
      src/components/flight/FlightApprovalsTable.js
  2. 5
      src/containers/flight/flightApprovalsContainer.js

11
src/components/flight/FlightApprovalsTable.js

@ -87,6 +87,7 @@ export default function FlightApprovalsTable(props) {
name: '민원번호', name: '민원번호',
selector: row => row.planSno, selector: row => row.planSno,
center: true, center: true,
minWidth: '10px', minWidth: '10px',
cell: row => { cell: row => {
return row.planSno; return row.planSno;
@ -96,7 +97,8 @@ export default function FlightApprovalsTable(props) {
name: '신청 일시', name: '신청 일시',
selector: row => row.cntrlStDt, selector: row => row.cntrlStDt,
minWidth: '10px', minWidth: '10px',
center: true,
width: '120px',
sortable: true, sortable: true,
cell: row => { cell: row => {
return dayjs(row.cntrlStDt).format('YYYY-MM-DD HH:mm'); return dayjs(row.cntrlStDt).format('YYYY-MM-DD HH:mm');
@ -107,6 +109,8 @@ export default function FlightApprovalsTable(props) {
name: '중심 좌표(위도/경도)', name: '중심 좌표(위도/경도)',
selector: row => row.coord, selector: row => row.coord,
minWidth: '10px', minWidth: '10px',
center: true,
width: '120px',
sortable: true, sortable: true,
center: true, center: true,
cell: row => { cell: row => {
@ -119,7 +123,6 @@ export default function FlightApprovalsTable(props) {
minWidth: '10px', minWidth: '10px',
sortable: true, sortable: true,
center: true, center: true,
cell: row => { cell: row => {
return row.radius + 'm'; return row.radius + 'm';
} }
@ -151,7 +154,7 @@ export default function FlightApprovalsTable(props) {
// selector: row => row.altitude, // selector: row => row.altitude,
minWidth: '10px', minWidth: '10px',
sortable: true, sortable: true,
center: true,
cell: row => { cell: row => {
return ( return (
<Link <Link
@ -188,7 +191,7 @@ export default function FlightApprovalsTable(props) {
}; };
return ( return (
<div className='layer-content drone-list' style={{ width: '100%' }}> <div className='layer-content drone-list'>
<Row> <Row>
<Col> <Col>
<div className='cont-ti d-flex justify-content-between align-items-sm-center align-items-start flex-sm-row'> <div className='cont-ti d-flex justify-content-between align-items-sm-center align-items-start flex-sm-row'>

5
src/containers/flight/flightApprovalsContainer.js

@ -337,7 +337,10 @@ export default function FlightApprovalsContainer() {
> >
<Map size={18} /> <Map size={18} />
</button> </button>
<div className='right-layer active' style={{ width: '600px' }}> <div
className='right-layer active'
style={{ width: '600px', overflow: 'hidden' }}
>
<div className='layer-content'> <div className='layer-content'>
<FlightApprovalsReport handlerSearch={handlerSearch} /> <FlightApprovalsReport handlerSearch={handlerSearch} />
<FlightApprovalsTable <FlightApprovalsTable

Loading…
Cancel
Save