export default {
  id: 'honor',
  title: '荣誉奖励',
  showProgress: true,
  progress: 0,
  get: {
    action: '/zws/v1/enrollment/profiles?project_id=1001',
    callback(data) {
      data.date_of_starting_to_work = data.date_of_starting_to_work + ''
      return data
    }
  },
  update: {
    action: '/zws/v1/enrollment/profiles',
    data: { project_id: 1001 },
    callback(data) {
      return data
    }
  },
  form: {
    options: {
      labelWidth: '180px'
    },
    items: [
      {
        type: 'input-form',
        label: '荣誉/奖励',
        model: 'school_name_cn',
        rules: [{ required: true, message: '请输入荣誉/奖励', trigger: 'blur' }]
      },
      {
        type: 'input-form',
        label: '证书颁发机构及获得时间',
        model: 'school_country',
        rules: [
          {
            required: true,
            message: '请输入证书颁发机构及获得时间',
            trigger: 'blur'
          }
        ]
      }
    ]
  }
}
