wupengfei
2025-03-20 a0d392a3e8522470c01dc1c35bce540010f67ae2
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
import { defineColumns } from '@bole-core/components';
import { AppType, isJYB } from '@/constants';
 
export const HomeColumns = defineColumns([
  {
    id: '1',
    enCode: 'channel',
    name: '渠道',
    width: 160,
  },
  AppType === 'rz' && {
    id: '2',
    enCode: 'salesmanName',
    name: '业务员姓名',
    width: 160,
  },
  {
    id: '3',
    enCode: 'name',
    name: '姓名',
    width: 160,
  },
  {
    id: '4',
    enCode: 'idNumber',
    name: '身份证号',
    width: 200,
  },
  {
    id: '5',
    enCode: 'workType',
    name: '雇员工种',
    width: 160,
  },
  {
    id: '6',
    enCode: 'laborContractEnterprise',
    name: '劳动合同单位',
    width: 160,
  },
  {
    id: '7',
    enCode: 'workEnterprise',
    name: '实际工作单位',
    width: 160,
  },
  isJYB && {
    id: '8',
    enCode: 'workAddress',
    name: '用工地点',
    width: 160,
  },
  {
    id: '9',
    enCode: 'insuranceBeginTime',
    name: '保险起期',
    width: 160,
  },
  {
    id: '10',
    enCode: 'insuranceEndTime',
    name: '保险止期',
    width: 160,
  },
  {
    id: '11',
    enCode: 'insuredInstitution',
    name: '参保机构',
    width: 160,
  },
  {
    id: '12',
    enCode: 'insuranceScheme',
    name: '投保方案',
    width: 160,
  },
  isJYB && {
    id: '13',
    enCode: 'insuranceType',
    name: '投保方式',
    width: 160,
  },
  (AppType === 'rz' || isJYB) && {
    id: '14',
    enCode: 'orderNo',
    name: '保单号',
    width: 160,
  },
  {
    id: '15',
    enCode: 'onJobFlag',
    name: '在职标识',
    width: 160,
  },
  {
    id: '16',
    enCode: 'gender',
    name: '性别',
    width: 160,
  },
  {
    id: '17',
    enCode: 'age',
    name: '年龄',
    width: 160,
  },
  AppType !== 'other' && {
    id: '18',
    enCode: 'idCardCheckResult',
    name: '身份证校验',
    width: 160,
  },
  AppType !== 'other' && {
    id: '19',
    enCode: 'idCardRepeatResult',
    name: '身份证是否重复',
    width: 160,
  },
  {
    id: '20',
    enCode: 'premiumAmount',
    name: '保费',
    width: 160,
  },
  {
    id: '21',
    enCode: 'incDecAmount',
    name: '增减费用',
    width: 160,
  },
 
  {
    id: '20',
    enCode: 'createTime',
    name: '导入日期',
    width: 160,
  },
]).filter(Boolean);