选择题统计格式

  1. {
  2. "id": "q1",
  3. "title": "标题1",
  4. "type": "EXAM_SINGLE_CHOICE_QUESTION",
  5. "allowNull": "Y",
  6. "showSeq": "Y",
  7. "optionSeq": "Y",
  8. "optionSeqFormat": "UPPERCASE_LETTER",
  9. "totalScore": 10.00,
  10. "difficulty": "COMMON",
  11. "calculation": "ONLY_ONE",
  12. "questionResolution": "题目的解析",
  13. "opRandom": "N",
  14. "validFillIn": 20,
  15. "answerStr": "q1",
  16. "correctRate": 0.5000,
  17. "averageScore": 5.00,
  18. "optionStatistics": [
  19. {
  20. "id": "q1_o1",
  21. "title": "选项1",
  22. "pic": "",
  23. "isCorrect": "Y",
  24. "score": 10.00,
  25. "count": 10,
  26. "rate": 50.00
  27. },
  28. {
  29. "id": "q1_o2",
  30. "title": "选项2",
  31. "pic": "",
  32. "isCorrect": "N",
  33. "score": 0.00,
  34. "count": 10,
  35. "rate": 50.00
  36. }
  37. ]
  38. }

格式说明

参数名称 参数说明 数据类型
id 题目Id string
title 题目标题 string
type 题目类型 string
allowNull 是否允许不填,{Y: 可以不写, N: 必须写} string
showSeq 是否展示题目的序号(作用不大),{Y: 展示, N: 不展示} string
optionSeq 是否展示答项序号{Y: 展示, N: 不展示} string
optionSeqFormat 答项的序号格式化方式,{UPPERCASE_LETTER: 大写字母, LOWERCASE_LETTER: 小写字母, NUMBER: 数字} string
totalScore 题目总分,单选题和正确答案的答项分数一致 number
difficulty 难度 string
calculation 题目的计分方式,{ONLY_ONE: 只有一个正确答案, SELECT: 每个答项都有分,根据答项来确定得分} string
questionResolution 题目解析 string
opRandom 答项是否随机排列,{Y: 随机排列, N: 不随机排列} string
validFillIn 有效填写次数 integer
answerStr 答案文本 number
correctRate 正确率(保留四位小数) number
averageScore 平均分(保留两位小数) number
optionStatistics 选项统计列表 array
 id 选项Id string
 title 选项标题 string
 pic 图片 string
 isCorrect 是否正确{Y: 正确, N: 不正确} string
 score 选项的分数 number
 count 选择的数量 integer
 rate 选择的比率(保留四位小数) number

填空题和简答题统计格式

  1. {
  2. "id": "q1",
  3. "title": "标题1",
  4. "allowNull": "Y",
  5. "type": "EXAM_SINGLE_FILL_IN_BLANK_QUESTION",
  6. "showSeq": "Y",
  7. "totalScore": 10.00,
  8. "difficulty": "COMMON",
  9. "questionResolution": "解析",
  10. "calculation": "ALL_CORRECT",
  11. "answerMatch": "EQ",
  12. "correctRate": 0.5000,
  13. "averageScore": 5.00,
  14. "optionStatistics": [
  15. {
  16. "id": "q1_o1",
  17. "correctRate": 0.5000,
  18. "hasDetail": "Y"
  19. }
  20. ]
  21. }
参数名称 参数说明 数据类型
id 题目Id string
title 题目标题 string
type 题目类型 string
allowNull 是否允许不填{Y: 可以不写, N: 必须写} string
showSeq 是否展示题目的序号{Y: 展示, N: 不展示} string
totalScore 题目总分 number
difficulty 难度 string
questionResolution 题目解析 string
calculation 题目的计分方式{ALL_CORRECT: 全部答对得分, CUSTOM: 人工评分 } string
answerMatch 答案的匹配方式{EQ: 完全匹配, IN: 存在匹配 } string
correctRate 正确率(保留四位小数) number
averageScore 平均分(保留两位小数) number
optionStatistics 答项列表 array
 id 答项Id,第一个答项为题目的Id加上_o1,第二题为题目id加上_o2,依次类推 string
 correctRate 正确率 number
 hasDetail 是否有详情{Y: 有, N:没有} string

问卷统计格式

选择题统计格式

  1. {
  2. "id": "q1",
  3. "title": "标题1",
  4. "type": "EXAM_SINGLE_CHOICE_QUESTION",
  5. "allowNull": "Y",
  6. "showSeq": "Y",
  7. "optionSeq": "Y",
  8. "optionSeqFormat": "UPPERCASE_LETTER",
  9. "opRandom": "N",
  10. "validFillIn": 20,
  11. "optionStatistics": [
  12. {
  13. "id": "q1_o1",
  14. "title": "选项1",
  15. "count": 10,
  16. "rate": 50.00
  17. },
  18. {
  19. "id": "q1_o2",
  20. "title": "选项2",
  21. "count": 10,
  22. "rate": 50.00
  23. }
  24. ]
  25. }

格式说明

参数名称 参数说明 数据类型
id 题目Id string
title 题目标题 string
type 题目类型 string
allowNull 是否允许不填,{Y: 可以不写, N: 必须写} string
showSeq 是否展示题目的序号(作用不大),{Y: 展示, N: 不展示} string
optionSeq 是否展示答项序号{Y: 展示, N: 不展示} string
optionSeqFormat 答项的序号格式化方式,{UPPERCASE_LETTER: 大写字母, LOWERCASE_LETTER: 小写字母, NUMBER: 数字} string
totalScore 题目总分,单选题和正确答案的答项分数一致 number
opRandom 答项是否随机排列,{Y: 随机排列, N: 不随机排列} string
validFillIn 有效填写次数 integer
optionStatistics 选项统计列表 array
 id 选项Id string
 title 选项标题 string
 count 选择的数量 integer
 rate 选择的比率(保留四位小数) number

填空题和简答题统计格式(只展现题目和详情按钮)

  1. {
  2. "id": "q1",
  3. "title": "标题1",
  4. "allowNull": "Y",
  5. "type": "EXAM_SINGLE_FILL_IN_BLANK_QUESTION",
  6. "showSeq": "Y",
  7. "optionStatistics": [
  8. {
  9. "id": "q1_o1",
  10. "title": "isn't amazing?",
  11. "hasDetail": "Y"
  12. }
  13. ]
  14. }
参数名称 参数说明 数据类型
id 题目Id string
title 题目标题 string
type 题目类型 string
allowNull 是否允许不填{Y: 可以不写, N: 必须写} string
showSeq 是否展示题目的序号{Y: 展示, N: 不展示} string
blankStatistics 答项列表 array
 id 答项Id,第一个答项为题目的Id加上_o1,第二题为题目id加上__o2,依次类推 string
 title 答项标题 string
 hasDetail 是否展示详情 string

评分、评分、NPS量表题的统计

  1. {
  2. "id": "q1",
  3. "title": "fake_data",
  4. "type": "QUESTIONNAIRE_SCORE_QUESTION",
  5. "allowNull": "N",
  6. "showSeq": "Y",
  7. "optionStatistics": [
  8. {
  9. "id": "q1_o1",
  10. "level": 2,
  11. "lowerScoreDesc": "低",
  12. "highScoreDesc": "高",
  13. "icon": "fake_data",
  14. "iconColor": "#CCC",
  15. "iconBgColor": "#DDD",
  16. "levelStatistics": [
  17. {
  18. "level": 1,
  19. "count": 10,
  20. "rate": 0.5000
  21. },
  22. {
  23. "level": 2,
  24. "count": 10,
  25. "rate": 0.5000
  26. }
  27. ]
  28. }
  29. ]
  30. }
参数名称 参数说明 数据类型
id 题目Id string
title 题目标题 string
type 题目类型 string
allowNull 是否允许不填{Y: 可以不写, N: 必须写} string
showSeq 是否展示题目的序号{Y: 展示, N: 不展示} string
optionStatistics 答项统计列表 array
 id 答项Id,第一个答项为题目的Id加上_o1,第二题为题目id加上__o2,依次类推 string
 level 评分级数 integer
 lowerScoreDesc 低分描述 string
 highScoreDesc 高分描述 string
 icon 图标样式 string
 iconColor 图标颜色 string
 iconBgColor 图标背景颜色 string
 levelStatistics 是否展示详情 array
  level 级别 string
  count 数量 string
  rate 比率 string

评分单选多选题统计

和考试的选择题统计基本一致

评分矩阵题

  1. {
  2. "id": "q1",
  3. "title": "评分矩阵题?",
  4. "type": "QUESTIONNAIRE_MATRIX_SCORE_QUESTION",
  5. "allowNull": "Y",
  6. "showSeq": "Y",
  7. "level": 10,
  8. "optionSeq": "Y",
  9. "optionSeqFormat": "UPPERCASE_LETTER",
  10. "levelSettingList": [
  11. {
  12. "name": "简单",
  13. "score": 10
  14. }
  15. // ...
  16. ],
  17. "icon": "STAR",
  18. "iconColor": "#CCC",
  19. "iconBgColor": "#DDD",
  20. "averageLevel": 5.00,
  21. "averageScore": 5.00,
  22. "optionStatistics": [
  23. {
  24. "id": "q1_o1",
  25. "title": "项目工作",
  26. "averageLevel": 5.00,
  27. "averageScore": 5.00,
  28. "levelStatistics": [
  29. {
  30. "name": "简单",
  31. "score": "",
  32. "count": 10,
  33. "rate": 0.5000
  34. },
  35. {
  36. "name": "容易",
  37. "score": "",
  38. "count": 10,
  39. "rate": 0.5000
  40. }
  41. ]
  42. }
  43. ]
  44. }
参数名称 参数说明 数据类型
id 题目Id string
title 题目标题 string
type 题目类型 string
allowNull 是否允许不填{Y: 可以不写, N: 必须写} string
showSeq 是否展示题目的序号{Y: 展示, N: 不展示} string
level 评分级数 integer
optionSeq 是否展示答项序号 string
optionSeqFormat 答项的序号格式化方式 string
levelSettingList 评分级数的描述配置 true
 name 等级名称 string
 score 等级分数 string
icon 图标样式 string
iconColor 图标颜色 string
iconBgColor 图标背景颜色 string
averageLevel 此题平均等级 number
averageScore 此题平均分 number
optionStatistics 答项统计列表 array
 id 答项Id,第一个答项为题目的Id加上_o1,第二题为题目id加上__o2,依次类推 string
 title 维度标题 string
 levelStatistics 等级统计 array
  name 等级名称 string
  score 等级分数 number
  count 数量 number
  rate 比率 string
 averageLevel 此维度平均等级 number
 averageScore 此维度平均分 number

投票题统计格式

和问卷的选择题基本一致

性格测试统计格式

和问卷选择题基本一致,选项多了一个DISC的列展示