diff --git a/src/Components/Detail/RecruitmentFormDetail/Basic/index.tsx b/src/Components/Detail/RecruitmentFormDetail/Basic/index.tsx index 75b9fe8..c936375 100644 --- a/src/Components/Detail/RecruitmentFormDetail/Basic/index.tsx +++ b/src/Components/Detail/RecruitmentFormDetail/Basic/index.tsx @@ -154,7 +154,7 @@ export function RecruitmentFormDetailBasic({ <_.Stack> <_.TitleBox>국가자격증 <_.ContentBox - width={60} + width={90} longText={true} overflow="scroll" > @@ -162,12 +162,6 @@ export function RecruitmentFormDetailBasic({ ', ' ) || '-'} - <_.TitleBox>성적 - <_.ContentBox width={20}> - {recruitmentFormDetail?.required_grade - ? `${recruitmentFormDetail?.required_grade}%` - : '-'} - <_.Stack> <_.TitleBox height={200}>기타 자격 요건 @@ -185,7 +179,6 @@ export function RecruitmentFormDetailBasic({ - <_.Stack> <_.TitleBox height={275}>근무조건 <_.Stack flexDirection="column" width={90}> @@ -199,21 +192,44 @@ export function RecruitmentFormDetailBasic({ )} <_.TitleBox>실습수당 - <_.ContentBox width={23}> - {recruitmentFormDetail?.train_pay - .toString() - .replace(/\B(?=(\d{3})+(?!\d))/g, ',')} - 원/월 - - <_.TitleBox>정규직전환시 - <_.ContentBox width={24}> - {recruitmentFormDetail?.pay - ? `${recruitmentFormDetail?.pay.replace( - /\B(?=(\d{3})+(?!\d))/g, - ',' - )}만원/연` - : '-'} - + {recruitmentFormDetail?.winter_intern ? ( + <> + <_.ContentBox width={57}> + {recruitmentFormDetail?.train_pay + .toString() + .replace( + /\B(?=(\d{3})+(?!\d))/g, + ',' + )} + 원/월 + + + ) : ( + <> + <_.ContentBox width={23}> + {recruitmentFormDetail?.train_pay + .toString() + .replace( + /\B(?=(\d{3})+(?!\d))/g, + ',' + )} + 원/월 + + + )} + {!recruitmentFormDetail?.winter_intern && ( + <> + <_.TitleBox>정규직전환시 + <_.ContentBox width={24}> + {recruitmentFormDetail?.pay + ? `${recruitmentFormDetail?.pay.replace( + /\B(?=(\d{3})+(?!\d))/g, + ',' + )}만원/연` + : '-'} + + + )} <_.Stack> <_.TitleBox height={200}>복리후생 @@ -235,28 +251,57 @@ export function RecruitmentFormDetailBasic({ <_.Stack flexDirection="column" width={100}> <_.Stack> <_.TitleBox>채용절차 - <_.ContentBox width={60}> - {recruitmentFormDetail?.hiring_progress - .map( - (progress, i) => - `${hiringProgress[progress]}${ - recruitmentFormDetail - .hiring_progress.length !== - i + 1 - ? ' → ' - : '' - }` - ) - .join('')} - - <_.TitleBox> - 병역특례 -
- 신청계획 - - <_.ContentBox width={20}> - {recruitmentFormDetail?.military ? 'O' : 'X'} - + {recruitmentFormDetail?.winter_intern ? ( + <_.ContentBox width={90}> + {recruitmentFormDetail?.hiring_progress + .map( + (progress, i) => + `${hiringProgress[progress]}${ + recruitmentFormDetail + .hiring_progress + .length !== + i + 1 + ? ' → ' + : '' + }` + ) + .join('')} + + ) : ( + <> + <_.ContentBox width={60}> + {recruitmentFormDetail?.hiring_progress + .map( + (progress, i) => + `${ + hiringProgress[progress] + }${ + recruitmentFormDetail + .hiring_progress + .length !== + i + 1 + ? ' → ' + : '' + }` + ) + .join('')} + + + )} + {!recruitmentFormDetail?.winter_intern && ( + <> + <_.TitleBox> + 병역특례 +
+ 신청계획 + + <_.ContentBox width={20}> + {recruitmentFormDetail?.military + ? 'O' + : 'X'} + + + )} <_.Stack> <_.TitleBox>제출서류