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

Loading…
Cancel
Save