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

// 图形化建表table
export const achievementColumns: BasicColumn[] = [
  {
    title: 'shp名称',
    dataIndex: 'shpName',
  },
  {
    title: 'shp路径',
    dataIndex: 'shpPath',
  },
  {
    title: 'shp包含图斑数量',
    dataIndex: 'shpCount',
  },
  {
    title: '日期',
    dataIndex: 'shpDate',
    ifShow: false,
  },
  {
    title: '地块名称',
    dataIndex: 'plotName',
  },
  {
    title: '面积（平方米）',
    dataIndex: 'areaNum',
  },
  {
    title: '地区id',
    dataIndex: 'areaId',
    ifShow: false,
  },
  {
    title: '地区',
    dataIndex: 'areaName',
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
  },
];
// 图形化建表-搜索
export const searchFormSchema: FormSchema[] = [
  {
    field: 'Name',
    label: '名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];
