import { checkMobile } from '@/utils/followup/followupUtils/checkField';

export default ($this) => {
  return [
    {
      formType: 'checkbox',
      className: 'float-none obj-form-title',
      prop: 'symptom',
      model: 'symptom',
      label: '选择的症状：',
      disabled: false,
      changeFun: (val) => {
      },
      spanNum: 24,
      options: [
        {label: '无症状', value: '无症状', disabled: false},
        {label: '头痛头晕', value: '头痛头晕', disabled: false},
        {label: '恶心呕吐', value: '恶心呕吐', disabled: false},
        {label: '眼花耳鸣', value: '眼花耳鸣', disabled: false},
        {label: '呼吸困难', value: '呼吸困难', disabled: false},
        {label: '心悸胸闷', value: '心悸胸闷', disabled: false},
        {label: '鼻衄出血不止', value: '鼻衄出血不止', disabled: false},
        {label: '四肢发麻', value: '四肢发麻', disabled: false},
        {label: '下肢水肿', value: '下肢水肿', disabled: false},
        {label: '其他', value: '其他', disabled: false},
      ],
      rules: [{required: true, message: '选择的症状', trigger: ['submit']}]
    },
    {
      formType: 'input',
      className: 'float-none obj-form-title2',
      linkageRule: [{name: 'symptom',value: ['其他']}],
      prop: 'remark',
      model: 'remark',
      disabled: false,
      placeholder: '请输入其他症状',
      spanNum: 12,
      maxlength: 30,
      type: 'text',
      labmsg: '',
      rules: [{ required: true, message: '请输入其他症状', trigger: ['submit','change'] }]
    },

  ]
}

