Browse Source

비행계획서 폼 작업

pull/2/head
qkr7828(박재우) 2 years ago
parent
commit
47ad91a0a5
  1. 141
      src/components/basis/flight/plan/FlightPlanForm.js
  2. 2
      src/components/mapDraw/naver/NaverMap.js
  3. 1
      src/components/mapDraw/naver/draw/JQueryDraw.js

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

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

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

@ -5,7 +5,7 @@ import geoJson from '../geojson/airArea.json';
import { FeatureAirZone } from './feature/FeatureAirZone'; import { FeatureAirZone } from './feature/FeatureAirZone';
import { DrawMap } from './draw/DrawMap'; import { DrawMap } from './draw/DrawMap';
import { JQueryDraw } from './draw/JQueryDraw'; import { JQueryDraw } from './draw/JQueryDraw';
import { JQueryTest } from './draw/JQueryTest';
export const NaverCustomMap = () => { export const NaverCustomMap = () => {
const naver = window.naver; 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 GeoJSONReader from 'jsts/org/locationtech/jts/io/GeoJSONReader'
import GeoJSONWriter from 'jsts/org/locationtech/jts/io/GeoJSONWriter' 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' import {BufferOp} from 'jsts/org/locationtech/jts/operation/buffer'
export const JQueryDraw = props => { export const JQueryDraw = props => {

Loading…
Cancel
Save