import type { FormSchemaGetter } from '#/adapter/form';
import type { VxeGridProps } from '#/adapter/vxe-table';
import { DictEnum } from '@vben/constants';
import { getDictOptions } from '#/utils/dict';


export const querySchema: FormSchemaGetter = () => [
  {
    component: 'Select',
    componentProps: {
      options: getDictOptions(DictEnum.SYS_NORMAL_DISABLE),
    },
    fieldName: 'Gasstationstatus',
    label: '油站',
  },
  {
    component: 'Select',
    componentProps: {
      options: getDictOptions(DictEnum.SYS_NORMAL_DISABLE),
    },
    fieldName: 'Positionstatus',
    label: '岗位',
  },
];

export const columns: VxeGridProps['columns'] = [
  {
    field: 'action',
    fixed: 'left',
    slots: { default: 'action' },
    resizable: false,
    title: '操作',
    width: 180,
  },
  {
    title: '姓名',
    field: 'Name',
    fixed: 'left',
    resizable: false,
    minWidth: 130,
  },
  {
    title: '岗位',
    field: 'Position',
    fixed: 'left',
    resizable: false,
    minWidth: 130,
  },
  {
    title: '1六',
    field: '1六',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '2日',
    field: '2日',
    minWidth: 130,
    slots: { default: 'Select' },

  },
  {
    title: '3一',
    field: '3一',
    minWidth: 130,
    slots: { default: 'Select' },

  },
  {
    title: '4二',
    field: '4二',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '5三',
    field: '5三',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '6四',
    field: '6四',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '7五',
    field: '7五',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '8六',
    field: '8六',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '9日',
    field: '9日',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '10一',
    field: '10一',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '11二',
    field: '11二',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '12三',
    field: '12三',
    minWidth: 130,
    slots: { default: 'Select' },
  },
  {
    title: '13四',
    field: '13四',
    minWidth: 130,
    slots: { default: 'Select' },
  },
];

