Browse Source

PA0002 유효성 수정

pull/2/head
sanguu516(박상현) 12 months ago
parent
commit
468e51eb03
  1. 29
      src/views/laanc/LaancStep2.js

29
src/views/laanc/LaancStep2.js

@ -164,6 +164,14 @@ export default function LaancStep2({
<div>
<div className='ti'>유효성 검사 정보</div>
<Row>
<Col className='list-input' md='6'>
<Alert color={'success'}>
<div className='alert-body'>
<CheckCircle size={15} />
<span className='ms-1'>조종자 자격 정보</span>
</div>
</Alert>
</Col>
<Col className='list-input' md='6'>
<Alert
color={
@ -178,14 +186,6 @@ export default function LaancStep2({
) : (
<AlertCircle size={15} />
)}
<span className='ms-1'>조종자 자격 정보</span>
</div>
</Alert>
</Col>
<Col className='list-input' md='6'>
<Alert color={'success'}>
<div className='alert-body'>
<CheckCircle size={15} />
<span className='ms-1'>기체보험가입 정보</span>
</div>
</Alert>
@ -201,7 +201,7 @@ export default function LaancStep2({
<br /> */}
</p>
) : null}
{data.arcrftList[0].idntfNum === 'PA0001' ? (
{data.arcrftList[0].idntfNum != 'PA0002' ? (
<p style={{ color: '#28c76f' }}>
<CheckCircle />
유효성 검사가 정상적으로 완료되었습니다.
@ -223,9 +223,16 @@ export default function LaancStep2({
</div>
<div className='mt-1'>
{/* 사전 결과 승인 대상일때 color=success */}
<Alert color={laancApply?.valid ? 'success' : 'warning'}>
<Alert
color={
laancApply?.valid && data.arcrftList[0].idntfNum != 'PA0002'
? 'success'
: 'warning'
}
>
<div className='alert-body'>
{laancApply?.valid ? (
{laancApply?.valid &&
data.arcrftList[0].idntfNum != 'PA0002' ? (
<>
<CheckCircle size={15} />
<span className='ms-1'>검토 결과 승인 대상입니다.</span>

Loading…
Cancel
Save