export const option = {
  height: 'auto',
  calcHeight: 32,
  tip: false,
  searchShow: true,
  searchMenuSpan: 24,
  searchIcon: true,
  searchIndex: 4,
  searchMenuPosition: 'right',
  border: true,
  index: true,
  indexLabel: '序号',
  indexWidth: 70,
  selection: true,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  menuWidth: 180,
  dialogClickModal: false,
  column: [
    {
      label: '姓名',
      prop: 'driverName',
      search: true,
      searchOrder: 7,
      slot: true,
      minWidth: 120,
    },
    {
      label: '身份证号',
      prop: 'idCardNo',
      search: true,
      searchOrder: 2,
      slot: true,
      minWidth: 180,
    },
    {
      label: '手机号码',
      prop: 'mobile',
      search: true,
      searchOrder: 6,
      minWidth: 130,
    },
    {
      label: '性别',
      prop: 'gender',
      width: 80,
      align: 'center',
    },
    {
      label: '司机类型',
      prop: 'driverType',
      search: true,
      searchOrder: 3,
      type: 'select',
      dicData: [
        {
          label: '自有员工',
          value: '自有',
        },
        {
          label: '外协',
          value: '外协',
        },
        {
          label: '承运管理员',
          value: '承运管理员',
        },
      ],
      minWidth: 110,
      align: 'center',
    },
    {
      label: '岗位',
      prop: 'posts',
      minWidth: 150,
    },
    {
      label: '所属组织',
      prop: 'organizationName',
      search: true,
      searchOrder: 1,
      type: 'select',
      filterable: true,
      dicData: [],
      slot: true,
      minWidth: 160,
    },
    {
      label: '状态',
      prop: 'status',
      search: true,
      searchOrder: 4,
      type: 'select',
      slot: true,
      dicData: [
        {
          label: '启用',
          value: 1,
        },
        {
          label: '停用',
          value: 2,
        },
      ],
      width: 90,
      align: 'center',
    },
    {
      label: '驾驶认证（日期）',
      prop: 'drivingLicenseEndDate',
      sortable: true,
      slot: true,
      minWidth: 140,
      align: 'center',
    },
    {
      label: '从业资格认证（日期）',
      prop: 'qualificationEndDate',
      sortable: true,
      slot: true,
      minWidth: 160,
    },
    {
      label: '准驾车型',
      prop: 'drivingType',
      search: true,
      searchOrder: 5,
      hide: true,
      type: 'select',
      dicData: [
        { label: 'A1', value: 'A1' },
        { label: 'A2', value: 'A2' },
        { label: 'A3', value: 'A3' },
        { label: 'B1', value: 'B1' },
        { label: 'B2', value: 'B2' },
        { label: 'C1', value: 'C1' },
        { label: 'C2', value: 'C2' },
      ],
    },
  ],
};
