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: 160,
  dialogClickModal: false,
  column: [
    {
      label: '车牌号',
      prop: 'plateNo',
      search: true,
      searchOrder: 5,
      slot: true,
      width: 120,
    },
    {
      label: '所属组织',
      prop: 'organizationName',
      search: true,
      searchOrder: 1,
      type: 'select',
      filterable: true,
      dicData: [],
      width: 150,
    },
    {
      label: '业务关系',
      prop: 'businessRelation',
      search: true,
      searchOrder: 4,
      type: 'select',
      dicData: [
        { label: '全部', value: '' },
        { label: '自有', value: '自有' },
        { label: '管理挂靠', value: '管理挂靠' },
        { label: '业务合作', value: '业务合作' },
      ],
      width: 120,
      align: 'center',
    },
    {
      label: '车辆类型',
      prop: 'vehicleType',
      search: true,
      searchOrder: 3,
      type: 'select',
      dicData: [
        { label: '全部', value: '' },
        { label: '高栏车', value: '高栏' },
        { label: '低栏车', value: '低栏' },
        { label: '平板车', value: '平板' },
        { label: '厢式车', value: '厢式' },
        { label: '拖挂车', value: '拖挂' },
        { label: '半挂车', value: '半挂' },
      ],
      width: 110,
      align: 'center',
    },
    {
      label: '核定载质量(KG)',
      prop: 'approvedLoadKg',
      width: 140,
      align: 'right',
    },
    {
      label: '车辆状态',
      prop: 'status',
      search: true,
      searchOrder: 2,
      type: 'select',
      slot: true,
      dicData: [
        { label: '启用', value: 1 },
        { label: '停用', value: 2 },
      ],
      width: 90,
      align: 'center',
    },
    {
      label: '行驶证有效期',
      prop: 'drivingLicenseEndDate',
      slot: true,
      width: 140,
      align: 'center',
    },
    {
      label: '道路运输证有效期',
      prop: 'roadTransportCertEndDate',
      slot: true,
      width: 160,
      align: 'center',
    },
    {
      label: '年审有效期',
      prop: 'annualReviewEndDate',
      slot: true,
      width: 130,
      align: 'center',
    },
  ],
};
