answerQuestion.js 1020 B

1234567891011121314151617181920212223242526272829
  1. import { stemTypeList, questionNumberTypeList, scoreTypeList, switchOption, fontSizeList } from './common';
  2. // 口语表达数据模板
  3. export const answerQuestionData = {
  4. type: 'answer_question', // 题型
  5. stem: '', // 题干
  6. description: '', // 描述
  7. reference_answer: '', // 参考答案
  8. analysis: '', // 解析,富文本
  9. answer: {
  10. score: 1,
  11. score_type: scoreTypeList[0].value,
  12. }, // 答案
  13. // 题型属性
  14. property: {
  15. stem_type: stemTypeList[1].value, // 题干类型
  16. question_number: '1', // 题号
  17. stem_question_number_font_size: fontSizeList[6], // 题干题号
  18. is_enable_reference_answer: switchOption[0].value, // 是否开启参考答案
  19. is_enable_description: switchOption[1].value, // 描述
  20. is_enable_analysis: switchOption[1].value, // 是否开启解析
  21. score: 1, // 分值
  22. score_type: scoreTypeList[0].value, // 分值类型
  23. },
  24. // 其他属性
  25. other: {
  26. question_number_type: questionNumberTypeList[1].value, // 题号类型
  27. },
  28. };