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

export const columns: BasicColumn[] = [
  {
    title: '名称',
    dataIndex: 'name',
  },
  {
    title: '区县',
    dataIndex: 'countyName',
  },
  {
    title: '乡镇',
    dataIndex: 'streetName',
  },
  {
    title: '社区/村',
    dataIndex: 'communityName',
  },
  {
    title: '经纬度',
    dataIndex: 'LngLat',
  },
];

export const searchFormSchema: FormSchema[] = [
  {
    field: 'key',
    label: '名称',
    component: 'Input',
    colProps: { span: 8 },
  },
];
