export default {
  height:'auto',
  maxHeight: '500',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 4,
  searchSpan: 5,
  border: true,
  index: true,
  viewBtn: false,
  selection: false,
  dialogClickModal: false,
  menu: false,
  addBtn: false,
  // searchShowBtn: false,
  refreshBtn: false,
  gridBtn: false,
  columnBtn: false,
  column: [
    {
      label: '状态',
      prop: "status",
      dicUrl: '/blade-system/dict/dictionary?code=device_status',
      search: true,
      type: 'select',
      props: {
        label: 'dictValue',
        value: 'dictKey',
      }
    },
    {
      label: "设备名称",
      prop: "name",
      search: true
    },
    {
      label: "设备S/N",
      prop: "sn",
      search: true,
      slot: true
    },
    {
      label: '设备类型',
      prop: "type",
      dicUrl: '/blade-system/dict/dictionary?code=device_type',
      search: true,
      type: 'select',
      props: {
        label: 'dictValue',
        value: 'dictKey',
      }
    },
    {
      label: "设备条码",
      prop: "barCode"
    },
    {
      label: '设备品牌',
      prop: "brand",
      dicUrl: '/blade-system/dict/dictionary?code=device_brand',
      type: 'select',
      span: 24,
      props: {
        label: 'dictValue',
        value: 'dictKey',
      },
    }
    
    
  ]
}
