wupengfei
2025-03-20 b2b1ba0ec2e5c45cf4f37b0fcea6e23fe36f9b47
src/views/Home/constants/index.ts
@@ -1,17 +1,10 @@
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,
  },
  {
@@ -44,7 +37,7 @@
    name: '实际工作单位',
    width: 160,
  },
  isJYB && {
  {
    id: '8',
    enCode: 'workAddress',
    name: '用工地点',
@@ -74,13 +67,13 @@
    name: '投保方案',
    width: 160,
  },
  isJYB && {
  {
    id: '13',
    enCode: 'insuranceType',
    name: '投保方式',
    width: 160,
  },
  (AppType === 'rz' || isJYB) && {
  {
    id: '14',
    enCode: 'orderNo',
    name: '保单号',
@@ -102,18 +95,6 @@
    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,
  },
  {