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
| import type { VxeTableGridOptions } from '#/adapter/vxe-table';
|
| import { DICT_TYPE } from '../../../../packages/constants/src';
|
| /** 联系人明细列表列配置 */
| export function useDetailListColumns(): VxeTableGridOptions['columns'] {
| return [
| {
| type: 'checkbox',
| width: 50,
| fixed: 'left',
| },
| {
| field: 'name',
| title: '姓名',
| fixed: 'left',
| slots: { default: 'name' },
| },
| {
| field: 'customerName',
| title: '客户名称',
| fixed: 'left',
| slots: { default: 'customerName' },
| },
| {
| field: 'sex',
| title: '性别',
| cellRender: {
| name: 'CellDict',
| props: { type: DICT_TYPE.SYSTEM_USER_SEX },
| },
| },
| {
| field: 'mobile',
| title: '手机',
| },
| {
| field: 'telephone',
| title: '电话',
| },
| {
| field: 'email',
| title: '邮箱',
| },
| {
| field: 'post',
| title: '职位',
| },
| {
| field: 'detailAddress',
| title: '地址',
| },
| {
| field: 'master',
| title: '关键决策人',
| cellRender: {
| name: 'CellDict',
| props: { type: DICT_TYPE.INFRA_BOOLEAN_STRING },
| },
| },
| ];
| }
|
|