export const columns = [
  { 
    title: '单位',
    dataIndex: 'orgName',
  },
  { 
    title: '人员',
    dataIndex: 'userName',
  },
  { 
    title: '巡查日期（范围）',
    dataIndex: 'punchScope',
  },
  { 
    title: '巡查次数',
    dataIndex: 'punchCount',
  },
  { 
    title: '上报异常次数',
    dataIndex: 'reportCount',
  },
  { 
    title: '违法处理次数',
    dataIndex: 'dealCount',
  },
]
export const searchFormSchema = [
  // {
  //   field: 'key',
  //   label: '名称',
  //   component: 'Input',
  //   colProps: { span: 4 },
  // },
  {
    field: '[begindate, enddate]',
    label: '巡查日期',
    component: 'RangePicker',
    colProps: { span: 5 },
    componentProps: {
      format: 'YYYY-MM-DD',
      placeholder: ['开始日期', '结束日期'],
    },
  },
]