write.js 961 B

123456789101112131415161718192021222324252627
  1. import { optionTypeList, stemTypeList, scoreTypeList, questionNumberTypeList } from './common';
  2. // 数据模板
  3. export const writeData = {
  4. type: 'write', // 题型
  5. stem: '', // 题干
  6. option_number_show_mode: optionTypeList[0].value, // 选项类型
  7. description: '', // 描述
  8. article: '', // 文章
  9. sample_text: '', // 范文
  10. answer: { score: 0, score_type: scoreTypeList[0].value }, // 答案
  11. // 题型属性
  12. property: {
  13. stem_type: stemTypeList[0].value, // 题干类型
  14. question_number: '1', // 题号
  15. is_enable_description: 'false', // 描述
  16. score: 1, // 分值
  17. score_type: scoreTypeList[0].value, // 分值类型
  18. word_num: 50, // 词数
  19. is_enable_sample_text: 'true', // 范文开启
  20. is_enable_voice_answer: 'true', // 语音作答
  21. is_enable_upload_accessory: 'true', // 上传附件
  22. },
  23. // 其他属性
  24. other: {
  25. question_number_type: questionNumberTypeList[0].value, // 题号类型
  26. },
  27. };