answerQuestion.js 781 B

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