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

export const vedioFormScheme: FormSchema[] = [
  {
    field: 'type',
    label: '监控类型',
    component: 'Select',
    colProps: { span: 10 },
    required: true,
    componentProps: {
      maxLength: 255,
      placeholder: '请选择视频监控类型',
    },
  },
  {
    field: 'monitorObj',
    label: '监测对象',
    component: 'Select',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择监测对象',
    },
  },
  {
    field: 'siteName',
    label: '点位名称',
    component: 'Input',
    colProps: { span: 10 },
    required: true,
    componentProps: {
      maxLength: 255,
      placeholder: '请输入点位名称',
    },
  },
  {
    field: 'videoCode',
    label: '视频编码',
    component: 'Input',
    colProps: { span: 10 },
    required: true,
    componentProps: {
      maxLength: 255,
      placeholder: '请输入视频编码',
    },
  },
  {
    field: 'groupName',
    label: '分组名称',
    component: 'Input',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入分组名称',
    },
  },
  {
    field: 'installPositionDescription',
    label: '安装位置描述',
    component: 'Input',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入安装位置描述',
    },
  },
  {
    field: 'relevanceSite',
    label: '关联监测点',
    component: 'Input',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入relevancySite',
    },
  },
  {
    field: 'relevanceData',
    label: '关联数据',
    component: 'Input',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入关联数据',
    },
  },
  {
    field: 'monitorAreaDescription',
    label: '监控区域描述',
    component: 'Input',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入监控区域描述',
    },
  },
  {
    field: 'areaBlongs',
    label: '所属区域',
    component: 'Select',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入所属区域',
    },
  },
  {
    field: 'drainAreaBelong',
    label: '所在排水分区',
    component: 'Select',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '请选择所在排水分区',
    },
  },
  {
    field: 'monitorArea',
    label: '监控区域面积',
    component: 'Input',
    colProps: { span: 10 },
    componentProps: {
      maxLength: 255,
      placeholder: '',
    },
  },
  {
    field: 'position',
    label: '坐标',
    component: 'Input',
    colProps: { span: 20 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输坐标',
    },
  },
  {
    field: 'address',
    label: '地址',
    component: 'Input',
    colProps: { span: 20 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入地址',
    },
  },
  {
    field: 'remark',
    label: '备注',
    component: 'Input',
    colProps: { span: 20 },
    componentProps: {
      maxLength: 255,
      placeholder: '请输入备注信息',
    },
  },
];
