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 },
  },
];
