wupengfei
2025-03-21 77f32b6d96237dc874ca81c0ecab1a21500cc5ab
src/views/Home/constants/index.ts
@@ -1,6 +1,6 @@
import { defineColumns } from '@bole-core/components';
export const HomeColumns = defineColumns([
export const columns = defineColumns([
  {
    id: '1',
    enCode: 'channel',
@@ -8,112 +8,93 @@
    width: 160,
  },
  {
    id: '2',
    enCode: 'channel',
    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,
  },
  {
    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,
  },
  {
    id: '13',
    enCode: 'insuranceType',
    name: '投保方式',
    width: 160,
  },
  {
    id: '14',
    enCode: 'orderNo',
    name: '保单号',
    width: 160,
  },
  {
    id: '4',
    enCode: 'orderNo',
    name: '投保人',
    width: 160,
  },
  {
    id: '5',
    enCode: 'orderNo',
    name: '被保人',
    width: 160,
  },
  {
    id: '6',
    enCode: 'insuranceBeginTime',
    name: '保险起期',
    width: 160,
  },
  {
    id: '7',
    enCode: 'insuranceEndTime',
    name: '保险止期',
    width: 160,
  },
  {
    id: '8',
    enCode: 'insuredInstitution',
    name: '参保机构',
    width: 160,
  },
  {
    id: '9',
    enCode: 'insuranceScheme',
    name: '投保方案',
    width: 160,
  },
  {
    id: '10',
    enCode: 'insuranceType',
    name: '投保方式',
    width: 160,
  },
  {
    id: '11',
    enCode: 'insuranceType',
    name: '投保人数',
    width: 160,
  },
  {
    id: '12',
    enCode: 'insuranceType',
    name: '总保额(元)',
    width: 200,
  },
  {
    id: '13',
    enCode: 'insuranceType',
    name: '总保费(元)',
    width: 160,
  },
  {
    id: '14',
    enCode: 'createTime',
    name: '最近导入日期',
    width: 160,
  },
  {
    id: '15',
    enCode: 'onJobFlag',
    name: '在职标识',
    enCode: 'insuranceType',
    name: '投保状态',
    width: 160,
  },
  {
    id: '16',
    enCode: 'gender',
    name: '性别',
    width: 160,
  },
  {
    id: '17',
    enCode: 'age',
    name: '年龄',
    width: 160,
  },
  {
    id: '20',
    enCode: 'premiumAmount',
    name: '保费',
    width: 160,
  },
  {
    id: '21',
    enCode: 'incDecAmount',
    name: '增减费用',
    width: 160,
  },
  {
    id: '20',
    enCode: 'createTime',
    name: '导入日期',
    enCode: 'insuranceType',
    name: '理赔数量',
    width: 160,
  },
]).filter(Boolean);