From 13dc007de652ce3da2a5e85d2cdccafe2288dea9 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Thu, 4 Sep 2025 10:46:19 +0000 Subject: (임수민) EDP 벤더별 진척도 페이지 구현 - menu 작업 - 오류수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/[lng]/evcp/(evcp)/edp-progress/page.tsx | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 app/[lng]/evcp/(evcp)/edp-progress/page.tsx (limited to 'app') diff --git a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx new file mode 100644 index 00000000..12e14b98 --- /dev/null +++ b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx @@ -0,0 +1,50 @@ +import * as React from "react" +import { type SearchParams } from "@/types/table" + +import { getValidFilters } from "@/lib/data-table" +import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton" +import { EDPProgressTable } from "@/lib/edp-progress/table/edp-progress-table" +import { getEDPProgressLists } from "@/lib/edp-progress/service" +import { Shell } from "@/components/shell" +import { InformationButton } from "@/components/information/information-button" +import { searchParamsCache } from "@/lib/edp-progress/validations" + +interface IndexPageProps { + searchParams: Promise +} + +export default async function IndexPage(props: IndexPageProps) { + const searchParams = await props.searchParams + const search = searchParamsCache.parse(searchParams) + + const validFilters = getValidFilters(search.filters) + + const promises = Promise.all([ + getEDPProgressLists({ filters: validFilters, sort: search.sort, search: search.search, joinOperator: search.joinOperator as any }), + ]) + + return ( + +
+
+

벤더 진척도 현황

+ +
+
+ + + } + > + + +
+ ) +} -- cgit v1.2.3