From 45f4c426c98d86a251644a4858740bec989edf83 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Tue, 20 May 2025 09:01:22 +0000 Subject: (최겸) 기술영업 아이템리스트 수정 및 개발 0520 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/items-tech/table/top/offshore-top-table.tsx | 29 ++++++++----------------- 1 file changed, 9 insertions(+), 20 deletions(-) (limited to 'lib/items-tech/table/top/offshore-top-table.tsx') diff --git a/lib/items-tech/table/top/offshore-top-table.tsx b/lib/items-tech/table/top/offshore-top-table.tsx index dedf766a..689f1db3 100644 --- a/lib/items-tech/table/top/offshore-top-table.tsx +++ b/lib/items-tech/table/top/offshore-top-table.tsx @@ -21,10 +21,8 @@ type OffshoreTopItem = { id: number; itemId: number; workType: "TM" | "TS" | "TE" | "TP"; - itemList1: string | null; - itemList2: string | null; - itemList3: string | null; - itemList4: string | null; + itemList: string | null; + subItemList: string | null; itemCode: string; itemName: string; description: string | null; @@ -56,8 +54,8 @@ export function OffshoreTopTable({ promises }: OffshoreTopTableProps) { label: "기능(공종)", }, { - id: "itemList1", - label: "아이템 리스트 1", + id: "itemList", + label: "아이템 리스트", }, ] @@ -83,25 +81,16 @@ export function OffshoreTopTable({ promises }: OffshoreTopTableProps) { type: "text", }, { - id: "itemList1", - label: "아이템 리스트 1", + id: "itemList", + label: "아이템 리스트", type: "text", }, { - id: "itemList2", - label: "아이템 리스트 2", - type: "text", - }, - { - id: "itemList3", - label: "아이템 리스트 3", - type: "text", - }, - { - id: "itemList4", - label: "아이템 리스트 4", + id: "subItemList", + label: "서브 아이템 리스트", type: "text", }, + ] const { table } = useDataTable({ -- cgit v1.2.3