diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-17 10:50:28 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-07-17 10:50:28 +0000 |
| commit | fb276ed3db86fe4fc0c0fcd870fd3d085b034be0 (patch) | |
| tree | 4a8ab1027d7fd14602a0f837d4e18b04e2169e58 /config | |
| parent | 4eb7532f822c821fb6b69bf103bd075fefba769b (diff) | |
(대표님) 벤더데이터 S-EDP 변경사항 대응(seperator), 정기평가 점수오류, dim 준비
Diffstat (limited to 'config')
| -rw-r--r-- | config/equipClassColumnsConfig.ts | 31 | ||||
| -rw-r--r-- | config/menuConfig.ts | 79 | ||||
| -rw-r--r-- | config/techVendorColumnsConfig.ts | 4 | ||||
| -rw-r--r-- | config/techVendorContactsColumnsConfig.ts | 70 | ||||
| -rw-r--r-- | config/techVendorRfqHistoryColumnsConfig.ts | 47 |
5 files changed, 171 insertions, 60 deletions
diff --git a/config/equipClassColumnsConfig.ts b/config/equipClassColumnsConfig.ts index b85ad159..efb3ef21 100644 --- a/config/equipClassColumnsConfig.ts +++ b/config/equipClassColumnsConfig.ts @@ -13,44 +13,57 @@ export const equipclassColumnsConfig: EquipClassColumnConfig[] = [ id: "projectCode", label: "Project Code", excelHeader: "Project Code", - // group: "Basic Info", + group: "Basic Info", }, { id: "projectName", label: "Project Name", excelHeader: "Project Name", - // group: "Basic Info", + group: "Basic Info", }, { id: "code", label: "Class ID", excelHeader: "Class ID", - // group: "Basic Info", + group: "Basic Info", }, { id: "label", label: "Description", excelHeader: "Description", - // group: "Basic Info", + group: "Basic Info", }, { id: "tagTypeCode", label: "TYPE ID", excelHeader: "TYPE ID", - // group: "Basic Info", + group: "Basic Info", + }, + // 새로 추가된 서브클래스 관련 컬럼들 + { + id: "subclasses", + label: "Subclasses", + excelHeader: "Subclasses", + group: "Hierarchy", + type: "json_array", + }, + { + id: "subclassRemark", + label: "Subclass Remarks", + excelHeader: "Subclass Remarks", + group: "Hierarchy", + type: "json_object", }, - - { id: "createdAt", label: "Created At", excelHeader: "Created At", - // group: "Metadata",a + group: "Metadata", }, { id: "updatedAt", label: "Updated At", excelHeader: "Updated At", - // group: "Metadata", + group: "Metadata", }, ]
\ No newline at end of file diff --git a/config/menuConfig.ts b/config/menuConfig.ts index 598861cc..be4a2171 100644 --- a/config/menuConfig.ts +++ b/config/menuConfig.ts @@ -49,6 +49,13 @@ export const mainNav: MenuSection[] = [ group: "설계 정보" }, { + title: "서브 클래스 목록", + href: "/evcp/sub-class", + description: "서브 클래스 목록", + // icon: "Database", + group: "설계 정보" + }, + { title: "태그 타입 목록", href: "/evcp/tag-numbering", description: "Tag Numbering을 위한 기준 정보", @@ -227,9 +234,9 @@ export const mainNav: MenuSection[] = [ useGrouping: true, // 그룹핑 적용 items: [ { - title: "자재 리스트", + title: "자재 관리", href: "/evcp/items-tech", - description: "기술영업 조선, 해양 Top, 해양 Hull 자재 리스트", + description: "기술영업 조선, 해양 Top, 해양 Hull 자재 관리", // icon: "ListTodo", group: "공통" }, @@ -240,7 +247,7 @@ export const mainNav: MenuSection[] = [ // group: "공통" // }, { - title: "협력업체 리스트", + title: "협력업체 관리", href: "/evcp/tech-vendors", description: "기술영업 협력업체 관리", group: "공통" @@ -252,12 +259,6 @@ export const mainNav: MenuSection[] = [ group: "공통" }, { - title: "협력업체 후보 관리", - href: "/evcp/tech-vendor-candidates", - description: "기술영업 협력업체 후보 관리", - group: "공통" - }, - { title: "조선 Budgetary RFQ", href: "/evcp/budgetary-tech-sales-ship", description: "RFQ 작성을 할 수 있고 현황을 파악", @@ -708,28 +709,22 @@ export const salesNav: MenuSection[] = [ useGrouping: true, // 그룹핑 적용 items: [ { - title: "자재 리스트", + title: "자재 관리", href: "/sales/items-tech", - description: "기술영업 조선, 해양 Top, 해양 Hull 자재 리스트", + description: "기술영업 조선, 해양 Top, 해양 Hull 자재 관리", // icon: "ListTodo", group: "공통" }, { - title: "협력업체 리스트", + title: "협력업체 관리", href: "/sales/tech-vendors", description: "기술영업 협력업체 관리", group: "공통" }, { - title: "프로젝트 AVL 리스트", + title: "견적 Result 전송", href: "/sales/tech-project-avl", - description: "기술영업 프로젝트 AVL 리스트", - group: "공통" - }, - { - title: "협력업체 후보 관리", - href: "/sales/tech-vendor-candidates", - description: "기술영업 협력업체 후보 관리", + description: "견적 Result 전송", group: "공통" }, { @@ -765,21 +760,21 @@ export const engineeringNav: MenuSection[] = [ items: [ { title: "견적 프로젝트 리스트", - href: "/evcp/bid-projects", + href: "/engineering/bid-projects", description: "MDG에서 받은 견적 프로젝트 리스트(P)", // icon: "Briefcase", group: "기본 정보" }, { title: "프로젝트 리스트", - href: "/evcp/projects", + href: "/engineering/projects", description: "MDG에서 받은 프로젝트 리스트(C)", // icon: "Briefcase", group: "기본 정보" }, { title: "패키지 넘버", - href: "/evcp/items", + href: "/engineering/items", description: "견적(PR 발행 전), 입찰(PR 발행 전), 설계 데이터 및 문서에서 사용되는 패키지 넘버 목록", // icon: "ListTodo", group: "기본 정보" @@ -787,21 +782,28 @@ export const engineeringNav: MenuSection[] = [ { title: "객체 클래스 목록", - href: "/evcp/equip-class", + href: "/engineering/equip-class", description: "객체 클래스 목록", // icon: "Database", group: "설계 정보" }, { + title: "서브 클래스 목록", + href: "/engineering/sub-class", + description: "서브 클래스 목록", + // icon: "Database", + group: "설계 정보" + }, + { title: "태그 타입 목록", - href: "/evcp/tag-numbering", + href: "/engineering/tag-numbering", description: "Tag Numbering을 위한 기준 정보", // icon: "Tag", group: "설계 정보" }, { title: "레지스터 목록", - href: "/evcp/form-list", + href: "/engineering/form-list", description: "협력업체 데이터 입력을 위한 Form 레지스터 목록 확인", // icon: "FileCheck", group: "설계 정보" @@ -809,14 +811,14 @@ export const engineeringNav: MenuSection[] = [ { title: "Document Numbering Rule (해양)", - href: "/evcp/docu-list-rule", + href: "/engineering/docu-list-rule", description: "벤더 제출 문서 리스트 작성 시에 사용되는 넘버링", // icon: "FileCheck", group: "설계 정보" }, { title: "Document Code", - href: "/evcp/docu-code", + href: "/engineering/docu-code", description: "벤더 제출 문서 리스트 작성 시에 사용되는 Document Code", // icon: "FileCheck", group: "설계 정보" @@ -831,27 +833,6 @@ export const engineeringNav: MenuSection[] = [ useGrouping: true, // 그룹핑 적용 items: [ { - title: "견적 RFQ", - href: "/evcp/b-rfq", - description: "예산이나 내정가를 산정하기 위해 견적을 요청하고 관리", - // icon: "FileText", - group: "견적/입찰 관리" - }, - { - title: "RFQ(PR)", - href: "/evcp/po-rfq", - description: "생성된 RFQ(PR)을 발행하고 관리", - // icon: "FileText", - group: "견적/입찰 관리" - }, - { - title: "입찰 관리", - href: "/evcp/bid", - description: "생성된 입찰을 발행하고 관리", - // icon: "GanttChart", - group: "견적/입찰 관리" - }, - { title: "기술(품질) 평가 (TBE) 조선", href: "/evcp/tbe-ship", description: "TBE와 업체의 응답에 대한 이력 관리", diff --git a/config/techVendorColumnsConfig.ts b/config/techVendorColumnsConfig.ts index f7fd4478..bbb2586a 100644 --- a/config/techVendorColumnsConfig.ts +++ b/config/techVendorColumnsConfig.ts @@ -45,8 +45,8 @@ export const techVendorColumnsConfig: VendorColumnConfig[] = [ },
{
id: "workTypes",
- label: "Work Type",
- excelHeader: "Work Type",
+ label: "공종",
+ excelHeader: "공종",
type: "string",
},
{
diff --git a/config/techVendorContactsColumnsConfig.ts b/config/techVendorContactsColumnsConfig.ts new file mode 100644 index 00000000..e1afe200 --- /dev/null +++ b/config/techVendorContactsColumnsConfig.ts @@ -0,0 +1,70 @@ +import { TechVendorContact } from "@/db/schema/techVendors";
+
+/**
+ * 테이블/엑셀에 보여줄 컬럼 한 칸을 어떻게 렌더링할지 결정하는 설정
+ */
+export interface TechVendorColumnConfig {
+ /**
+ * TechVendorContact 객체의 어느 필드를 표시할지
+ */
+ id: keyof TechVendorContact;
+
+ /** 화면·엑셀에서 보여줄 컬럼명 */
+ label: string;
+
+ /** (선택) 그룹핑/카테고리 */
+ group?: string;
+
+ /** (선택) Excel에서의 헤더 */
+ excelHeader?: string;
+
+ /** (선택) 데이터 타입(예: date, string, number 등), 포맷 지정용 */
+ type?: string;
+}
+
+/**
+ * Tech Vendor Contacts 테이블에서
+ * 어떤 컬럼들을 어떤 순서로 표시할 것인지 정의.
+ */
+export const techVendorContactsColumnsConfig: TechVendorColumnConfig[] = [
+ {
+ id: "contactName",
+ label: "Contact Name",
+ excelHeader: "Contact Name",
+ },
+ {
+ id: "contactPosition",
+ label: "Contact Position",
+ excelHeader: "Contact Position",
+ },
+ {
+ id: "contactEmail",
+ label: "Contact Email",
+ excelHeader: "Contact Email",
+ },
+ {
+ id: "contactPhone",
+ label: "Contact Phone",
+ excelHeader: "Contact Phone",
+ },
+ {
+ id: "country",
+ label: "Country",
+ excelHeader: "Country",
+ },
+ {
+ id: "isPrimary",
+ label: "isPrimary",
+ excelHeader: "isPrimary",
+ },
+ {
+ id: "createdAt",
+ label: "Created At",
+ excelHeader: "Created At",
+ },
+ {
+ id: "updatedAt",
+ label: "Updated At",
+ excelHeader: "Updated At",
+ },
+];
\ No newline at end of file diff --git a/config/techVendorRfqHistoryColumnsConfig.ts b/config/techVendorRfqHistoryColumnsConfig.ts new file mode 100644 index 00000000..245fd5f7 --- /dev/null +++ b/config/techVendorRfqHistoryColumnsConfig.ts @@ -0,0 +1,47 @@ +export const techVendorRfqHistoryColumnsConfig = [
+ {
+ id: "rfqCode",
+ label: "RFQ 코드",
+ size: 120,
+ },
+ {
+ id: "description",
+ label: "RFQ 제목",
+ size: 250,
+ },
+ {
+ id: "projectCode",
+ label: "프로젝트 코드",
+ size: 120,
+ },
+ {
+ id: "projectType",
+ label: "프로젝트 타입",
+ size: 100,
+ },
+ {
+ id: "projectName",
+ label: "프로젝트명",
+ size: 200,
+ },
+ {
+ id: "status",
+ label: "상태",
+ size: 120,
+ },
+ {
+ id: "totalAmount",
+ label: "견적 금액",
+ size: 120,
+ },
+ {
+ id: "dueDate",
+ label: "마감일",
+ size: 100,
+ },
+ {
+ id: "createdAt",
+ label: "생성일",
+ size: 100,
+ },
+] as const;
\ No newline at end of file |
