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

export const accountFormSchema: FormSchema[] = [
  {
    field: 'hdmc',
    label: '河段名称',
    component: 'Input',
    required: true,
    colProps: { span: 6 },
    componentProps: { placeholder: '请输入' },
  },
  {
    field: 'hdbh',
    label: '河段编号',
    component: 'Input',
    required: false,
    colProps: { span: 6 },
    componentProps: { placeholder: '请输入' },
  },
  {
    field: 'ssly',
    label: '所属流域',
    component: 'Select',
    required: false,
    colProps: { span: 6 },
    componentProps: {
      placeholder: '请选择',
      options: [
        { lable: '字典1', value: '字典1' },
        { lable: '字典2', value: '字典2' },
        { lable: '字典3', value: '字典3' },
      ],
    },
  },
  {
    field: 'qdjwd',
    label: '起点经纬度',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'qd-x',
    label: '起点-X',
    component: 'InputNumber',
    required: false,
    colProps: { span: 6 },
    componentProps: { placeholder: '请输入,保留两位小数', min: -999999, max: 999999, precision: 2 },
  },
  {
    field: 'qd-y',
    label: '起点-Y',
    component: 'InputNumber',
    required: false,
    colProps: { span: 6 },
    componentProps: { placeholder: '请输入,保留两位小数', min: -999999, max: 999999, precision: 2 },
  },
  {
    field: 'qd-z',
    label: '起点-Z',
    component: 'InputNumber',
    required: false,
    colProps: { span: 6 },
    componentProps: { placeholder: '请输入,保留两位小数', min: -999999, max: 999999, precision: 2 },
  },
  {
    field: 'njy',
    label: '年降雨（mm）',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'qw',
    label: '气温（℃）',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'dzgs',
    label: '地震概述',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'fyptzzq',
    label: '反应谱特征周期',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'dxdm',
    label: '地形地貌',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'dcyx',
    label: '地层岩性',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'gzgk',
    label: '构造概况',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'xgz',
    label: '新构造',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'swdztj',
    label: '水文地质条件',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'wldztj',
    label: '物理地质条件',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'dzld',
    label: '地震烈度',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'dzdfjsd',
    label: '地震动峰加速度',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'ssqhd',
    label: '所属气候带',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
  {
    field: 'bz',
    label: '备注',
    component: 'InputTextArea',
    required: false,
    colProps: { span: 24 },
    componentProps: { placeholder: '请输入', rows: 2, allowClear: true, maxLength: 500 },
  },
];
