diff options
Diffstat (limited to 'lib/items-tech/table/top/offshore-top-table.tsx')
| -rw-r--r-- | lib/items-tech/table/top/offshore-top-table.tsx | 29 |
1 files changed, 9 insertions, 20 deletions
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({
|
