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

export const columns: BasicColumn[] = [
  {
    title: '承包方编码',
    dataIndex: 'cbfbm',
    align: 'center',
    width: 150,
  },
  {
    title: '权利人名称',
    dataIndex: 'qlrmc',
    align: 'center',
    width: 100,
  },
  {
    title: '承包方成员数量',
    dataIndex: 'cbfcysl',
    align: 'center',
    width: 100,
  },
  {
    title: '证件类型',
    dataIndex: 'zjzl',
    align: 'center',
    width: 75,
  },
  {
    title: '证件号',
    dataIndex: 'zjh',
    align: 'center',
    width: 150,
  },
  {
    title: '邮编',
    dataIndex: 'yb',
    align: 'center',
    width: 100,
  },
  {
    title: '地址',
    dataIndex: 'dz',
    align: 'center',
    width: 250,
  },
  {
    title: '承包地块总数',
    dataIndex: 'cbdkzs',
    align: 'center',
    width: 75,
  },
  {
    title: '合同总面积',
    dataIndex: 'htzmj',
    align: 'center',
    width: 100,
  },
  {
    title: '操作',
    dataIndex: 'action',
    align: 'center',
    width: 80,
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'cbfbm',
    label: '承包方编码',
    component: 'Input',
    colProps: { span: 6 },
  },
  {
    field: 'qlrmc',
    label: '权利人名称',
    component: 'Input',
    colProps: { span: 6 },
  },
];