export const option = {
  height: 'auto',
  calcHeight: 32,
  tip: false,
  searchShow: true,
  searchMenuSpan: 24,
  searchIcon: true,
  searchIndex: 4,
  searchMenuPosition: 'right',
  border: true,
  index: true,
  selection: true,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  menuWidth: 180,
  dialogClickModal: false,
  column: [
    {
      label: '船舶名',
      prop: 'shipName',
      search: true,
      searchOrder: 5,
      slot: true,
      minWidth: 130,
    },
    {
      label: '船舶识别号',
      prop: 'shipIdentifierNo',
      search: true,
      searchOrder: 4,
      minWidth: 140,
    },
    {
      label: '所属组织',
      prop: 'organizationName',
      search: true,
      searchOrder: 1,
      type: 'select',
      filterable: true,
      dicData: [],
      slot: true,
      minWidth: 160,
    },
    {
      label: '船检登记号',
      prop: 'shipInspectionNo',
      search: true,
      searchOrder: 3,
      minWidth: 130,
    },
    {
      label: '船舶类型',
      prop: 'shipType',
      search: true,
      searchOrder: 2,
      type: 'select',
      dicData: [
        { label: '散货船', value: '散货船' },
        { label: '集装箱船', value: '集装箱船' },
        { label: '杂货船', value: '杂货船' },
        { label: '油船', value: '油船' },
      ],
      minWidth: 110,
      align: 'center',
    },
    {
      label: '国籍证有效期至',
      prop: 'nationalityCertEndDate',
      slot: true,
      minWidth: 150,
      align: 'center',
    },
    {
      label: '最低安全配员证书有效期至',
      prop: 'safeManningCertEndDate',
      slot: true,
      minWidth: 210,
      align: 'center',
    },
    {
      label: '营业运输证有效期至',
      prop: 'businessTransportCertEndDate',
      slot: true,
      minWidth: 170,
      align: 'center',
    },
    {
      label: '承租有效期至',
      prop: 'leaseEndDate',
      slot: true,
      minWidth: 140,
      align: 'center',
    },
    {
      label: '',
      prop: 'expireStatus',
      search: true,
      searchOrder: 0,
      searchSpan: 6,
      hide: true,
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
  ],
};
