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

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