From 0547ab2fe1701d84753d0e078bba718a79b07a0c Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 23 May 2025 05:26:26 +0000 Subject: (최겸)기술영업 벤더 개발 초안(index 스키마 미포함 상태) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/techVendorItemsColumnsConfig.ts | 154 +++++++++++++++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 config/techVendorItemsColumnsConfig.ts (limited to 'config/techVendorItemsColumnsConfig.ts') diff --git a/config/techVendorItemsColumnsConfig.ts b/config/techVendorItemsColumnsConfig.ts new file mode 100644 index 00000000..725fed2c --- /dev/null +++ b/config/techVendorItemsColumnsConfig.ts @@ -0,0 +1,154 @@ +// 공통 컬럼 설정 +export const techVendorItemsColumnsConfig = [ + { + id: "itemCode", + label: "아이템 코드", + excelHeader: "아이템 코드", + type: "string", + minWidth: 120, + defaultWidth: 150, + }, +// { +// id: "itemName", +// label: "아이템명", +// excelHeader: "아이템명", +// type: "string", +// minWidth: 200, +// defaultWidth: 250, +// }, +]; + +// 조선 타입 컬럼 설정 +export const shipbuildingColumnsConfig = [ + ...techVendorItemsColumnsConfig, + { + id: "workType", + label: "공종", + excelHeader: "공종", + type: "string", + minWidth: 120, + defaultWidth: 150, + }, + { + id: "shipTypes", + label: "선종", + excelHeader: "선종", + type: "string", + minWidth: 150, + defaultWidth: 200, + }, + { + id: "itemList", + label: "아이템 리스트", + excelHeader: "아이템 리스트", + type: "string", + minWidth: 200, + defaultWidth: 300, + }, + { + id: "createdAt", + label: "생성일", + excelHeader: "생성일", + type: "date", + minWidth: 120, + defaultWidth: 150, + }, + { + id: "updatedAt", + label: "수정일", + excelHeader: "수정일", + type: "date", + minWidth: 120, + defaultWidth: 150, + }, +]; + +// 해양 TOP 타입 컬럼 설정 +export const offshoreTopColumnsConfig = [ + ...techVendorItemsColumnsConfig, + { + id: "workType", + label: "공종", + excelHeader: "공종", + type: "string", + minWidth: 120, + defaultWidth: 150, + }, + { + id: "itemList", + label: "아이템 리스트", + excelHeader: "아이템 리스트", + type: "string", + minWidth: 200, + defaultWidth: 300, + }, + { + id: "subItemList", + label: "서브아이템 리스트", + excelHeader: "서브아이템 리스트", + type: "string", + minWidth: 200, + defaultWidth: 300, + }, + { + id: "createdAt", + label: "생성일", + excelHeader: "생성일", + type: "date", + minWidth: 120, + defaultWidth: 150, + }, + { + id: "updatedAt", + label: "수정일", + excelHeader: "수정일", + type: "date", + minWidth: 120, + defaultWidth: 150, + }, +]; + +// 해양 HULL 타입 컬럼 설정 +export const offshoreHullColumnsConfig = [ + ...techVendorItemsColumnsConfig, + { + id: "workType", + label: "공종", + excelHeader: "공종", + type: "string", + minWidth: 120, + defaultWidth: 150, + }, + { + id: "itemList", + label: "아이템 리스트", + excelHeader: "아이템 리스트", + type: "string", + minWidth: 200, + defaultWidth: 300, + }, + { + id: "subItemList", + label: "서브아이템 리스트", + excelHeader: "서브아이템 리스트", + type: "string", + minWidth: 200, + defaultWidth: 300, + }, + { + id: "createdAt", + label: "생성일", + excelHeader: "생성일", + type: "date", + minWidth: 120, + defaultWidth: 150, + }, + { + id: "updatedAt", + label: "수정일", + excelHeader: "수정일", + type: "date", + minWidth: 120, + defaultWidth: 150, + }, +]; -- cgit v1.2.3