dialogue.js 846 B

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