Browse Source

문구 수정

pull/2/head
sanguu516(박상현) 12 months ago
parent
commit
7287933682
  1. 27
      src/containers/laanc/LaancPlanContainer.js

27
src/containers/laanc/LaancPlanContainer.js

@ -63,6 +63,7 @@ export default function LaancPlanContainer({
}; };
// 비행계획서 작성 핸들러 // 비행계획서 작성 핸들러
const handleChange = ({ name, value, type, index, pIndex }) => { const handleChange = ({ name, value, type, index, pIndex }) => {
const arrName = `${type}List`; const arrName = `${type}List`;
@ -167,14 +168,24 @@ export default function LaancPlanContainer({
setModal2({ setModal2({
isOpen: true, isOpen: true,
title: '특별 비행', title: '특별 비행',
desc: '야간 비행은 특별 비행에 해당됩니다. 특별 비행의 경우 드론원스톱을 통해서 신청해주시기 바랍니다.' desc: (
<>
야간 비행은 특별 비행에 해당됩니다. 특별 비행의 경우
<br /> 드론원스톱을 통해서 신청해주시기 바랍니다.
</>
)
}); });
return false; return false;
} else if (schFltStDt.format('A h:mm') === 'PM 5:00') { } else if (schFltStDt.format('A h:mm') === 'PM 5:00') {
setModal2({ setModal2({
isOpen: true, isOpen: true,
title: '비행구역 및 비행일자 중복', title: '비행구역 및 비행일자 중복',
desc: '설정하신 비행구역 및 비행시간에 이미 승인완료된 신청건이 있습니다. 다시 설정 부탁드립니다.' desc: (
<>
설정하신 비행구역 비행시간에 이미 승인완료된 신청건이 있습니다.
<br /> 다시 설정 부탁드립니다.
</>
)
}); });
return false; return false;
} else if (!detailData.fltPurpose) { } else if (!detailData.fltPurpose) {
@ -187,7 +198,7 @@ export default function LaancPlanContainer({
return false; return false;
} else if ( } else if (
!detailData.areaList[0].fltElev || !detailData.areaList[0].fltElev ||
detailData.areaList[0].fltElev === '0' detailData.areaList[0].fltElev === 0
) { ) {
setModal2({ setModal2({
isOpen: true, isOpen: true,
@ -196,11 +207,17 @@ export default function LaancPlanContainer({
}); });
return false; return false;
} else if (parseInt(detailData.areaList[0].fltElev, 10) > 150) { } else if (detailData.areaList[0].fltElev > 150) {
setModal2({ setModal2({
isOpen: true, isOpen: true,
title: '고도 재설정 알림', title: '고도 재설정 알림',
desc: '설정하신 고도가 150m를 초과하였습니다.150m초과 시 드론원스톱을 통해 특별비행승인이 필요합니다.' desc: (
<>
설정하신 고도가 150m를 초과하였습니다.
<br />
150m 초과 드론원스톱을 통해 특별비행승인이 필요합니다.
</>
)
}); });
return false; return false;

Loading…
Cancel
Save