diff --git a/src/apis/recruitments/type.ts b/src/apis/recruitments/type.ts index 2c8d8d9..b0e7d94 100644 --- a/src/apis/recruitments/type.ts +++ b/src/apis/recruitments/type.ts @@ -25,7 +25,6 @@ export interface RecruitmentsDetailType extends RecruitmentsDetailTable { export interface RecruitmentsDetailTable { areas: AreasType[]; - required_grade: number | null; working_hours: string; required_licenses: string[] | []; hiring_progress: HiringProgressType[]; @@ -37,6 +36,9 @@ export interface RecruitmentsDetailTable { start_date: string; end_date: string; etc: string | null; + winter_intern: boolean; + additional_qualifications: string | null; + integration_plan: boolean; } interface CodeType { diff --git a/src/components/recruitments/RecruitmentsTable.tsx b/src/components/recruitments/RecruitmentsTable.tsx index 5e9a339..0e27f9c 100644 --- a/src/components/recruitments/RecruitmentsTable.tsx +++ b/src/components/recruitments/RecruitmentsTable.tsx @@ -9,7 +9,6 @@ import React, { useCallback, useRef, useState } from "react"; function RecruitmentsTable({ ...rest }: RecruitmentsDetailTable) { const { areas, - required_grade, working_hours, required_licenses, hiring_progress, @@ -19,12 +18,19 @@ function RecruitmentsTable({ ...rest }: RecruitmentsDetailTable) { start_date, end_date, etc, + winter_intern, + additional_qualifications, + integration_plan, } = rest; return (
형태 | +{winter_intern ? "체험형" : "채용형"} | +||
직무 | - {item.job.map(item => item.name).join(", ")} + {item.job.map((item) => item.name).join(", ")} | ||
기술스택 | - {item.tech.map(item => item.name).join("\n")} + {item.tech.map((item) => item.name).join("\n")} | ||
모집일 | +필수 자격증 | - {start_date && end_date - ? start_date + " ~ " + end_date - : "상시채용"} - | -|
최소성적 | -- {required_grade ? required_grade + "%" : "-"} + {!!required_licenses.length ? required_licenses.join(", ") : "-"} | ||
필수자격증 | -- {!!required_licenses.length ? required_licenses.join(", ") : "-"} - | +기타 자격 요건 | +{additional_qualifications || "-"} |
근무시간 | -{working_hours} | +주 {working_hours}시간 | |
면접과정 | +선발절차 | {hiring_progress - .map(itme => hiringProgressEnum[itme]) + .map((itme) => hiringProgressEnum[itme]) .join(" > ")} | |
실습 수당 | -이스터에그 입니다 ^^ | -||
정규직 전환 시 | -안 보여 줄 거지롱~ | -||
복지 | {benefits || "-"} | ||
병역특례 여부 | -{military ? "있음" : "없음"} | -||
병역특례 여부 | +{military ? "있음" : "없음"} | +||
제출 서류 | {submit_document} | ||
모집 기간 | ++ {start_date && end_date + ? start_date + " ~ " + end_date + : "상시채용"} + | +||
현장실습 연계 계획 | +{integration_plan ? "있음" : "없음"} | +||
기타 | {etc || "-"} |