import { BasicColumn, FormSchema } from '@/components/Table';
import { asyncGetOptions } from '@/utils/global'
export const statusOptions = await asyncGetOptions('JGMinePointStatus');

export const columns: BasicColumn[] = [
  {
    title: '巡查点',
    dataIndex: 'PointName',
  },
  {
    title: '巡查人员',
    dataIndex: 'Name',
  },
  {
    title: '巡查时间',
    dataIndex: 'PunchTime',
  },
  {
    title: '巡查状态',
    dataIndex: 'PunchStatus',
  },
  {
    title: '经纬度',
    dataIndex: 'LngLat',
  },
];

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