diff --git a/apps/web/src/app/(main)/apply-management/[tab]/[id]/_components/EvaluationDetailScoreList/EvaluationDetailScoreList.tsx b/apps/web/src/app/(main)/apply-management/[tab]/[id]/_components/EvaluationDetailScoreList/EvaluationDetailScoreList.tsx index 06647083..d10f78e6 100644 --- a/apps/web/src/app/(main)/apply-management/[tab]/[id]/_components/EvaluationDetailScoreList/EvaluationDetailScoreList.tsx +++ b/apps/web/src/app/(main)/apply-management/[tab]/[id]/_components/EvaluationDetailScoreList/EvaluationDetailScoreList.tsx @@ -13,9 +13,10 @@ import { CompletedEvaluator } from '@web/constants/document'; type Props = { evaluationType: 'document' | 'interview'; completed: CompletedEvaluator[]; + showStatus?: boolean; }; -export function EvaluationDetailScoreList({ evaluationType, completed }: Props) { +export function EvaluationDetailScoreList({ evaluationType, completed, showStatus=true }: Props) { const router = useRouter(); const params = useParams<{ tab: string; id: string }>(); @@ -53,15 +54,15 @@ export function EvaluationDetailScoreList({ evaluationType, completed }: Props) {d.totalScore}점 - - + } + ))} diff --git a/apps/web/src/app/(main)/apply-management/[tab]/[id]/_components/EvaluationScoreCard/EvaluationScoreCard.tsx b/apps/web/src/app/(main)/apply-management/[tab]/[id]/_components/EvaluationScoreCard/EvaluationScoreCard.tsx index ea54063a..4d09cd58 100644 --- a/apps/web/src/app/(main)/apply-management/[tab]/[id]/_components/EvaluationScoreCard/EvaluationScoreCard.tsx +++ b/apps/web/src/app/(main)/apply-management/[tab]/[id]/_components/EvaluationScoreCard/EvaluationScoreCard.tsx @@ -20,6 +20,7 @@ interface EvaluationScoreCardProps { /** 상세 점수(완료자 리스트, totalScore 사용)용 */ completed: CompletedEvaluator[]; + showStatus? : boolean } export const EvaluationScoreCard = ({ @@ -27,16 +28,19 @@ export const EvaluationScoreCard = ({ evaluation, averageScore, completed, + showStatus = true + }: EvaluationScoreCardProps) => { const avgText = Number.isNaN(Number(averageScore)) ? String(averageScore) - : Number(averageScore); + : Number(Number(averageScore).toFixed(2)); //const sum = completed.reduce((acc, cur) => acc + (cur.score ?? 0), 0); //const average = //completed.length > 0 ? parseFloat((sum / completed.length).toFixed(1)) : 0; - const showStatus = evaluationType === 'interview'; + + //const showStatus = evaluationType === 'interview'; return (
@@ -51,7 +55,7 @@ export const EvaluationScoreCard = ({ {showStatus && } - +
); diff --git a/apps/web/src/app/(main)/interview-evaluation/timetable/[tab]/[id]/ApplicantDetailClient.tsx b/apps/web/src/app/(main)/interview-evaluation/timetable/[tab]/[id]/ApplicantDetailClient.tsx index df2d478e..78196791 100644 --- a/apps/web/src/app/(main)/interview-evaluation/timetable/[tab]/[id]/ApplicantDetailClient.tsx +++ b/apps/web/src/app/(main)/interview-evaluation/timetable/[tab]/[id]/ApplicantDetailClient.tsx @@ -309,6 +309,7 @@ export default function ApplicantDetailClient({ timeSlotId }: Props) { averageScore={application.documentAverageScore} evaluation={documentEvalStatus} completed={documentCompletedForCard} + showStatus={false} />