|
|
|
|
@ -3498,7 +3498,7 @@ var Export = function Export(_ref) {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
var renderQuestion = function renderQuestion(item, i) {
|
|
|
|
|
var _item$question_choice, _item$question_choice2, _item$question_choice3, _changeScoreData$item, _item$user_answer4, _item$user_answer_lig, _item$user_answer5, _item$sub_exercise_qu, _item$program_attr, _item$standard_answer, _item$standard_answer2, _item$standard_answer3, _item$standard_answer4;
|
|
|
|
|
var _item$question_choice, _item$question_choice2, _item$question_choice3, _changeScoreData$item, _item$user_answer4, _item$user_answer_lig, _item$user_answer5, _item$sub_exercise_qu, _item$program_attr, _item$standard_answer, _item$standard_answer2, _item$standard_answer3, _item$standard_answer4, _item$standard_answer5, _item$standard_answer6;
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
@ -3725,6 +3725,20 @@ var Export = function Export(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
}), !!(item !== null && item !== void 0 && (_item$standard_answer3 = item.standard_answer) !== null && _item$standard_answer3 !== void 0 && _item$standard_answer3.length) && isshowanswer && (item === null || item === void 0 ? void 0 : item.question_type) === 8 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", {
|
|
|
|
|
children: item === null || item === void 0 ? void 0 : (_item$standard_answer4 = item.standard_answer) === null || _item$standard_answer4 === void 0 ? void 0 : _item$standard_answer4.map(function (answer, index) {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("span", {
|
|
|
|
|
children: ["\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A", index + 1, "\uFF09:"]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(TextArea, {
|
|
|
|
|
autoSize: true,
|
|
|
|
|
disabled: true,
|
|
|
|
|
value: (answer === null || answer === void 0 ? void 0 : answer.answer_text) || ''
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.standard_answer) && (item === null || item === void 0 ? void 0 : item.question_type) === 4 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)("p", {
|
|
|
|
|
className: "mt10 mb0",
|
|
|
|
|
@ -3737,7 +3751,7 @@ var Export = function Export(_ref) {
|
|
|
|
|
padding: 5
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, {
|
|
|
|
|
value: item === null || item === void 0 ? void 0 : (_item$standard_answer3 = item.standard_answer) === null || _item$standard_answer3 === void 0 ? void 0 : _item$standard_answer3[0]
|
|
|
|
|
value: item === null || item === void 0 ? void 0 : (_item$standard_answer5 = item.standard_answer) === null || _item$standard_answer5 === void 0 ? void 0 : _item$standard_answer5[0]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.answer_text) && (item === null || item === void 0 ? void 0 : item.question_type) === 6 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)("div", {
|
|
|
|
|
@ -3755,7 +3769,7 @@ var Export = function Export(_ref) {
|
|
|
|
|
value: item === null || item === void 0 ? void 0 : item.answer_text
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.question_type) <= 4 && ((item === null || item === void 0 ? void 0 : item.standard_answer_show) || (item === null || item === void 0 ? void 0 : (_item$standard_answer4 = item.standard_answer) === null || _item$standard_answer4 === void 0 ? void 0 : _item$standard_answer4.length) > 0) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z, {
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.question_type) <= 4 && ((item === null || item === void 0 ? void 0 : item.standard_answer_show) || (item === null || item === void 0 ? void 0 : (_item$standard_answer6 = item.standard_answer) === null || _item$standard_answer6 === void 0 ? void 0 : _item$standard_answer6.length) > 0) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_22__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z, {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: 14
|
|
|
|
|
},
|
|
|
|
|
|