import search from '@/page/index/search.vue';

export default {
  height: 'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  searchLabelWidth: 120,
  // searchSpan: 5,
  dialogClickModal: false,
  menu: false,
  addBtn: false,
  gridBtn: false,
  columnBtn: false,
  searchShowBtn: false,
  refreshBtn: false,
  column: [
    {
      label: '资方名称',
      prop: 'capitalName',
      search: true,
      searchOrder: 100,
      type: 'input',
    },
    {
      label: '电站编码',
      prop: 'stationCode',
      type: 'input',
      searchOrder: 90,
      search: true,
    },
    {
      label: '安装方式',
      prop: 'installType',
      type: 'input',
    },
    {
      label: '周发电小时(h)',
      prop: 'mgHour',
      type: 'input',
    },
    {
      label: '周平均发电小时(h)',
      prop: 'avgHour',
      type: 'input',
    },
    {
      label: '保发小时(h)',
      prop: 'guardHour',
      type: 'input',
    },
    {
      label: '保发比率',
      prop: 'guardRate',
      // searchSpan: 18,
      search: true,
      searchOrder: 80,
      searchSlot: true,
      slot: true,
      type: 'input',
    },
    {
      label: '全年完成率',
      prop: 'finishRate',
      slot: true,
      type: 'input',
    },
    {
      label: '安装容量(KW）',
      prop: 'capacity',
      type: 'input',
    },
    {
      label: '当月电量(KWh）',
      prop: 'otm',
      type: 'input',
    },
    {
      label: '业主名称',
      prop: 'ownerName',
      type: 'input',
    },
    {
      label: '安装地址',
      prop: 'installAddress',
      search: true,
      searchOrder: 60,
      type: 'input',
    },
    {
      label: '运维服务商',
      prop: 'omProviderName',
      search: true,
      searchOrder: 50,
      type: 'input',
    },
    {
      label: '统计时间',
      prop: 'createTime'
    },
    {
      label: '统计时间',
      prop: 'during',
    },
  ],
};
