选择题统计格式
{ "id": "q1", "title": "标题1", "type": "EXAM_SINGLE_CHOICE_QUESTION", "allowNull": "Y", "showSeq": "Y", "optionSeq": "Y", "optionSeqFormat": "UPPERCASE_LETTER", "totalScore": 10.00, "difficulty": "COMMON", "calculation": "ONLY_ONE", "questionResolution": "题目的解析", "opRandom": "N", "validFillIn": 20, "answerStr": "q1", "correctRate": 0.5000, "averageScore": 5.00, "optionStatistics": [ { "id": "q1_o1", "title": "选项1", "pic": "", "isCorrect": "Y", "score": 10.00, "count": 10, "rate": 50.00 }, { "id": "q1_o2", "title": "选项2", "pic": "", "isCorrect": "N", "score": 0.00, "count": 10, "rate": 50.00 } ]}
格式说明
| 参数名称 |
参数说明 |
数据类型 |
| 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 |
填空题和简答题统计格式
{ "id": "q1", "title": "标题1", "allowNull": "Y", "type": "EXAM_SINGLE_FILL_IN_BLANK_QUESTION", "showSeq": "Y", "totalScore": 10.00, "difficulty": "COMMON", "questionResolution": "解析", "calculation": "ALL_CORRECT", "answerMatch": "EQ", "correctRate": 0.5000, "averageScore": 5.00, "optionStatistics": [ { "id": "q1_o1", "correctRate": 0.5000, "hasDetail": "Y" } ]}
| 参数名称 |
参数说明 |
数据类型 |
| 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 |
问卷统计格式
选择题统计格式
{ "id": "q1", "title": "标题1", "type": "EXAM_SINGLE_CHOICE_QUESTION", "allowNull": "Y", "showSeq": "Y", "optionSeq": "Y", "optionSeqFormat": "UPPERCASE_LETTER", "opRandom": "N", "validFillIn": 20, "optionStatistics": [ { "id": "q1_o1", "title": "选项1", "count": 10, "rate": 50.00 }, { "id": "q1_o2", "title": "选项2", "count": 10, "rate": 50.00 } ]}
格式说明
| 参数名称 |
参数说明 |
数据类型 |
| 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 |
填空题和简答题统计格式(只展现题目和详情按钮)
{ "id": "q1", "title": "标题1", "allowNull": "Y", "type": "EXAM_SINGLE_FILL_IN_BLANK_QUESTION", "showSeq": "Y", "optionStatistics": [ { "id": "q1_o1", "title": "isn't amazing?", "hasDetail": "Y" } ]}
| 参数名称 |
参数说明 |
数据类型 |
| 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量表题的统计
{ "id": "q1", "title": "fake_data", "type": "QUESTIONNAIRE_SCORE_QUESTION", "allowNull": "N", "showSeq": "Y", "optionStatistics": [ { "id": "q1_o1", "level": 2, "lowerScoreDesc": "低", "highScoreDesc": "高", "icon": "fake_data", "iconColor": "#CCC", "iconBgColor": "#DDD", "levelStatistics": [ { "level": 1, "count": 10, "rate": 0.5000 }, { "level": 2, "count": 10, "rate": 0.5000 } ] } ]}
| 参数名称 |
参数说明 |
数据类型 |
| 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 |
评分单选多选题统计
和考试的选择题统计基本一致
评分矩阵题
{ "id": "q1", "title": "评分矩阵题?", "type": "QUESTIONNAIRE_MATRIX_SCORE_QUESTION", "allowNull": "Y", "showSeq": "Y", "level": 10, "optionSeq": "Y", "optionSeqFormat": "UPPERCASE_LETTER", "levelSettingList": [ { "name": "简单", "score": 10 } // ... ], "icon": "STAR", "iconColor": "#CCC", "iconBgColor": "#DDD", "averageLevel": 5.00, "averageScore": 5.00, "optionStatistics": [ { "id": "q1_o1", "title": "项目工作", "averageLevel": 5.00, "averageScore": 5.00, "levelStatistics": [ { "name": "简单", "score": "", "count": 10, "rate": 0.5000 }, { "name": "容易", "score": "", "count": 10, "rate": 0.5000 } ] } ]}
| 参数名称 |
参数说明 |
数据类型 |
| 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的列展示