|
|
|
|
@ -194,26 +194,26 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
|
|
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 59301);
|
|
|
|
|
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! umi */ 38670);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! antd */ 1056);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! antd */ 43418);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! antd */ 95237);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! antd */ 43604);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! antd */ 5112);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! antd */ 24905);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! antd */ 28103);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! antd */ 66104);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! antd */ 38854);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! antd */ 3113);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! antd */ 8591);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! antd */ 41867);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! antd */ 1056);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! antd */ 43418);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! antd */ 95237);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! antd */ 43604);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! antd */ 5112);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! antd */ 24905);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! antd */ 28103);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! antd */ 66104);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! antd */ 38854);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! antd */ 3113);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! antd */ 8591);
|
|
|
|
|
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! antd */ 41867);
|
|
|
|
|
/* harmony import */ var _utils_env__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @/utils/env */ 67871);
|
|
|
|
|
/* harmony import */ var jszip__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! jszip */ 86129);
|
|
|
|
|
/* harmony import */ var jszip__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(jszip__WEBPACK_IMPORTED_MODULE_9__);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @ant-design/icons */ 68742);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @ant-design/icons */ 66549);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @ant-design/icons */ 70740);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @ant-design/icons */ 28720);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @ant-design/icons */ 15470);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @ant-design/icons */ 68742);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @ant-design/icons */ 66549);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! @ant-design/icons */ 70740);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! @ant-design/icons */ 28720);
|
|
|
|
|
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! @ant-design/icons */ 15470);
|
|
|
|
|
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./index.less?modules */ 50743);
|
|
|
|
|
/* harmony import */ var _components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/components/RenderHtml */ 80416);
|
|
|
|
|
/* harmony import */ var _utils_util__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @/utils/util */ 85578);
|
|
|
|
|
@ -229,7 +229,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
|
|
/* harmony import */ var _utils_enum__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @/utils/enum */ 42939);
|
|
|
|
|
/* harmony import */ var _pages_Classrooms_Lists_Exercise_Review_component_AnswerComments__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @/pages/Classrooms/Lists/Exercise/Review/component/AnswerComments */ 47600);
|
|
|
|
|
/* harmony import */ var _utils_export__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @/utils/export */ 214);
|
|
|
|
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
|
|
|
|
|
/* harmony import */ var js_base64__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! js-base64 */ 24334);
|
|
|
|
|
/* harmony import */ var js_base64__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(js_base64__WEBPACK_IMPORTED_MODULE_23__);
|
|
|
|
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -257,10 +259,11 @@ var _excluded = ["exercise", "globalSetting", "loading", "user", "dispatch"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var PageCount = 30;
|
|
|
|
|
var TextArea = antd__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Z.TextArea;
|
|
|
|
|
var TextArea = antd__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z.TextArea;
|
|
|
|
|
// const questionType = ['单选题', '多选题', '判断题', '填空题', '简答题', '实训题', '编程题'];
|
|
|
|
|
var questionType = {
|
|
|
|
|
"0": "单选题",
|
|
|
|
|
@ -582,8 +585,8 @@ var Export = function Export(_ref) {
|
|
|
|
|
case 9:
|
|
|
|
|
zip.file("".concat(resUser !== null && resUser !== void 0 && resUser.student_id ? "".concat(resUser === null || resUser === void 0 ? void 0 : resUser.student_id, "+") : '').concat(resUser === null || resUser === void 0 ? void 0 : resUser.user, ".pdf"), worker.output("blob"));
|
|
|
|
|
modal.update({
|
|
|
|
|
content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
className: "c-blue",
|
|
|
|
|
children: nums + 1
|
|
|
|
|
}), "/", allStudents === null || allStudents === void 0 ? void 0 : allStudents.length]
|
|
|
|
|
@ -622,16 +625,16 @@ var Export = function Export(_ref) {
|
|
|
|
|
setAutoHeight(true);
|
|
|
|
|
nums = 0;
|
|
|
|
|
if (type !== 'all') setIsLoading(true);
|
|
|
|
|
modal = antd__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z.info({
|
|
|
|
|
modal = antd__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z.info({
|
|
|
|
|
width: 460,
|
|
|
|
|
title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: ["\u6B63\u5728\u5BFC\u51FA\u8BD5\u5377,", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: ["\u6B63\u5728\u5BFC\u51FA\u8BD5\u5377,", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
className: "c-red",
|
|
|
|
|
children: "\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3"
|
|
|
|
|
})]
|
|
|
|
|
}),
|
|
|
|
|
content: type === 'all' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
content: type === 'all' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
className: "c-blue",
|
|
|
|
|
children: nums + 1
|
|
|
|
|
}), "/", allStudents === null || allStudents === void 0 ? void 0 : allStudents.length]
|
|
|
|
|
@ -822,8 +825,8 @@ var Export = function Export(_ref) {
|
|
|
|
|
});
|
|
|
|
|
case 4:
|
|
|
|
|
modal.update({
|
|
|
|
|
content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
className: "c-blue",
|
|
|
|
|
children: nums + 1
|
|
|
|
|
}), "/", allStudents === null || allStudents === void 0 ? void 0 : allStudents.length]
|
|
|
|
|
@ -858,16 +861,16 @@ var Export = function Export(_ref) {
|
|
|
|
|
setAutoHeight(true);
|
|
|
|
|
nums = 0;
|
|
|
|
|
if (type !== 'all') setIsLoading(true);
|
|
|
|
|
modal = antd__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z.info({
|
|
|
|
|
modal = antd__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z.info({
|
|
|
|
|
width: 460,
|
|
|
|
|
title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: ["\u6B63\u5728\u5BFC\u51FA\u8BD5\u5377,", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
title: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: ["\u6B63\u5728\u5BFC\u51FA\u8BD5\u5377,", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
className: "c-red",
|
|
|
|
|
children: "\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3"
|
|
|
|
|
})]
|
|
|
|
|
}),
|
|
|
|
|
content: type === 'all' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
content: type === 'all' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: ["\u5F53\u524D\u8FDB\u5EA6: ", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
className: "c-blue",
|
|
|
|
|
children: nums + 1
|
|
|
|
|
}), "/", allStudents === null || allStudents === void 0 ? void 0 : allStudents.length]
|
|
|
|
|
@ -913,60 +916,64 @@ var Export = function Export(_ref) {
|
|
|
|
|
};
|
|
|
|
|
var renderQuestion = function renderQuestion(item, i, isInCombination) {
|
|
|
|
|
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$user_answer6, _item$user_answer7, _item$standard_answer, _item$standard_answer2, _item$standard_answer3, _item$standard_answer4, _item$answer_texts, _item$answer_texts2, _item$standard_answer5;
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, {
|
|
|
|
|
children: [!isInCombination && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.Fragment, {
|
|
|
|
|
children: [!isInCombination && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex'
|
|
|
|
|
},
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.programTitle,
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
flexShrink: 0
|
|
|
|
|
},
|
|
|
|
|
className: "font18",
|
|
|
|
|
children: [i, "."]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
value: (item === null || item === void 0 ? void 0 : item.question_type) === 8 ? item === null || item === void 0 ? void 0 : item.description : item.question_title
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
flexShrink: 0
|
|
|
|
|
},
|
|
|
|
|
className: "font16",
|
|
|
|
|
children: ["\uFF08", (item === null || item === void 0 ? void 0 : item.question_type) === 7 ? "\u5171".concat(item === null || item === void 0 ? void 0 : item.sub_q_count, "\u5C0F\u9898") : '', " ", item.question_score, "\u5206\uFF09"]
|
|
|
|
|
})]
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.question_type) === 8 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
showProgramFill: true,
|
|
|
|
|
disabledFill: true,
|
|
|
|
|
value: js_base64__WEBPACK_IMPORTED_MODULE_23__.Base64.decode((item === null || item === void 0 ? void 0 : item.code) || '')
|
|
|
|
|
}),
|
|
|
|
|
// 单选题
|
|
|
|
|
item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Single && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, {
|
|
|
|
|
item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Single && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.Fragment, {
|
|
|
|
|
children: (_item$question_choice = item.question_choices) === null || _item$question_choice === void 0 ? void 0 : _item$question_choice.map(function (val, key) {
|
|
|
|
|
var _item$user_answer;
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
flex: "25px",
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
width: 25,
|
|
|
|
|
overflow: "hidden"
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .ZP, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .ZP, {
|
|
|
|
|
checked: (_item$user_answer = item.user_answer) === null || _item$user_answer === void 0 ? void 0 : _item$user_answer.includes(val.choice_id),
|
|
|
|
|
style: {
|
|
|
|
|
width: 25
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
flex: "1",
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: "flex"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
lineHeight: '24px',
|
|
|
|
|
flexShrink: 0
|
|
|
|
|
},
|
|
|
|
|
children: tagDotList[key]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
value: val.choice_text || ""
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
@ -975,37 +982,37 @@ var Export = function Export(_ref) {
|
|
|
|
|
})
|
|
|
|
|
}),
|
|
|
|
|
// 多选题
|
|
|
|
|
item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Multiple && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, {
|
|
|
|
|
item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Multiple && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.Fragment, {
|
|
|
|
|
children: (_item$question_choice2 = item.question_choices) === null || _item$question_choice2 === void 0 ? void 0 : _item$question_choice2.map(function (val, key) {
|
|
|
|
|
var _item$user_answer2;
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
flex: "25px",
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
width: 25,
|
|
|
|
|
overflow: "hidden"
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .Z, {
|
|
|
|
|
checked: (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2.includes(val.choice_id),
|
|
|
|
|
style: {
|
|
|
|
|
width: 25
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
flex: "1",
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: "flex"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
lineHeight: '24px',
|
|
|
|
|
flexShrink: 0
|
|
|
|
|
},
|
|
|
|
|
children: tagDotList[key]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
value: val.choice_text || ""
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
@ -1017,26 +1024,26 @@ var Export = function Export(_ref) {
|
|
|
|
|
})
|
|
|
|
|
}),
|
|
|
|
|
// 判断题
|
|
|
|
|
item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Judge && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Judge && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.flexRow,
|
|
|
|
|
children: (_item$question_choice3 = item.question_choices) === null || _item$question_choice3 === void 0 ? void 0 : _item$question_choice3.map(function (val, key) {
|
|
|
|
|
var _item$user_answer3;
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
flex: "25px",
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
width: 25,
|
|
|
|
|
overflow: "hidden"
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .ZP, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .ZP, {
|
|
|
|
|
checked: (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3.includes(val.choice_id),
|
|
|
|
|
style: {
|
|
|
|
|
width: 25
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
flex: "1",
|
|
|
|
|
children: val.choice_text
|
|
|
|
|
})]
|
|
|
|
|
@ -1045,7 +1052,7 @@ var Export = function Export(_ref) {
|
|
|
|
|
// {val.choice_text}
|
|
|
|
|
// </Radio></div>
|
|
|
|
|
})
|
|
|
|
|
}), item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Fill && !isExportBlank.current && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_Review_component_Fill__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
|
|
|
|
|
}), item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Fill && !isExportBlank.current && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_Review_component_Fill__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
|
|
|
|
|
item: item,
|
|
|
|
|
answerData: exportData,
|
|
|
|
|
changeScoreData: changeScoreData,
|
|
|
|
|
@ -1055,35 +1062,35 @@ var Export = function Export(_ref) {
|
|
|
|
|
setChangeScoreData(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, changeScoreData));
|
|
|
|
|
},
|
|
|
|
|
seeAnswerVisible: false
|
|
|
|
|
}), item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Shixun && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_Review_component_Shixun__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
|
|
|
|
|
}), item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Shixun && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_Review_component_Shixun__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {
|
|
|
|
|
item: item,
|
|
|
|
|
answerData: exportData,
|
|
|
|
|
hasChangeScore: false,
|
|
|
|
|
autoHeight: autoHeight,
|
|
|
|
|
showAnswer: isshowanswer
|
|
|
|
|
}), item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Subjective && item !== null && item !== void 0 && (_item$user_answer4 = item.user_answer) !== null && _item$user_answer4 !== void 0 && _item$user_answer4[0] ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
}), item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Subjective && item !== null && item !== void 0 && (_item$user_answer4 = item.user_answer) !== null && _item$user_answer4 !== void 0 && _item$user_answer4[0] ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.simpleBg,
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("aside", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("aside", {
|
|
|
|
|
className: "font14 c-light-primary mb5",
|
|
|
|
|
children: "\u5B66\u751F\u7B54\u9898"
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: userCommentVisible ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
children: userCommentVisible ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
value: item === null || item === void 0 || (_item$user_answer_lig = item.user_answer_light) === null || _item$user_answer_lig === void 0 ? void 0 : _item$user_answer_lig[0]
|
|
|
|
|
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
}) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
value: item === null || item === void 0 || (_item$user_answer5 = item.user_answer) === null || _item$user_answer5 === void 0 ? void 0 : _item$user_answer5[0]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}) : null, item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Program && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_Review_component_Program__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
|
|
|
|
|
}) : null, item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Program && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_Review_component_Program__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {
|
|
|
|
|
item: item,
|
|
|
|
|
answerData: exportData,
|
|
|
|
|
autoHeight: autoHeight
|
|
|
|
|
}), item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Combine && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, {
|
|
|
|
|
}), item.question_type === _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Combine && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.Fragment, {
|
|
|
|
|
children: (_item$sub_exercise_qu = item.sub_exercise_questions) === null || _item$sub_exercise_qu === void 0 ? void 0 : _item$sub_exercise_qu.map(function (val, key) {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: 10
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: '16px'
|
|
|
|
|
},
|
|
|
|
|
@ -1091,27 +1098,27 @@ var Export = function Export(_ref) {
|
|
|
|
|
}), renderQuestion(val, key, true)]
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
}), item.question_type === 8 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
}), item.question_type === 8 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.Fragment, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
className: "mt5",
|
|
|
|
|
style: {
|
|
|
|
|
padding: "10px 17px",
|
|
|
|
|
background: "#FAFAFA"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("aside", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("aside", {
|
|
|
|
|
className: "font14 c-light-primary mb5",
|
|
|
|
|
children: "\u5B66\u751F\u7B54\u9898"
|
|
|
|
|
}), (item === null || item === void 0 || (_item$user_answer6 = item.user_answer) === null || _item$user_answer6 === void 0 ? void 0 : _item$user_answer6.length) > 0 && (item === null || item === void 0 || (_item$user_answer7 = item.user_answer) === null || _item$user_answer7 === void 0 ? void 0 : _item$user_answer7.map(function (v) {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
lineHeight: '25px'
|
|
|
|
|
},
|
|
|
|
|
children: ["\u7B54\u6848(\u586B\u7A7A", v === null || v === void 0 ? void 0 : v.choice_id, ")\uFF1A"]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("pre", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("pre", {
|
|
|
|
|
style: {
|
|
|
|
|
whiteSpace: 'pre-wrap'
|
|
|
|
|
},
|
|
|
|
|
@ -1120,20 +1127,20 @@ var Export = function Export(_ref) {
|
|
|
|
|
});
|
|
|
|
|
}))]
|
|
|
|
|
})
|
|
|
|
|
}), isshowanswer && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
}), isshowanswer && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: 10
|
|
|
|
|
},
|
|
|
|
|
children: [(item === null || item === void 0 ? void 0 : item.question_type) < 3 && (item === null || item === void 0 ? void 0 : item.standard_answer_show) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
children: [(item === null || item === void 0 ? void 0 : item.question_type) < 3 && (item === null || item === void 0 ? void 0 : item.standard_answer_show) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
className: "font16 ",
|
|
|
|
|
children: ["\u6B63\u786E\u7B54\u6848\uFF1A", item === null || item === void 0 ? void 0 : item.standard_answer_show]
|
|
|
|
|
}), !!(item !== null && item !== void 0 && (_item$standard_answer = item.standard_answers) !== null && _item$standard_answer !== void 0 && _item$standard_answer.length) && isshowanswer && (item === null || item === void 0 ? void 0 : item.question_type) === 3 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
}), !!(item !== null && item !== void 0 && (_item$standard_answer = item.standard_answers) !== null && _item$standard_answer !== void 0 && _item$standard_answer.length) && isshowanswer && (item === null || item === void 0 ? void 0 : item.question_type) === 3 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
children: item === null || item === void 0 || (_item$standard_answer2 = item.standard_answers) === null || _item$standard_answer2 === void 0 ? void 0 : _item$standard_answer2.map(function (answer, index) {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
children: ["\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A", index + 1, "\uFF09:"]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(TextArea, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(TextArea, {
|
|
|
|
|
autoSize: true,
|
|
|
|
|
disabled: true,
|
|
|
|
|
value: answer === null || answer === void 0 ? void 0 : answer.answer_text[0]
|
|
|
|
|
@ -1141,13 +1148,13 @@ 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_23__.jsx)("div", {
|
|
|
|
|
}), !!(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_24__.jsx)("div", {
|
|
|
|
|
children: item === null || item === 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_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
children: ["\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A", index + 1, "\uFF09:"]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(TextArea, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(TextArea, {
|
|
|
|
|
autoSize: true,
|
|
|
|
|
disabled: true,
|
|
|
|
|
value: (answer === null || answer === void 0 ? void 0 : answer.answer_text) || ''
|
|
|
|
|
@ -1155,59 +1162,59 @@ var Export = function Export(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
}), !!(item !== null && item !== void 0 && (_item$answer_texts = item.answer_texts) !== null && _item$answer_texts !== void 0 && _item$answer_texts.length) && (item === null || item === void 0 ? void 0 : item.question_type) === 4 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("p", {
|
|
|
|
|
}), !!(item !== null && item !== void 0 && (_item$answer_texts = item.answer_texts) !== null && _item$answer_texts !== void 0 && _item$answer_texts.length) && (item === null || item === void 0 ? void 0 : item.question_type) === 4 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("p", {
|
|
|
|
|
className: "mt10 mb0",
|
|
|
|
|
children: "\u53C2\u8003\u7B54\u6848\uFF1A"
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
border: "1px solid #eee",
|
|
|
|
|
background: "#f5f5f5",
|
|
|
|
|
borderRadius: 4,
|
|
|
|
|
padding: 5
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
value: item === null || item === void 0 || (_item$answer_texts2 = item.answer_texts) === null || _item$answer_texts2 === void 0 ? void 0 : _item$answer_texts2[0]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.question_type) === 6 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("p", {
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.question_type) === 6 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("p", {
|
|
|
|
|
className: "mt10 mb0",
|
|
|
|
|
children: ["\u53C2\u8003\u7B54\u6848\uFF1A", !(item !== null && item !== void 0 && item.answer_text) && '暂无']
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.answer_text) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.answer_text) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
border: "1px solid #eee",
|
|
|
|
|
background: "#f5f5f5",
|
|
|
|
|
borderRadius: 4,
|
|
|
|
|
padding: 5
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
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 || (_item$standard_answer5 = item.standard_answer) === null || _item$standard_answer5 === void 0 ? void 0 : _item$standard_answer5.length) > 0) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_26__/* ["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 || (_item$standard_answer5 = item.standard_answer) === null || _item$standard_answer5 === void 0 ? void 0 : _item$standard_answer5.length) > 0) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: 14
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
className: "font16 ",
|
|
|
|
|
children: "\u89E3\u6790\uFF1A"
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_RenderHtml__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.renderHtml,
|
|
|
|
|
value: (item === null || item === void 0 ? void 0 : item.analysis) || '暂无解析'
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), userScoreVisible && !Number.isNaN(parseFloat(item === null || item === void 0 ? void 0 : item.user_score)) && (item === null || item === void 0 ? void 0 : item.question_type) !== _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Shixun && (item === null || item === void 0 ? void 0 : item.question_type) !== _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Combine && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
}), userScoreVisible && !Number.isNaN(parseFloat(item === null || item === void 0 ? void 0 : item.user_score)) && (item === null || item === void 0 ? void 0 : item.question_type) !== _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Shixun && (item === null || item === void 0 ? void 0 : item.question_type) !== _utils_enum__WEBPACK_IMPORTED_MODULE_20__/* .QuestionType */ .c.Combine && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#0152d9'
|
|
|
|
|
},
|
|
|
|
|
children: "\u5B66\u751F\u5F97\u5206\uFF1A"
|
|
|
|
|
}), item === null || item === void 0 ? void 0 : item.user_score, "\u5206"]
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.answer_comments) && userCommentVisible && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_pages_Classrooms_Lists_Exercise_Review_component_AnswerComments__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, {
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.answer_comments) && userCommentVisible && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_pages_Classrooms_Lists_Exercise_Review_component_AnswerComments__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, {
|
|
|
|
|
newuserCommentVisible: newuserCommentVisible,
|
|
|
|
|
list: item === null || item === void 0 ? void 0 : item.answer_comments
|
|
|
|
|
}), !isInCombination && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .Z, {
|
|
|
|
|
}), !isInCombination && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z, {
|
|
|
|
|
style: isExportBlank.current ? {
|
|
|
|
|
marginTop: 30
|
|
|
|
|
} : {}
|
|
|
|
|
@ -1216,12 +1223,12 @@ var Export = function Export(_ref) {
|
|
|
|
|
};
|
|
|
|
|
var renderDom = function renderDom(er, key, index) {
|
|
|
|
|
if (er.category) {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
className: "font16 c-light-primary",
|
|
|
|
|
children: [(0,_utils_util__WEBPACK_IMPORTED_MODULE_12__/* .toChineseNumber */ .EM)(er === null || er === void 0 ? void 0 : er.category), "\u3001", er.name]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
className: "c-grey-999",
|
|
|
|
|
children: ["\uFF08\u5171", er.count, "\u9898\uFF0C", (er === null || er === void 0 ? void 0 : er.question_type) === 7 ? "\u5305\u542B".concat(er === null || er === void 0 ? void 0 : er.sub_count, "\u5C0F\u9898\uFF1B") : '', "\u5171", er.score, "\u5206\uFF09"]
|
|
|
|
|
})]
|
|
|
|
|
@ -1271,15 +1278,15 @@ var Export = function Export(_ref) {
|
|
|
|
|
if (newData !== null && newData !== void 0 && newData.length) return (_Array = new Array(Math.ceil((newData === null || newData === void 0 ? void 0 : newData.length) / step))) === null || _Array === void 0 || (_Array = _Array.fill([])) === null || _Array === void 0 || (_Array = _Array.map(function (item, key) {
|
|
|
|
|
return newData.slice(key * step, key * step + step);
|
|
|
|
|
})) === null || _Array === void 0 ? void 0 : _Array.map(function (i, k) {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
className: "pl60 pr30",
|
|
|
|
|
style: {
|
|
|
|
|
minHeight: k === 0 ? 1000 : "auto"
|
|
|
|
|
},
|
|
|
|
|
children: [k === 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_components_Head__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
|
|
|
|
|
children: [k === 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_components_Head__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
|
|
|
|
|
isExportBlank: isExportBlank.current
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z, {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.divider
|
|
|
|
|
})]
|
|
|
|
|
}), i === null || i === void 0 ? void 0 : i.map(function (item, index) {
|
|
|
|
|
@ -1296,31 +1303,31 @@ var Export = function Export(_ref) {
|
|
|
|
|
paginationParams = _useState30[0],
|
|
|
|
|
setPaginationParams = _useState30[1];
|
|
|
|
|
var exportedFormatDom = function exportedFormatDom() {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.export_type_modal,
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.export_type_modal_con,
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.type_item,
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.img_warp, " ").concat(exportType == 'pdf' ? _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.img_warp_active : ''),
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return setExportType('pdf');
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("img", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("img", {
|
|
|
|
|
src: __webpack_require__(/*! @/assets/images/file_type/pdf_img.png */ 45614),
|
|
|
|
|
width: 70,
|
|
|
|
|
height: 70
|
|
|
|
|
})
|
|
|
|
|
}), "pdf\u683C\u5F0F"]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.type_item,
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.img_warp, " ").concat(exportType == 'word' ? _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.img_warp_active : ''),
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return setExportType('word');
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("img", {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("img", {
|
|
|
|
|
src: __webpack_require__(/*! @/assets/images/file_type/word_img.png */ 38347),
|
|
|
|
|
width: 70,
|
|
|
|
|
height: 70
|
|
|
|
|
@ -1330,89 +1337,89 @@ var Export = function Export(_ref) {
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("section", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("section", {
|
|
|
|
|
className: "edu-container",
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("section", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("section", {
|
|
|
|
|
className: "animated fadeIn",
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("aside", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("aside", {
|
|
|
|
|
className: "mt10",
|
|
|
|
|
children: userInfo && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z, {
|
|
|
|
|
children: userInfo && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z, {
|
|
|
|
|
separator: ">",
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(umi__WEBPACK_IMPORTED_MODULE_7__.Link, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(umi__WEBPACK_IMPORTED_MODULE_7__.Link, {
|
|
|
|
|
to: "/classrooms/".concat(params.coursesId, "/exercise"),
|
|
|
|
|
children: userInfo === null || userInfo === void 0 || (_userInfo$course = userInfo.course) === null || _userInfo$course === void 0 ? void 0 : _userInfo$course.course_name
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(umi__WEBPACK_IMPORTED_MODULE_7__.Link, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(umi__WEBPACK_IMPORTED_MODULE_7__.Link, {
|
|
|
|
|
to: "/classrooms/".concat(params.coursesId, "/exercise"),
|
|
|
|
|
children: "\u8BD5\u5377\u5217\u8868"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(umi__WEBPACK_IMPORTED_MODULE_7__.Link, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(umi__WEBPACK_IMPORTED_MODULE_7__.Link, {
|
|
|
|
|
to: "/classrooms/".concat(params.coursesId, "/exercise/").concat(exportData === null || exportData === void 0 || (_exportData$exercise3 = exportData.exercise) === null || _exportData$exercise3 === void 0 ? void 0 : _exportData$exercise3.id, "/detail"),
|
|
|
|
|
children: "\u8BD5\u5377\u8BE6\u60C5"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Z.Item, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z.Item, {
|
|
|
|
|
children: (exportData === null || exportData === void 0 || (_exportData$exercise_2 = exportData.exercise_answer_user) === null || _exportData$exercise_2 === void 0 ? void 0 : _exportData$exercise_2.user_name) || (exportData === null || exportData === void 0 || (_exportData$exercise4 = exportData.exercise) === null || _exportData$exercise4 === void 0 ? void 0 : _exportData$exercise4.exercise_name)
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("aside", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("aside", {
|
|
|
|
|
className: [_index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.title, 'mt20'].join(' '),
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
style: {
|
|
|
|
|
width: "100%"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
flex: "1",
|
|
|
|
|
style: {
|
|
|
|
|
lineHeight: '24px'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(umi__WEBPACK_IMPORTED_MODULE_7__.Link, {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(umi__WEBPACK_IMPORTED_MODULE_7__.Link, {
|
|
|
|
|
to: "/classrooms/".concat(params.coursesId, "/exercise/").concat(exportData === null || exportData === void 0 || (_exportData$exercise5 = exportData.exercise) === null || _exportData$exercise5 === void 0 ? void 0 : _exportData$exercise5.id, "/detail"),
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .Z, {
|
|
|
|
|
className: "font16 c-black"
|
|
|
|
|
})
|
|
|
|
|
}), (0,_utils_util__WEBPACK_IMPORTED_MODULE_12__/* .exerciseTips */ .vB)((_exportData$exercise6 = exportData.exercise) === null || _exportData$exercise6 === void 0 ? void 0 : _exportData$exercise6.exercise_status), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("strong", {
|
|
|
|
|
}), (0,_utils_util__WEBPACK_IMPORTED_MODULE_12__/* .exerciseTips */ .vB)((_exportData$exercise6 = exportData.exercise) === null || _exportData$exercise6 === void 0 ? void 0 : _exportData$exercise6.exercise_status), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("strong", {
|
|
|
|
|
className: "font20 ml5",
|
|
|
|
|
children: exportData === null || exportData === void 0 || (_exportData$exercise7 = exportData.exercise) === null || _exportData$exercise7 === void 0 ? void 0 : _exportData$exercise7.exercise_name
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .Z, {
|
|
|
|
|
menu: {
|
|
|
|
|
items: [{
|
|
|
|
|
label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .ZP, {
|
|
|
|
|
label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .ZP, {
|
|
|
|
|
type: "text",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setisshowanswer(true);
|
|
|
|
|
setExportType('');
|
|
|
|
|
setExportTypeModal(true);
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .Z, {}), "\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377+\u7B54\u6848"]
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_36__/* ["default"] */ .Z, {}), "\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377+\u7B54\u6848"]
|
|
|
|
|
}),
|
|
|
|
|
key: '1',
|
|
|
|
|
show: true
|
|
|
|
|
}, {
|
|
|
|
|
label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .ZP, {
|
|
|
|
|
label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .ZP, {
|
|
|
|
|
type: "text",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setisshowanswer(false);
|
|
|
|
|
setExportType('');
|
|
|
|
|
setExportTypeModal(true);
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .Z, {}), "\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377"]
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_36__/* ["default"] */ .Z, {}), "\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377"]
|
|
|
|
|
}),
|
|
|
|
|
key: '2',
|
|
|
|
|
show: true
|
|
|
|
|
}, {
|
|
|
|
|
label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .ZP, {
|
|
|
|
|
label: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .ZP, {
|
|
|
|
|
type: "text",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setExportType('');
|
|
|
|
|
setnewUserCommentVisible(false);
|
|
|
|
|
setismodal(true);
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .Z, {}), "\u5BFC\u51FA\u6240\u6709\u5B66\u751F\u8BD5\u5377"]
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_36__/* ["default"] */ .Z, {}), "\u5BFC\u51FA\u6240\u6709\u5B66\u751F\u8BD5\u5377"]
|
|
|
|
|
}),
|
|
|
|
|
key: '3',
|
|
|
|
|
show: (0,_utils_authority__WEBPACK_IMPORTED_MODULE_19__/* .isAdmin */ .GJ)()
|
|
|
|
|
@ -1425,15 +1432,15 @@ var Export = function Export(_ref) {
|
|
|
|
|
};
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .ZP, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .ZP, {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.exportBtn,
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_36__/* ["default"] */ .Z, {}), "\u5BFC\u51FA", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_37__/* ["default"] */ .Z, {})]
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_37__/* ["default"] */ .Z, {}), "\u5BFC\u51FA", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_38__/* ["default"] */ .Z, {})]
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {
|
|
|
|
|
className: "ml20",
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .ZP, {
|
|
|
|
|
icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_38__/* ["default"] */ .Z, {}),
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .ZP, {
|
|
|
|
|
icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .Z, {}),
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.exportBtn,
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
// setisshowanswer(true)
|
|
|
|
|
@ -1446,45 +1453,45 @@ var Export = function Export(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: "\u5BFC\u51FA\u8BBE\u7F6E"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Z, {})]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Z, {})]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, {
|
|
|
|
|
title: '导出试卷选择',
|
|
|
|
|
open: ismodal,
|
|
|
|
|
onCancel: function onCancel() {
|
|
|
|
|
return setismodal(false);
|
|
|
|
|
},
|
|
|
|
|
footer: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .ZP, {
|
|
|
|
|
footer: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .ZP, {
|
|
|
|
|
type: "primary",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setUserCommentVisible(true);
|
|
|
|
|
setUserScoreVisible(true);
|
|
|
|
|
if (exportType == '') {
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .ZP.info('请选择一种导出格式');
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .ZP.info('请选择一种导出格式');
|
|
|
|
|
return;
|
|
|
|
|
} else if (exportType == 'pdf') {
|
|
|
|
|
exportReport("all");
|
|
|
|
|
} else if (exportType == 'word') {
|
|
|
|
|
(allStudents === null || allStudents === void 0 ? void 0 : allStudents.length) > 0 ? exportReport2("all") : antd__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .ZP.info('没有可导出的学生试卷');
|
|
|
|
|
(allStudents === null || allStudents === void 0 ? void 0 : allStudents.length) > 0 ? exportReport2("all") : antd__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .ZP.info('没有可导出的学生试卷');
|
|
|
|
|
}
|
|
|
|
|
setismodal(false);
|
|
|
|
|
},
|
|
|
|
|
children: "\u662F"
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .ZP, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .ZP, {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setismodal(false);
|
|
|
|
|
},
|
|
|
|
|
children: "\u5426"
|
|
|
|
|
})]
|
|
|
|
|
}),
|
|
|
|
|
children: ["\u662F\u5426\u8FDE\u540C\u8BC4\u9605\u6559\u5E08\u3001\u6559\u5E08\u8BC4\u8BED\u4E00\u8D77\u5BFC\u51FA\uFF1F", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("p", {
|
|
|
|
|
children: ["\u662F\u5426\u8FDE\u540C\u8BC4\u9605\u6559\u5E08\u3001\u6559\u5E08\u8BC4\u8BED\u4E00\u8D77\u5BFC\u51FA\uFF1F", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("p", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: "center"
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .Z, {
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: 14
|
|
|
|
|
},
|
|
|
|
|
@ -1493,24 +1500,24 @@ var Export = function Export(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: "\u53EA\u5BFC\u51FA\u6700\u65B0\u7684\u8BC4\u9605\u8BB0\u5F55"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("div", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
margin: '15px 0'
|
|
|
|
|
},
|
|
|
|
|
children: "\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F"
|
|
|
|
|
}), exportedFormatDom()]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("div", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("div", {
|
|
|
|
|
className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.bg, " pt30 mt20"),
|
|
|
|
|
children: [(exportData === null || exportData === void 0 || (_exportData$exercise8 = exportData.exercise) === null || _exportData$exercise8 === void 0 ? void 0 : _exportData$exercise8.is_random) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Z, {
|
|
|
|
|
children: [(exportData === null || exportData === void 0 || (_exportData$exercise8 = exportData.exercise) === null || _exportData$exercise8 === void 0 ? void 0 : _exportData$exercise8.is_random) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_41__/* ["default"] */ .Z, {
|
|
|
|
|
className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.paginationWrapper),
|
|
|
|
|
showTotal: function showTotal(total) {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)("span", {
|
|
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsxs)("span", {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.totalText,
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: 20
|
|
|
|
|
},
|
|
|
|
|
children: ["\u5171\u8BA1", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("span", {
|
|
|
|
|
children: ["\u5171\u8BA1", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("span", {
|
|
|
|
|
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.num,
|
|
|
|
|
children: total
|
|
|
|
|
}), "\u4EFD\u8BD5\u5377"]
|
|
|
|
|
@ -1553,13 +1560,13 @@ var Export = function Export(_ref) {
|
|
|
|
|
}(),
|
|
|
|
|
showQuickJumper: true,
|
|
|
|
|
hideOnSinglePage: false
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)("section", {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)("section", {
|
|
|
|
|
id: "export-all",
|
|
|
|
|
className: [_index_less_modules__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.bg, 'pt30', 'pb30', 'mt20', 'mb20', 'relative'].join(' '),
|
|
|
|
|
ref: exportElement,
|
|
|
|
|
children: renderClassifyQuestion()
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(antd__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Z, {
|
|
|
|
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_24__.jsx)(antd__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Z, {
|
|
|
|
|
width: 450,
|
|
|
|
|
title: "\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F",
|
|
|
|
|
open: exportTypeModal,
|
|
|
|
|
@ -1574,7 +1581,7 @@ var Export = function Export(_ref) {
|
|
|
|
|
_context13.next = 5;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .ZP.info('请选择一种导出格式');
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .ZP.info('请选择一种导出格式');
|
|
|
|
|
return _context13.abrupt("return");
|
|
|
|
|
case 5:
|
|
|
|
|
if (exportType == 'pdf') {
|
|
|
|
|
|