1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
import { VendorCandidates, VendorCandidatesWithVendorInfo } from "@/db/schema/vendors"
export type { VendorCandidatesWithVendorInfo }
export interface CandidateColumnConfig {
id: keyof VendorCandidatesWithVendorInfo
label: string
group?: string
excelHeader?: string
type?: string
}
export const candidateColumnsConfig: CandidateColumnConfig[] = [
// Basic Info
{
id: "status",
label: "Status",
excelHeader: "Status",
// group: "Basic Info",
},
{
id: "createdAt",
label: "수집일",
excelHeader: "수집일",
group: "발굴정보",
},
{
id: "items",
label: "품목",
excelHeader: "품목",
group: "발굴정보",
},
{
id: "companyName",
label: "업체명",
excelHeader: "업체명",
group: "발굴정보",
},
{
id: "contactEmail",
label: "E-MAIL",
excelHeader: "E-MAIL",
group: "Vendor 추가정보",
},
{
id: "country",
label: "국가",
excelHeader: "국가",
group: "Vendor 추가정보",
},
{
id: "address",
label: "주소",
excelHeader: "주소",
group: "Vendor 추가정보",
},
{
id: "contactPhone",
label: "전화번호",
excelHeader: "전화번호",
group: "Vendor 추가정보",
},
{
id: "taxId",
label: "사업자등록번호",
excelHeader: "사업자등록번호",
group: "Vendor 추가정보",
},
{
id: "source",
label: "크롤링사이트(출처)",
excelHeader: "크롤링사이트(출처)",
group: "Vendor 추가정보",
},
{
id: "lastInvitationAt",
label: "Invitation 발송일",
excelHeader: "Invitation 발송일",
group: "Vendor 추가정보",
},
{
id: "lastInvitationBy",
label: "Invitation 발송자",
excelHeader: "Invitation 발송자",
group: "Vendor 추가정보",
},
{
id: "vendorName",
label: "Vendor 등록 사명",
excelHeader: "Vendor 등록 사명",
group: "Vendor 추가정보",
},
{
id: "vendorCreatedAt",
label: "Vendor 등록일",
excelHeader: "Vendor 등록일",
group: "Vendor 추가정보",
},
{
id: "lastStatusChangeAt",
label: "Status 최종변경일",
excelHeader: "Status 최종변경일",
group: "Vendor 추가정보",
},
{
id: "lastStatusChangeBy",
label: "Status 발송자",
excelHeader: "Status 최종변경자",
group: "Vendor 추가정보",
},
{
id: "remark",
label: "비고",
excelHeader: "비고",
group: "Vendor 추가정보",
},
{
id: "updatedAt",
label: "Updated At",
excelHeader: "Updated At",
group: "Vendor 추가정보",
},
]
|