export const columns = [
  { 
    title: '片区',
    dataIndex: 'countyName',
  },
  { 
    title: '乡镇',
    dataIndex: 'streetName',
  },
  { 
    title: '村居',
    dataIndex: 'communityName',
  },
  { 
    title: '点位名称',
    dataIndex: 'name',
  },
  { 
    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: ['开始日期', '结束日期'],
    },
  },
]