@ -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 _2 5 _ _ = _ _webpack _require _ _ ( /*! antd */ 1056 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ = _ _webpack _require _ _ ( /*! antd */ 43418 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ = _ _webpack _require _ _ ( /*! antd */ 95237 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ = _ _webpack _require _ _ ( /*! antd */ 43604 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 9 _ _ = _ _webpack _require _ _ ( /*! antd */ 5112 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _ 30 _ _ = _ _webpack _require _ _ ( /*! antd */ 24905 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ = _ _webpack _require _ _ ( /*! antd */ 28103 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _3 2 _ _ = _ _webpack _require _ _ ( /*! antd */ 66104 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ = _ _webpack _require _ _ ( /*! antd */ 38854 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ = _ _webpack _require _ _ ( /*! antd */ 3113 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _ 40 _ _ = _ _webpack _require _ _ ( /*! antd */ 8591 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _4 1 _ _ = _ _webpack _require _ _ ( /*! antd */ 41867 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ = _ _webpack _require _ _ ( /*! antd */ 1056 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 5 _ _ = _ _webpack _require _ _ ( /*! antd */ 43418 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ = _ _webpack _require _ _ ( /*! antd */ 95237 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ = _ _webpack _require _ _ ( /*! antd */ 43604 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ = _ _webpack _require _ _ ( /*! antd */ 5112 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _ 29 _ _ = _ _webpack _require _ _ ( /*! antd */ 24905 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _3 0 _ _ = _ _webpack _require _ _ ( /*! antd */ 28103 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ = _ _webpack _require _ _ ( /*! antd */ 66104 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _3 3 _ _ = _ _webpack _require _ _ ( /*! antd */ 38854 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ = _ _webpack _require _ _ ( /*! antd */ 3113 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _ 39 _ _ = _ _webpack _require _ _ ( /*! antd */ 8591 ) ;
/* harmony import */ var antd _ _WEBPACK _IMPORTED _MODULE _4 0 _ _ = _ _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 _3 3 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 68742 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 6 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 66549 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 7 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 70740 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 8 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 28720 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 9 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 15470 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 2 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 68742 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 66549 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 6 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 70740 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 7 _ _ = _ _webpack _require _ _ ( /*! @ant-design/icons */ 28720 ) ;
/* harmony import */ var _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 8 _ _ = _ _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 ) ;
@ -228,10 +228,8 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _utils _authority _ _WEBPACK _IMPORTED _MODULE _19 _ _ = _ _webpack _require _ _ ( /*! @/utils/authority */ 58696 ) ;
/* 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 js _base64 _ _WEBPACK _IMPORTED _MODULE _22 _ _ = _ _webpack _require _ _ ( /*! js-base64 */ 24334 ) ;
/* harmony import */ var js _base64 _ _WEBPACK _IMPORTED _MODULE _22 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( js _base64 _ _WEBPACK _IMPORTED _MODULE _22 _ _ ) ;
/* harmony import */ var _utils _export _ _WEBPACK _IMPORTED _MODULE _23 _ _ = _ _webpack _require _ _ ( /*! @/utils/export */ 214 ) ;
/* harmony import */ var react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _24 _ _ = _ _webpack _require _ _ ( /*! react/jsx-runtime */ 37712 ) ;
/* 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 ) ;
@ -259,11 +257,10 @@ var _excluded = ["exercise", "globalSetting", "loading", "user", "dispatch"];
var PageCount = 30 ;
var TextArea = antd _ _WEBPACK _IMPORTED _MODULE _2 5 _ _ /* ["default"] */ . Z . TextArea ;
var TextArea = antd _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ /* ["default"] */ . Z . TextArea ;
// const questionType = ['单选题', '多选题', '判断题', '填空题', '简答题', '实训题', '编程题'];
var questionType = {
"0" : "单选题" ,
@ -585,8 +582,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 _2 4 _ _ . jsxs ) ( "div" , {
children : [ "\u5F53\u524D\u8FDB\u5EA6: " , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "span" , {
content : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ "\u5F53\u524D\u8FDB\u5EA6: " , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "span" , {
className : "c-blue" ,
children : nums + 1
} ) , "/" , allStudents === null || allStudents === void 0 ? void 0 : allStudents . length ]
@ -625,16 +622,16 @@ var Export = function Export(_ref) {
setAutoHeight ( true ) ;
nums = 0 ;
if ( type !== 'all' ) setIsLoading ( true ) ;
modal = antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z . info ( {
modal = antd _ _WEBPACK _IMPORTED _MODULE _2 5 _ _ /* ["default"] */ . Z . info ( {
width : 460 ,
title : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
children : [ "\u6B63\u5728\u5BFC\u51FA\u8BD5\u5377," , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "span" , {
title : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ "\u6B63\u5728\u5BFC\u51FA\u8BD5\u5377," , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "div" , {
children : [ "\u5F53\u524D\u8FDB\u5EA6: " , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "span" , {
content : type === 'all' ? /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ "\u5F53\u524D\u8FDB\u5EA6: " , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "span" , {
className : "c-blue" ,
children : nums + 1
} ) , "/" , allStudents === null || allStudents === void 0 ? void 0 : allStudents . length ]
@ -825,8 +822,8 @@ var Export = function Export(_ref) {
} ) ;
case 4 :
modal . update ( {
content : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
children : [ "\u5F53\u524D\u8FDB\u5EA6: " , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "span" , {
content : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ "\u5F53\u524D\u8FDB\u5EA6: " , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "span" , {
className : "c-blue" ,
children : nums + 1
} ) , "/" , allStudents === null || allStudents === void 0 ? void 0 : allStudents . length ]
@ -861,16 +858,16 @@ var Export = function Export(_ref) {
setAutoHeight ( true ) ;
nums = 0 ;
if ( type !== 'all' ) setIsLoading ( true ) ;
modal = antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z . info ( {
modal = antd _ _WEBPACK _IMPORTED _MODULE _2 5 _ _ /* ["default"] */ . Z . info ( {
width : 460 ,
title : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
children : [ "\u6B63\u5728\u5BFC\u51FA\u8BD5\u5377," , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "span" , {
title : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ "\u6B63\u5728\u5BFC\u51FA\u8BD5\u5377," , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "div" , {
children : [ "\u5F53\u524D\u8FDB\u5EA6: " , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "span" , {
content : type === 'all' ? /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ "\u5F53\u524D\u8FDB\u5EA6: " , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "span" , {
className : "c-blue" ,
children : nums + 1
} ) , "/" , allStudents === null || allStudents === void 0 ? void 0 : allStudents . length ]
@ -915,22 +912,22 @@ 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$ program_attr , _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 _2 4 _ _ . jsxs ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . Fragment , {
children : [ ! isInCombination && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
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 _2 3 _ _ . jsxs ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . Fragment , {
children : [ ! isInCombination && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "span" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "span" , {
style : {
flexShrink : 0
} ,
className : "font18" ,
children : [ i , "." ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
value : item . question _title
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "span" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 3 _ _ . jsxs ) ( "span" , {
style : {
flexShrink : 0
} ,
@ -939,37 +936,37 @@ var Export = function Export(_ref) {
} ) ]
} ) ,
// 单选题
item . question _type === _utils _enum _ _WEBPACK _IMPORTED _MODULE _20 _ _ /* .QuestionType */ . c . Single && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . Fragment , {
item . question _type === _utils _enum _ _WEBPACK _IMPORTED _MODULE _20 _ _ /* .QuestionType */ . c . Single && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
flex : "25px" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
style : {
width : 25 ,
overflow : "hidden"
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 9 _ _ /* ["default"] */ . ZP , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
flex : "1" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
style : {
display : "flex"
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
style : {
lineHeight : '24px' ,
flexShrink : 0
} ,
children : tagDotList [ key ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
value : val . choice _text || ""
} ) ]
} )
@ -978,37 +975,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 _2 4 _ _ . jsx ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . Fragment , {
item . question _type === _utils _enum _ _WEBPACK _IMPORTED _MODULE _20 _ _ /* .QuestionType */ . c . Multiple && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
flex : "25px" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
style : {
width : 25 ,
overflow : "hidden"
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _ 30 _ _ /* ["default"] */ . Z , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _ 29 _ _ /* ["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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
flex : "1" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
style : {
display : "flex"
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
style : {
lineHeight : '24px' ,
flexShrink : 0
} ,
children : tagDotList [ key ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
value : val . choice _text || ""
} ) ]
} )
@ -1020,26 +1017,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 _2 4 _ _ . jsx ) ( "div" , {
item . question _type === _utils _enum _ _WEBPACK _IMPORTED _MODULE _20 _ _ /* .QuestionType */ . c . Judge && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
flex : "25px" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
style : {
width : 25 ,
overflow : "hidden"
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 9 _ _ /* ["default"] */ . ZP , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
flex : "1" ,
children : val . choice _text
} ) ]
@ -1048,7 +1045,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 _2 4 _ _ . 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 _2 3 _ _ . jsx ) ( _Review _component _Fill _ _WEBPACK _IMPORTED _MODULE _13 _ _ /* ["default"] */ . Z , {
item : item ,
answerData : exportData ,
changeScoreData : changeScoreData ,
@ -1058,35 +1055,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 _2 4 _ _ . 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 _2 3 _ _ . 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 _2 4 _ _ . 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 _2 3 _ _ . jsxs ) ( "div" , {
className : _index _less _modules _ _WEBPACK _IMPORTED _MODULE _10 _ _ /* ["default"] */ . Z . simpleBg ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "aside" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "aside" , {
className : "font14 c-light-primary mb5" ,
children : "\u5B66\u751F\u7B54\u9898"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : userCommentVisible ? /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
children : userCommentVisible ? /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
} ) : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . 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 _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . Fragment , {
} ) , item . question _type === _utils _enum _ _WEBPACK _IMPORTED _MODULE _20 _ _ /* .QuestionType */ . c . Combine && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "div" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
style : {
marginLeft : 10
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "span" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "span" , {
style : {
fontSize : '16px'
} ,
@ -1094,31 +1091,49 @@ var Export = function Export(_ref) {
} ) , renderQuestion ( val , key , true ) ]
} ) ;
} )
} ) , 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 _ _ . jsx ) ( "div" , {
} ) , 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" , {
className : "mt5" ,
style : {
padding : "20px 30px"
padding : "10px 17px" ,
background : "#FAFAFA"
} ,
children : /*#__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 _22 _ _ . Base64 . decode ( ( item === null || item === void 0 || ( _item$program _attr = item . program _attr ) === null || _item$program _attr === void 0 ? void 0 : _item$program _attr . code ) || '' )
} )
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _23 _ _ . 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" , {
style : {
display : 'flex'
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _23 _ _ . 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" , {
style : {
whiteSpace : 'pre-wrap'
} ,
children : v === null || v === void 0 ? void 0 : v . answer _text
} ) ]
} ) ;
} ) ) ]
} )
} ) , isshowanswer && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _24 _ _ . jsxs ) ( "div" , {
} ) , isshowanswer && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _24 _ _ . 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 _2 3 _ _ . 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 _24 _ _ . 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 _2 3 _ _ . 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 _24 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _24 _ _ . jsxs ) ( "span" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "span" , {
children : [ "\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A" , index + 1 , "\uFF09:" ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _24 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _24 _ _ . jsx ) ( TextArea , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( TextArea , {
autoSize : true ,
disabled : true ,
value : answer === null || answer === void 0 ? void 0 : answer . answer _text [ 0 ]
@ -1126,13 +1141,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 _2 4 _ _ . 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 _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "span" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "span" , {
children : [ "\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A" , index + 1 , "\uFF09:" ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( TextArea , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( TextArea , {
autoSize : true ,
disabled : true ,
value : ( answer === null || answer === void 0 ? void 0 : answer . answer _text ) || ''
@ -1140,59 +1155,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 _2 4 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . 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 _2 3 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "p" , {
className : "mt10 mb0" ,
children : "\u53C2\u8003\u7B54\u6848\uFF1A"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
style : {
border : "1px solid #eee" ,
background : "#f5f5f5" ,
borderRadius : 4 ,
padding : 5
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "p" , {
} ) , ( item === null || item === void 0 ? void 0 : item . question _type ) === 6 && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( "div" , {
} ) , ( item === null || item === void 0 ? void 0 : item . answer _text ) && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
style : {
border : "1px solid #eee" ,
background : "#f5f5f5" ,
borderRadius : 4 ,
padding : 5
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["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 _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z , {
style : {
marginTop : 14
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "span" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "span" , {
className : "font16 " ,
children : "\u89E3\u6790\uFF1A"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _components _RenderHtml _ _WEBPACK _IMPORTED _MODULE _11 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "span" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . 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 _2 3 _ _ . jsxs ) ( "span" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . 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 _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ /* ["default"] */ . Z , {
} ) , ! isInCombination && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 0 _ _ /* ["default"] */ . Z , {
style : isExportBlank . current ? {
marginTop : 30
} : { }
@ -1201,12 +1216,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 _2 4 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "span" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "span" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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" ]
} ) ]
@ -1256,15 +1271,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 _2 4 _ _ . jsxs ) ( "div" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
className : "pl60 pr30" ,
style : {
minHeight : k === 0 ? 1000 : "auto"
} ,
children : [ k === 0 && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . Fragment , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _components _Head _ _WEBPACK _IMPORTED _MODULE _16 _ _ /* ["default"] */ . Z , {
children : [ k === 0 && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . Fragment , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _components _Head _ _WEBPACK _IMPORTED _MODULE _16 _ _ /* ["default"] */ . Z , {
isExportBlank : isExportBlank . current
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 0 _ _ /* ["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 ) {
@ -1281,31 +1296,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 _2 4 _ _ . jsx ) ( "div" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "div" , {
className : _index _less _modules _ _WEBPACK _IMPORTED _MODULE _10 _ _ /* ["default"] */ . Z . export _type _modal ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
className : _index _less _modules _ _WEBPACK _IMPORTED _MODULE _10 _ _ /* ["default"] */ . Z . type _item ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( "img" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
className : _index _less _modules _ _WEBPACK _IMPORTED _MODULE _10 _ _ /* ["default"] */ . Z . type _item ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( "img" , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "img" , {
src : _ _webpack _require _ _ ( /*! @/assets/images/file_type/word_img.png */ 38347 ) ,
width : 70 ,
height : 70
@ -1315,89 +1330,89 @@ var Export = function Export(_ref) {
} )
} ) ;
} ;
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "section" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "section" , {
className : "edu-container" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "section" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "section" , {
className : "animated fadeIn" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "aside" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "aside" , {
className : "mt10" ,
children : userInfo && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 2 _ _ /* ["default"] */ . Z , {
children : userInfo && /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ /* ["default"] */ . Z , {
separator : ">" ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 2 _ _ /* ["default"] */ . Z . Item , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( umi _ _WEBPACK _IMPORTED _MODULE _7 _ _ . Link , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ /* ["default"] */ . Z . Item , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 2 _ _ /* ["default"] */ . Z . Item , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( umi _ _WEBPACK _IMPORTED _MODULE _7 _ _ . Link , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ /* ["default"] */ . Z . Item , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 2 _ _ /* ["default"] */ . Z . Item , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( umi _ _WEBPACK _IMPORTED _MODULE _7 _ _ . Link , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ /* ["default"] */ . Z . Item , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 2 _ _ /* ["default"] */ . Z . Item , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 1 _ _ /* ["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 _2 4 _ _ . jsx ) ( "aside" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "aside" , {
className : [ _index _less _modules _ _WEBPACK _IMPORTED _MODULE _10 _ _ /* ["default"] */ . Z . title , 'mt20' ] . join ( ' ' ) ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z , {
style : {
width : "100%"
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
flex : "1" ,
style : {
lineHeight : '24px'
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( umi _ _WEBPACK _IMPORTED _MODULE _7 _ _ . Link , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 3 _ _ /* ["default"] */ . Z , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 2 _ _ /* ["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 _2 4 _ _ . 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 _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 3 _ _ /* ["default"] */ . Z , {
menu : {
items : [ {
label : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . ZP , {
label : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ /* ["default"] */ . ZP , {
type : "text" ,
onClick : function onClick ( ) {
setisshowanswer ( true ) ;
setExportType ( '' ) ;
setExportTypeModal ( true ) ;
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 6 _ _ /* ["default"] */ . Z , { } ) , "\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377+\u7B54\u6848" ]
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . Z , { } ) , "\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377+\u7B54\u6848" ]
} ) ,
key : '1' ,
show : true
} , {
label : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . ZP , {
label : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ /* ["default"] */ . ZP , {
type : "text" ,
onClick : function onClick ( ) {
setisshowanswer ( false ) ;
setExportType ( '' ) ;
setExportTypeModal ( true ) ;
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 6 _ _ /* ["default"] */ . Z , { } ) , "\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377" ]
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . Z , { } ) , "\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377" ]
} ) ,
key : '2' ,
show : true
} , {
label : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . ZP , {
label : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ /* ["default"] */ . ZP , {
type : "text" ,
onClick : function onClick ( ) {
setExportType ( '' ) ;
setnewUserCommentVisible ( false ) ;
setismodal ( true ) ;
} ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 6 _ _ /* ["default"] */ . Z , { } ) , "\u5BFC\u51FA\u6240\u6709\u5B66\u751F\u8BD5\u5377" ]
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . Z , { } ) , "\u5BFC\u51FA\u6240\u6709\u5B66\u751F\u8BD5\u5377" ]
} ) ,
key : '3' ,
show : ( 0 , _utils _authority _ _WEBPACK _IMPORTED _MODULE _19 _ _ /* .isAdmin */ . GJ ) ( )
@ -1410,15 +1425,15 @@ var Export = function Export(_ref) {
} ;
} )
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . ZP , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ /* ["default"] */ . ZP , {
className : _index _less _modules _ _WEBPACK _IMPORTED _MODULE _10 _ _ /* ["default"] */ . Z . exportBtn ,
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 7 _ _ /* ["default"] */ . Z , { } ) , "\u5BFC\u51FA" , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 8 _ _ /* ["default"] */ . Z , { } ) ]
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 6 _ _ /* ["default"] */ . Z , { } ) , "\u5BFC\u51FA" , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 7 _ _ /* ["default"] */ . Z , { } ) ]
} )
} )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , {
className : "ml20" ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . ZP , {
icon : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 9 _ _ /* ["default"] */ . Z , { } ) ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ /* ["default"] */ . ZP , {
icon : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( _ant _design _icons _ _WEBPACK _IMPORTED _MODULE _3 8 _ _ /* ["default"] */ . Z , { } ) ,
className : _index _less _modules _ _WEBPACK _IMPORTED _MODULE _10 _ _ /* ["default"] */ . Z . exportBtn ,
onClick : function onClick ( ) {
// setisshowanswer(true)
@ -1431,45 +1446,45 @@ var Export = function Export(_ref) {
} ,
children : "\u5BFC\u51FA\u8BBE\u7F6E"
} )
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 8 _ _ /* ["default"] */ . Z , { } ) ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 7 _ _ /* ["default"] */ . Z , { } ) ]
} )
} ) ]
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 5 _ _ /* ["default"] */ . Z , {
title : '导出试卷选择' ,
open : ismodal ,
onCancel : function onCancel ( ) {
return setismodal ( false ) ;
} ,
footer : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . ZP , {
footer : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsxs ) ( "div" , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ /* ["default"] */ . ZP , {
type : "primary" ,
onClick : function onClick ( ) {
setUserCommentVisible ( true ) ;
setUserScoreVisible ( true ) ;
if ( exportType == '' ) {
antd _ _WEBPACK _IMPORTED _MODULE _ 40 _ _ /* ["default"] */ . ZP . info ( '请选择一种导出格式' ) ;
antd _ _WEBPACK _IMPORTED _MODULE _ 39 _ _ /* ["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 _ 40 _ _ /* ["default"] */ . ZP . info ( '没有可导出的学生试卷' ) ;
( allStudents === null || allStudents === void 0 ? void 0 : allStudents . length ) > 0 ? exportReport2 ( "all" ) : antd _ _WEBPACK _IMPORTED _MODULE _ 39 _ _ /* ["default"] */ . ZP . info ( '没有可导出的学生试卷' ) ;
}
setismodal ( false ) ;
} ,
children : "\u662F"
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 5 _ _ /* ["default"] */ . ZP , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _3 4 _ _ /* ["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 _2 4 _ _ . 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 _2 3 _ _ . jsx ) ( "p" , {
style : {
display : 'flex' ,
alignItems : "center"
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _ 30 _ _ /* ["default"] */ . Z , {
children : /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _ 29 _ _ /* ["default"] */ . Z , {
style : {
fontSize : 14
} ,
@ -1478,24 +1493,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 _2 4 _ _ . jsx ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsxs ) ( "div" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _4 1 _ _ /* ["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 _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _4 0 _ _ /* ["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 _2 4 _ _ . jsxs ) ( "span" , {
return /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( "span" , {
children : [ "\u5171\u8BA1" , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( "span" , {
className : _index _less _modules _ _WEBPACK _IMPORTED _MODULE _10 _ _ /* ["default"] */ . Z . num ,
children : total
} ) , "\u4EFD\u8BD5\u5377" ]
@ -1538,13 +1553,13 @@ var Export = function Export(_ref) {
} ( ) ,
showQuickJumper : true ,
hideOnSinglePage : false
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 4 _ _ . jsx ) ( "section" , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . 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 _2 4 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 6 _ _ /* ["default"] */ . Z , {
} ) , /*#__PURE__*/ ( 0 , react _jsx _runtime _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ . jsx ) ( antd _ _WEBPACK _IMPORTED _MODULE _2 5 _ _ /* ["default"] */ . Z , {
width : 450 ,
title : "\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F" ,
open : exportTypeModal ,
@ -1559,13 +1574,13 @@ var Export = function Export(_ref) {
_context13 . next = 5 ;
break ;
}
antd _ _WEBPACK _IMPORTED _MODULE _ 40 _ _ /* ["default"] */ . ZP . info ( '请选择一种导出格式' ) ;
antd _ _WEBPACK _IMPORTED _MODULE _ 39 _ _ /* ["default"] */ . ZP . info ( '请选择一种导出格式' ) ;
return _context13 . abrupt ( "return" ) ;
case 5 :
if ( exportType == 'pdf' ) {
exportReport ( "" ) ;
} else if ( exportType == 'word' ) {
( 0 , _utils _export _ _WEBPACK _IMPORTED _MODULE _2 3 _ _ /* .exportClassroomsPaper */ . YX ) ( {
( 0 , _utils _export _ _WEBPACK _IMPORTED _MODULE _2 2 _ _ /* .exportClassroomsPaper */ . YX ) ( {
coursesId : params . coursesId ,
categoryId : params . exerciseId ,
middle _export : 1 ,