export const punchCountColumns = [
  { 
    title: '片区',
    dataIndex: 'CountyName',
  },
  { 
    title: '乡镇',
    dataIndex: 'StreetName',
  },
  { 
    title: '村居',
    dataIndex: 'CommunityName',
  },
  { 
    title: '点位名称',
    dataIndex: 'PointName',
  },
  { 
    title: '巡查时间',
    dataIndex: 'PunchTime',
  },
  { 
    title: '人员',
    dataIndex: 'UserName',
  },
  { 
    title: '巡查结果',
    dataIndex: 'StatusName',
  },
]
export const reportCountColumns = [
  { 
    title: '片区',
    dataIndex: 'CountyName',
  },
  { 
    title: '乡镇',
    dataIndex: 'StreetName',
  },
  { 
    title: '村居',
    dataIndex: 'CommunityName',
  },
  { 
    title: '点位名称',
    dataIndex: 'PointName',
  },
  { 
    title: '巡查时间',
    dataIndex: 'PunchTime',
  },
  { 
    title: '人员',
    dataIndex: 'UserName',
  },
  { 
    title: '巡查结果',
    dataIndex: 'StatusName',
  },
]
export const dealCountColumns = [
    { 
    title: '标题',
    dataIndex: 'Title',
  },
  { 
    title: '处置时间',
    dataIndex: 'ReportTime',
  },
  { 
    title: '问题描述',
    dataIndex: 'ProblemDescription',
  },
  { 
    title: '违法类型',
    dataIndex: 'ViolationTypeName',
  },
  { 
    title: '当事人',
    dataIndex: 'PartyName',
  },
    { 
    title: '联系方式',
    dataIndex: 'PartyPhone',
  },
  { 
    title: '当前状态',
    dataIndex: 'StatusName',
  },
]
export const getColums = (type: string) => {
  switch(type){
    case "punchCount":
      return punchCountColumns
    case "reportCount":
      return reportCountColumns
    case "dealCount":
      return dealCountColumns
  }
}
export const searchFormSchema = [

]