import { BasicColumn, FormSchema } from '@/components/Table';
export const columns: BasicColumn[] = [
  {
    title: '图斑来源',
    dataIndex: 'tubanlaiyuan',
  },
  {
    title: '区县',
    dataIndex: 'countyname',
    width: 100,
  },
  {
    title: '乡镇',
    dataIndex: 'streetname',
  },
  {
    title: '社区/村',
    dataIndex: 'communityname',
  },
  {
    title: '图斑编号',
    dataIndex: 'caseno',
    width: 200,
  },
  {
    title: '图斑类型',
    dataIndex: 'typename',
  },
  {
    title: '图斑面积',
    dataIndex: 'area',
    width: 110,
  },
  {
    title: '当前状态',
    dataIndex: 'handlestatusname',
    width: 100,
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'caseNo',
    label: '图斑编号',
    component: 'Input',
    colProps: { span: 4 },
  },
  {
    field: 'originalcaseno',
    label: '标识号',
    component: 'Input',
    colProps: { span: 4 },
  },
];
