let list = [
{
"paperQuestionGroupId": 113,
"groupName": "第一章",
"paperInfoId": 117,
"sort": 0,
"virtualBigQuestionFlag": 0,
"paperQuestionBoList": null,
"paperQuestionVoList": [
{
"paperQuestionId": 201,
"paperQuestionGroupId": 113,
"questionId": 858,
"score": 0,
"sort": 0,
"scorePoint": "",
"questionType": 8,
"paperInfoId": 117,
"examInfoId": 0,
"questionInfo": null,
"userAnswer": null,
"answerLogId": null,
"userScore": null,
"parentId": 0,
"paperQuestionVoList": [
{
"paperQuestionId": 205,
"paperQuestionGroupId": 113,
"questionId": 872,
"score": 1,
"sort": 0,
"scorePoint": "",
"questionType": 7,
"paperInfoId": 117,
"examInfoId": 0,
"questionInfo": null,
"userAnswer": null,
"answerLogId": null,
"userScore": null,
"parentId": 201,
"paperQuestionVoList": null,
"paperQuestionBoList": null,
"questionInfoV2Vo": null
}
],
"paperQuestionBoList": null,
"questionInfoV2Vo": null
},
{
"paperQuestionId": 202,
"paperQuestionGroupId": 113,
"questionId": 863,
"score": 1,
"sort": 1,
"scorePoint": "",
"questionType": 1,
"paperInfoId": 117,
"examInfoId": 0,
"questionInfo": null,
"userAnswer": null,
"answerLogId": null,
"userScore": null,
"parentId": 0,
"paperQuestionVoList": [],
"paperQuestionBoList": null,
"questionInfoV2Vo": null
},
{
"paperQuestionId": 205,
"paperQuestionGroupId": 113,
"questionId": 872,
"score": 1,
"sort": 0,
"scorePoint": "",
"questionType": 7,
"paperInfoId": 117,
"examInfoId": 0,
"questionInfo": null,
"userAnswer": null,
"answerLogId": null,
"userScore": null,
"parentId": 201,
"paperQuestionVoList": [],
"paperQuestionBoList": null,
"questionInfoV2Vo": null
}
]
},
{
"paperQuestionGroupId": 114,
"groupName": "第二章",
"paperInfoId": 117,
"sort": 1,
"virtualBigQuestionFlag": 0,
"paperQuestionBoList": null,
"paperQuestionVoList": [
{
"paperQuestionId": 203,
"paperQuestionGroupId": 114,
"questionId": 817,
"score": 1,
"sort": 0,
"scorePoint": "",
"questionType": 5,
"paperInfoId": 117,
"examInfoId": 0,
"questionInfo": null,
"userAnswer": null,
"answerLogId": null,
"userScore": null,
"parentId": 0,
"paperQuestionVoList": [],
"paperQuestionBoList": null,
"questionInfoV2Vo": null
},
{
"paperQuestionId": 204,
"paperQuestionGroupId": 114,
"questionId": 849,
"score": 1,
"sort": 1,
"scorePoint": "",
"questionType": 1,
"paperInfoId": 117,
"examInfoId": 0,
"questionInfo": null,
"userAnswer": null,
"answerLogId": null,
"userScore": null,
"parentId": 0,
"paperQuestionVoList": [],
"paperQuestionBoList": null,
"questionInfoV2Vo": null
}
]
}
]
let quest = [
{
"questionId": 817,
"examinationPointId": null,
"questionParentType": "0",
"questionType": "5",
"questionTypeName": "配伍题",
"questionCategoryId": null,
"questionCategoryId1": 53,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 57,
"difficulty": "232",
"questionTitle": "<p>热热</p>,<p>反对反对</p>,<p>发达的时代</p>",
"questionTitleNum": null,
"optionNum": 3,
"correctAnswer": "[\"A\",\"C\",\"A\"]",
"answerKey": "<p>首页banner:1029宽x366高</p><p>资源页:1029宽x366高</p><p>首页弹窗:622宽x800高</p><p>首页广告:933宽x1200高</p><p>择校广告:1029宽x444高</p><p>考试首页:1029宽x390高</p><p><br></p><p>免费资料:722(宽)X234(高)</p><p>题库闯关:327(宽)X234(高)</p><p>兑换码:501(宽)X234(高)</p><p>我的书包:501(宽)X234(高)</p><p>会员享叠加优惠:1029(宽)X174(高)</p>",
"referenceAnswer": "",
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 0,
"selectedQa": "[{\"q\":\"<p>阿松大</p>\",\"a\":\"<p>人发给对方</p>\"}]",
"remark": "",
"fromSource": "32",
"masterStar": "231",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": [
{
"questionId": 818,
"examinationPointId": null,
"questionParentType": "5",
"questionType": "0",
"questionTypeName": "",
"questionCategoryId": null,
"questionCategoryId1": 0,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 0,
"difficulty": "",
"questionTitle": "<p>热热</p>",
"questionTitleNum": null,
"optionNum": 0,
"correctAnswer": "A",
"answerKey": null,
"referenceAnswer": null,
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 817,
"selectedQa": null,
"remark": "",
"fromSource": "",
"masterStar": "",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": null,
"questionCategoryName": null,
"optionVos": [],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-01-10 17:36:21",
"answerCount": 10,
"correctCount": 2,
"examinationIds": "",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
},
{
"questionId": 819,
"examinationPointId": null,
"questionParentType": "5",
"questionType": "0",
"questionTypeName": "",
"questionCategoryId": null,
"questionCategoryId1": 0,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 0,
"difficulty": "",
"questionTitle": "<p>反对反对</p>",
"questionTitleNum": null,
"optionNum": 0,
"correctAnswer": "C",
"answerKey": null,
"referenceAnswer": null,
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 817,
"selectedQa": null,
"remark": "",
"fromSource": "",
"masterStar": "",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": null,
"questionCategoryName": null,
"optionVos": [],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-01-10 17:36:21",
"answerCount": 10,
"correctCount": 4,
"examinationIds": "",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
},
{
"questionId": 820,
"examinationPointId": null,
"questionParentType": "5",
"questionType": "0",
"questionTypeName": "",
"questionCategoryId": null,
"questionCategoryId1": 0,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 0,
"difficulty": "",
"questionTitle": "<p>发达的时代</p>",
"questionTitleNum": null,
"optionNum": 0,
"correctAnswer": "A",
"answerKey": null,
"referenceAnswer": null,
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 817,
"selectedQa": null,
"remark": "",
"fromSource": "",
"masterStar": "",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": null,
"questionCategoryName": null,
"optionVos": [],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-01-10 17:36:21",
"answerCount": 10,
"correctCount": 0,
"examinationIds": "",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
}
],
"questionCategoryName": null,
"optionVos": [
{
"questionOptionId": 2215,
"questionId": 817,
"sort": 1,
"optionName": "<p>23如果</p>",
"optionMark": "A",
"isSuccess": 0
},
{
"questionOptionId": 2216,
"questionId": 817,
"sort": 2,
"optionName": "<p>委屈</p>",
"optionMark": "B",
"isSuccess": 0
},
{
"questionOptionId": 2217,
"questionId": 817,
"sort": 3,
"optionName": "<p>分公司</p>",
"optionMark": "C",
"isSuccess": 0
}
],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-01-10 17:36:21",
"answerCount": 10,
"correctCount": 0,
"examinationIds": "347",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
},
{
"questionId": 849,
"examinationPointId": null,
"questionParentType": "0",
"questionType": "1",
"questionTypeName": "单选题",
"questionCategoryId": null,
"questionCategoryId1": 0,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 0,
"difficulty": "简单",
"questionTitle": "<p>是的是发送撒</p><p><img src=\"http://rps4.oss-cn-hangzhou.aliyuncs.com/weican/2024/01/19/c719ef55082d4c6091a49ceed0c45d0e.png\"></p>",
"questionTitleNum": null,
"optionNum": 4,
"correctAnswer": "B",
"answerKey": null,
"referenceAnswer": null,
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 0,
"selectedQa": "[{\"q\":\"\",\"a\":\"\"}]",
"remark": "",
"fromSource": "",
"masterStar": "",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": [],
"questionCategoryName": null,
"optionVos": [
{
"questionOptionId": 2266,
"questionId": 849,
"sort": 1,
"optionName": "<p>的倒是</p>",
"optionMark": "A",
"isSuccess": 0
},
{
"questionOptionId": 2267,
"questionId": 849,
"sort": 2,
"optionName": "<p>刚给人</p>",
"optionMark": "B",
"isSuccess": 1
},
{
"questionOptionId": 2268,
"questionId": 849,
"sort": 3,
"optionName": "<p>是的是</p>",
"optionMark": "C",
"isSuccess": 0
},
{
"questionOptionId": 2269,
"questionId": 849,
"sort": 4,
"optionName": "<p>是的 </p>",
"optionMark": "D",
"isSuccess": 0
}
],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-01-19 15:21:22",
"answerCount": 0,
"correctCount": 0,
"examinationIds": "",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
},
{
"questionId": 858,
"examinationPointId": null,
"questionParentType": "0",
"questionType": "8",
"questionTypeName": "综合题",
"questionCategoryId": null,
"questionCategoryId1": 53,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 64,
"difficulty": "简单",
"questionTitle": "<p>123</p>",
"questionTitleNum": null,
"optionNum": 0,
"correctAnswer": null,
"answerKey": null,
"referenceAnswer": "",
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 0,
"selectedQa": "[{\"q\":\"\",\"a\":\"\"}]",
"remark": "",
"fromSource": "外网",
"masterStar": "星",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": [
{
"questionId": 872,
"examinationPointId": null,
"questionParentType": "8",
"questionType": "7",
"questionTypeName": "问答题",
"questionCategoryId": null,
"questionCategoryId1": 0,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 0,
"difficulty": "",
"questionTitle": "<p>是的是分山的倒是师傅端的撒是</p>",
"questionTitleNum": null,
"optionNum": 0,
"correctAnswer": null,
"answerKey": null,
"referenceAnswer": "",
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 858,
"selectedQa": "[{\"q\":\"\",\"a\":\"\"}]",
"remark": "",
"fromSource": "",
"masterStar": "",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": null,
"questionCategoryName": null,
"optionVos": [],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-02-01 14:02:45",
"answerCount": 0,
"correctCount": 0,
"examinationIds": "",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
}
],
"questionCategoryName": null,
"optionVos": [],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-01-24 10:16:32",
"answerCount": 0,
"correctCount": 0,
"examinationIds": "",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
},
{
"questionId": 863,
"examinationPointId": null,
"questionParentType": "0",
"questionType": "1",
"questionTypeName": "单选题",
"questionCategoryId": null,
"questionCategoryId1": 23,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 61,
"difficulty": "简单",
"questionTitle": "<p><strong>肉毒梭菌食物中毒特征性的临床表现为( )。</strong></p>",
"questionTitleNum": null,
"optionNum": 4,
"correctAnswer": "D",
"answerKey": "<p class=\"ql-align-justify\">D正确,人卫第八版P451,肉毒梭菌食物中毒以<u style=\"color: rgb(0, 0, 255);\">运动神经麻痹</u>的症状为主,而胃肠道症状少见。潜伏期数小时至数天,一般为12~48 小时,短者6小时,长者8-10天,潜伏期越短,病死率越高。临床特征表现为对称性脑神经受损的症状。早期表现为头痛、头晕乏力、走路不稳,以后逐渐出现视力模糊、眼睑下垂、瞳孔散大等神经麻痹症状。</p><p class=\"ql-align-justify\">\tA、B、C、E选项,说法错误,肉毒梭菌食物中毒以<u style=\"color: rgb(0, 0, 255);\">运动神经麻痹</u>的症状为主,而胃肠道症状少见,因此呕吐、水样便、腹痛等症状不明显。</p><p><br></p>",
"referenceAnswer": "",
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 0,
"selectedQa": "[{\"q\":\"\",\"a\":\"\"}]",
"remark": "",
"fromSource": "外网",
"masterStar": "★★",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": [],
"questionCategoryName": null,
"optionVos": [
{
"questionOptionId": 2306,
"questionId": 863,
"sort": 1,
"optionName": "<p>剧烈呕吐 </p>",
"optionMark": "A",
"isSuccess": 0
},
{
"questionOptionId": 2307,
"questionId": 863,
"sort": 2,
"optionName": "<p>黄绿色水样便 </p>",
"optionMark": "B",
"isSuccess": 0
},
{
"questionOptionId": 2308,
"questionId": 863,
"sort": 3,
"optionName": "<p>紫绀</p>",
"optionMark": "C",
"isSuccess": 0
},
{
"questionOptionId": 2309,
"questionId": 863,
"sort": 4,
"optionName": "<p>运动神经麻痹症状 </p>",
"optionMark": "D",
"isSuccess": 1
}
],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-01-31 16:05:10",
"answerCount": 0,
"correctCount": 0,
"examinationIds": "",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
},
{
"questionId": 872,
"examinationPointId": null,
"questionParentType": "8",
"questionType": "7",
"questionTypeName": "问答题",
"questionCategoryId": null,
"questionCategoryId1": 0,
"questionCategoryId2": 0,
"questionCategoryId3": 0,
"questionCategoryId4": 0,
"questionCategoryId5": 0,
"questionCategoryId6": 0,
"questionCategoryId7": 0,
"questionCategoryId8": 0,
"subjectTagId": 0,
"difficulty": "",
"questionTitle": "<p>是的是分山的倒是师傅端的撒是</p>",
"questionTitleNum": null,
"optionNum": 0,
"correctAnswer": null,
"answerKey": null,
"referenceAnswer": "",
"score": null,
"audio": "",
"video": "",
"randomMateAnswer": 1,
"errorRate": null,
"questionParentId": 858,
"selectedQa": "[{\"q\":\"\",\"a\":\"\"}]",
"remark": "",
"fromSource": "",
"masterStar": "",
"questionLibSelectFlag": false,
"subjectTagName": null,
"examinations": null,
"examinationName": null,
"questionLibNum": null,
"questionLibName": null,
"children": [],
"questionCategoryName": null,
"optionVos": [],
"optionBos": null,
"chapterName1": null,
"chapterId1": null,
"chapterId": null,
"chapterName": null,
"chapterName2": null,
"chapterId2": null,
"chapterName3": null,
"chapterId3": null,
"alias": null,
"sort": null,
"relaQuestionLibId": null,
"questionLibId": null,
"nextChapterId": null,
"nextNodeId": null,
"hasNote": false,
"collectStatus": 2,
"questionFlag": 2,
"pwCount": [],
"allNum": null,
"myNum": null,
"successNum": null,
"errorNum": null,
"myAccuracy": null,
"allAccuracy": null,
"allSuccessNum": null,
"createTime": "2024-02-01 14:02:45",
"answerCount": 0,
"correctCount": 0,
"examinationIds": "",
"wrongReasion": null,
"optionContent": null,
"repeatQustionIds": null,
"previewId": null,
"optionList": null,
"wrong": false
}
]
// 配伍5 综合8
// list大题 quest题目
function bigList(list, quest) {
// 遍历大题
list.forEach(el => {
// 过滤中题
let arr = el.paperQuestionVoList.filter(f => f.parentId == 0)
// 遍历中题
let questionList = questionShift(arr);
el.paperQuestionBoList = questionList
})
console.log('最终大题',list)
}
bigList(list, quest)
function questionShift(arr) {
// 遍历小题
return arr.map(a => {
// 非综合题
if (a.questionType != 8) {
// 过滤题目
let curr = quest.find(f => f.questionId == a.questionId)
// 题目设置
return {
...curr,
...a
}
} else {
// 综合题
let zonghe = questionShift(a.paperQuestionVoList);
return {
...a,
children: zonghe
}
}
})
}
console