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: 210,
  dialogClickModal: false,
  column: [
    { label: '船舶名', prop: 'shipName', search: true, slot: true, width: 130 },
    { label: '船舶识别号', prop: 'shipIdentifierNo', search: true, width: 140 },
    { label: '所属组织', prop: 'organizationName', search: true, width: 160 },
    { label: '船检登记号', prop: 'shipInspectionNo', search: true, width: 130 },
    {
      label: '船舶类型',
      prop: 'shipType',
      search: true,
      type: 'select',
      dicData: [
        { label: '干货船', value: '干货船' },
        { label: '集装箱船', value: '集装箱船' },
        { label: '散货船', value: '散货船' },
        { label: '油船', value: '油船' },
        { label: '拖轮', value: '拖轮' },
      ],
      width: 110,
      align: 'center',
    },
    {
      label: '状态',
      prop: 'status',
      search: true,
      type: 'select',
      slot: true,
      dicData: [
        { label: '启用', value: 1 },
        { label: '停用', value: 2 },
      ],
      width: 90,
      align: 'center',
    },
    { label: '国籍证有效期至', prop: 'nationalityCertEndDate', slot: true, width: 150, align: 'center' },
    {
      label: '最低安全配员证书有效期至',
      prop: 'safeManningCertEndDate',
      slot: true,
      width: 210,
      align: 'center',
    },
    {
      label: '营业运输证有效期至',
      prop: 'businessTransportCertEndDate',
      slot: true,
      width: 170,
      align: 'center',
    },
    { label: '承租有效期至', prop: 'leaseEndDate', slot: true, width: 140, align: 'center' },
  ],
};
