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

export const rescueTeamForm: FormSchema[] = [
  {
    field: 'companyName',
    label: '单位名称',
    component: 'Select',
    required: true,
    colProps: { span: 12 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'liableName',
    label: '所属区域',
    component: 'Select',
    required: true,
    colProps: { span: 12 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'liableName',
    label: '责任人姓名',
    component: 'Select',
    required: true,
    colProps: { span: 8 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'liablePosition',
    label: '责任人职务',
    component: 'Select',
    required: true,
    colProps: { span: 8 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'liablePhone',
    label: '责任人电话',
    component: 'Select',
    required: true,
    colProps: { span: 8 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'contactName',
    label: '联系人姓名',
    component: 'Select',
    required: true,
    colProps: { span: 8 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'contactPosition',
    label: '联系人职务',
    component: 'Select',
    required: true,
    colProps: { span: 8 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'contactPhone',
    label: '联系人电话',
    component: 'Select',
    required: true,
    colProps: { span: 8 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'firsttimeResponsePerson',
    label: '第一时间下响应人数',
    component: 'Select',
    required: true,
    colProps: { span: 12 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'content',
    label: '救援领域内容和功能',
    component: 'Select',
    required: true,
    colProps: { span: 12 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'latitude',
    label: '经度',
    component: 'Input',
    required: true,
    colProps: { span: 12 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'longitude',
    label: '纬度',
    component: 'Input',
    required: true,
    colProps: { span: 12 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择',
    },
  },
  {
    field: 'remark',
    label: '备注',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 8 },
    componentProps: {
      maxLength: 255,
      placeholder: '',
      rows: 6,
      width: 200,
    },
  },
];
