export default ($this) => {
  return [
    {
      formType: 'div',
      name: '1.1 人口学信息',
      className: 'sec-title',
    },
    {
      formType: 'input',
      className: 'float-none margin-left-20',
      prop: 'name',
      model: 'name',
      label: '姓名：',
      disabled: false,
      placeholder: '请输入姓名',
      spanNum: 12,
      type: 'text',
      labmsg: '次',
      // slots: [{name: 'cm', type: 'append'}],
      rules: [{required: true, message: '请输入姓名', trigger: 'blur'}],
    },
    {
      formType: 'input',
      className: 'float-none margin-left-20',
      prop: 'idNo',
      model: 'idNo',
      label: '身份证：',
      disabled: false,
      placeholder: '请输入身份证',
      spanNum: 12,
      type: 'text',
      labmsg: '次',
      // slots: [{name: 'cm', type: 'append'}],
      rules: [{required: true, message: '请输入身份证', trigger: 'blur'}],
    },
    {
      formType: 'radio',
      className: 'obj-form-title margin-left-20',
      prop: 'inTurn',
      model: 'inTurn',
      spanNum: 24,
      label: '随访轮次 （距离建档时间）：',
      options: [
        { label: '6个月', value: '1' },
        { label: '12个月', value: '2' },
      ],
      rules: [{ required: true, message: '请选择随访轮次', trigger: 'change' }],
      changeFun: (e)=>{
        console.log(e)
        if(e==2){
          $this.isRule = true;
          // console.log($this.isRule)
        }
      }
    },

  ]
}

