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

export const eventTypeFormSchema: FormSchema[] = [
  {
    field: 'areaBelongs',
    label: '所属领域',
    component: 'Select',
    required: true,
    colProps: { span: 20 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'industryBelongs',
    label: '所属行业',
    component: 'Select',
    required: true,
    colProps: { span: 20 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'eventType',
    label: '事件类型',
    component: 'Input',
    required: true,
    colProps: { span: 20 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入预警类型名称',
    },
  },
  {
    field: 'remark',
    label: '备注',
    component: 'Input',
    colProps: { span: 20 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入',
    },
  },
];
