import { FormSchema } from '@/components/Form/index';
export const schemas: FormSchema[] = [
  {
    field: 'jobName',
    component: 'NInput',
    label: '任务名称',
    componentProps: {
      placeholder: '请输入任务名称',
    },
  },
  {
    field: 'status',
    component: 'NSelect',
    label: '任务状态',
    componentProps: {
      placeholder: '请选择任务状态',
      clearable: true,
      options: [
        {
          label: '未发布',
          value: 0,
        },
        {
          label: '运行中',
          value: 1,
        },
        {
          label: '暂停',
          value: 2,
        },
        {
          label: '删除',
          value: 3,
        },
      ],
    },
  },
];
