Sanakey
3 天以前 b5c1614fe473330ceca8b7cff0f1802e19bd5039
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
 
import { FormProps,  BasicColumn } from '@/components/Table';
import {treeOptionsListApi} from "@/api/demo/tree";
 
export function getEditCellColumns(): BasicColumn[] {
  return [
    {
      title: '客户名称',
      // defaultHidden: true,
      dataIndex: 'cluesName',
      sorter: true,
      width: 200
    },
    {
      title: '存档时间',
      dataIndex: 'archiveTime',
      sorter: true,
      width: 200,
    },
    {
      title: '状态id',
      dataIndex: 'statusId',
      width: 200,
    },
    {
      title: '状态内容',
      dataIndex: 'status',
      width: 200,
    },
    {
      title: '跟进时间',
      dataIndex: 'followUpTime',
      width: 200,
    },
    {
      title: '无效类型',
      dataIndex: 'failType',
      width: 200,
    },
    {
      title: '无效状态',
      dataIndex: 'failStatus',
      width: 200,
    },
    {
      title: '无效状态内容',
      dataIndex: 'failStatusName',
      width: 200,
    },
    {
      title: '无效原因',
      dataIndex: 'failReason',
      width: 200,
    },
    {
      title: '进入私海时间',
      dataIndex: 'privateTime',
      width: 200,
    },
    {
      title: '进入公海时间',
      dataIndex: 'publicTime',
      width: 200,
    },
    {
      title: '是否为公海线索',
      dataIndex: 'isPublic',
      width: 200,
    },
    {
      title: '评分',
      dataIndex: 'star',
      width: 200,
    },
    {
      title: '下次跟进时间',
      dataIndex: 'nextFollowUpTime',
      width: 200,
    },
    {
      title: '是否有重复内容',
      dataIndex: 'duplicateFlag',
      width: 200,
    },
    {
      title: '标签',
      dataIndex: 'tagList',
      width: 200,
    },
    {
      title: '公司网址',
      dataIndex: 'homepage',
      width: 200,
    },
    {
      title: '线索来源',
      dataIndex: 'originList',
      width: 200,
    },
    {
      title: '简称',
      dataIndex: 'shortName',
      width: 200,
    },
    {
      title: '国家',
      dataIndex: 'country',
      width: 200,
    },
    {
      title: '省份',
      dataIndex: 'province',
      width: 200,
    },
    {
      title: '地区',
      dataIndex: 'city',
      width: 200,
    },
    {
      title: '公司名称',
      dataIndex: 'corporate',
      width: 200,
    },
    {
      title: '公司类型',
      dataIndex: 'bizType',
      width: 200,
    },
    {
      title: '地区号',
      dataIndex: 'telAreaCode',
      width: 200,
    },
    {
      title: '座机',
      dataIndex: 'tel',
      width: 200,
    },
    {
      title: '采购意向',
      dataIndex: 'intentionLevel',
      width: 200,
    },
    {
      title: '年采购额',
      dataIndex: 'annualProcurement',
      width: 200,
    },
    {
      title: '时区',
      dataIndex: 'timezone',
      width: 200,
    },
    {
      title: '详细地址',
      dataIndex: 'address',
      width: 200,
    },
    {
      title: '搜索关键字',
      dataIndex: 'adKeyword',
      width: 200,
    },
    {
      title: '图片',
      dataIndex: 'imageList',
      width: 200,
    },
    {
      title: '线索备注',
      dataIndex: 'hdmeno',
      width: 200,
    },
    {
      title: '规模',
      dataIndex: 'scaleId',
      width: 200,
    },
    {
      title: '业务员',
      dataIndex: 'seller',
      width: 200,
    },
    {
      title: '访问来源',
      dataIndex: 'inquiryOrigin',
      width: 200,
    },
    {
      title: '主营产品',
      dataIndex: 'categoryIds',
      width: 200,
    },
    {
      title: '访问IP所在地',
      dataIndex: 'inquiryCountry',
      width: 200,
    },
    {
      title: '是否已关注',
      dataIndex: 'pinFlag',
      width: 200,
    },
 
    {
      title: '最近联系人',
      dataIndex: 'id',
      helpMessage: ['管理员指定客户联系行为:','发送邮件 (客户+商机)','接收邮件 (客户+商机)','营销邮件 (客户+商机)','新建跟进 (客户+商机)','新建/编辑 商机'],
      sorter: true,
      width: 200,
    },
    {
      title: '国家地区',
      dataIndex: 'name3',
      sorter: true,
      edit: true,
      editComponent: 'Select',
      editComponentProps: {
        options: [
          {
            label: 'Option1',
            value: '1',
          },
          {
            label: 'Option2',
            value: '2',
          },
        ],
      },
      width: 200,
    },
 
    {
      title: '远程下拉树',
      dataIndex: 'name8',
      edit: true,
      editComponent: 'ApiTreeSelect',
      editRule: false,
      editComponentProps: {
        api: treeOptionsListApi,
        resultField: 'list',
      },
      width: 200,
    },
 
  ]
}
 
 
 
export function getFormConfig(): Partial<FormProps> {
  return {
    labelWidth: 100,
    layout: 'horizontal',
    rowProps: {
      justify: 'end',
    },
    showResetButton: false,
    showSubmitButton: false,
    schemas: [
      {
        field: `field11`,
        label: `搜索`,
        component: 'Input',
        colProps: {
          xl: 12,
          xxl: 8,
        },
      },
    ],
  };
}