export const option = {
  height: 'auto',
  calcHeight: 32,
  tip: false,
  searchShow: true,
  searchMenuSpan: 24,
  searchIcon: true,
  searchIndex: 8,
  searchMenuPosition: 'right',
  border: true,
  index: true,
  selection: true,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  menuWidth: 180,
  dialogClickModal: false,
  column: [
    {
      label: '姓名',
      prop: 'driverName',
      search: true,
      slot: true,
      width: 110,
    },
    {
      label: '身份证号',
      prop: 'idCardNo',
      search: true,
      width: 190,
    },
    {
      label: '手机号码',
      prop: 'mobile',
      search: true,
      width: 130,
    },
    {
      label: '性别',
      prop: 'gender',
      width: 80,
      align: 'center',
    },
    {
      label: '司机类型',
      prop: 'driverType',
      search: true,
      type: 'select',
      dicData: [
        {
          label: '自有',
          value: '自有',
        },
        {
          label: '外协',
          value: '外协',
        },
      ],
      width: 100,
      align: 'center',
    },
    {
      label: '岗位',
      prop: 'posts',
      width: 150,
    },
    {
      label: '准驾车型',
      prop: 'drivingType',
      search: true,
      width: 110,
    },
    {
      label: '所属组织',
      prop: 'organizationName',
      type: 'cascader',
      search: true,
      emitPath: false,
      checkStrictly: true,
      filterable: true,
      dicData: [],
      props: {
        label: 'label',
        value: 'value',
        children: 'children',
      },
      width: 140,
    },
    {
      label: '状态',
      prop: 'status',
      search: true,
      type: 'select',
      slot: true,
      dicData: [
        {
          label: '启用',
          value: 1,
        },
        {
          label: '停用',
          value: 2,
        },
      ],
      width: 90,
      align: 'center',
    },
    {
      label: '驾驶认证',
      prop: 'drivingLicenseEndDate',
      slot: true,
      width: 130,
      align: 'center',
    },
    {
      label: '从业资格认证',
      prop: 'qualificationEndDate',
      slot: true,
      width: 140,
      align: 'center',
    },
  ],
};
