Browse Source

비행계획서 폼 작업

remotes/origin/feature/flight-plan
qkr7828(박재우) 2 years ago
parent
commit
47ad91a0a5
  1. 179
      src/components/basis/flight/plan/FlightPlanForm.js
  2. 2
      src/components/mapDraw/naver/NaverMap.js
  3. 1
      src/components/mapDraw/naver/draw/JQueryDraw.js

179
src/components/basis/flight/plan/FlightPlanForm.js

@ -47,51 +47,49 @@ const FlightPlanForm = (props) => {
<Label for='test'><span className='necessary'>*</span></Label>
<Input
type='text'
id='applicantNm'
name='applicantNm'
id='memberName'
name='memberName'
size='sm'
// innerRef={props.data}
placeholder=''
/>
</FormGroup>
</Col>
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'><span className='necessary'>*</span></Label>
<Input
type='text'
id='applicantBirthDt'
name='applicantBirthDt'
size='sm'
// innerRef={props.data}
placeholder=''
/>
</FormGroup>
</Col>
</Row>
</div>
<div className='search-info-box'>
<Row>
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'><span className='necessary'>*</span> </Label>
<Input
type='text'
id='applicantPhone'
name='applicantPhone'
size='sm'
// innerRef={props.data}
placeholder=''
/>
<Col className='list-input' lg={4} md={7} sm={12}>
<FormGroup className='m_ft'>
<div className='m_ft_box'>
<Label for='test'>
<span className='necessary'>*</span>
</Label>
<Input
type='text'
id='clncd'
name='clncd'
size='sm'
placeholder='+82'
readOnly
/>
</div>
<div className='m_ft_box'>
<Input
type='text'
id='hpno'
name='hpno'
size='sm'
placeholder='010-0000-0000'
readOnly
/>
</div>
</FormGroup>
</Col>
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'><span className='necessary'></span> </Label>
<Label for='test'><span className='necessary'>*</span></Label>
<Input
type='text'
id='applicantPhone'
name='applicantPhone'
id='email'
name='email'
size='sm'
// innerRef={props.data}
placeholder=''
@ -145,15 +143,29 @@ const FlightPlanForm = (props) => {
<Label for='test'>
<span className='necessary'>*</span>
</Label>
<Flatpickr size='sm' className='form-control calendar-flat' />
<Flatpickr size='sm'
className='form-control calendar-flat'
type='text'
id='schFltStDt'
name='schFltStDt'
// innerRef={props.data}
placeholder='비행 시작일자 선택(클릭)'/>
</FormGroup>
</Col>
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'>
<span className='necessary'>*</span>
<span className='necessary'>*</span>
</Label>
<Flatpickr size='sm' className='form-control calendar-flat' />
<Flatpickr size='sm'
className='form-control calendar-flat'
type='text'
id='schFltEndDt'
name='schFltEndDt'
// innerRef={props.data}
placeholder='비행 종료일자 선택(클릭)'/>
</FormGroup>
</Col>
<Col className='list-input' lg={4} md={6} sm={12}>
@ -163,8 +175,8 @@ const FlightPlanForm = (props) => {
</Label>
<Input
type='select'
name='arcrftTypeCd'
id='arcrftTypeCd'
name='fltPurpose'
id='fltPurpose'
size='sm'
// innerRef={props.data}
// className={classnames({
@ -270,7 +282,7 @@ const FlightPlanForm = (props) => {
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'>
<span className='necessary'>*</span>1
<span rowSpan={3} className='necessary'>*</span>
</Label>
<Input
type='text'
@ -290,8 +302,8 @@ const FlightPlanForm = (props) => {
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='fltElev'
name='fltElev'
size='sm'
placeholder='반경'
readOnly
@ -300,8 +312,8 @@ const FlightPlanForm = (props) => {
<div className='m_ft_box'>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='fltElev'
name='fltElev'
size='sm'
placeholder='고도'
readOnly
@ -316,7 +328,7 @@ const FlightPlanForm = (props) => {
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'>
<span className='necessary'>*</span>2
<span className='necessary'></span>
</Label>
<Input
type='text'
@ -335,8 +347,8 @@ const FlightPlanForm = (props) => {
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='fltMethod'
name='fltMethod'
size='sm'
placeholder=''
readOnly
@ -346,7 +358,7 @@ const FlightPlanForm = (props) => {
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'>
<span className='necessary'>*</span>3
<span className='necessary'></span>
</Label>
<Input
type='text'
@ -381,8 +393,8 @@ const FlightPlanForm = (props) => {
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='groupNm'
name='groupNm'
size='sm'
placeholder=''
readOnly
@ -396,8 +408,8 @@ const FlightPlanForm = (props) => {
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='memberName'
name='memberName'
size='sm'
placeholder=''
readOnly
@ -416,8 +428,8 @@ const FlightPlanForm = (props) => {
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='clncd'
name='clncd'
size='sm'
placeholder='+82'
readOnly
@ -426,8 +438,8 @@ const FlightPlanForm = (props) => {
<div className='m_ft_box'>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='hpno'
name='hpno'
size='sm'
placeholder='010-0000-0000'
readOnly
@ -443,8 +455,8 @@ const FlightPlanForm = (props) => {
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='email'
name='email'
size='sm'
placeholder=''
readOnly
@ -469,12 +481,12 @@ const FlightPlanForm = (props) => {
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'>
<span className='necessary'>*</span>
<span className='necessary'>*</span>
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='groupNm'
name='groupNm'
size='sm'
placeholder=''
readOnly
@ -484,12 +496,12 @@ const FlightPlanForm = (props) => {
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'>
<span className='necessary'>*</span>
<span className='necessary'>*</span>
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
id='groupNm'
name='groupNm'
size='sm'
placeholder=''
readOnly
@ -500,10 +512,10 @@ const FlightPlanForm = (props) => {
</div>
<div className='search-info-box'>
<Row>
<Col className='list-input' lg={4} md={6} sm={12}>
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup>
<Label for='test'>
<span className='necessary'>*</span>(m)
<span className='necessary'>*</span>
</Label>
<Input
type='text'
@ -516,32 +528,19 @@ const FlightPlanForm = (props) => {
</FormGroup>
</Col>
<Col className='list-input' lg={4} md={6} sm={12}>
<FormGroup className='m_ft'>
<div className='m_ft_box'>
<Label for='test'>
<span className='necessary'>*</span>(m/ft)
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
size='sm'
placeholder='m'
readOnly
/>
</div>
<div className='m_ft_box'>
<Input
type='text'
id='ownerNm'
name='ownerNm'
size='sm'
placeholder='ft'
readOnly
/>
</div>
<FormGroup>
<Label for='test'>
<span className='necessary'>*</span>
</Label>
<Input
type='text'
id='ownerNm'
name='ownerNm'
size='sm'
placeholder=''
readOnly
/>
</FormGroup>
</Col>
</Row>
</div>

2
src/components/mapDraw/naver/NaverMap.js

@ -5,7 +5,7 @@ import geoJson from '../geojson/airArea.json';
import { FeatureAirZone } from './feature/FeatureAirZone';
import { DrawMap } from './draw/DrawMap';
import { JQueryDraw } from './draw/JQueryDraw';
import { JQueryTest } from './draw/JQueryTest';
export const NaverCustomMap = () => {
const naver = window.naver;

1
src/components/mapDraw/naver/draw/JQueryDraw.js

@ -4,7 +4,6 @@ import { CustomInput } from 'reactstrap';
import GeoJSONReader from 'jsts/org/locationtech/jts/io/GeoJSONReader'
import GeoJSONWriter from 'jsts/org/locationtech/jts/io/GeoJSONWriter'
import GeometryFactory from 'jsts/org/locationtech/jts/geom/GeometryFactory'
import {BufferOp} from 'jsts/org/locationtech/jts/operation/buffer'
export const JQueryDraw = props => {

Loading…
Cancel
Save