import { BasicColumn } from '@/components/Table';

export const columns: BasicColumn[] = [
  {
    title: '案件编号',
    dataIndex: 'case_no',
  },
  {
    title: '上报时间',
    dataIndex: 'createtime',
  },
  {
    title: '地点',
    dataIndex: 'address',
    customRender: ({ record }) => {
      const text = record.countyname + record.streetname + record.communityname;
      return text;
    },
  },
  {
    title: '案件描述',
    dataIndex: 'case_description',
  },
  {
    title: '占用耕地面积',
    dataIndex: 'area',
  },
  {
    title: '处理时间',
    dataIndex: 'deal_time',
  },
  {
    title: '案件处理人',
    dataIndex: 'deal_username',
  },
];
