From 4e63d8427d26d0d1b366ddc53650e15f3481fc75 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Tue, 24 Jun 2025 01:44:03 +0000 Subject: (대표님/최겸) 20250624 작업사항 10시43분 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../evcp/(evcp)/evaluation-check-list/page.tsx | 63 ++++++++++++++++++++++ app/[lng]/spreadTest/page.tsx | 17 ++++++ app/layout.tsx | 2 +- 3 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 app/[lng]/evcp/(evcp)/evaluation-check-list/page.tsx create mode 100644 app/[lng]/spreadTest/page.tsx (limited to 'app') diff --git a/app/[lng]/evcp/(evcp)/evaluation-check-list/page.tsx b/app/[lng]/evcp/(evcp)/evaluation-check-list/page.tsx new file mode 100644 index 00000000..398005fa --- /dev/null +++ b/app/[lng]/evcp/(evcp)/evaluation-check-list/page.tsx @@ -0,0 +1,63 @@ +/* IMPORT */ +import { DataTableSkeleton } from '@/components/data-table/data-table-skeleton'; +import { getRegEvalCriteria } from '@/lib/evaluation-criteria/service'; +import { getValidFilters } from '@/lib/data-table'; +import RegEvalCriteriaTable from '@/lib/evaluation-criteria/table/reg-eval-criteria-table'; +import { searchParamsCache } from '@/lib/evaluation-criteria/validations'; +import { Shell } from '@/components/shell'; +import { Skeleton } from '@/components/ui/skeleton'; +import { Suspense } from 'react'; +import { type SearchParams } from '@/types/table'; + +// ---------------------------------------------------------------------------------------------------- + +/* TYPES */ +interface EvaluationCriteriaPageProps { + searchParams: Promise +} + +// ---------------------------------------------------------------------------------------------------- + +/* REGULAR EVALUATION CRITERIA PAGE */ +async function EvaluationCriteriaPage(props: EvaluationCriteriaPageProps) { + const searchParams = await props.searchParams; + const search = searchParamsCache.parse(searchParams); + const validFilters = getValidFilters(search.filters); + const promises = Promise.all([ + getRegEvalCriteria({ + ...search, + filters: validFilters, + }), + ]); + + return ( + + }> + {/* */} + + + } + > + + + + ) +} + +// ---------------------------------------------------------------------------------------------------- + +/* EXPORT */ +export default EvaluationCriteriaPage; \ No newline at end of file diff --git a/app/[lng]/spreadTest/page.tsx b/app/[lng]/spreadTest/page.tsx new file mode 100644 index 00000000..2e10eeb8 --- /dev/null +++ b/app/[lng]/spreadTest/page.tsx @@ -0,0 +1,17 @@ +'use client' + + +import dynamic from "next/dynamic"; + +const SpreadSheet = dynamic( + () => { + return import("@/components/spread-js/testSheet"); + }, + { ssr: false } +); + +export default function SpreadTestPage() { + return ( +
+ ) +} diff --git a/app/layout.tsx b/app/layout.tsx index c83c1a7e..4923aa22 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -74,7 +74,7 @@ export default async function RootLayout({ } catch (_) {} `, }} - /> + />