text: /*
   * @Author: zhangkai
   * @Date: 2021-07-17 09:57:43
   * @Description: 新建测评表单配置
   */
  
  class CreateAppraisalFormList {
    formList = [
      {
        width: '60%',
        type: 'input',
        label: '测评名称',
        key: 'name',
        max: 20,
        rule: 'commonInput',
        props: {
          placeholder: '不超过20个字'
        }
      },
      {
        width: '60%',
        type: 'input',
        label: 'C端显示名称',
        key: 'show_name',
        max: 15,
        props: {
          maxLength: 10,
          placeholder: '不超过15个字'
        }
      },
      {
        width: '60%',
        type: 'select',
        label: '关联项目',
        key: 'projectIds',
        apiOption: 'getEvaluationLabelAPI',
        apiParams: {
          all: 1
        },
        rule: 'commonSelect',
        props: {
          mode: 'multiple',
          hasAll: true,
          maxTagCount: 3
        }
      },
      {
        width: '60%',
        type: 'select',
        label: '测试科目',
        key: 'kind',
        dicOption: 'question_kind',
        rule: 'commonSelect',
        props: {
          disabled: true
        }
      },
      {
        width: '60%',
        type: 'input',
        subType: 'textarea',
        label: '测评前提示',
        key: 'tips',
        max: 200,
        rule: 'commonInput',
        props: {
          placeholder: '不超过200个字'
        }
      },
      {
        width: '60%',
        type: 'input',
        subType: 'number',
        label: '排序',
        key: 'sort'
      },
      {
        width: '60%',
        type: 'default',
        label: '课程咨询图片',
        key: 'consult_img_url'
      },
      {
        width: '60%',
        type: 'default',
        label: '组卷设置',
        key: 'paperSetting'
      },
      {
        width: '60%',
        type: 'default',
        label: '模块推荐内容',
        key: 'moduleRecommend'
      },
      {
        width: '60%',
        type: 'default',
        label: '底部推荐内容',
        key: 'bottomRecommend'
      }
    ]
  
    getFormList() {
      return this.formList
    }
  }
  
  export default CreateAppraisalFormList
  