import { checkRange, checkIsInteger, checkNumberIsToFixed } from '@/utils/followup/followupUtils/checkField';

export default ($this) => {
  return [
    {
      formType: 'date-picker',
      className: 'float-none',
      prop: 'nextFollowDay',
      model: 'nextFollowDay',
      placeholder: '请选择',
      label: '下次随访日期：',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      dateType: 'date',
      type: 'date',
      rules: [{required: true, message: '请选择下次随访日期', trigger: ['submit','change']}],
      spanNum: 12,
    },
    {
      formType: 'input',
      className: 'float-none',
      prop: 'doctorSignature',
      model: 'doctorSignature',
      label: '随访医生签名：',
      disabled: false,
      placeholder: '请输入随访人员姓名',
      spanNum: 12,
      maxlength: 30,
      type: 'text',
      labmsg: '次',
      rules: [{required: true, message: '请输入随访医生签名', trigger: ['submit','change']}],
    },
  ]
}
