| | |
| | | for (let cindex = 0; cindex < item.infoList.length; cindex++) { |
| | | const citem = item.infoList[cindex] |
| | | console.log(citem) |
| | | |
| | | if (type == 'noshow') { |
| | | citem.isUnfold = '' |
| | | examination.isCollapse = false |
| | | } else { |
| | | citem.questionType == 'shortAnswer' || citem.questionType == 'formula' ? (citem.isUnfold = true) : (citem.isUnfold = citem.id) |
| | | // citem.questionType == 'shortAnswer' || citem.questionType == 'formula' ? (citem.isUnfold = true) : (citem.isUnfold = citem.id) |
| | | citem.isUnfold = citem.id |
| | | examination.isCollapse = true |
| | | } |
| | | } |
| | |
| | | examination.allError[1].errorList = error.find((citem:any) => citem.type == 'json').errorList |
| | | } |
| | | } catch (error) {} |
| | | if (examination.allError[0].errorList || examination.allError[1].errorList) { |
| | | if (examination.allError[0].errorList.length || examination.allError[1].errorList.length) { |
| | | examination.cardList = (await getErrorDataList()) as any |
| | | await getJsonError() |
| | | } else { |
| | |
| | | .examintaion-box { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | li:last-child { |
| | | flex: 1; |
| | | } |
| | | .examintaion-box-list { |
| | | padding-right: 10px; |
| | | height: 850px; |