dialogue.js 940 B

1234567891011121314151617181920212223242526
  1. import { stemTypeList, questionNumberTypeList, scoreTypeList, switchOption } from './common';
  2. // 对话题数据模板
  3. export const dialogueData = {
  4. type: 'dialogue', // 题型
  5. stem: '', // 题干
  6. reference_answer: '', // 参考答案
  7. description: '', // 描述
  8. dialogue: '', // 对话内容,用于编辑显示
  9. option_list: [], // 选项
  10. answer: { score: 0, score_type: scoreTypeList[0].value }, // 答案
  11. // 题型属性
  12. property: {
  13. stem_type: stemTypeList[0].value, // 题干类型
  14. question_number: '1', // 题号
  15. score: 1, // 分值
  16. is_enable_description: switchOption[0].value, // 描述
  17. is_enable_voice_answer: switchOption[0].value, // 语音作答
  18. is_enable_reference_answer: switchOption[0].value, // 参考答案
  19. score_type: scoreTypeList[0].value, // 分值类型
  20. },
  21. // 其他属性
  22. other: {
  23. question_number_type: questionNumberTypeList[0].value, // 题号类型
  24. },
  25. };