From 1d268941fe2a3b31dc11154ebfe48cb5ccd3aa35 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Fri, 15 Dec 2023 18:25:51 +0800 Subject: [PATCH] Auto Submit --- 27977.async.js => 47319.async.js | 45 +- 21154.async.js => 47758.async.js | 44 +- 89039.async.js => 6452.async.js | 45 +- 8827.async.js | 186 ++-- ...ooms__Lists__Exercise__Add__index.async.js | 351 ++++--- ...s__Lists__Exercise__Answer__index.async.js | 71 +- ...s__Lists__Exercise__Detail__index.async.js | 20 +- ...s__Exercise__ImitateAnswer__index.async.js | 112 ++- ...s__Lists__Exercise__Review__index.async.js | 112 ++- ...__ProgramHomework__Comment__index.async.js | 24 +- p__Paperlibrary__Add__index.async.js | 362 +++---- p__Paperlibrary__Random__Edit__index.async.js | 256 +++-- p__Paperlibrary__See__index.async.js | 2 + p__Problemset__NewItem__index.async.js | 228 +++-- p__Problemset__Preview__index.async.js | 2 + p__Problemset__index.async.js | 4 +- ...alSpaces__Lists__Knowledge__index.async.js | 3 +- p__virtualSpaces__Lists__Plan__index.async.js | 26 +- umi.js | 928 +++++++++--------- 19 files changed, 1610 insertions(+), 1211 deletions(-) rename 27977.async.js => 47319.async.js (97%) rename 21154.async.js => 47758.async.js (96%) rename 89039.async.js => 6452.async.js (97%) diff --git a/27977.async.js b/47319.async.js similarity index 97% rename from 27977.async.js rename to 47319.async.js index a190dedb49..4fe48eb8c4 100644 --- a/27977.async.js +++ b/47319.async.js @@ -1,4 +1,47 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[27977,15845,79817],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[47319,15845,79817],{ + +/***/ 80045: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \*******************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(38329); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(91851); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), /***/ 17599: /*!*******************************************************************************************************!*\ diff --git a/21154.async.js b/47758.async.js similarity index 96% rename from 21154.async.js rename to 47758.async.js index e87645da83..b0d4a5c15f 100644 --- a/21154.async.js +++ b/47758.async.js @@ -1,5 +1,47 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[21154,74997],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[47758,74997],{ + +/***/ 80045: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \*******************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(38329); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(91851); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), /***/ 87306: /*!*************************************************************************************************************!*\ diff --git a/89039.async.js b/6452.async.js similarity index 97% rename from 89039.async.js rename to 6452.async.js index e9f0e0dc12..8613f5cff1 100644 --- a/89039.async.js +++ b/6452.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[89039,37825,52720],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[6452,37825,52720],{ /***/ 68742: /*!***********************************************************************************************************!*\ @@ -86,49 +86,6 @@ if (false) {} /***/ }), -/***/ 80045: -/*!*******************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! - \*******************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - -"use strict"; - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_ExclamationCircleOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(38329); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js -// This icon file is generated automatically. -var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; -/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); - -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(91851); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_ExclamationCircleOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); - -/***/ }), - /***/ 79625: /*!********************************************************************************************************!*\ !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/FilterOutlined.js + 1 modules ***! diff --git a/8827.async.js b/8827.async.js index f483cbc619..be5c41781c 100644 --- a/8827.async.js +++ b/8827.async.js @@ -1008,17 +1008,18 @@ var jsx_runtime = __webpack_require__(37712); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 1056); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78673); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 78241); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 95237); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 43604); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 85731); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 57809); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 5112); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78241); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 43418); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 95237); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 43604); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 85731); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 57809); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 5112); /* harmony import */ var _MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MdEditorInForm */ 627); /* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! umi */ 49266); /* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./index.less?modules */ 70992); /* harmony import */ var _Buttonloading__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Buttonloading */ 81525); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ant-design/icons */ 80045); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ 37712); @@ -1035,6 +1036,7 @@ var _excluded = ["key", "name"]; + var TextArea = antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.TextArea; var language = [{ title: 'C', @@ -1059,7 +1061,7 @@ var ReversedSwitch = function ReversedSwitch(_ref) { var value = _ref.value, _onChange = _ref.onChange; //打开为false,关闭为true,即一个特殊的Switch。 - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + return /*#__PURE__*/_jsx(Switch, { checked: value, onChange: function onChange(checked) { _onChange(checked); @@ -1157,10 +1159,10 @@ var BProgramEditor = function BProgramEditor(_ref2) { removeFnRef.current(deleteIndex); rewritePosition(); }; - var standardAnswersValue = antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.useWatch(answerKey, form); + var standardAnswersValue = antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.useWatch(answerKey, form); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.wrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8BD5\u9898\u63CF\u8FF0", name: ['hack', 'description'], style: { @@ -1180,7 +1182,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { }) }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.questionTitleEditorWrap, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u7A0B\u5E8F\u4EE3\u7801", name: ['hack_codes', 'code'], labelCol: { @@ -1211,7 +1213,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { } }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.List, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.List, { name: answerKey, rules: [{ validator: function validator(rule, values) { @@ -1244,33 +1246,72 @@ var BProgramEditor = function BProgramEditor(_ref2) { addFnRef.current = add; removeFnRef.current = remove; return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u586B\u7A7A\u9879\u7B54\u6848", - required: true, - labelCol: { - span: 24 - } + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center', + justifyContent: 'space-between' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u586B\u7A7A\u9879\u7B54\u6848", + required: true, + labelCol: { + span: 24 + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + onClick: function onClick() { + antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.warning({ + title: '给分说明', + icon: null, + width: 700, + centered: true, + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { + children: "1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B\u624D\u80FD\u5F97\u5206\u3002" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { + style: { + marginTop: 10 + }, + children: "2.\u81EA\u52A8\u8BC4\u9605\u65F6\uFF0C\u7CFB\u7EDF\u5C06\u5224\u9898\u7A0B\u5E8F\u91CC\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u5185\u5BB9\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u7A0B\u5E8F\u8BFB\u6D4B\u8BD5\u8F93\u5165\u6570\u636E\uFF0C\u4EA7\u751F\u8F93\u51FA\uFF0C\u4E0E\u6D4B\u8BD5\u8F93\u51FA\u6570\u636E\u6309\u9010\u4E2A\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u5185\u5BB9\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u63D0\u4EA4\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\u3002\u5426\u5219\u8BE5\u7A7A\u5F97 0 \u5206\u3002" + })] + }) + }); + }, + style: { + minHeight: 32, + color: '#3061D0', + cursor: 'pointer' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + style: { + marginRight: 3, + color: '#3061D0' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("span", { + children: " \u7ED9\u5206\u8BF4\u660E" + })] + })] }), fields.map(function (_ref6, index) { var _standardAnswersValue, _standardAnswersValue2; var key = _ref6.key, name = _ref6.name, restField = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default()(_ref6, _excluded); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { className: "mb20", align: "middle", wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: '0 0 auto', className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.blankIndex), children: ["\u586B\u7A7A\u9879", index + 1] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: 1, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { align: "top", justify: "space-between", wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { name: [name, 'answer_text'], noStyle: true, children: standardAnswersValue !== null && standardAnswersValue !== void 0 && (_standardAnswersValue = standardAnswersValue[name]) !== null && _standardAnswersValue !== void 0 && _standardAnswersValue.multi_line || standardAnswersValue !== null && standardAnswersValue !== void 0 && (_standardAnswersValue2 = standardAnswersValue[name]) !== null && _standardAnswersValue2 !== void 0 && _standardAnswersValue2.multiLine ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TextArea, { @@ -1292,15 +1333,15 @@ var BProgramEditor = function BProgramEditor(_ref2) { onBlur: function onBlur(e) {} }) })) - }), scoreByBlank && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), scoreByBlank && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: '224px', - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { name: [name, 'score'], label: "\u5206\u503C", rules: [{ required: true }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { size: "large", className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.blankInput, min: 0.1, @@ -1309,7 +1350,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { style: { width: '100%' }, - placeholder: "\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C" + placeholder: "\u8BF7\u8F93\u5165\u5206\u503C" }) })) })] @@ -1323,7 +1364,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { onClick: function onClick() { return setEditAnalysis(true); }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: ['hack', 'analysis'], label: "\u9898\u76EE\u89E3\u6790", labelCol: { @@ -1334,7 +1375,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { isEdit: editAnalysis }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u7F16\u7A0B\u8BED\u8A00", style: { marginTop: 30 @@ -1347,16 +1388,16 @@ var BProgramEditor = function BProgramEditor(_ref2) { required: true, message: '请选择编程语言' }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__["default"], { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__["default"], { size: "large", children: language.map(function (item) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__["default"].Option, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__["default"].Option, { value: item.key, children: [" ", item.title] }, item.title); }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: '最大评测时长(秒)', style: { marginTop: 30 @@ -1365,7 +1406,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { span: 24 }, required: true, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: ['hack', 'time_limit'], rules: [{ required: true, @@ -1376,7 +1417,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { message: '最小限制时间是3秒' }], noStyle: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { precision: 0, max: 10, min: 3, @@ -1389,8 +1430,8 @@ var BProgramEditor = function BProgramEditor(_ref2) { className: "ml10 font14", children: "\u79D2" })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u586B\u7A7A\u9879\u7B54\u6848\u7684\u7A7A\u683C\u5904\u7406\u65B9\u5F0F", + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u5B66\u751F\u7B54\u6848\u7684\u7A7A\u683C\u5904\u7406\u65B9\u5F0F", style: { marginTop: 30 }, @@ -1402,39 +1443,33 @@ var BProgramEditor = function BProgramEditor(_ref2) { required: true, message: '请选择编程语言' }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"].Group */ .ZP.Group, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"].Group */ .ZP.Group, { + style: { + marginTop: -10 + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 0, children: "\u4E0D\u5FFD\u7565\u7A7A\u683C" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 1, children: "\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 2, children: "\u5FFD\u7565\u6240\u6709\u7A7A\u683C" })] }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { - align: "middle", + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u6D4B\u8BD5\u7528\u4F8B", + required: true, style: { marginTop: 30 - }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - name: ['hack', 'allow_student_debug'], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(ReversedSwitch, {}) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - className: "ml10", - children: "\u5141\u8BB8\u5B66\u751F\u7B54\u9898\u65F6\u8FDB\u884C\u4EE3\u7801\u8C03\u8BD5" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u6D4B\u8BD5\u7528\u4F8B", - required: true + } }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { style: { background: '#F6F7F9', padding: 15 }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8F93\u5165", labelCol: { span: 24 @@ -1443,7 +1478,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TextArea, { rows: 4 }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8F93\u51FA", labelCol: { span: 24 @@ -1622,7 +1657,10 @@ var ButtonLoading = function ButtonLoading(_ref) { _context4.next = 15; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: code.language + language: code.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.answer_text; + }) }); case 15: response = _context4.sent; @@ -1640,22 +1678,15 @@ var ButtonLoading = function ButtonLoading(_ref) { } function _onUpdateCodes() { _onUpdateCodes = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(re, id) { - var _stats$filter2; var stats, codes, response; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: stats = items.userAnswer; - codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); - if (!(stats.length > 0 && ((_stats$filter2 = stats.filter(function (item) { - return !item.value; - })) === null || _stats$filter2 === void 0 ? void 0 : _stats$filter2.length) > 0)) { - _context5.next = 5; - break; - } - antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info('填空项不能为空!'); - return _context5.abrupt("return"); - case 5: + codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); // if (stats.length > 0 && stats.filter((item) => !item.value)?.length > 0) { + // message.info('填空项不能为空!') + // return + // } if (stats.length > 0) { stats === null || stats === void 0 || stats.map(function (item) { if (item.multi_line) { @@ -1665,15 +1696,18 @@ var ButtonLoading = function ButtonLoading(_ref) { } }); } - _context5.next = 8; + _context5.next = 5; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: items.language + language: items.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.value; + }) }); - case 8: + case 5: response = _context5.sent; return _context5.abrupt("return", response); - case 10: + case 7: case "end": return _context5.stop(); } @@ -1693,7 +1727,7 @@ var ButtonLoading = function ButtonLoading(_ref) { return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: - if (!(ButtonText === '运行调试')) { + if (!(ButtonText === '提交代码')) { _context3.next = 20; break; } @@ -1720,6 +1754,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } executeCode = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { + var _items$userAnswer; var _yield$getOperationRe, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { @@ -1732,7 +1767,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe.message; data = _yield$getOperationRe.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - startTime > 6 * 1000; + isTimeOut = executeTime - startTime > 10 * 1000 * (items === null || items === void 0 || (_items$userAnswer = items.userAnswer) === null || _items$userAnswer === void 0 ? void 0 : _items$userAnswer.length); if (status !== 0 && !isTimeOut) { setTimeout(executeCode, 1000); } @@ -1888,6 +1923,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } _executeCode = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { + var _formValues$standard_; var _yield$getOperationRe2, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { @@ -1900,7 +1936,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe2.message; data = _yield$getOperationRe2.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000; + isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000 * (formValues === null || formValues === void 0 || (_formValues$standard_ = formValues.standard_answers) === null || _formValues$standard_ === void 0 ? void 0 : _formValues$standard_.length); if (status !== 0 && !isTimeOut) { setTimeout(_executeCode, 1000); } diff --git a/p__Classrooms__Lists__Exercise__Add__index.async.js b/p__Classrooms__Lists__Exercise__Add__index.async.js index d65c5e1313..00127465cd 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.async.js @@ -1,48 +1,6 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[292,4977,11436,58356,86743],{ -/***/ 80045: -/*!*******************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! - \*******************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_ExclamationCircleOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(38329); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js -// This icon file is generated automatically. -var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; -/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); - -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(91851); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_ExclamationCircleOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); - -/***/ }), - /***/ 80330: /*!*********************************!*\ !*** ./src/pages/tasks/util.js ***! @@ -774,17 +732,18 @@ var jsx_runtime = __webpack_require__(37712); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 1056); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78673); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 78241); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 95237); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 43604); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 85731); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 57809); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 5112); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78241); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 43418); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 95237); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 43604); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 85731); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 57809); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 5112); /* harmony import */ var _MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MdEditorInForm */ 627); /* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! umi */ 49266); /* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./index.less?modules */ 70992); /* harmony import */ var _Buttonloading__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Buttonloading */ 81525); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ant-design/icons */ 80045); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ 37712); @@ -801,6 +760,7 @@ var _excluded = ["key", "name"]; + var TextArea = antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.TextArea; var language = [{ title: 'C', @@ -825,7 +785,7 @@ var ReversedSwitch = function ReversedSwitch(_ref) { var value = _ref.value, _onChange = _ref.onChange; //打开为false,关闭为true,即一个特殊的Switch。 - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + return /*#__PURE__*/_jsx(Switch, { checked: value, onChange: function onChange(checked) { _onChange(checked); @@ -923,10 +883,10 @@ var BProgramEditor = function BProgramEditor(_ref2) { removeFnRef.current(deleteIndex); rewritePosition(); }; - var standardAnswersValue = antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.useWatch(answerKey, form); + var standardAnswersValue = antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.useWatch(answerKey, form); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.wrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8BD5\u9898\u63CF\u8FF0", name: ['hack', 'description'], style: { @@ -946,7 +906,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { }) }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.questionTitleEditorWrap, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u7A0B\u5E8F\u4EE3\u7801", name: ['hack_codes', 'code'], labelCol: { @@ -977,7 +937,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { } }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.List, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.List, { name: answerKey, rules: [{ validator: function validator(rule, values) { @@ -1010,33 +970,72 @@ var BProgramEditor = function BProgramEditor(_ref2) { addFnRef.current = add; removeFnRef.current = remove; return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u586B\u7A7A\u9879\u7B54\u6848", - required: true, - labelCol: { - span: 24 - } + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center', + justifyContent: 'space-between' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u586B\u7A7A\u9879\u7B54\u6848", + required: true, + labelCol: { + span: 24 + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + onClick: function onClick() { + antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.warning({ + title: '给分说明', + icon: null, + width: 700, + centered: true, + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { + children: "1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B\u624D\u80FD\u5F97\u5206\u3002" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { + style: { + marginTop: 10 + }, + children: "2.\u81EA\u52A8\u8BC4\u9605\u65F6\uFF0C\u7CFB\u7EDF\u5C06\u5224\u9898\u7A0B\u5E8F\u91CC\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u5185\u5BB9\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u7A0B\u5E8F\u8BFB\u6D4B\u8BD5\u8F93\u5165\u6570\u636E\uFF0C\u4EA7\u751F\u8F93\u51FA\uFF0C\u4E0E\u6D4B\u8BD5\u8F93\u51FA\u6570\u636E\u6309\u9010\u4E2A\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u5185\u5BB9\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u63D0\u4EA4\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\u3002\u5426\u5219\u8BE5\u7A7A\u5F97 0 \u5206\u3002" + })] + }) + }); + }, + style: { + minHeight: 32, + color: '#3061D0', + cursor: 'pointer' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + style: { + marginRight: 3, + color: '#3061D0' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("span", { + children: " \u7ED9\u5206\u8BF4\u660E" + })] + })] }), fields.map(function (_ref6, index) { var _standardAnswersValue, _standardAnswersValue2; var key = _ref6.key, name = _ref6.name, restField = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default()(_ref6, _excluded); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { className: "mb20", align: "middle", wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: '0 0 auto', className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.blankIndex), children: ["\u586B\u7A7A\u9879", index + 1] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: 1, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { align: "top", justify: "space-between", wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { name: [name, 'answer_text'], noStyle: true, children: standardAnswersValue !== null && standardAnswersValue !== void 0 && (_standardAnswersValue = standardAnswersValue[name]) !== null && _standardAnswersValue !== void 0 && _standardAnswersValue.multi_line || standardAnswersValue !== null && standardAnswersValue !== void 0 && (_standardAnswersValue2 = standardAnswersValue[name]) !== null && _standardAnswersValue2 !== void 0 && _standardAnswersValue2.multiLine ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TextArea, { @@ -1058,15 +1057,15 @@ var BProgramEditor = function BProgramEditor(_ref2) { onBlur: function onBlur(e) {} }) })) - }), scoreByBlank && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), scoreByBlank && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: '224px', - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { name: [name, 'score'], label: "\u5206\u503C", rules: [{ required: true }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { size: "large", className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.blankInput, min: 0.1, @@ -1075,7 +1074,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { style: { width: '100%' }, - placeholder: "\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C" + placeholder: "\u8BF7\u8F93\u5165\u5206\u503C" }) })) })] @@ -1089,7 +1088,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { onClick: function onClick() { return setEditAnalysis(true); }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: ['hack', 'analysis'], label: "\u9898\u76EE\u89E3\u6790", labelCol: { @@ -1100,7 +1099,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { isEdit: editAnalysis }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u7F16\u7A0B\u8BED\u8A00", style: { marginTop: 30 @@ -1113,16 +1112,16 @@ var BProgramEditor = function BProgramEditor(_ref2) { required: true, message: '请选择编程语言' }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__["default"], { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__["default"], { size: "large", children: language.map(function (item) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__["default"].Option, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__["default"].Option, { value: item.key, children: [" ", item.title] }, item.title); }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: '最大评测时长(秒)', style: { marginTop: 30 @@ -1131,7 +1130,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { span: 24 }, required: true, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: ['hack', 'time_limit'], rules: [{ required: true, @@ -1142,7 +1141,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { message: '最小限制时间是3秒' }], noStyle: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { precision: 0, max: 10, min: 3, @@ -1155,8 +1154,8 @@ var BProgramEditor = function BProgramEditor(_ref2) { className: "ml10 font14", children: "\u79D2" })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u586B\u7A7A\u9879\u7B54\u6848\u7684\u7A7A\u683C\u5904\u7406\u65B9\u5F0F", + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u5B66\u751F\u7B54\u6848\u7684\u7A7A\u683C\u5904\u7406\u65B9\u5F0F", style: { marginTop: 30 }, @@ -1168,39 +1167,33 @@ var BProgramEditor = function BProgramEditor(_ref2) { required: true, message: '请选择编程语言' }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"].Group */ .ZP.Group, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"].Group */ .ZP.Group, { + style: { + marginTop: -10 + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 0, children: "\u4E0D\u5FFD\u7565\u7A7A\u683C" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 1, children: "\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 2, children: "\u5FFD\u7565\u6240\u6709\u7A7A\u683C" })] }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { - align: "middle", + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u6D4B\u8BD5\u7528\u4F8B", + required: true, style: { marginTop: 30 - }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - name: ['hack', 'allow_student_debug'], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(ReversedSwitch, {}) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - className: "ml10", - children: "\u5141\u8BB8\u5B66\u751F\u7B54\u9898\u65F6\u8FDB\u884C\u4EE3\u7801\u8C03\u8BD5" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u6D4B\u8BD5\u7528\u4F8B", - required: true + } }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { style: { background: '#F6F7F9', padding: 15 }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8F93\u5165", labelCol: { span: 24 @@ -1209,7 +1202,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TextArea, { rows: 4 }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8F93\u51FA", labelCol: { span: 24 @@ -1388,7 +1381,10 @@ var ButtonLoading = function ButtonLoading(_ref) { _context4.next = 15; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: code.language + language: code.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.answer_text; + }) }); case 15: response = _context4.sent; @@ -1406,22 +1402,15 @@ var ButtonLoading = function ButtonLoading(_ref) { } function _onUpdateCodes() { _onUpdateCodes = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(re, id) { - var _stats$filter2; var stats, codes, response; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: stats = items.userAnswer; - codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); - if (!(stats.length > 0 && ((_stats$filter2 = stats.filter(function (item) { - return !item.value; - })) === null || _stats$filter2 === void 0 ? void 0 : _stats$filter2.length) > 0)) { - _context5.next = 5; - break; - } - antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info('填空项不能为空!'); - return _context5.abrupt("return"); - case 5: + codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); // if (stats.length > 0 && stats.filter((item) => !item.value)?.length > 0) { + // message.info('填空项不能为空!') + // return + // } if (stats.length > 0) { stats === null || stats === void 0 || stats.map(function (item) { if (item.multi_line) { @@ -1431,15 +1420,18 @@ var ButtonLoading = function ButtonLoading(_ref) { } }); } - _context5.next = 8; + _context5.next = 5; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: items.language + language: items.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.value; + }) }); - case 8: + case 5: response = _context5.sent; return _context5.abrupt("return", response); - case 10: + case 7: case "end": return _context5.stop(); } @@ -1459,7 +1451,7 @@ var ButtonLoading = function ButtonLoading(_ref) { return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: - if (!(ButtonText === '运行调试')) { + if (!(ButtonText === '提交代码')) { _context3.next = 20; break; } @@ -1486,6 +1478,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } executeCode = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { + var _items$userAnswer; var _yield$getOperationRe, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { @@ -1498,7 +1491,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe.message; data = _yield$getOperationRe.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - startTime > 6 * 1000; + isTimeOut = executeTime - startTime > 10 * 1000 * (items === null || items === void 0 || (_items$userAnswer = items.userAnswer) === null || _items$userAnswer === void 0 ? void 0 : _items$userAnswer.length); if (status !== 0 && !isTimeOut) { setTimeout(executeCode, 1000); } @@ -1654,6 +1647,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } _executeCode = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { + var _formValues$standard_; var _yield$getOperationRe2, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { @@ -1666,7 +1660,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe2.message; data = _yield$getOperationRe2.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000; + isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000 * (formValues === null || formValues === void 0 || (_formValues$standard_ = formValues.standard_answers) === null || _formValues$standard_ === void 0 ? void 0 : _formValues$standard_.length); if (status !== 0 && !isTimeOut) { setTimeout(_executeCode, 1000); } @@ -12424,6 +12418,7 @@ var ReuseShixunModal = __webpack_require__(86743); + var AddQuestionsModal_AddModal = function AddModal(_ref) { var _datas$tag_discipline, _grouplist$share_bank, _grouplist$my_banks_g; var setScoreShow = _ref.setScoreShow, @@ -12583,9 +12578,6 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { }, [addcount]); (0,_react_17_0_2_react.useEffect)(function () { if (ScoreShow) { - getdatas(param); - getdisciplines(); - getwjj(); form.setFieldsValue({ item_type: '', courseid: '', @@ -12601,6 +12593,9 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { setparam(objectSpread2_default()({}, param)); setindexi(false); } + getdatas(param); + getdisciplines(); + getwjj(); } }, [ScoreShow]); function getdatas(_x) { @@ -12608,64 +12603,63 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { } function _getdatas() { _getdatas = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(params) { - var _params$courseid, _params$courseid2, res, _params$courseid3, _params$courseid4, ids, shixun_ids, _res; + var _params$courseid, _params$courseid2; + var ids, shixun_ids, res; return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: setloading(true); setparam(params); - if (!isshixun) { - _context3.next = 9; - break; - } - _context3.next = 5; - return (0,fetch/* default */.ZP)("/api/shixun_lists.json", { - method: 'get', - params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { - discipline_id: (params === null || params === void 0 || (_params$courseid = params.courseid) === null || _params$courseid === void 0 ? void 0 : _params$courseid[0]) || null, - sub_discipline_id: (params === null || params === void 0 || (_params$courseid2 = params.courseid) === null || _params$courseid2 === void 0 ? void 0 : _params$courseid2[1]) || null, - limit: params.per_page - }) - }); - case 5: - res = _context3.sent; - setdatas(res); - _context3.next = 19; - break; - case 9: + + // if (isshixun) { + // let res = await Fetch(`/api/shixun_lists.json`, { + // method: 'get', + // params: { + // ...params, + // discipline_id: params?.courseid?.[0] || null, + // sub_discipline_id: params?.courseid?.[1] || null, + // limit: params.per_page, + // } + // }) + // setdatas(res); + + // } else { if (!((listitems === null || listitems === void 0 ? void 0 : listitems.length) <= 0 && params.type === '5')) { - _context3.next = 13; + _context3.next = 6; break; } setdatas([]); setloading(false); return _context3.abrupt("return"); - case 13: + case 6: ids = params.type === '5' ? listitems === null || listitems === void 0 ? void 0 : listitems.filter(function (item) { return !ShiXunListItems.includes(item); }) : null; shixun_ids = params.type === '5' ? listitems === null || listitems === void 0 ? void 0 : listitems.filter(function (item) { return ShiXunListItems.includes(item); }) : null; - _context3.next = 17; + _context3.next = 10; return (0,fetch/* default */.ZP)("/api/item_banks.json", { method: 'get', params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { - discipline_id: (params === null || params === void 0 || (_params$courseid3 = params.courseid) === null || _params$courseid3 === void 0 ? void 0 : _params$courseid3[0]) || null, - sub_discipline_id: (params === null || params === void 0 || (_params$courseid4 = params.courseid) === null || _params$courseid4 === void 0 ? void 0 : _params$courseid4[1]) || null, + discipline_id: (params === null || params === void 0 || (_params$courseid = params.courseid) === null || _params$courseid === void 0 ? void 0 : _params$courseid[0]) || null, + sub_discipline_id: (params === null || params === void 0 || (_params$courseid2 = params.courseid) === null || _params$courseid2 === void 0 ? void 0 : _params$courseid2[1]) || null, ids: ids, shixun_ids: shixun_ids, + keyword: params.keyword ? encodeURIComponent(params.keyword) : params.keyword, + include_shixuns: true, type: params.type === '5' ? null : params.type, clazz: params.type === '3' ? 'ItemBanksGroup' : null // ids:listitems }) }); - case 17: - _res = _context3.sent; - setdatas(_res); - case 19: + case 10: + res = _context3.sent; + setdatas(res); + // } + setloading(false); - case 20: + case 13: case "end": return _context3.stop(); } @@ -12734,7 +12728,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { } function _getmy() { _getmy = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(params) { - var _params$list, _params$list2, _params$courseid5, _params$courseid6; + var _params$list, _params$list2, _params$courseid3, _params$courseid4; var ids, shixun_ids, res; return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { @@ -12758,8 +12752,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return (0,fetch/* default */.ZP)("/api/item_banks.json", { method: 'get', params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { - discipline_id: (params === null || params === void 0 || (_params$courseid5 = params.courseid) === null || _params$courseid5 === void 0 ? void 0 : _params$courseid5[0]) || null, - sub_discipline_id: (params === null || params === void 0 || (_params$courseid6 = params.courseid) === null || _params$courseid6 === void 0 ? void 0 : _params$courseid6[1]) || null, + discipline_id: (params === null || params === void 0 || (_params$courseid3 = params.courseid) === null || _params$courseid3 === void 0 ? void 0 : _params$courseid3[0]) || null, + sub_discipline_id: (params === null || params === void 0 || (_params$courseid4 = params.courseid) === null || _params$courseid4 === void 0 ? void 0 : _params$courseid4[1]) || null, ids: ids, shixun_ids: shixun_ids, type: params.type === '5' ? null : params.type, @@ -13118,6 +13112,11 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { rowSelection: { type: 'checkbox', selectedRowKeys: checkitems, + getCheckboxProps: function getCheckboxProps(record) { + return { + disabled: record.shixun_tag_num === 1 + }; + }, onSelect: function onSelect(record, selected, selectedRows) { if (selected) { if (isshixun) { @@ -13271,7 +13270,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { showLines: 1, showTextOnly: true, - value: isshixun || record !== null && record !== void 0 && record.challenge_names ? (record === null || record === void 0 ? void 0 : record.title) || value : (record === null || record === void 0 ? void 0 : record.item_type) == "BPROGRAM" ? record === null || record === void 0 || (_record$program_attr = record.program_attr) === null || _record$program_attr === void 0 ? void 0 : _record$program_attr.description : value + value: isshixun || record !== null && record !== void 0 && record.challenge_names ? record !== null && record !== void 0 && record.title || value === null ? '--' : value : (record === null || record === void 0 ? void 0 : record.item_type) == "BPROGRAM" ? record === null || record === void 0 || (_record$program_attr = record.program_attr) === null || _record$program_attr === void 0 ? void 0 : _record$program_attr.description : value || '- -' }, 1); } }, { @@ -13298,6 +13297,16 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { })) === null || _difficultyData$filte2 === void 0 || (_difficultyData$filte2 = _difficultyData$filte2[0]) === null || _difficultyData$filte2 === void 0 ? void 0 : _difficultyData$filte2.name }); } + }, { + title: '关卡数量', + dataIndex: 'challenges_count', + key: 'challenges_count', + hidden: !isshixun, + render: function render(value, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: value || '- -' + }); + } }, { title: '使用次数', dataIndex: 'quotes', @@ -13307,17 +13316,32 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { children: isshixun || record !== null && record !== void 0 && record.challenge_names ? (record === null || record === void 0 ? void 0 : record.study_count) || (record === null || record === void 0 ? void 0 : record.stu_num) : value }); } + }, { + title: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u53D1\u5E03\u72B6\u6001 ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(QuestionCircleOutlined/* default */.Z, {}) + })] + }), + dataIndex: 'shixun_tag_num_name', + key: 'shixun_tag_num_name', + hidden: !isshixun, + render: function render(value, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: value || '- -' + }); + } }, { title: '操作', dataIndex: 'id', key: 'item_type', render: function render(value, record, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { flex: 1, textAlign: 'start' }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", { onClick: function onClick() { var _typeData$filter2; setqitem(objectSpread2_default()(objectSpread2_default()({}, record), {}, { @@ -13328,7 +13352,14 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { setisshow(true); }, children: "\u67E5\u770B" - }) + }), (record === null || record === void 0 ? void 0 : record.shixun_tag_num) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + target: "_blank", + href: "/shixuns/".concat(record === null || record === void 0 ? void 0 : record.identifier, "/challenges"), + style: { + marginLeft: 10 + }, + children: "\u53BB\u53D1\u5E03" + })] }); } }].filter(function (item) { @@ -13500,13 +13531,13 @@ var BProgramEditor_DragQuestions = function DragQuestions(_ref) { form = _Form$useForm2[0]; var scoreByBlank = true; (0,_react_17_0_2_react.useEffect)(function () { - var _qitem$hack, _qitem$program_attr, _qitem$program_attr2, _qitem$hack_sets; + var _qitem$program_attr, _qitem$program_attr2, _qitem$hack_sets; form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { standard_answers: qitem.standard_answer, difficulty: (qitem === null || qitem === void 0 ? void 0 : qitem.difficult) || 2, item_banks_group_id: qitem.item_banks_group_id, hack: objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { - time_limit: (qitem === null || qitem === void 0 || (_qitem$hack = qitem.hack) === null || _qitem$hack === void 0 ? void 0 : _qitem$hack.time_limit) || 3 + time_limit: (qitem === null || qitem === void 0 ? void 0 : qitem.time_limit) || 3 }), hack_codes: { language: qitem === null || qitem === void 0 || (_qitem$program_attr = qitem.program_attr) === null || _qitem$program_attr === void 0 ? void 0 : _qitem$program_attr.language, @@ -13544,7 +13575,7 @@ var BProgramEditor_DragQuestions = function DragQuestions(_ref) { item_type: qitem === null || qitem === void 0 ? void 0 : qitem.question_type, standard_answers: (_values$standard_answ = values.standard_answers) === null || _values$standard_answ === void 0 ? void 0 : _values$standard_answ.map(function (item, index) { return objectSpread2_default()(objectSpread2_default()({}, item), {}, { - position: item.choice_id || index + 1 + position: index + 1 }); }), hack_codes: objectSpread2_default()(objectSpread2_default()({}, values.hack_codes), {}, { diff --git a/p__Classrooms__Lists__Exercise__Answer__index.async.js b/p__Classrooms__Lists__Exercise__Answer__index.async.js index bc1180ee3c..6c3f3564d4 100644 --- a/p__Classrooms__Lists__Exercise__Answer__index.async.js +++ b/p__Classrooms__Lists__Exercise__Answer__index.async.js @@ -1268,7 +1268,10 @@ var ButtonLoading = function ButtonLoading(_ref) { _context4.next = 15; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: code.language + language: code.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.answer_text; + }) }); case 15: response = _context4.sent; @@ -1286,22 +1289,15 @@ var ButtonLoading = function ButtonLoading(_ref) { } function _onUpdateCodes() { _onUpdateCodes = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(re, id) { - var _stats$filter2; var stats, codes, response; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: stats = items.userAnswer; - codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); - if (!(stats.length > 0 && ((_stats$filter2 = stats.filter(function (item) { - return !item.value; - })) === null || _stats$filter2 === void 0 ? void 0 : _stats$filter2.length) > 0)) { - _context5.next = 5; - break; - } - antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info('填空项不能为空!'); - return _context5.abrupt("return"); - case 5: + codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); // if (stats.length > 0 && stats.filter((item) => !item.value)?.length > 0) { + // message.info('填空项不能为空!') + // return + // } if (stats.length > 0) { stats === null || stats === void 0 || stats.map(function (item) { if (item.multi_line) { @@ -1311,15 +1307,18 @@ var ButtonLoading = function ButtonLoading(_ref) { } }); } - _context5.next = 8; + _context5.next = 5; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: items.language + language: items.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.value; + }) }); - case 8: + case 5: response = _context5.sent; return _context5.abrupt("return", response); - case 10: + case 7: case "end": return _context5.stop(); } @@ -1339,7 +1338,7 @@ var ButtonLoading = function ButtonLoading(_ref) { return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: - if (!(ButtonText === '运行调试')) { + if (!(ButtonText === '提交代码')) { _context3.next = 20; break; } @@ -1366,6 +1365,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } executeCode = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { + var _items$userAnswer; var _yield$getOperationRe, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { @@ -1378,7 +1378,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe.message; data = _yield$getOperationRe.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - startTime > 6 * 1000; + isTimeOut = executeTime - startTime > 10 * 1000 * (items === null || items === void 0 || (_items$userAnswer = items.userAnswer) === null || _items$userAnswer === void 0 ? void 0 : _items$userAnswer.length); if (status !== 0 && !isTimeOut) { setTimeout(executeCode, 1000); } @@ -1534,6 +1534,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } _executeCode = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { + var _formValues$standard_; var _yield$getOperationRe2, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { @@ -1546,7 +1547,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe2.message; data = _yield$getOperationRe2.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000; + isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000 * (formValues === null || formValues === void 0 || (_formValues$standard_ = formValues.standard_answers) === null || _formValues$standard_ === void 0 ? void 0 : _formValues$standard_.length); if (status !== 0 && !isTimeOut) { setTimeout(_executeCode, 1000); } @@ -7339,6 +7340,8 @@ var Fill = function Fill(_ref) { /* harmony default export */ var components_Fill = (Fill); // EXTERNAL MODULE: ./src/components/QuestionEditor/Buttonloading.tsx var Buttonloading = __webpack_require__(81525); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules +var ExclamationCircleOutlined = __webpack_require__(80045); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Answer/components/BFill.tsx @@ -7347,12 +7350,13 @@ var Buttonloading = __webpack_require__(81525); -var BFill_TextArea = input/* default */.Z.TextArea; + +var BFill_TextArea = input/* default */.Z.TextArea; var BFill = function BFill(_ref) { var _item$user_answer2, _item$standard_answer2, _item$standard_answer3; var item = _ref.item, @@ -7370,11 +7374,14 @@ var BFill = function BFill(_ref) { var data = item === null || item === void 0 || (_item$standard_answer = item.standard_answer_with_score) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.map(function (val, index) { var _item$user_answer; return objectSpread2_default()(objectSpread2_default()({}, val), {}, { - value: (item === null || item === void 0 || (_item$user_answer = item.user_answer) === null || _item$user_answer === void 0 || (_item$user_answer = _item$user_answer[index]) === null || _item$user_answer === void 0 ? void 0 : _item$user_answer.answer_text) || '' + value: (item === null || item === void 0 || (_item$user_answer = item.user_answer) === null || _item$user_answer === void 0 || (_item$user_answer = _item$user_answer.find(function (item) { + return parseInt(item.choice_id) === index + 1; + })) === null || _item$user_answer === void 0 ? void 0 : _item$user_answer.answer_text) || '' }); }); setUserAnswer(data); }, [item === null || item === void 0 ? void 0 : item.standard_answer_with_score]); + // useEffect(() => { // if (item?.user_answer?.length > 0) { @@ -7464,21 +7471,33 @@ var BFill = function BFill(_ref) { })] })] }) - }), (item === null || item === void 0 ? void 0 : item.allow_student_debug) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - textAlign: 'end', + display: 'flex', + justifyContent: 'space-between', marginTop: 10 }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Buttonloading/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + fontSize: 14, + color: '#F19417' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5 + }, + children: "\u6CE8\u610F\uFF1A\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(Buttonloading/* default */.Z, { ButtonProps: { type: 'primary' }, - ButtonText: "\u8FD0\u884C\u8C03\u8BD5", + ButtonText: "\u63D0\u4EA4\u4EE3\u7801", items: objectSpread2_default()(objectSpread2_default()({}, item), {}, { userAnswer: userAnswer }), hackidentifier: item === null || item === void 0 ? void 0 : item.hack_identifier - }) + })] })] }); }; diff --git a/p__Classrooms__Lists__Exercise__Detail__index.async.js b/p__Classrooms__Lists__Exercise__Detail__index.async.js index b0e2452433..861240457d 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.async.js @@ -13794,14 +13794,15 @@ var PublishSettings = function PublishSettings(_ref) { type: 'exercise/getCommonHeader', payload: objectSpread2_default()({}, params) }); - dispatch({ - type: 'exercise/getWorkSetting', - payload: objectSpread2_default()({}, params) - }); - setPageLoading(false); // setDisabled(true) } - case 5: + + dispatch({ + type: 'exercise/getWorkSetting', + payload: objectSpread2_default()({}, params) + }); + setPageLoading(false); + case 7: case "end": return _context2.stop(); } @@ -17169,7 +17170,8 @@ var questionType = { 4: "简答题", 5: "实训题", 6: "编程题", - 7: "组合题" + 7: "组合题", + 8: "程序填空题" }; var RandomStatisticsResult_WorkList = function WorkList(_ref) { var _statisticsList$commi; @@ -17314,7 +17316,7 @@ var RandomStatisticsResult_WorkList = function WorkList(_ref) { dataIndex: 'commit_percent', render: function render(text) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [text * 100, "%"] + children: [(text * 100).toFixed(2), "%"] }); } }, { @@ -17423,7 +17425,7 @@ var RandomStatisticsResult_WorkList = function WorkList(_ref) { className: "mt20", children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { className: "bold c-black font16 ml20", - children: "\u5DF2\u4EA4\u5377\u5B66\u751F\u7B54\u9898\u8BE6\u60C5" + children: "\u5B66\u751F\u7B54\u9898\u8BE6\u60C5" }) }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { children: statisticsList === null || statisticsList === void 0 || (_statisticsList$commi = statisticsList.commit_results) === null || _statisticsList$commi === void 0 ? void 0 : _statisticsList$commi.map(function (v, k) { diff --git a/p__Classrooms__Lists__Exercise__ImitateAnswer__index.async.js b/p__Classrooms__Lists__Exercise__ImitateAnswer__index.async.js index 21c2494348..d8bc9fb00b 100644 --- a/p__Classrooms__Lists__Exercise__ImitateAnswer__index.async.js +++ b/p__Classrooms__Lists__Exercise__ImitateAnswer__index.async.js @@ -1,6 +1,48 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[14889,79817],{ +/***/ 80045: +/*!*******************************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \*******************************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(38329); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(91851); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + /***/ 80330: /*!*********************************!*\ !*** ./src/pages/tasks/util.js ***! @@ -751,7 +793,10 @@ var ButtonLoading = function ButtonLoading(_ref) { _context4.next = 15; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: code.language + language: code.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.answer_text; + }) }); case 15: response = _context4.sent; @@ -769,22 +814,15 @@ var ButtonLoading = function ButtonLoading(_ref) { } function _onUpdateCodes() { _onUpdateCodes = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(re, id) { - var _stats$filter2; var stats, codes, response; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: stats = items.userAnswer; - codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); - if (!(stats.length > 0 && ((_stats$filter2 = stats.filter(function (item) { - return !item.value; - })) === null || _stats$filter2 === void 0 ? void 0 : _stats$filter2.length) > 0)) { - _context5.next = 5; - break; - } - antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info('填空项不能为空!'); - return _context5.abrupt("return"); - case 5: + codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); // if (stats.length > 0 && stats.filter((item) => !item.value)?.length > 0) { + // message.info('填空项不能为空!') + // return + // } if (stats.length > 0) { stats === null || stats === void 0 || stats.map(function (item) { if (item.multi_line) { @@ -794,15 +832,18 @@ var ButtonLoading = function ButtonLoading(_ref) { } }); } - _context5.next = 8; + _context5.next = 5; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: items.language + language: items.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.value; + }) }); - case 8: + case 5: response = _context5.sent; return _context5.abrupt("return", response); - case 10: + case 7: case "end": return _context5.stop(); } @@ -822,7 +863,7 @@ var ButtonLoading = function ButtonLoading(_ref) { return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: - if (!(ButtonText === '运行调试')) { + if (!(ButtonText === '提交代码')) { _context3.next = 20; break; } @@ -849,6 +890,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } executeCode = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { + var _items$userAnswer; var _yield$getOperationRe, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { @@ -861,7 +903,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe.message; data = _yield$getOperationRe.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - startTime > 6 * 1000; + isTimeOut = executeTime - startTime > 10 * 1000 * (items === null || items === void 0 || (_items$userAnswer = items.userAnswer) === null || _items$userAnswer === void 0 ? void 0 : _items$userAnswer.length); if (status !== 0 && !isTimeOut) { setTimeout(executeCode, 1000); } @@ -1017,6 +1059,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } _executeCode = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { + var _formValues$standard_; var _yield$getOperationRe2, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { @@ -1029,7 +1072,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe2.message; data = _yield$getOperationRe2.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000; + isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000 * (formValues === null || formValues === void 0 || (_formValues$standard_ = formValues.standard_answers) === null || _formValues$standard_ === void 0 ? void 0 : _formValues$standard_.length); if (status !== 0 && !isTimeOut) { setTimeout(_executeCode, 1000); } @@ -5630,6 +5673,8 @@ var Fill = function Fill(_ref) { /* harmony default export */ var components_Fill = (Fill); // EXTERNAL MODULE: ./src/components/QuestionEditor/Buttonloading.tsx var Buttonloading = __webpack_require__(81525); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules +var ExclamationCircleOutlined = __webpack_require__(80045); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/components/BFill.tsx @@ -5638,12 +5683,13 @@ var Buttonloading = __webpack_require__(81525); -var BFill_TextArea = input/* default */.Z.TextArea; + +var BFill_TextArea = input/* default */.Z.TextArea; var BFill = function BFill(_ref) { var _item$standard_answer2, _item$standard_answer3; var item = _ref.item, @@ -5661,7 +5707,9 @@ var BFill = function BFill(_ref) { var data = item === null || item === void 0 || (_item$standard_answer = item.standard_answer_with_score) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer.map(function (val, index) { var _item$user_answer; return objectSpread2_default()(objectSpread2_default()({}, val), {}, { - value: (item === null || item === void 0 || (_item$user_answer = item.user_answer) === null || _item$user_answer === void 0 || (_item$user_answer = _item$user_answer[index]) === null || _item$user_answer === void 0 ? void 0 : _item$user_answer.answer_text) || '' + value: (item === null || item === void 0 || (_item$user_answer = item.user_answer) === null || _item$user_answer === void 0 || (_item$user_answer = _item$user_answer.find(function (item) { + return parseInt(item.choice_id) === index + 1; + })) === null || _item$user_answer === void 0 ? void 0 : _item$user_answer.answer_text) || '' }); }); setUserAnswer(data); @@ -5721,20 +5769,32 @@ var BFill = function BFill(_ref) { })] }, index); }) - }), (item === null || item === void 0 ? void 0 : item.allow_student_debug) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - textAlign: 'end' + display: 'flex', + justifyContent: 'space-between' }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(Buttonloading/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + fontSize: 14, + color: '#F19417' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 5 + }, + children: "\u6CE8\u610F\uFF1A\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(Buttonloading/* default */.Z, { ButtonProps: { type: 'primary' }, - ButtonText: "\u8FD0\u884C\u8C03\u8BD5", + ButtonText: "\u63D0\u4EA4\u4EE3\u7801", items: objectSpread2_default()(objectSpread2_default()({}, item), {}, { userAnswer: userAnswer }), hackidentifier: item === null || item === void 0 ? void 0 : item.hack_identifier - }) + })] })] }); }; diff --git a/p__Classrooms__Lists__Exercise__Review__index.async.js b/p__Classrooms__Lists__Exercise__Review__index.async.js index 42731ff164..29e8b3dbc8 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.async.js +++ b/p__Classrooms__Lists__Exercise__Review__index.async.js @@ -1824,6 +1824,10 @@ var Fill = __webpack_require__(92151); var SeeAnswer = __webpack_require__(11756); // EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/index.less?modules var componentmodules = __webpack_require__(46287); +// EXTERNAL MODULE: ./src/utils/fetch.ts +var fetch = __webpack_require__(91506); +// EXTERNAL MODULE: ./node_modules/_js-base64@2.6.4@js-base64/base64.js +var base64 = __webpack_require__(24334); // EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js var jsx_runtime = __webpack_require__(37712); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/BFill.tsx @@ -1835,6 +1839,11 @@ var jsx_runtime = __webpack_require__(37712); + + + + + var TextArea = input/* default */.Z.TextArea; var BFill = function BFill(_ref) { var item = _ref.item, @@ -1853,6 +1862,14 @@ var BFill = function BFill(_ref) { _useState4 = slicedToArray_default()(_useState3, 2), showEdit = _useState4[0], setShowEdit = _useState4[1]; + var _useState5 = (0,_react_17_0_2_react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + isshow = _useState6[0], + setisshow = _useState6[1]; + var _useState7 = (0,_react_17_0_2_react.useState)([]), + _useState8 = slicedToArray_default()(_useState7, 2), + datas = _useState8[0], + setdatas = _useState8[1]; (0,_react_17_0_2_react.useEffect)(function () { if (changeScoreData !== null && changeScoreData !== void 0 && changeScoreData[item.q_position]) { !showEdit && setShowEdit(true); @@ -1873,9 +1890,58 @@ var BFill = function BFill(_ref) { }, [item === null || item === void 0 ? void 0 : item.user_answer]); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: componentmodules/* default */.Z.fillBg, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", { - className: "font14 c-light-primary mb5", - children: "\u5B66\u751F\u7B54\u9898" + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + justifyContent: 'space-between' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + className: "font14 c-light-primary mb5", + children: "\u5B66\u751F\u7B54\u9898" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + style: { + cursor: 'pointer' + }, + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var res, _res$records; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + if (item !== null && item !== void 0 && item.hack_user_identifier) { + _context.next = 3; + break; + } + message/* default */.ZP.info("当前学生暂无评测记录"); + return _context.abrupt("return"); + case 3: + _context.next = 5; + return (0,fetch/* default */.ZP)("/api/myproblems/".concat(item === null || item === void 0 ? void 0 : item.hack_user_identifier, "/submit_records.json"), { + method: 'get' + }); + case 5: + res = _context.sent; + if (!res) { + _context.next = 12; + break; + } + if (!((res === null || res === void 0 || (_res$records = res.records) === null || _res$records === void 0 ? void 0 : _res$records.length) === 0)) { + _context.next = 10; + break; + } + message/* default */.ZP.info("当前学生暂无评测记录"); + return _context.abrupt("return"); + case 10: + setisshow(true); + setdatas(res === null || res === void 0 ? void 0 : res.records); + case 12: + case "end": + return _context.stop(); + } + }, _callee); + })), + className: "font14 c-light-primary mb5", + children: "\u67E5\u770B\u8BC4\u6D4B\u8BB0\u5F55" + })] }), userAnswer === null || userAnswer === void 0 ? void 0 : userAnswer.map(function (answer, index) { var _item$standard_answer; return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -1886,7 +1952,7 @@ var BFill = function BFill(_ref) { style: { lineHeight: '25px' }, - children: ["\u7B54\u6848(\u586B\u7A7A", index + 1, ")\uFF1A"] + children: ["\u7B54\u6848(\u586B\u7A7A", answer === null || answer === void 0 ? void 0 : answer.choice_id, ")\uFF1A"] }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { children: item.question_type == 3 ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { @@ -1904,6 +1970,40 @@ var BFill = function BFill(_ref) { }); }), seeAnswerVisible && /*#__PURE__*/(0,jsx_runtime.jsx)(SeeAnswer/* SeeAnswer */.u, { data: item + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, { + title: "\u8BC4\u6D4B\u8BB0\u5F55", + open: isshow, + footer: false, + centered: true, + onCancel: function onCancel() { + setisshow(false); + }, + width: 700, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + scroll: { + y: 400 + }, + dataSource: datas, + columns: [{ + title: '评测序号', + dataIndex: 'name', + render: function render(text, record, index) { + return index + 1; + } + }, { + title: '评测时间', + dataIndex: 'created_at', + render: function render(text, record, index) { + return dayjs_min_default()(text).format('YYYY-MM-DD HH:mm'); + } + }, { + title: '评测结果', + dataIndex: 'error_msg', + render: function render(text, record, index) { + return base64.Base64.decode(text); + } + }] + }) })] }); }; @@ -2619,8 +2719,6 @@ var es_form = __webpack_require__(78241); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/AdjustScoreModal/index.less?modules // extracted by mini-css-extract-plugin /* harmony default export */ var AdjustScoreModalmodules = ({"flex_box_center":"flex_box_center___rj3qW","flex_space_between":"flex_space_between___eHnsZ","flex_box_vertical_center":"flex_box_vertical_center___o8x0E","flex_box_center_end":"flex_box_center_end___Eje4p","flex_box_column":"flex_box_column____EBoU","fullBtn":"fullBtn___eRgbl","box":"box___L0bdv","head":"head___cyjX5","content":"content___hzHVR","row":"row___FKXkZ","btnWrap":"btnWrap___aUDJ0","btn":"btn___N6ksw","disabledBtn":"disabledBtn___t8_ZJ","del":"del___TrkS2","line":"line___jAAPS"}); -// EXTERNAL MODULE: ./src/utils/fetch.ts -var fetch = __webpack_require__(91506); ;// CONCATENATED MODULE: ./src/assets/images/keyboard.png var keyboard_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABopJREFUWEftVltsXNUVXfc17/eMx07ssceOHdIKCYKroiQfTSXa1KhEJG2C84EMiUIi4AMESPxVqqIGqZ9I/CQfoRCI20SoESSkESBFQkGgpGoiQUwSP7BnHNvznjuve+fei/a+M4b0Z/pRIX/4aEb3zNl7zll77bX3uQLW2BDWEh4LkNcUICJnHVAniawztM5QJwY62de2hkZHR4MuV6AvEHBZmgY4HHY8NIeDPq2FdpgOsmn2asuZ5m1/e8JGWl3di1zb+9dqhpjNLqZu3ryZ/+8+JO3ff+DArl2/ezUWj1mlQsmKRkPI5guIhMPQdR21Wh0ejwfVahWhYBDFYgmhSBD1Wg2WaUEQBWgNDX5/AJlcDt1dUZRKFcgOCU29CdMw4PV6kc3mEOvqgihASKXT0qVPLr/599OnTwHQf5wy/+HDR//67MFnjiiKgny+gMHkAL69fQdDQ4MoFoqo1+vw+3284eBQEtN3ZzA4mMRKJguJdhdFBplM9mNq6jYe2DyClZUMXG43mk0d5bKKgYEEvvlmCiPDw/D5PJibm8c777x7enLyvRcLhUJhFdDo6M7Ytm0P/W3rI4+M0cGNRh2wAFGSYBgGBIFcf4zfgsS2JgRBJFfAstjPNA1IksxPstEwTZP96cmupgmH0wGvx4v/3LhxZWb69v7z588vrZ6wY8dj/Xv3PnHx4MGJn9O59xaXUFZVJAcSuHt3FsnBAY6QmHC7vZidm8Xw8BBSqUWEwyFOoyBI6OqK4datW9iyZTPm59NwOhRAEKBpDST6enFr6g62PDCC5ZUsarUKNg0N4tTb785e+vijXRcuXPh2FdD4+NOPPrz1oUsjw5uCzWYThUIRFiwE/H5kczmEw2E06nVIsgJRFFAul3mN/ChKvalBAIF1s39XLIpCscSsiCKJWGfgK8sZhCNhNBoaZyEej2N6eqZ+/dq13585c/qTNiDh0OHDT+367ePvRyJhjoY2Ij2QCCll9Gef14diqYRgMIBqrQZREOFyulBWywgGgiiUivC6PZy+SkUF7UVaDAQCrD9KF2kwk8kiEonwGTQoExc/uvjciRNvnWwDko8+/+KrR48cOZ4c6GOtaLqOudnvWNCZbJZBhUMhLC2voK93A+YX0ohFo5BliQ9IJHoxMzOHnp44dN1ALp9DX+9GLKTS6O6OMzBZlhGNRjBNEkj2Q1FkBjQ79x1Onjh5/OrVz//EgMbGxpwPPrj1rW3btx1Uy0WYFkBpI8EqsgK9aXCaSNcUJQndNC0qW2bJIMGKIoO2bSbpm//DYhZFmJYJ07KgyDJ0TefUy7LIovf5fPj39ev/mJr6eoIB7du3z7fz1499+NT+P/6q0WjAomoRRUiihPn5BfT19aJSraFaVRGLxbCYvoeeDXGoapX7EzFHrSAaiyCXK4Daht/nweK9ZWzcuAGZTAZujwc+jxvzCyn0J/o4CKo0itLpcOLcuQ+uXbny6W8Y0Pj4eGLs8Sc+e/SXv9hkl6rAoDS9ieVWiki8xBSLPJtFLBaFWqms6iKfLyEcDqJcUiFKAmuPUklpLZXLzDQBTqcWWVuKIvE5FDQ11C+/ur58/p8f7mRAExOHduzZu+dfsix5SMjsKEmcNrfbA02rAxA5csPQoShOFrksK5xGYsnhcHIxkA8NWnM6XdB1jdfq9QZKpSLPZUmCz++HrmkoFItwuVwkfOPji5d3M6BDz70w8dorL53aPLIJmWyexRbw+zA3t4D+/l6oagVqpYrejT12OlsM/tAoqa5oq/aTW9+qH/mn00tIpRf5/16vBz/bMoJyuYLbd+7C6aRgNJx5f/JlBvTnY28c/8OeJ1/3el1YXsnA5/MyxfeWlrlSKDJNN9DTHWdh3n+wffgPQ7j/J3Ergq8Q0xLg9bi5aiPhEJqGiVq1hlAogHpDxxdXvzjBgM6e/eC9RCJxYCGVgsvl5pZP1UHIuRkqMueaBE9M8C3SYbQhtl0drbcBwzQ4WFVVWRaULkprV1c3cvnsZfY/duwvr+/evfs1tVKRLEu0LMu+b+z7y77F7SU7Ja3rafVu45awCtQGTL9pwnNBbLUNKhZAkuh+o6/JNjpHUSTr7LmzNkPbt2+Pj4+PP6xblqzruiXD7qBNGCxAGC06JLQsbXrsxsZD5g/u82D/lqEJyOxAexuEyp4ZgKKIgmEY5uTk5I3/gfxOyfn/2tcBdeJznaF1hjox0Mm+NjVE71L07tUJ/U9h/x6rDvjn4j3vhgAAAABJRU5ErkJggg=="; ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/AdjustScoreModal/index.tsx @@ -2982,8 +3080,6 @@ var AdjustScoreModal = function AdjustScoreModal(_ref) { }); }; /* harmony default export */ var component_AdjustScoreModal = (AdjustScoreModal); -// EXTERNAL MODULE: ./node_modules/_js-base64@2.6.4@js-base64/base64.js -var base64 = __webpack_require__(24334); ;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/NewProgram.tsx diff --git a/p__Classrooms__Lists__ProgramHomework__Comment__index.async.js b/p__Classrooms__Lists__ProgramHomework__Comment__index.async.js index 1dc013dd05..7fa46d7c87 100644 --- a/p__Classrooms__Lists__ProgramHomework__Comment__index.async.js +++ b/p__Classrooms__Lists__ProgramHomework__Comment__index.async.js @@ -2671,10 +2671,28 @@ var Comment_ShixunsListPage = function ShixunsListPage(_ref) { to: "/classrooms/".concat(params.coursesId, "/program_homework/").concat(params.categoryId, "/detail"), children: "\u8FD4\u56DE\u5217\u8868" }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { flex: "1", className: "tr", - children: (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "default", + disabled: Previous === null || Previous === void 0 ? void 0 : Previous.last, + onClick: function onClick() { + return skip(); + }, + children: "\u4E0A\u4E00\u4E2A" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "default", + style: { + marginLeft: '20px', + marginRight: '20px' + }, + disabled: nextComment === null || nextComment === void 0 ? void 0 : nextComment.last, + onClick: function onClick() { + return skip('next'); + }, + children: "\u4E0B\u4E00\u4E2A" + }), (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { type: "primary", onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() { var _classroomList$Assist; @@ -2705,7 +2723,7 @@ var Comment_ShixunsListPage = function ShixunsListPage(_ref) { }, _callee9); })), children: "\u70B9\u8BC4\u4F5C\u4E1A" - }) + })] })] }) }) diff --git a/p__Paperlibrary__Add__index.async.js b/p__Paperlibrary__Add__index.async.js index d1dea8bdce..97245696de 100644 --- a/p__Paperlibrary__Add__index.async.js +++ b/p__Paperlibrary__Add__index.async.js @@ -1,48 +1,6 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[93260,4977,11436,58356],{ -/***/ 80045: -/*!*******************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! - \*******************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_ExclamationCircleOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(38329); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js -// This icon file is generated automatically. -var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; -/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); - -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(91851); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_ExclamationCircleOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); - -/***/ }), - /***/ 80330: /*!*********************************!*\ !*** ./src/pages/tasks/util.js ***! @@ -848,17 +806,18 @@ var jsx_runtime = __webpack_require__(37712); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 1056); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78673); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 78241); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 95237); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 43604); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 85731); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 57809); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 5112); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78241); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 43418); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 95237); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 43604); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 85731); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 57809); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 5112); /* harmony import */ var _MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MdEditorInForm */ 627); /* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! umi */ 49266); /* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./index.less?modules */ 70992); /* harmony import */ var _Buttonloading__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Buttonloading */ 81525); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ant-design/icons */ 80045); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ 37712); @@ -875,6 +834,7 @@ var _excluded = ["key", "name"]; + var TextArea = antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.TextArea; var language = [{ title: 'C', @@ -899,7 +859,7 @@ var ReversedSwitch = function ReversedSwitch(_ref) { var value = _ref.value, _onChange = _ref.onChange; //打开为false,关闭为true,即一个特殊的Switch。 - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + return /*#__PURE__*/_jsx(Switch, { checked: value, onChange: function onChange(checked) { _onChange(checked); @@ -997,10 +957,10 @@ var BProgramEditor = function BProgramEditor(_ref2) { removeFnRef.current(deleteIndex); rewritePosition(); }; - var standardAnswersValue = antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.useWatch(answerKey, form); + var standardAnswersValue = antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.useWatch(answerKey, form); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.wrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8BD5\u9898\u63CF\u8FF0", name: ['hack', 'description'], style: { @@ -1020,7 +980,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { }) }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.questionTitleEditorWrap, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u7A0B\u5E8F\u4EE3\u7801", name: ['hack_codes', 'code'], labelCol: { @@ -1051,7 +1011,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { } }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.List, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.List, { name: answerKey, rules: [{ validator: function validator(rule, values) { @@ -1084,33 +1044,72 @@ var BProgramEditor = function BProgramEditor(_ref2) { addFnRef.current = add; removeFnRef.current = remove; return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u586B\u7A7A\u9879\u7B54\u6848", - required: true, - labelCol: { - span: 24 - } + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center', + justifyContent: 'space-between' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u586B\u7A7A\u9879\u7B54\u6848", + required: true, + labelCol: { + span: 24 + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + onClick: function onClick() { + antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.warning({ + title: '给分说明', + icon: null, + width: 700, + centered: true, + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { + children: "1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B\u624D\u80FD\u5F97\u5206\u3002" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { + style: { + marginTop: 10 + }, + children: "2.\u81EA\u52A8\u8BC4\u9605\u65F6\uFF0C\u7CFB\u7EDF\u5C06\u5224\u9898\u7A0B\u5E8F\u91CC\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u5185\u5BB9\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u7A0B\u5E8F\u8BFB\u6D4B\u8BD5\u8F93\u5165\u6570\u636E\uFF0C\u4EA7\u751F\u8F93\u51FA\uFF0C\u4E0E\u6D4B\u8BD5\u8F93\u51FA\u6570\u636E\u6309\u9010\u4E2A\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u5185\u5BB9\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u63D0\u4EA4\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\u3002\u5426\u5219\u8BE5\u7A7A\u5F97 0 \u5206\u3002" + })] + }) + }); + }, + style: { + minHeight: 32, + color: '#3061D0', + cursor: 'pointer' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + style: { + marginRight: 3, + color: '#3061D0' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("span", { + children: " \u7ED9\u5206\u8BF4\u660E" + })] + })] }), fields.map(function (_ref6, index) { var _standardAnswersValue, _standardAnswersValue2; var key = _ref6.key, name = _ref6.name, restField = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default()(_ref6, _excluded); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { className: "mb20", align: "middle", wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: '0 0 auto', className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.blankIndex), children: ["\u586B\u7A7A\u9879", index + 1] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: 1, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { align: "top", justify: "space-between", wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { name: [name, 'answer_text'], noStyle: true, children: standardAnswersValue !== null && standardAnswersValue !== void 0 && (_standardAnswersValue = standardAnswersValue[name]) !== null && _standardAnswersValue !== void 0 && _standardAnswersValue.multi_line || standardAnswersValue !== null && standardAnswersValue !== void 0 && (_standardAnswersValue2 = standardAnswersValue[name]) !== null && _standardAnswersValue2 !== void 0 && _standardAnswersValue2.multiLine ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TextArea, { @@ -1132,15 +1131,15 @@ var BProgramEditor = function BProgramEditor(_ref2) { onBlur: function onBlur(e) {} }) })) - }), scoreByBlank && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), scoreByBlank && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: '224px', - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { name: [name, 'score'], label: "\u5206\u503C", rules: [{ required: true }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { size: "large", className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.blankInput, min: 0.1, @@ -1149,7 +1148,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { style: { width: '100%' }, - placeholder: "\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C" + placeholder: "\u8BF7\u8F93\u5165\u5206\u503C" }) })) })] @@ -1163,7 +1162,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { onClick: function onClick() { return setEditAnalysis(true); }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: ['hack', 'analysis'], label: "\u9898\u76EE\u89E3\u6790", labelCol: { @@ -1174,7 +1173,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { isEdit: editAnalysis }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u7F16\u7A0B\u8BED\u8A00", style: { marginTop: 30 @@ -1187,16 +1186,16 @@ var BProgramEditor = function BProgramEditor(_ref2) { required: true, message: '请选择编程语言' }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__["default"], { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__["default"], { size: "large", children: language.map(function (item) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__["default"].Option, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__["default"].Option, { value: item.key, children: [" ", item.title] }, item.title); }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: '最大评测时长(秒)', style: { marginTop: 30 @@ -1205,7 +1204,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { span: 24 }, required: true, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: ['hack', 'time_limit'], rules: [{ required: true, @@ -1216,7 +1215,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { message: '最小限制时间是3秒' }], noStyle: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { precision: 0, max: 10, min: 3, @@ -1229,8 +1228,8 @@ var BProgramEditor = function BProgramEditor(_ref2) { className: "ml10 font14", children: "\u79D2" })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u586B\u7A7A\u9879\u7B54\u6848\u7684\u7A7A\u683C\u5904\u7406\u65B9\u5F0F", + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u5B66\u751F\u7B54\u6848\u7684\u7A7A\u683C\u5904\u7406\u65B9\u5F0F", style: { marginTop: 30 }, @@ -1242,39 +1241,33 @@ var BProgramEditor = function BProgramEditor(_ref2) { required: true, message: '请选择编程语言' }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"].Group */ .ZP.Group, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"].Group */ .ZP.Group, { + style: { + marginTop: -10 + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 0, children: "\u4E0D\u5FFD\u7565\u7A7A\u683C" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 1, children: "\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 2, children: "\u5FFD\u7565\u6240\u6709\u7A7A\u683C" })] }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { - align: "middle", + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u6D4B\u8BD5\u7528\u4F8B", + required: true, style: { marginTop: 30 - }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - name: ['hack', 'allow_student_debug'], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(ReversedSwitch, {}) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - className: "ml10", - children: "\u5141\u8BB8\u5B66\u751F\u7B54\u9898\u65F6\u8FDB\u884C\u4EE3\u7801\u8C03\u8BD5" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u6D4B\u8BD5\u7528\u4F8B", - required: true + } }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { style: { background: '#F6F7F9', padding: 15 }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8F93\u5165", labelCol: { span: 24 @@ -1283,7 +1276,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TextArea, { rows: 4 }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8F93\u51FA", labelCol: { span: 24 @@ -1462,7 +1455,10 @@ var ButtonLoading = function ButtonLoading(_ref) { _context4.next = 15; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: code.language + language: code.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.answer_text; + }) }); case 15: response = _context4.sent; @@ -1480,22 +1476,15 @@ var ButtonLoading = function ButtonLoading(_ref) { } function _onUpdateCodes() { _onUpdateCodes = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(re, id) { - var _stats$filter2; var stats, codes, response; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: stats = items.userAnswer; - codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); - if (!(stats.length > 0 && ((_stats$filter2 = stats.filter(function (item) { - return !item.value; - })) === null || _stats$filter2 === void 0 ? void 0 : _stats$filter2.length) > 0)) { - _context5.next = 5; - break; - } - antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info('填空项不能为空!'); - return _context5.abrupt("return"); - case 5: + codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); // if (stats.length > 0 && stats.filter((item) => !item.value)?.length > 0) { + // message.info('填空项不能为空!') + // return + // } if (stats.length > 0) { stats === null || stats === void 0 || stats.map(function (item) { if (item.multi_line) { @@ -1505,15 +1494,18 @@ var ButtonLoading = function ButtonLoading(_ref) { } }); } - _context5.next = 8; + _context5.next = 5; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: items.language + language: items.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.value; + }) }); - case 8: + case 5: response = _context5.sent; return _context5.abrupt("return", response); - case 10: + case 7: case "end": return _context5.stop(); } @@ -1533,7 +1525,7 @@ var ButtonLoading = function ButtonLoading(_ref) { return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: - if (!(ButtonText === '运行调试')) { + if (!(ButtonText === '提交代码')) { _context3.next = 20; break; } @@ -1560,6 +1552,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } executeCode = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { + var _items$userAnswer; var _yield$getOperationRe, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { @@ -1572,7 +1565,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe.message; data = _yield$getOperationRe.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - startTime > 6 * 1000; + isTimeOut = executeTime - startTime > 10 * 1000 * (items === null || items === void 0 || (_items$userAnswer = items.userAnswer) === null || _items$userAnswer === void 0 ? void 0 : _items$userAnswer.length); if (status !== 0 && !isTimeOut) { setTimeout(executeCode, 1000); } @@ -1728,6 +1721,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } _executeCode = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { + var _formValues$standard_; var _yield$getOperationRe2, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { @@ -1740,7 +1734,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe2.message; data = _yield$getOperationRe2.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000; + isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000 * (formValues === null || formValues === void 0 || (_formValues$standard_ = formValues.standard_answers) === null || _formValues$standard_ === void 0 ? void 0 : _formValues$standard_.length); if (status !== 0 && !isTimeOut) { setTimeout(_executeCode, 1000); } @@ -10980,13 +10974,13 @@ var BProgramEditor_DragQuestions = function DragQuestions(_ref) { form = _Form$useForm2[0]; var scoreByBlank = true; (0,_react_17_0_2_react.useEffect)(function () { - var _qitem$hack, _qitem$program_attr, _qitem$program_attr2, _qitem$hack_sets; + var _qitem$program_attr, _qitem$program_attr2, _qitem$hack_sets; form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { standard_answers: qitem.standard_answer, difficulty: qitem.difficulty, item_banks_group_id: qitem.item_banks_group_id, hack: objectSpread2_default()(objectSpread2_default()({}, qitem), {}, { - time_limit: (qitem === null || qitem === void 0 || (_qitem$hack = qitem.hack) === null || _qitem$hack === void 0 ? void 0 : _qitem$hack.time_limit) || 3 + time_limit: (qitem === null || qitem === void 0 ? void 0 : qitem.time_limit) || 3 }), hack_codes: { language: qitem === null || qitem === void 0 || (_qitem$program_attr = qitem.program_attr) === null || _qitem$program_attr === void 0 ? void 0 : _qitem$program_attr.language, @@ -11024,7 +11018,7 @@ var BProgramEditor_DragQuestions = function DragQuestions(_ref) { item_type: qitem === null || qitem === void 0 ? void 0 : qitem.question_type, standard_answers: (_values$standard_answ = values.standard_answers) === null || _values$standard_answ === void 0 ? void 0 : _values$standard_answ.map(function (item, index) { return objectSpread2_default()(objectSpread2_default()({}, item), {}, { - position: item.choice_id || index + 1 + position: index + 1 }); }), standard_answer: undefined //后端希望只传一个,存和取的字段又不统一 @@ -12411,6 +12405,7 @@ var jiangxu = __webpack_require__(59033); + var AddQuestionsModal_AddModal = function AddModal(_ref) { var _datas$tag_discipline, _grouplist$share_bank, _grouplist$my_banks_g; var setScoreShow = _ref.setScoreShow, @@ -12564,9 +12559,6 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { }; (0,_react_17_0_2_react.useEffect)(function () { if (ScoreShow) { - getdatas(param); - getdisciplines(); - getwjj(); form.setFieldsValue({ item_type: '', courseid: '', @@ -12582,6 +12574,9 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { setparam(objectSpread2_default()({}, param)); setindexi(false); } + getdatas(param); + getdisciplines(); + getwjj(); } }, [ScoreShow]); (0,_react_17_0_2_react.useEffect)(function () { @@ -12596,66 +12591,64 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { } function _getdatas() { _getdatas = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(params) { - var _params$courseid, _params$courseid2, res, _params$courseid3, _params$courseid4, ids, shixun_ids, _res; + var _params$courseid, _params$courseid2; + var ids, shixun_ids, res; return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: setloading(true); setparam(objectSpread2_default()({}, params)); - if (!isshixun) { - _context2.next = 9; - break; - } - _context2.next = 5; - return (0,fetch/* default */.ZP)("/api/shixun_lists.json", { - method: 'get', - params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { - discipline_id: (params === null || params === void 0 || (_params$courseid = params.courseid) === null || _params$courseid === void 0 ? void 0 : _params$courseid[0]) || null, - sub_discipline_id: (params === null || params === void 0 || (_params$courseid2 = params.courseid) === null || _params$courseid2 === void 0 ? void 0 : _params$courseid2[1]) || null, - limit: params.per_page - // ids:listitems - }) - }); - case 5: - res = _context2.sent; - setdatas(res); - _context2.next = 19; - break; - case 9: + // if (isshixun) { + // let res = await Fetch(`/api/shixun_lists.json`, { + // method: 'get', + // params: { + // ...params, + // discipline_id: params?.courseid?.[0] || null, + // sub_discipline_id: params?.courseid?.[1] || null, + // limit: params.per_page, + // // ids:listitems + // } + // }) + // setdatas(res); + + // } else { if (!((listitems === null || listitems === void 0 ? void 0 : listitems.length) <= 0 && params.type === '5')) { - _context2.next = 13; + _context2.next = 6; break; } setdatas([]); setloading(false); return _context2.abrupt("return"); - case 13: + case 6: ids = params.type === '5' ? listitems === null || listitems === void 0 ? void 0 : listitems.filter(function (item) { return !ShiXunListItems.includes(item); }) : null; shixun_ids = params.type === '5' ? listitems === null || listitems === void 0 ? void 0 : listitems.filter(function (item) { return ShiXunListItems.includes(item); }) : null; - _context2.next = 17; + _context2.next = 10; return (0,fetch/* default */.ZP)("/api/item_banks.json", { method: 'get', params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { - discipline_id: (params === null || params === void 0 || (_params$courseid3 = params.courseid) === null || _params$courseid3 === void 0 ? void 0 : _params$courseid3[0]) || null, - sub_discipline_id: (params === null || params === void 0 || (_params$courseid4 = params.courseid) === null || _params$courseid4 === void 0 ? void 0 : _params$courseid4[1]) || null, + discipline_id: (params === null || params === void 0 || (_params$courseid = params.courseid) === null || _params$courseid === void 0 ? void 0 : _params$courseid[0]) || null, + sub_discipline_id: (params === null || params === void 0 || (_params$courseid2 = params.courseid) === null || _params$courseid2 === void 0 ? void 0 : _params$courseid2[1]) || null, ids: ids, shixun_ids: shixun_ids, + include_shixuns: true, + keyword: params.keyword ? encodeURIComponent(params.keyword) : params.keyword, type: params.type === '5' ? null : params.type, clazz: params.type === '3' ? 'ItemBanksGroup' : null // ids:listitems }) }); - case 17: - _res = _context2.sent; - setdatas(_res); - case 19: + case 10: + res = _context2.sent; + setdatas(res); + // } + setloading(false); - case 20: + case 13: case "end": return _context2.stop(); } @@ -12724,7 +12717,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { } function _getmy() { _getmy = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(params) { - var _params$list, _params$list2, _params$courseid5, _params$courseid6; + var _params$list, _params$list2, _params$courseid3, _params$courseid4; var ids, shixun_ids, res; return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { @@ -12748,8 +12741,8 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return (0,fetch/* default */.ZP)("/api/item_banks.json", { method: 'get', params: objectSpread2_default()(objectSpread2_default()({}, params), {}, { - discipline_id: (params === null || params === void 0 || (_params$courseid5 = params.courseid) === null || _params$courseid5 === void 0 ? void 0 : _params$courseid5[0]) || null, - sub_discipline_id: (params === null || params === void 0 || (_params$courseid6 = params.courseid) === null || _params$courseid6 === void 0 ? void 0 : _params$courseid6[1]) || null, + discipline_id: (params === null || params === void 0 || (_params$courseid3 = params.courseid) === null || _params$courseid3 === void 0 ? void 0 : _params$courseid3[0]) || null, + sub_discipline_id: (params === null || params === void 0 || (_params$courseid4 = params.courseid) === null || _params$courseid4 === void 0 ? void 0 : _params$courseid4[1]) || null, ids: ids, shixun_ids: shixun_ids, type: params.type === '5' ? null : params.type, @@ -13094,6 +13087,11 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { rowSelection: { type: 'checkbox', selectedRowKeys: checkitems, + getCheckboxProps: function getCheckboxProps(record) { + return { + disabled: record.shixun_tag_num === 1 + }; + }, onSelect: function onSelect(record, selected, selectedRows) { if (selected) { if (isshixun) { @@ -13223,15 +13221,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { _iterator2.f(); } } - } // onChange(newSelectedRowKeys, selectedRows) { - // console.log(newSelectedRowKeys); - // console.log(selectedRows); - // if (isshixun) { - // setshixunitems([...ShiXunListItems, ...newSelectedRowKeys]) - // } - // setcheckitems(newSelectedRowKeys) - // setCheckedItemsArr(selectedRows) - // }, + } }, columns: [{ title: '题型', @@ -13255,7 +13245,7 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { return /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { showLines: 1, showTextOnly: true, - value: isshixun || record !== null && record !== void 0 && record.challenge_names ? (record === null || record === void 0 ? void 0 : record.title) || value : (record === null || record === void 0 ? void 0 : record.item_type) == "BPROGRAM" ? record === null || record === void 0 || (_record$program_attr = record.program_attr) === null || _record$program_attr === void 0 ? void 0 : _record$program_attr.description : value + value: isshixun || record !== null && record !== void 0 && record.challenge_names ? record !== null && record !== void 0 && record.title || value === null ? '--' : value : (record === null || record === void 0 ? void 0 : record.item_type) == "BPROGRAM" ? record === null || record === void 0 || (_record$program_attr = record.program_attr) === null || _record$program_attr === void 0 ? void 0 : _record$program_attr.description : value }, 1); } }, { @@ -13293,6 +13283,16 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { })) === null || _difficultyData$filte2 === void 0 || (_difficultyData$filte2 = _difficultyData$filte2[0]) === null || _difficultyData$filte2 === void 0 ? void 0 : _difficultyData$filte2.name }); } + }, { + title: '关卡数量', + dataIndex: 'challenges_count', + key: 'challenges_count', + hidden: !isshixun, + render: function render(value, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: value || '- -' + }); + } }, { title: '使用次数', dataIndex: 'quotes', @@ -13302,17 +13302,32 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { children: isshixun || record !== null && record !== void 0 && record.challenge_names ? (record === null || record === void 0 ? void 0 : record.study_count) || (record === null || record === void 0 ? void 0 : record.stu_num) : value }); } + }, { + title: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u53D1\u5E03\u72B6\u6001 ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(QuestionCircleOutlined/* default */.Z, {}) + })] + }), + dataIndex: 'shixun_tag_num_name', + key: 'shixun_tag_num_name', + hidden: !isshixun, + render: function render(value, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: value || '- -' + }); + } }, { title: '操作', dataIndex: 'id', key: 'item_type', render: function render(value, record, index) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { flex: 1, textAlign: 'start' }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", { onClick: function onClick() { var _typeData$filter2; setqitem(objectSpread2_default()(objectSpread2_default()({}, record), {}, { @@ -13323,7 +13338,14 @@ var AddQuestionsModal_AddModal = function AddModal(_ref) { setisshow(true); }, children: "\u67E5\u770B" - }) + }), (record === null || record === void 0 ? void 0 : record.shixun_tag_num) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + target: "_blank", + href: "/shixuns/".concat(record === null || record === void 0 ? void 0 : record.identifier, "/challenges"), + style: { + marginLeft: 10 + }, + children: "\u53BB\u53D1\u5E03" + })] }); } }].filter(function (item) { diff --git a/p__Paperlibrary__Random__Edit__index.async.js b/p__Paperlibrary__Random__Edit__index.async.js index 3bbcd69d73..401e3b0979 100644 --- a/p__Paperlibrary__Random__Edit__index.async.js +++ b/p__Paperlibrary__Random__Edit__index.async.js @@ -3634,6 +3634,8 @@ var classrooms = __webpack_require__(28787); var RenderHtml = __webpack_require__(11436); // EXTERNAL MODULE: ./src/utils/util.tsx var utils_util = __webpack_require__(22739); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/QuestionCircleOutlined.js + 1 modules +var QuestionCircleOutlined = __webpack_require__(98815); ;// CONCATENATED MODULE: ./src/pages/Paperlibrary/Random/Edit/QuestionInfo/SelectShixunModal.tsx @@ -3650,6 +3652,7 @@ var utils_util = __webpack_require__(22739); + var SelectShixunModal = function SelectShixunModal(_ref) { var open = _ref.open, onCancel = _ref.onCancel, @@ -3657,7 +3660,7 @@ var SelectShixunModal = function SelectShixunModal(_ref) { var _useContext = (0,_react_17_0_2_react.useContext)(DataContext), data = _useContext.data; var courseOptions = useCourseOptions(); - var _useCustomRequest = (0,useCustomRequest/* useCustomRequest */.U)(classrooms/* getShixunLists */.Pj, { + var _useCustomRequest = (0,useCustomRequest/* useCustomRequest */.U)(classrooms/* getShixunListsItem */.Gm, { page: 1, limit: 10, keyword: '', @@ -3665,7 +3668,8 @@ var SelectShixunModal = function SelectShixunModal(_ref) { discipline_id: '', sub_discipline_id: '', type: 0, - status: 'published' + include_shixuns: true, + item_type: 'SHIXUN' }), _useCustomRequest2 = slicedToArray_default()(_useCustomRequest, 4), queryParams = _useCustomRequest2[0], @@ -3681,8 +3685,7 @@ var SelectShixunModal = function SelectShixunModal(_ref) { getShixunData({ page: 1, limit: 10, - type: 0, - status: 'published' + type: 0 }, true).then(function (res) { if ((res === null || res === void 0 ? void 0 : res.shixuns_count) === 0) { setEmptyTipsVisible(true); @@ -3790,7 +3793,7 @@ var SelectShixunModal = function SelectShixunModal(_ref) { rowKey: "id", columns: [{ title: '试题名称', - dataIndex: 'title', + dataIndex: 'name', width: '30%', // ellipsis: true, ellipsis: { @@ -3800,35 +3803,52 @@ var SelectShixunModal = function SelectShixunModal(_ref) { return /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { showLines: 1, showTextOnly: true, - value: text - }, 1); - } - }, { - title: '创建者', - dataIndex: 'author_name', - render: function render(authorName) { - return Array.isArray(authorName) ? /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - showLines: 1, - showTextOnly: true, - value: authorName === null || authorName === void 0 ? void 0 : authorName[0] - }, 1) : authorName.split('、')[0]; - } - }, { - title: '所属学校', - dataIndex: 'author_school_name', - render: function render(value) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - showLines: 1, - showTextOnly: true, - value: value + value: text || '--' }, 1); } - }, { + }, + // { + // title: '创建者', + // dataIndex: 'author_name', + // render: (authorName: string) => Array.isArray(authorName) ? : authorName.split('、')[0] + // }, + // { + // title: '所属学校', + // dataIndex: 'author_school_name', + // render(value) { + // return + // }, + // }, + { title: '难度', dataIndex: 'level' + }, { + title: '关卡数量', + dataIndex: 'challenges_count', + key: 'challenges_count', + render: function render(value, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: value || '- -' + }); + } }, { title: '使用次数', dataIndex: 'study_count' + }, { + title: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: ["\u53D1\u5E03\u72B6\u6001 ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(QuestionCircleOutlined/* default */.Z, {}) + })] + }), + dataIndex: 'shixun_tag_num_name', + key: 'shixun_tag_num_name', + width: 100, + render: function render(value, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: value || '- -' + }); + } }, { title: '操作', render: function render(value, record) { @@ -3839,79 +3859,93 @@ var SelectShixunModal = function SelectShixunModal(_ref) { identifier = _ref2.identifier, author_school_name = _ref2.author_school_name, study_count = _ref2.study_count; - return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#165DFF', - cursor: 'pointer' - }, - onClick: function onClick() { - modal/* default */.Z.confirm({ - title: '题目详情', - closable: true, - width: 1000, - centered: true, - icon: null, - footer: null, - content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { - value: title, - style: { - marginBottom: 18 - } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: QuestionInfomodules.challengeNameWrapper, - children: challenge_names.map(function (name, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: QuestionInfomodules.challengeName, - children: ["\u7B2C", (0,utils_util/* toChineseNumber */.EM)(index + 1), "\u9898\xA0", name] - }, index); - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: QuestionInfomodules.shixunPreviewFooter, - justify: "space-between", - style: { - alignItems: 'center' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - className: QuestionInfomodules.shixunInfoWrapper, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u521B\u5EFA\u8005" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: QuestionInfomodules.shixunInfo, - children: author_name.split('、')[0] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u6240\u5C5E\u5355\u4F4D" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: QuestionInfomodules.shixunInfo, - children: author_school_name - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "\u5B66\u4E60\u4EBA\u6570" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: QuestionInfomodules.shixunInfo, - children: study_count - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { - type: "primary", - className: QuestionInfomodules.btnToDetail, - onClick: function onClick() { - return (0,utils_util/* openNewWindow */.xg)("/shixuns/".concat(identifier, "/challenges?exercise=true")); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#165DFF', + cursor: 'pointer' + }, + onClick: function onClick() { + modal/* default */.Z.confirm({ + title: '题目详情', + closable: true, + width: 1000, + centered: true, + icon: null, + footer: null, + content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + value: title, + style: { + marginBottom: 18 + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: QuestionInfomodules.challengeNameWrapper, + children: challenge_names.map(function (name, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: QuestionInfomodules.challengeName, + children: ["\u7B2C", (0,utils_util/* toChineseNumber */.EM)(index + 1), "\u9898\xA0", name] + }, index); + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: QuestionInfomodules.shixunPreviewFooter, + justify: "space-between", + style: { + alignItems: 'center' }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-shixunkecheng" - }), "\u5B9E\u8BAD\u8BE6\u60C5"] + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: QuestionInfomodules.shixunInfoWrapper, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u521B\u5EFA\u8005" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: QuestionInfomodules.shixunInfo, + children: author_name.split('、')[0] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u6240\u5C5E\u5355\u4F4D" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: QuestionInfomodules.shixunInfo, + children: author_school_name + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "\u5B66\u4E60\u4EBA\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: QuestionInfomodules.shixunInfo, + children: study_count + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { + type: "primary", + className: QuestionInfomodules.btnToDetail, + onClick: function onClick() { + return (0,utils_util/* openNewWindow */.xg)("/shixuns/".concat(identifier, "/challenges?exercise=true")); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-shixunkecheng" + }), "\u5B9E\u8BAD\u8BE6\u60C5"] + })] })] - })] - }) - }); - }, - children: "\u67E5\u770B" + }) + }); + }, + children: "\u67E5\u770B" + }), (record === null || record === void 0 ? void 0 : record.shixun_tag_num) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + target: "_blank", + href: "/shixuns/".concat(record === null || record === void 0 ? void 0 : record.identifier, "/challenges"), + style: { + marginLeft: 10 + }, + children: "\u53BB\u53D1\u5E03" + })] }); } }], - dataSource: shixunData === null || shixunData === void 0 ? void 0 : shixunData.shixun_list, + dataSource: shixunData === null || shixunData === void 0 ? void 0 : shixunData.items, rowSelection: { selectedRowKeys: selectedRowKeys, preserveSelectedRowKeys: true, + getCheckboxProps: function getCheckboxProps(record) { + return { + disabled: record.shixun_tag_num === 1 + }; + }, onChange: function onChange(newSelectedRowKeys, newSelectedRows) { console.log(newSelectedRowKeys); setSelectedRowKeys(newSelectedRowKeys); @@ -3944,11 +3978,12 @@ var SelectShixunModal = function SelectShixunModal(_ref) { id: newRow.id, difficulty: newRow.level, identifier: newRow.identifier, - name: newRow.title, + name: newRow.name, real_name: newRow === null || newRow === void 0 || (_newRow$author_name = newRow.author_name) === null || _newRow$author_name === void 0 ? void 0 : _newRow$author_name.split('、')[0], school_name: newRow.author_school_name, challenge_names: newRow.challenge_names, - study_count: newRow.study_count + study_count: newRow.study_count, + challenges_count: newRow.challenges_count }); } } @@ -3963,7 +3998,7 @@ var SelectShixunModal = function SelectShixunModal(_ref) { pagination: { current: queryParams.page, pageSize: queryParams.limit, - total: shixunData === null || shixunData === void 0 ? void 0 : shixunData.shixuns_count, + total: shixunData === null || shixunData === void 0 ? void 0 : shixunData.items_count, showTotal: function showTotal(total) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { children: ["\u5171\xA0", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { @@ -4507,17 +4542,28 @@ var ShixunDetail = function ShixunDetail(_ref) { value: text }, 1); } + }, + // { + // title: '创建者', + // dataIndex: 'real_name', + // ellipsis: { showTitle: true } + // }, + // { + // title: '所属单位', + // dataIndex: 'school_name', + // ellipsis: { showTitle: true } + // }, + { + title: '使用次数', + dataIndex: 'study_count' }, { - title: '创建者', - dataIndex: 'real_name', - ellipsis: { - showTitle: true - } - }, { - title: '所属单位', - dataIndex: 'school_name', - ellipsis: { - showTitle: true + title: '关卡数量', + dataIndex: 'challenges_count', + key: 'challenges_count', + render: function render(value, record, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: value || '- -' + }); } }, { title: '难度', diff --git a/p__Paperlibrary__See__index.async.js b/p__Paperlibrary__See__index.async.js index 024d50ed51..679878d5bb 100644 --- a/p__Paperlibrary__See__index.async.js +++ b/p__Paperlibrary__See__index.async.js @@ -297,6 +297,8 @@ var Card = function Card(_ref) { marginTop: 10 }, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + showProgramFill: true, + disabledFill: true, value: base64.Base64.decode(data === null || data === void 0 || (_data$program_attr2 = data.program_attr) === null || _data$program_attr2 === void 0 ? void 0 : _data$program_attr2.code) }), showAnswer && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: "".concat(Cardmodules.flexColumn, " mt15"), diff --git a/p__Problemset__NewItem__index.async.js b/p__Problemset__NewItem__index.async.js index 9a09c8107e..4623394f44 100644 --- a/p__Problemset__NewItem__index.async.js +++ b/p__Problemset__NewItem__index.async.js @@ -1,48 +1,6 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[41953,4977,11436,58356],{ -/***/ 80045: -/*!*******************************************************************************************************************!*\ - !*** ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! - \*******************************************************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - Z: function() { return /* binding */ icons_ExclamationCircleOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(38329); -// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js -var _react_17_0_2_react = __webpack_require__(59301); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.3.1@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js -// This icon file is generated automatically. -var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; -/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); - -// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/components/AntdIcon.js + 3 modules -var AntdIcon = __webpack_require__(91851); -;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/ExclamationCircleOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { - return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_ExclamationCircleOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); - -/***/ }), - /***/ 80330: /*!*********************************!*\ !*** ./src/pages/tasks/util.js ***! @@ -1161,17 +1119,18 @@ var jsx_runtime = __webpack_require__(37712); /* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 59301); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 1056); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78673); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 78241); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 95237); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 43604); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 85731); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 57809); -/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 5112); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 78241); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 43418); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 95237); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 43604); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! antd */ 85731); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd */ 57809); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd */ 5112); /* harmony import */ var _MdEditorInForm__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./MdEditorInForm */ 627); /* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! umi */ 49266); /* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./index.less?modules */ 70992); /* harmony import */ var _Buttonloading__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Buttonloading */ 81525); +/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @ant-design/icons */ 80045); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react/jsx-runtime */ 37712); @@ -1188,6 +1147,7 @@ var _excluded = ["key", "name"]; + var TextArea = antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z.TextArea; var language = [{ title: 'C', @@ -1212,7 +1172,7 @@ var ReversedSwitch = function ReversedSwitch(_ref) { var value = _ref.value, _onChange = _ref.onChange; //打开为false,关闭为true,即一个特殊的Switch。 - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + return /*#__PURE__*/_jsx(Switch, { checked: value, onChange: function onChange(checked) { _onChange(checked); @@ -1310,10 +1270,10 @@ var BProgramEditor = function BProgramEditor(_ref2) { removeFnRef.current(deleteIndex); rewritePosition(); }; - var standardAnswersValue = antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.useWatch(answerKey, form); + var standardAnswersValue = antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.useWatch(answerKey, form); return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.wrap, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8BD5\u9898\u63CF\u8FF0", name: ['hack', 'description'], style: { @@ -1333,7 +1293,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { }) }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.questionTitleEditorWrap, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u7A0B\u5E8F\u4EE3\u7801", name: ['hack_codes', 'code'], labelCol: { @@ -1364,7 +1324,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { } }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.List, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.List, { name: answerKey, rules: [{ validator: function validator(rule, values) { @@ -1397,33 +1357,72 @@ var BProgramEditor = function BProgramEditor(_ref2) { addFnRef.current = add; removeFnRef.current = remove; return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.Fragment, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u586B\u7A7A\u9879\u7B54\u6848", - required: true, - labelCol: { - span: 24 - } + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center', + justifyContent: 'space-between' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u586B\u7A7A\u9879\u7B54\u6848", + required: true, + labelCol: { + span: 24 + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + onClick: function onClick() { + antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.warning({ + title: '给分说明', + icon: null, + width: 700, + centered: true, + content: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { + children: "1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B\u624D\u80FD\u5F97\u5206\u3002" + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("div", { + style: { + marginTop: 10 + }, + children: "2.\u81EA\u52A8\u8BC4\u9605\u65F6\uFF0C\u7CFB\u7EDF\u5C06\u5224\u9898\u7A0B\u5E8F\u91CC\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u5185\u5BB9\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u7A0B\u5E8F\u8BFB\u6D4B\u8BD5\u8F93\u5165\u6570\u636E\uFF0C\u4EA7\u751F\u8F93\u51FA\uFF0C\u4E0E\u6D4B\u8BD5\u8F93\u51FA\u6570\u636E\u6309\u9010\u4E2A\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u5185\u5BB9\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u63D0\u4EA4\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\u3002\u5426\u5219\u8BE5\u7A7A\u5F97 0 \u5206\u3002" + })] + }) + }); + }, + style: { + minHeight: 32, + color: '#3061D0', + cursor: 'pointer' + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + style: { + marginRight: 3, + color: '#3061D0' + } + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)("span", { + children: " \u7ED9\u5206\u8BF4\u660E" + })] + })] }), fields.map(function (_ref6, index) { var _standardAnswersValue, _standardAnswersValue2; var key = _ref6.key, name = _ref6.name, restField = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_0___default()(_ref6, _excluded); - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { className: "mb20", align: "middle", wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: '0 0 auto', className: "".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.blankIndex), children: ["\u586B\u7A7A\u9879", index + 1] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: 1, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { align: "top", justify: "space-between", wrap: false, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { name: [name, 'answer_text'], noStyle: true, children: standardAnswersValue !== null && standardAnswersValue !== void 0 && (_standardAnswersValue = standardAnswersValue[name]) !== null && _standardAnswersValue !== void 0 && _standardAnswersValue.multi_line || standardAnswersValue !== null && standardAnswersValue !== void 0 && (_standardAnswersValue2 = standardAnswersValue[name]) !== null && _standardAnswersValue2 !== void 0 && _standardAnswersValue2.multiLine ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TextArea, { @@ -1445,15 +1444,15 @@ var BProgramEditor = function BProgramEditor(_ref2) { onBlur: function onBlur(e) {} }) })) - }), scoreByBlank && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + }), scoreByBlank && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { flex: '224px', - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_3___default()({}, restField), {}, { name: [name, 'score'], label: "\u5206\u503C", rules: [{ required: true }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { size: "large", className: _index_less_modules__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z.blankInput, min: 0.1, @@ -1462,7 +1461,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { style: { width: '100%' }, - placeholder: "\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C" + placeholder: "\u8BF7\u8F93\u5165\u5206\u503C" }) })) })] @@ -1476,7 +1475,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { onClick: function onClick() { return setEditAnalysis(true); }, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: ['hack', 'analysis'], label: "\u9898\u76EE\u89E3\u6790", labelCol: { @@ -1487,7 +1486,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { isEdit: editAnalysis }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u7F16\u7A0B\u8BED\u8A00", style: { marginTop: 30 @@ -1500,16 +1499,16 @@ var BProgramEditor = function BProgramEditor(_ref2) { required: true, message: '请选择编程语言' }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__["default"], { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__["default"], { size: "large", children: language.map(function (item) { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_17__["default"].Option, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__["default"].Option, { value: item.key, children: [" ", item.title] }, item.title); }) }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: '最大评测时长(秒)', style: { marginTop: 30 @@ -1518,7 +1517,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { span: 24 }, required: true, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { name: ['hack', 'time_limit'], rules: [{ required: true, @@ -1529,7 +1528,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { message: '最小限制时间是3秒' }], noStyle: true, - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, { precision: 0, max: 10, min: 3, @@ -1542,8 +1541,8 @@ var BProgramEditor = function BProgramEditor(_ref2) { className: "ml10 font14", children: "\u79D2" })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u586B\u7A7A\u9879\u7B54\u6848\u7684\u7A7A\u683C\u5904\u7406\u65B9\u5F0F", + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u5B66\u751F\u7B54\u6848\u7684\u7A7A\u683C\u5904\u7406\u65B9\u5F0F", style: { marginTop: 30 }, @@ -1555,39 +1554,33 @@ var BProgramEditor = function BProgramEditor(_ref2) { required: true, message: '请选择编程语言' }], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"].Group */ .ZP.Group, { - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"].Group */ .ZP.Group, { + style: { + marginTop: -10 + }, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 0, children: "\u4E0D\u5FFD\u7565\u7A7A\u683C" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 1, children: "\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C" - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .ZP, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .ZP, { value: 2, children: "\u5FFD\u7565\u6240\u6709\u7A7A\u683C" })] }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, { - align: "middle", + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { + label: "\u6D4B\u8BD5\u7528\u4F8B", + required: true, style: { marginTop: 30 - }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - name: ['hack', 'allow_student_debug'], - children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(ReversedSwitch, {}) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { - className: "ml10", - children: "\u5141\u8BB8\u5B66\u751F\u7B54\u9898\u65F6\u8FDB\u884C\u4EE3\u7801\u8C03\u8BD5" - })] - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { - label: "\u6D4B\u8BD5\u7528\u4F8B", - required: true + } }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsxs)("div", { style: { background: '#F6F7F9', padding: 15 }, - children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8F93\u5165", labelCol: { span: 24 @@ -1596,7 +1589,7 @@ var BProgramEditor = function BProgramEditor(_ref2) { children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(TextArea, { rows: 4 }) - }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z.Item, { + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_10__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, { label: "\u8F93\u51FA", labelCol: { span: 24 @@ -1775,7 +1768,10 @@ var ButtonLoading = function ButtonLoading(_ref) { _context4.next = 15; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: code.language + language: code.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.answer_text; + }) }); case 15: response = _context4.sent; @@ -1793,22 +1789,15 @@ var ButtonLoading = function ButtonLoading(_ref) { } function _onUpdateCodes() { _onUpdateCodes = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee5(re, id) { - var _stats$filter2; var stats, codes, response; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: stats = items.userAnswer; - codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); - if (!(stats.length > 0 && ((_stats$filter2 = stats.filter(function (item) { - return !item.value; - })) === null || _stats$filter2 === void 0 ? void 0 : _stats$filter2.length) > 0)) { - _context5.next = 5; - break; - } - antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP.info('填空项不能为空!'); - return _context5.abrupt("return"); - case 5: + codes = js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.decode(items.code); // if (stats.length > 0 && stats.filter((item) => !item.value)?.length > 0) { + // message.info('填空项不能为空!') + // return + // } if (stats.length > 0) { stats === null || stats === void 0 || stats.map(function (item) { if (item.multi_line) { @@ -1818,15 +1807,18 @@ var ButtonLoading = function ButtonLoading(_ref) { } }); } - _context5.next = 8; + _context5.next = 5; return (0,_pages_MyProblem_service__WEBPACK_IMPORTED_MODULE_8__/* .updateCode */ .n4)(id, re ? re : { code: js_base64__WEBPACK_IMPORTED_MODULE_6__.Base64.encode(codes), - language: items.language + language: items.language, + answers: stats === null || stats === void 0 ? void 0 : stats.map(function (item) { + return item.value; + }) }); - case 8: + case 5: response = _context5.sent; return _context5.abrupt("return", response); - case 10: + case 7: case "end": return _context5.stop(); } @@ -1846,7 +1838,7 @@ var ButtonLoading = function ButtonLoading(_ref) { return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: - if (!(ButtonText === '运行调试')) { + if (!(ButtonText === '提交代码')) { _context3.next = 20; break; } @@ -1873,6 +1865,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } executeCode = /*#__PURE__*/function () { var _ref3 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee() { + var _items$userAnswer; var _yield$getOperationRe, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { @@ -1885,7 +1878,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe.message; data = _yield$getOperationRe.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - startTime > 6 * 1000; + isTimeOut = executeTime - startTime > 10 * 1000 * (items === null || items === void 0 || (_items$userAnswer = items.userAnswer) === null || _items$userAnswer === void 0 ? void 0 : _items$userAnswer.length); if (status !== 0 && !isTimeOut) { setTimeout(executeCode, 1000); } @@ -2041,6 +2034,7 @@ var ButtonLoading = function ButtonLoading(_ref) { } _executeCode = /*#__PURE__*/function () { var _ref4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee2() { + var _formValues$standard_; var _yield$getOperationRe2, status, message, data, executeTime, isTimeOut; return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { @@ -2053,7 +2047,7 @@ var ButtonLoading = function ButtonLoading(_ref) { message = _yield$getOperationRe2.message; data = _yield$getOperationRe2.data; executeTime = getTimeStamp(); - isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000; + isTimeOut = executeTime - _startTime > (formValues.hack.time_limit + 3) * 1000 * (formValues === null || formValues === void 0 || (_formValues$standard_ = formValues.standard_answers) === null || _formValues$standard_ === void 0 ? void 0 : _formValues$standard_.length); if (status !== 0 && !isTimeOut) { setTimeout(_executeCode, 1000); } diff --git a/p__Problemset__Preview__index.async.js b/p__Problemset__Preview__index.async.js index ae78491969..b86af4c866 100644 --- a/p__Problemset__Preview__index.async.js +++ b/p__Problemset__Preview__index.async.js @@ -223,6 +223,8 @@ var Card = function Card(_ref) { marginTop: 10 }, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, { + showProgramFill: true, + disabledFill: true, value: base64.Base64.decode(data === null || data === void 0 || (_data$program_attr2 = data.program_attr) === null || _data$program_attr2 === void 0 ? void 0 : _data$program_attr2.code) }), showAnswer && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: "".concat(Cardmodules.flexColumn, " mt15"), diff --git a/p__Problemset__index.async.js b/p__Problemset__index.async.js index 54bd22593c..0cb4f65dac 100644 --- a/p__Problemset__index.async.js +++ b/p__Problemset__index.async.js @@ -7148,7 +7148,7 @@ var ExportModal = function ExportModal(_ref) { } }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { className: ExportFolderModalmodules.export_text, - children: "\u5176\u4E2D\u7F16\u7A0B\u9898\u4E0E\u5B9E\u8BAD\u9898\u6682\u4E0D\u652F\u6301\u5BFC\u51FA" + children: "\u5176\u4E2D\u5B9E\u8BAD\u9898\u6682\u4E0D\u652F\u6301\u5BFC\u51FA" })] }) }); @@ -11922,7 +11922,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) { icon: null, content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: "font14 ".concat(Problemsetmodules.overflow), - children: ["\u5DF2\u9009\u4E2D", selectIds === null || selectIds === void 0 ? void 0 : selectIds.length, "\u9053\u9898\uFF0C\u5176\u4E2D\u7F16\u7A0B\u9898\u4E0E\u5B9E\u8BAD\u9898\u6682\u4E0D\u652F\u6301\u5BFC\u51FA\u3002"] + children: ["\u5DF2\u9009\u4E2D", selectIds === null || selectIds === void 0 ? void 0 : selectIds.length, "\u9053\u9898\uFF0C\u5176\u4E2D\u5B9E\u8BAD\u9898\u6682\u4E0D\u652F\u6301\u5BFC\u51FA\u3002"] }), onOk: function onOk() { (0,utils_export/* ExportProblemset */.rQ)({ diff --git a/p__virtualSpaces__Lists__Knowledge__index.async.js b/p__virtualSpaces__Lists__Knowledge__index.async.js index f6ed4d99e0..2b1635aa5f 100644 --- a/p__virtualSpaces__Lists__Knowledge__index.async.js +++ b/p__virtualSpaces__Lists__Knowledge__index.async.js @@ -7143,7 +7143,8 @@ var Atlas = function Atlas(_ref) { return (0,fetch/* default */.ZP)("/api/knowledge_graphs.json", { method: 'get', params: { - identifier: params.pathId + identifier: params.pathId, + type: 2 } }); case 3: diff --git a/p__virtualSpaces__Lists__Plan__index.async.js b/p__virtualSpaces__Lists__Plan__index.async.js index 0734db15b6..22ac06d050 100644 --- a/p__virtualSpaces__Lists__Plan__index.async.js +++ b/p__virtualSpaces__Lists__Plan__index.async.js @@ -928,25 +928,31 @@ var Page = function Page(_ref) { return e.id == window.localStorage.getItem('vtrsModuleId'); })) === null || _menus$find === void 0 ? void 0 : _menus$find.name) || ''; (0,_react_17_0_2_react.useEffect)(function () { - getData(); + getData(true); }, [window.localStorage.getItem('vtrsModuleId')]); var getData = /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var res1, res2, _res1$data, _res1$data2; + var flag, + res1, + res2, + _res1$data, + _res1$data2, + _args = arguments; return regeneratorRuntime_default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: + flag = _args.length > 0 && _args[0] !== undefined ? _args[0] : false; setLoading(true); - _context.next = 3; + _context.next = 4; return (0,fetch/* default */.ZP)("/api/virtual_classrooms/".concat(query.virtual_spacesId, "/subject_plans/folder_list.json"), { method: 'get', params: { virtual_module_id: window.localStorage.getItem('vtrsModuleId') } }); - case 3: + case 4: res1 = _context.sent; - _context.next = 6; + _context.next = 7; return (0,fetch/* default */.ZP)("/api/virtual_classrooms/".concat(query.virtual_spacesId, "/subject_plans/folder_list.json"), { method: 'get', params: { @@ -954,20 +960,20 @@ var Page = function Page(_ref) { virtual_module_id: window.localStorage.getItem('vtrsModuleId') } }); - case 6: + case 7: res2 = _context.sent; if ((res1 === null || res1 === void 0 ? void 0 : res1.status) !== -1) { res1 === null || res1 === void 0 || (_res1$data = res1.data) === null || _res1$data === void 0 || _res1$data.forEach(function (node) { return convertTitleToTag(node); }); setData((res1 === null || res1 === void 0 || (_res1$data2 = res1.data) === null || _res1$data2 === void 0 || (_res1$data2 = _res1$data2[0]) === null || _res1$data2 === void 0 ? void 0 : _res1$data2.children) || []); - getFileItemOrList(res1 === null || res1 === void 0 ? void 0 : res1.data); + getFileItemOrList(flag, res1 === null || res1 === void 0 ? void 0 : res1.data); } if ((res2 === null || res2 === void 0 ? void 0 : res2.status) !== -1) { setOnlyFolderData((res2 === null || res2 === void 0 ? void 0 : res2.data) || []); } setLoading(false); - case 10: + case 11: case "end": return _context.stop(); } @@ -977,9 +983,9 @@ var Page = function Page(_ref) { return _ref2.apply(this, arguments); }; }(); - var getFileItemOrList = function getFileItemOrList(data) { + var getFileItemOrList = function getFileItemOrList(flag, data) { var items = []; - if (!fileItem) { + if (flag || !fileItem) { setFileItem(data === null || data === void 0 ? void 0 : data[0]); setFileList(data); } else { diff --git a/umi.js b/umi.js index 4c76f9162f..506c839494 100644 --- a/umi.js +++ b/umi.js @@ -34179,6 +34179,7 @@ function _deleteReply() { /* harmony export */ Fg: function() { return /* binding */ getRankList; }, /* harmony export */ GV: function() { return /* binding */ getCourseWorkscore; }, /* harmony export */ Gk: function() { return /* binding */ getClassroomTeacherShixunsList; }, +/* harmony export */ Gm: function() { return /* binding */ getShixunListsItem; }, /* harmony export */ Gz: function() { return /* binding */ getStatisticsBody; }, /* harmony export */ Hl: function() { return /* binding */ getStatisticsHeader; }, /* harmony export */ Hn: function() { return /* binding */ getShixunAiRecommendLists; }, @@ -35020,7 +35021,7 @@ function _getCourseActscore() { function getShixunLists(_x35) { return _getShixunLists.apply(this, arguments); } -// 从课堂实验中添加 +//获取全部实训 function _getShixunLists() { _getShixunLists = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee35(params) { return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee35$(_context35) { @@ -35038,16 +35039,16 @@ function _getShixunLists() { })); return _getShixunLists.apply(this, arguments); } -function getExperimentLists(_x36) { - return _getExperimentLists.apply(this, arguments); +function getShixunListsItem(_x36) { + return _getShixunListsItem.apply(this, arguments); } -// 教学课堂 创建实训作业 -function _getExperimentLists() { - _getExperimentLists = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee36(params) { +// 从课堂实验中添加 +function _getShixunListsItem() { + _getShixunListsItem = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee36(params) { return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee36$(_context36) { while (1) switch (_context36.prev = _context36.next) { case 0: - return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.course_id, "/homework_commons/impersonal_list.json"), { + return _context36.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/item_banks.json", { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); @@ -35057,383 +35058,404 @@ function _getExperimentLists() { } }, _callee36); })); + return _getShixunListsItem.apply(this, arguments); +} +function getExperimentLists(_x37) { return _getExperimentLists.apply(this, arguments); } -function createShixunHomework(_x37) { +// 教学课堂 创建实训作业 +function _getExperimentLists() { + _getExperimentLists = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee37(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee37$(_context37) { + while (1) switch (_context37.prev = _context37.next) { + case 0: + return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.course_id, "/homework_commons/impersonal_list.json"), { + method: 'get', + params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) + })); + case 1: + case "end": + return _context37.stop(); + } + }, _callee37); + })); + return _getExperimentLists.apply(this, arguments); +} +function createShixunHomework(_x38) { return _createShixunHomework.apply(this, arguments); } // 教学课堂 创建课堂实验作业 function _createShixunHomework() { - _createShixunHomework = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee37(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee37$(_context37) { - while (1) switch (_context37.prev = _context37.next) { + _createShixunHomework = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee38(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee38$(_context38) { + while (1) switch (_context38.prev = _context38.next) { case 0: - return _context37.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/create_shixun_homework.json"), { + return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/create_shixun_homework.json"), { method: 'post', body: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context37.stop(); + return _context38.stop(); } - }, _callee37); + }, _callee38); })); return _createShixunHomework.apply(this, arguments); } -function createExperiment(_x38) { +function createExperiment(_x39) { return _createExperiment.apply(this, arguments); } // 教学课堂 全部课程 function _createExperiment() { - _createExperiment = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee38(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee38$(_context38) { - while (1) switch (_context38.prev = _context38.next) { + _createExperiment = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee39(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee39$(_context39) { + while (1) switch (_context39.prev = _context39.next) { case 0: - return _context38.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.course_id, "/homework_commons/create_collaborators.json"), { + return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params === null || params === void 0 ? void 0 : params.course_id, "/homework_commons/create_collaborators.json"), { method: 'post', body: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context38.stop(); + return _context39.stop(); } - }, _callee38); + }, _callee39); })); return _createExperiment.apply(this, arguments); } -function getCoursesLists(_x39) { +function getCoursesLists(_x40) { return _getCoursesLists.apply(this, arguments); } // 教学课堂 创建课堂 function _getCoursesLists() { - _getCoursesLists = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee39(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee39$(_context39) { - while (1) switch (_context39.prev = _context39.next) { + _getCoursesLists = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee40(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee40$(_context40) { + while (1) switch (_context40.prev = _context40.next) { case 0: - return _context39.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/subject_lists.json", { + return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/subject_lists.json", { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context39.stop(); + return _context40.stop(); } - }, _callee39); + }, _callee40); })); return _getCoursesLists.apply(this, arguments); } -function createCoursesHomework(_x40) { +function createCoursesHomework(_x41) { return _createCoursesHomework.apply(this, arguments); } function _createCoursesHomework() { - _createCoursesHomework = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee40(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee40$(_context40) { - while (1) switch (_context40.prev = _context40.next) { + _createCoursesHomework = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee41(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee41$(_context41) { + while (1) switch (_context41.prev = _context41.next) { case 0: - return _context40.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/create_subject_homework.json"), { + return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/homework_commons/create_subject_homework.json"), { method: 'post', body: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context40.stop(); + return _context41.stop(); } - }, _callee40); + }, _callee41); })); return _createCoursesHomework.apply(this, arguments); } -function getSchoolList(_x41) { +function getSchoolList(_x42) { return _getSchoolList.apply(this, arguments); } function _getSchoolList() { - _getSchoolList = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee41(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee41$(_context41) { - while (1) switch (_context41.prev = _context41.next) { + _getSchoolList = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee42(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee42$(_context42) { + while (1) switch (_context42.prev = _context42.next) { case 0: - return _context41.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/schools/school_list.json", { + return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/schools/school_list.json", { method: 'get', params: params })); case 1: case "end": - return _context41.stop(); + return _context42.stop(); } - }, _callee41); + }, _callee42); })); return _getSchoolList.apply(this, arguments); } -function getSearchCourseList(_x42) { +function getSearchCourseList(_x43) { return _getSearchCourseList.apply(this, arguments); } function _getSearchCourseList() { - _getSearchCourseList = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee42(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee42$(_context42) { - while (1) switch (_context42.prev = _context42.next) { + _getSearchCourseList = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee43(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee43$(_context43) { + while (1) switch (_context43.prev = _context43.next) { case 0: - return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/search_course_list.json", { + return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/search_course_list.json", { method: 'post', body: params })); case 1: case "end": - return _context42.stop(); + return _context43.stop(); } - }, _callee42); + }, _callee43); })); return _getSearchCourseList.apply(this, arguments); } -function submitCourses(_x43) { +function submitCourses(_x44) { return _submitCourses.apply(this, arguments); } function _submitCourses() { - _submitCourses = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee43(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee43$(_context43) { - while (1) switch (_context43.prev = _context43.next) { + _submitCourses = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee44(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee44$(_context44) { + while (1) switch (_context44.prev = _context44.next) { case 0: - return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses.json", { + return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses.json", { method: 'post', body: params })); case 1: case "end": - return _context43.stop(); + return _context44.stop(); } - }, _callee43); + }, _callee44); })); return _submitCourses.apply(this, arguments); } -function appplySchool(_x44) { +function appplySchool(_x45) { return _appplySchool.apply(this, arguments); } function _appplySchool() { - _appplySchool = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee44(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee44$(_context44) { - while (1) switch (_context44.prev = _context44.next) { + _appplySchool = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) { + while (1) switch (_context45.prev = _context45.next) { case 0: - return _context44.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/add_school_applies.json", { + return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/add_school_applies.json", { method: 'post', body: params })); case 1: case "end": - return _context44.stop(); + return _context45.stop(); } - }, _callee44); + }, _callee45); })); return _appplySchool.apply(this, arguments); } -function searchSchoolTeacherList(_x45) { +function searchSchoolTeacherList(_x46) { return _searchSchoolTeacherList.apply(this, arguments); } function _searchSchoolTeacherList() { - _searchSchoolTeacherList = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee45(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee45$(_context45) { - while (1) switch (_context45.prev = _context45.next) { + _searchSchoolTeacherList = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) { + while (1) switch (_context46.prev = _context46.next) { case 0: - return _context45.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/member_search.json", { + return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/users/member_search.json", { method: 'get', params: params })); case 1: case "end": - return _context45.stop(); + return _context46.stop(); } - }, _callee45); + }, _callee46); })); return _searchSchoolTeacherList.apply(this, arguments); } -function searchCoursesList(_x46) { +function searchCoursesList(_x47) { return _searchCoursesList.apply(this, arguments); } function _searchCoursesList() { - _searchCoursesList = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee46(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee46$(_context46) { - while (1) switch (_context46.prev = _context46.next) { + _searchCoursesList = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) { + while (1) switch (_context47.prev = _context47.next) { case 0: - return _context46.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/search_all.json", { + return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/search_all.json", { method: 'get', params: params })); case 1: case "end": - return _context46.stop(); + return _context47.stop(); } - }, _callee46); + }, _callee47); })); return _searchCoursesList.apply(this, arguments); } -function addTeacher(_x47) { +function addTeacher(_x48) { return _addTeacher.apply(this, arguments); } function _addTeacher() { - _addTeacher = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee47(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee47$(_context47) { - while (1) switch (_context47.prev = _context47.next) { + _addTeacher = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) { + while (1) switch (_context48.prev = _context48.next) { case 0: - return _context47.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/add_teacher.json"), { + return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/add_teacher.json"), { method: 'post', body: params })); case 1: case "end": - return _context47.stop(); + return _context48.stop(); } - }, _callee47); + }, _callee48); })); return _addTeacher.apply(this, arguments); } -function addStudentBySearch(_x48) { +function addStudentBySearch(_x49) { return _addStudentBySearch.apply(this, arguments); } function _addStudentBySearch() { - _addStudentBySearch = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee48(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee48$(_context48) { - while (1) switch (_context48.prev = _context48.next) { + _addStudentBySearch = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) { + while (1) switch (_context49.prev = _context49.next) { case 0: - return _context48.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/add_students_by_search.json"), { + return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/add_students_by_search.json"), { method: 'post', body: params })); case 1: case "end": - return _context48.stop(); + return _context49.stop(); } - }, _callee48); + }, _callee49); })); return _addStudentBySearch.apply(this, arguments); } -function setPublicOrPrivate(_x49) { +function setPublicOrPrivate(_x50) { return _setPublicOrPrivate.apply(this, arguments); } function _setPublicOrPrivate() { - _setPublicOrPrivate = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee49(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee49$(_context49) { - while (1) switch (_context49.prev = _context49.next) { + _setPublicOrPrivate = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) { + while (1) switch (_context50.prev = _context50.next) { case 0: - return _context49.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/set_public_or_private.json"), { + return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/set_public_or_private.json"), { method: 'post', body: params })); case 1: case "end": - return _context49.stop(); + return _context50.stop(); } - }, _callee49); + }, _callee50); })); return _setPublicOrPrivate.apply(this, arguments); } -function setInviteCodeHalt(_x50) { +function setInviteCodeHalt(_x51) { return _setInviteCodeHalt.apply(this, arguments); } // 复制课堂 function _setInviteCodeHalt() { - _setInviteCodeHalt = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee50(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee50$(_context50) { - while (1) switch (_context50.prev = _context50.next) { + _setInviteCodeHalt = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee51(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee51$(_context51) { + while (1) switch (_context51.prev = _context51.next) { case 0: - return _context50.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/set_invite_code_halt.json"), { + return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/set_invite_code_halt.json"), { method: 'post', body: params })); case 1: case "end": - return _context50.stop(); + return _context51.stop(); } - }, _callee50); + }, _callee51); })); return _setInviteCodeHalt.apply(this, arguments); } -function duplicateCourse(_x51) { +function duplicateCourse(_x52) { return _duplicateCourse.apply(this, arguments); } function _duplicateCourse() { - _duplicateCourse = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee51(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee51$(_context51) { - while (1) switch (_context51.prev = _context51.next) { + _duplicateCourse = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee52(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee52$(_context52) { + while (1) switch (_context52.prev = _context52.next) { case 0: - return _context51.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/duplicate_course.json"), { + return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/duplicate_course.json"), { method: 'post', body: params })); case 1: case "end": - return _context51.stop(); + return _context52.stop(); } - }, _callee51); + }, _callee52); })); return _duplicateCourse.apply(this, arguments); } -function deleteCourse(_x52) { +function deleteCourse(_x53) { return _deleteCourse.apply(this, arguments); } // 教学课堂 - 公告 function _deleteCourse() { - _deleteCourse = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee52(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee52$(_context52) { - while (1) switch (_context52.prev = _context52.next) { + _deleteCourse = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee53(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee53$(_context53) { + while (1) switch (_context53.prev = _context53.next) { case 0: - return _context52.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, ".json"), { + return _context53.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, ".json"), { method: 'delete', body: params })); case 1: case "end": - return _context52.stop(); + return _context53.stop(); } - }, _callee52); + }, _callee53); })); return _deleteCourse.apply(this, arguments); } -function getCourseEditData(_x53) { +function getCourseEditData(_x54) { return _getCourseEditData.apply(this, arguments); } function _getCourseEditData() { - _getCourseEditData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee53(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee53$(_context53) { - while (1) switch (_context53.prev = _context53.next) { + _getCourseEditData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee54(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee54$(_context54) { + while (1) switch (_context54.prev = _context54.next) { case 0: - return _context53.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/settings.json"), { + return _context54.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/settings.json"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) })); case 1: case "end": - return _context53.stop(); + return _context54.stop(); } - }, _callee53); + }, _callee54); })); return _getCourseEditData.apply(this, arguments); } -function updateCourseData(_x54) { +function updateCourseData(_x55) { return _updateCourseData.apply(this, arguments); } function _updateCourseData() { - _updateCourseData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee54(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee54$(_context54) { - while (1) switch (_context54.prev = _context54.next) { + _updateCourseData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee55(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee55$(_context55) { + while (1) switch (_context55.prev = _context55.next) { case 0: - return _context54.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, ".json"), { + return _context55.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, ".json"), { method: 'put', body: params })); case 1: case "end": - return _context54.stop(); + return _context55.stop(); } - }, _callee54); + }, _callee55); })); return _updateCourseData.apply(this, arguments); } -function exportCourseInfo(_x55) { +function exportCourseInfo(_x56) { return _exportCourseInfo.apply(this, arguments); } function _exportCourseInfo() { - _exportCourseInfo = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee55(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee55$(_context55) { - while (1) switch (_context55.prev = _context55.next) { + _exportCourseInfo = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee56(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee56$(_context56) { + while (1) switch (_context56.prev = _context56.next) { case 0: - return _context55.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_couser_info.json"), { + return _context56.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_couser_info.json"), { method: 'get', params: { "export": true @@ -35441,21 +35463,21 @@ function _exportCourseInfo() { })); case 1: case "end": - return _context55.stop(); + return _context56.stop(); } - }, _callee55); + }, _callee56); })); return _exportCourseInfo.apply(this, arguments); } -function exportCourseActScore(_x56) { +function exportCourseActScore(_x57) { return _exportCourseActScore.apply(this, arguments); } function _exportCourseActScore() { - _exportCourseActScore = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee56(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee56$(_context56) { - while (1) switch (_context56.prev = _context56.next) { + _exportCourseActScore = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee57(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee57$(_context57) { + while (1) switch (_context57.prev = _context57.next) { case 0: - return _context56.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_member_act_score_async.json"), { + return _context57.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_member_act_score_async.json"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true @@ -35463,21 +35485,21 @@ function _exportCourseActScore() { })); case 1: case "end": - return _context56.stop(); + return _context57.stop(); } - }, _callee56); + }, _callee57); })); return _exportCourseActScore.apply(this, arguments); } -function exportCourseTotalScore(_x57) { +function exportCourseTotalScore(_x58) { return _exportCourseTotalScore.apply(this, arguments); } function _exportCourseTotalScore() { - _exportCourseTotalScore = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee57(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee57$(_context57) { - while (1) switch (_context57.prev = _context57.next) { + _exportCourseTotalScore = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee58(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee58$(_context58) { + while (1) switch (_context58.prev = _context58.next) { case 0: - return _context57.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_homework_commons_score.json"), { + return _context58.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_homework_commons_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true @@ -35485,21 +35507,21 @@ function _exportCourseTotalScore() { })); case 1: case "end": - return _context57.stop(); + return _context58.stop(); } - }, _callee57); + }, _callee58); })); return _exportCourseTotalScore.apply(this, arguments); } -function exportCourseAndOther(_x58) { +function exportCourseAndOther(_x59) { return _exportCourseAndOther.apply(this, arguments); } function _exportCourseAndOther() { - _exportCourseAndOther = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee58(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee58$(_context58) { - while (1) switch (_context58.prev = _context58.next) { + _exportCourseAndOther = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee59(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee59$(_context59) { + while (1) switch (_context59.prev = _context59.next) { case 0: - return _context58.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_exercises_and_other_score.json"), { + return _context59.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_exercises_and_other_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true @@ -35507,21 +35529,21 @@ function _exportCourseAndOther() { })); case 1: case "end": - return _context58.stop(); + return _context59.stop(); } - }, _callee58); + }, _callee59); })); return _exportCourseAndOther.apply(this, arguments); } -function exportMoocrecords(_x59) { +function exportMoocrecords(_x60) { return _exportMoocrecords.apply(this, arguments); } function _exportMoocrecords() { - _exportMoocrecords = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee59(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee59$(_context59) { - while (1) switch (_context59.prev = _context59.next) { + _exportMoocrecords = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee60(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee60$(_context60) { + while (1) switch (_context60.prev = _context60.next) { case 0: - return _context59.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_mooc_records.json"), { + return _context60.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_mooc_records.json"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true @@ -35529,21 +35551,21 @@ function _exportMoocrecords() { })); case 1: case "end": - return _context59.stop(); + return _context60.stop(); } - }, _callee59); + }, _callee60); })); return _exportMoocrecords.apply(this, arguments); } -function exportCourseMemberScores(_x60) { +function exportCourseMemberScores(_x61) { return _exportCourseMemberScores.apply(this, arguments); } function _exportCourseMemberScores() { - _exportCourseMemberScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee60(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee60$(_context60) { - while (1) switch (_context60.prev = _context60.next) { + _exportCourseMemberScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee61(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee61$(_context61) { + while (1) switch (_context61.prev = _context61.next) { case 0: - return _context60.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_course_score.json"), { + return _context61.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/export_total_course_score.json"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true @@ -35551,21 +35573,21 @@ function _exportCourseMemberScores() { })); case 1: case "end": - return _context60.stop(); + return _context61.stop(); } - }, _callee60); + }, _callee61); })); return _exportCourseMemberScores.apply(this, arguments); } -function exportCourseWorkListScores(_x61) { +function exportCourseWorkListScores(_x62) { return _exportCourseWorkListScores.apply(this, arguments); } function _exportCourseWorkListScores() { - _exportCourseWorkListScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee61(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee61$(_context61) { - while (1) switch (_context61.prev = _context61.next) { + _exportCourseWorkListScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee62(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee62$(_context62) { + while (1) switch (_context62.prev = _context62.next) { case 0: - return _context61.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/export_scores.json"), { + return _context62.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(params.categoryId, "/export_scores.json"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true @@ -35573,21 +35595,21 @@ function _exportCourseWorkListScores() { })); case 1: case "end": - return _context61.stop(); + return _context62.stop(); } - }, _callee61); + }, _callee62); })); return _exportCourseWorkListScores.apply(this, arguments); } -function exportCourseWorkListAppendix(_x62) { +function exportCourseWorkListAppendix(_x63) { return _exportCourseWorkListAppendix.apply(this, arguments); } function _exportCourseWorkListAppendix() { - _exportCourseWorkListAppendix = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee62(params) { - return _regeneratorRuntime().wrap(function _callee62$(_context62) { - while (1) switch (_context62.prev = _context62.next) { + _exportCourseWorkListAppendix = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee63(params) { + return _regeneratorRuntime().wrap(function _callee63$(_context63) { + while (1) switch (_context63.prev = _context63.next) { case 0: - return _context62.abrupt("return", Fetch("/api/homework_commons/".concat(params.categoryId, "/works_list.zip"), { + return _context63.abrupt("return", Fetch("/api/homework_commons/".concat(params.categoryId, "/works_list.zip"), { method: 'get', params: _objectSpread({ "export": true @@ -35595,21 +35617,21 @@ function _exportCourseWorkListAppendix() { })); case 1: case "end": - return _context62.stop(); + return _context63.stop(); } - }, _callee62); + }, _callee63); })); return _exportCourseWorkListAppendix.apply(this, arguments); } -function deleteSecondCategory(_x63) { +function deleteSecondCategory(_x64) { return _deleteSecondCategory.apply(this, arguments); } function _deleteSecondCategory() { - _deleteSecondCategory = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee63(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee63$(_context63) { - while (1) switch (_context63.prev = _context63.next) { + _deleteSecondCategory = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee64(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee64$(_context64) { + while (1) switch (_context64.prev = _context64.next) { case 0: - return _context63.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api//course_second_categories/".concat(params.id, ".json"), { + return _context64.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api//course_second_categories/".concat(params.id, ".json"), { method: 'delete', params: { "export": true @@ -35617,21 +35639,21 @@ function _deleteSecondCategory() { })); case 1: case "end": - return _context63.stop(); + return _context64.stop(); } - }, _callee63); + }, _callee64); })); return _deleteSecondCategory.apply(this, arguments); } -function deleteBoardCategory(_x64) { +function deleteBoardCategory(_x65) { return _deleteBoardCategory.apply(this, arguments); } function _deleteBoardCategory() { - _deleteBoardCategory = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee64(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee64$(_context64) { - while (1) switch (_context64.prev = _context64.next) { + _deleteBoardCategory = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee65(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee65$(_context65) { + while (1) switch (_context65.prev = _context65.next) { case 0: - return _context64.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api//boards/".concat(params.id, ".json"), { + return _context65.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api//boards/".concat(params.id, ".json"), { method: 'delete', params: { "export": true @@ -35639,139 +35661,139 @@ function _deleteBoardCategory() { })); case 1: case "end": - return _context64.stop(); + return _context65.stop(); } - }, _callee64); + }, _callee65); })); return _deleteBoardCategory.apply(this, arguments); } -function stickyModule(_x65) { +function stickyModule(_x66) { return _stickyModule.apply(this, arguments); } function _stickyModule() { - _stickyModule = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee65(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee65$(_context65) { - while (1) switch (_context65.prev = _context65.next) { + _stickyModule = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee66(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee66$(_context66) { + while (1) switch (_context66.prev = _context66.next) { case 0: - return _context65.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_modules/".concat(params.id, "/sticky_module.json"), { + return _context66.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_modules/".concat(params.id, "/sticky_module.json"), { method: 'get' })); case 1: case "end": - return _context65.stop(); + return _context66.stop(); } - }, _callee65); + }, _callee66); })); return _stickyModule.apply(this, arguments); } -function hiddenModule(_x66) { +function hiddenModule(_x67) { return _hiddenModule.apply(this, arguments); } function _hiddenModule() { - _hiddenModule = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee66(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee66$(_context66) { - while (1) switch (_context66.prev = _context66.next) { + _hiddenModule = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee67(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee67$(_context67) { + while (1) switch (_context67.prev = _context67.next) { case 0: - return _context66.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_modules/".concat(params.id, "/hidden_module.json"), { + return _context67.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_modules/".concat(params.id, "/hidden_module.json"), { method: 'get' })); case 1: case "end": - return _context66.stop(); + return _context67.stop(); } - }, _callee66); + }, _callee67); })); return _hiddenModule.apply(this, arguments); } -function getNewStartClassData(_x67) { +function getNewStartClassData(_x68) { return _getNewStartClassData.apply(this, arguments); } function _getNewStartClassData() { - _getNewStartClassData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee67(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee67$(_context67) { - while (1) switch (_context67.prev = _context67.next) { + _getNewStartClassData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee68(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee68$(_context68) { + while (1) switch (_context68.prev = _context68.next) { case 0: - return _context67.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/new.json", { + return _context68.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/new.json", { method: 'get', params: params })); case 1: case "end": - return _context67.stop(); + return _context68.stop(); } - }, _callee67); + }, _callee68); })); return _getNewStartClassData.apply(this, arguments); } -function getAttendancesData(_x68) { +function getAttendancesData(_x69) { return _getAttendancesData.apply(this, arguments); } function _getAttendancesData() { - _getAttendancesData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee68(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee68$(_context68) { - while (1) switch (_context68.prev = _context68.next) { + _getAttendancesData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee69(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee69$(_context69) { + while (1) switch (_context69.prev = _context69.next) { case 0: - return _context68.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/attendances/".concat(params.id, ".json"), { + return _context69.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/attendances/".concat(params.id, ".json"), { method: 'get', params: params })); case 1: case "end": - return _context68.stop(); + return _context69.stop(); } - }, _callee68); + }, _callee69); })); return _getAttendancesData.apply(this, arguments); } -function getCourseMemberAttendanceData(_x69) { +function getCourseMemberAttendanceData(_x70) { return _getCourseMemberAttendanceData.apply(this, arguments); } function _getCourseMemberAttendanceData() { - _getCourseMemberAttendanceData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee69(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee69$(_context69) { - while (1) switch (_context69.prev = _context69.next) { + _getCourseMemberAttendanceData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee70(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee70$(_context70) { + while (1) switch (_context70.prev = _context70.next) { case 0: - return _context69.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances.json", { + return _context70.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances.json", { method: 'get', params: params })); case 1: case "end": - return _context69.stop(); + return _context70.stop(); } - }, _callee69); + }, _callee70); })); return _getCourseMemberAttendanceData.apply(this, arguments); } -function updateAttendanceStatus(_x70) { +function updateAttendanceStatus(_x71) { return _updateAttendanceStatus.apply(this, arguments); } function _updateAttendanceStatus() { - _updateAttendanceStatus = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee70(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee70$(_context70) { - while (1) switch (_context70.prev = _context70.next) { + _updateAttendanceStatus = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee71(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee71$(_context71) { + while (1) switch (_context71.prev = _context71.next) { case 0: - return _context70.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances/update_status.json", { + return _context71.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances/update_status.json", { method: 'post', body: params })); case 1: case "end": - return _context70.stop(); + return _context71.stop(); } - }, _callee70); + }, _callee71); })); return _updateAttendanceStatus.apply(this, arguments); } -function exportPollsScores(_x71) { +function exportPollsScores(_x72) { return _exportPollsScores.apply(this, arguments); } function _exportPollsScores() { - _exportPollsScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee71(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee71$(_context71) { - while (1) switch (_context71.prev = _context71.next) { + _exportPollsScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee72(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee72$(_context72) { + while (1) switch (_context72.prev = _context72.next) { case 0: - return _context71.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/commit_result.xlsx"), { + return _context72.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/commit_result.xlsx"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true @@ -35779,21 +35801,21 @@ function _exportPollsScores() { })); case 1: case "end": - return _context71.stop(); + return _context72.stop(); } - }, _callee71); + }, _callee72); })); return _exportPollsScores.apply(this, arguments); } -function exportExerciseStudentScores(_x72) { +function exportExerciseStudentScores(_x73) { return _exportExerciseStudentScores.apply(this, arguments); } function _exportExerciseStudentScores() { - _exportExerciseStudentScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee72(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee72$(_context72) { - while (1) switch (_context72.prev = _context72.next) { + _exportExerciseStudentScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee73(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee73$(_context73) { + while (1) switch (_context73.prev = _context73.next) { case 0: - return _context72.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/export_scores.json"), { + return _context73.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(params.categoryId, "/export_scores.json"), { method: 'get', params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ "export": true @@ -35801,9 +35823,9 @@ function _exportExerciseStudentScores() { })); case 1: case "end": - return _context72.stop(); + return _context73.stop(); } - }, _callee72); + }, _callee73); })); return _exportExerciseStudentScores.apply(this, arguments); } @@ -35813,297 +35835,297 @@ function getPollStartAnswer(params) { params: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) }); } -function updatePollVotes(_x73) { +function updatePollVotes(_x74) { return _updatePollVotes.apply(this, arguments); } function _updatePollVotes() { - _updatePollVotes = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee73(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee73$(_context73) { - while (1) switch (_context73.prev = _context73.next) { + _updatePollVotes = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee74(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee74$(_context74) { + while (1) switch (_context74.prev = _context74.next) { case 0: - return _context73.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_questions/".concat(params.questionId, "/poll_votes.json"), { + return _context74.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/poll_questions/".concat(params.questionId, "/poll_votes.json"), { method: 'post', body: params })); case 1: case "end": - return _context73.stop(); + return _context74.stop(); } - }, _callee73); + }, _callee74); })); return _updatePollVotes.apply(this, arguments); } -function submitPollAnswer(_x74) { +function submitPollAnswer(_x75) { return _submitPollAnswer.apply(this, arguments); } function _submitPollAnswer() { - _submitPollAnswer = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee74(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee74$(_context74) { - while (1) switch (_context74.prev = _context74.next) { + _submitPollAnswer = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee75(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee75$(_context75) { + while (1) switch (_context75.prev = _context75.next) { case 0: - return _context74.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/commit_poll.json"), { + return _context75.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/polls/".concat(params.categoryId, "/commit_poll.json"), { method: 'post', body: params })); case 1: case "end": - return _context74.stop(); + return _context75.stop(); } - }, _callee74); + }, _callee75); })); return _submitPollAnswer.apply(this, arguments); } -function getAllTasks(_x75) { +function getAllTasks(_x76) { return _getAllTasks.apply(this, arguments); } function _getAllTasks() { - _getAllTasks = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee75(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee75$(_context75) { - while (1) switch (_context75.prev = _context75.next) { + _getAllTasks = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee76(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee76$(_context76) { + while (1) switch (_context76.prev = _context76.next) { case 0: - return _context75.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.courseId, "/tasks_list.json"), { + return _context76.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.courseId, "/tasks_list.json"), { method: 'get', params: params })); case 1: case "end": - return _context75.stop(); + return _context76.stop(); } - }, _callee75); + }, _callee76); })); return _getAllTasks.apply(this, arguments); } -function updateTaskPosition(_x76) { +function updateTaskPosition(_x77) { return _updateTaskPosition.apply(this, arguments); } function _updateTaskPosition() { - _updateTaskPosition = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee76(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee76$(_context76) { - while (1) switch (_context76.prev = _context76.next) { + _updateTaskPosition = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee77(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee77$(_context77) { + while (1) switch (_context77.prev = _context77.next) { case 0: - return _context76.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.courseId, "/update_task_position.json"), { + return _context77.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.courseId, "/update_task_position.json"), { method: 'post', body: params })); case 1: case "end": - return _context76.stop(); + return _context77.stop(); } - }, _callee76); + }, _callee77); })); return _updateTaskPosition.apply(this, arguments); } -function calculateAllShixunScores(_x77) { +function calculateAllShixunScores(_x78) { return _calculateAllShixunScores.apply(this, arguments); } function _calculateAllShixunScores() { - _calculateAllShixunScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee77(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee77$(_context77) { - while (1) switch (_context77.prev = _context77.next) { + _calculateAllShixunScores = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee78(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee78$(_context78) { + while (1) switch (_context78.prev = _context78.next) { case 0: - return _context77.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/calculate_all_shixun_scores.json"), { + return _context78.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/calculate_all_shixun_scores.json"), { method: 'get', params: params })); case 1: case "end": - return _context77.stop(); + return _context78.stop(); } - }, _callee77); + }, _callee78); })); return _calculateAllShixunScores.apply(this, arguments); } -function getAllCourseGroup(_x78) { +function getAllCourseGroup(_x79) { return _getAllCourseGroup.apply(this, arguments); } function _getAllCourseGroup() { - _getAllCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee78(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee78$(_context78) { - while (1) switch (_context78.prev = _context78.next) { + _getAllCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee79(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee79$(_context79) { + while (1) switch (_context79.prev = _context79.next) { case 0: - return _context78.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/all_course_groups.json"), { + return _context79.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/all_course_groups.json"), { method: 'get', params: params })); case 1: case "end": - return _context78.stop(); + return _context79.stop(); } - }, _callee78); + }, _callee79); })); return _getAllCourseGroup.apply(this, arguments); } -function getCourseGroupStudents(_x79) { +function getCourseGroupStudents(_x80) { return _getCourseGroupStudents.apply(this, arguments); } function _getCourseGroupStudents() { - _getCourseGroupStudents = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee79(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee79$(_context79) { - while (1) switch (_context79.prev = _context79.next) { + _getCourseGroupStudents = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee80(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee80$(_context80) { + while (1) switch (_context80.prev = _context80.next) { case 0: - return _context79.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/students.json"), { + return _context80.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/students.json"), { method: 'get', params: params })); case 1: case "end": - return _context79.stop(); + return _context80.stop(); } - }, _callee79); + }, _callee80); })); return _getCourseGroupStudents.apply(this, arguments); } -function renameCourseGroup(_x80) { +function renameCourseGroup(_x81) { return _renameCourseGroup.apply(this, arguments); } function _renameCourseGroup() { - _renameCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee80(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee80$(_context80) { - while (1) switch (_context80.prev = _context80.next) { + _renameCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee81(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee81$(_context81) { + while (1) switch (_context81.prev = _context81.next) { case 0: - return _context80.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_groups/".concat(params.categoryId, "/rename_group.json"), { + return _context81.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_groups/".concat(params.categoryId, "/rename_group.json"), { method: 'POST', body: params })); case 1: case "end": - return _context80.stop(); + return _context81.stop(); } - }, _callee80); + }, _callee81); })); return _renameCourseGroup.apply(this, arguments); } -function deleteCourseGroup(_x81) { +function deleteCourseGroup(_x82) { return _deleteCourseGroup.apply(this, arguments); } function _deleteCourseGroup() { - _deleteCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee81(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee81$(_context81) { - while (1) switch (_context81.prev = _context81.next) { + _deleteCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee82(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee82$(_context82) { + while (1) switch (_context82.prev = _context82.next) { case 0: - return _context81.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_groups/".concat(params.categoryId, ".json"), { + return _context82.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_groups/".concat(params.categoryId, ".json"), { method: 'delete', body: params })); case 1: case "end": - return _context81.stop(); + return _context82.stop(); } - }, _callee81); + }, _callee82); })); return _deleteCourseGroup.apply(this, arguments); } -function joinCourseGroup(_x82) { +function joinCourseGroup(_x83) { return _joinCourseGroup.apply(this, arguments); } function _joinCourseGroup() { - _joinCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee82(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee82$(_context82) { - while (1) switch (_context82.prev = _context82.next) { + _joinCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee83(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee83$(_context83) { + while (1) switch (_context83.prev = _context83.next) { case 0: - return _context82.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/join_course_group.json"), { + return _context83.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/join_course_group.json"), { method: 'POST', body: params })); case 1: case "end": - return _context82.stop(); + return _context83.stop(); } - }, _callee82); + }, _callee83); })); return _joinCourseGroup.apply(this, arguments); } -function transferToCourseGroup(_x83) { +function transferToCourseGroup(_x84) { return _transferToCourseGroup.apply(this, arguments); } function _transferToCourseGroup() { - _transferToCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee83(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee83$(_context83) { - while (1) switch (_context83.prev = _context83.next) { + _transferToCourseGroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee84(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee84$(_context84) { + while (1) switch (_context84.prev = _context84.next) { case 0: - return _context83.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/transfer_to_course_group.json"), { + return _context84.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/transfer_to_course_group.json"), { method: 'post', body: params })); case 1: case "end": - return _context83.stop(); + return _context84.stop(); } - }, _callee83); + }, _callee84); })); return _transferToCourseGroup.apply(this, arguments); } -function deleteStudent(_x84) { +function deleteStudent(_x85) { return _deleteStudent.apply(this, arguments); } //加入分班 function _deleteStudent() { - _deleteStudent = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee84(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee84$(_context84) { - while (1) switch (_context84.prev = _context84.next) { + _deleteStudent = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee85(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee85$(_context85) { + while (1) switch (_context85.prev = _context85.next) { case 0: - return _context84.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/delete_from_course.json"), { + return _context85.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/delete_from_course.json"), { method: 'post', body: params })); case 1: case "end": - return _context84.stop(); + return _context85.stop(); } - }, _callee84); + }, _callee85); })); return _deleteStudent.apply(this, arguments); } -function joincoursegroup(_x85) { +function joincoursegroup(_x86) { return _joincoursegroup.apply(this, arguments); } function _joincoursegroup() { - _joincoursegroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee85(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee85$(_context85) { - while (1) switch (_context85.prev = _context85.next) { + _joincoursegroup = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee86(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee86$(_context86) { + while (1) switch (_context86.prev = _context86.next) { case 0: - return _context85.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/join_course_group.json"), { + return _context86.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/join_course_group.json"), { method: 'post', body: params })); case 1: case "end": - return _context85.stop(); + return _context86.stop(); } - }, _callee85); + }, _callee86); })); return _joincoursegroup.apply(this, arguments); } -function exitCourse(_x86) { +function exitCourse(_x87) { return _exitCourse.apply(this, arguments); } function _exitCourse() { - _exitCourse = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee86(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee86$(_context86) { - while (1) switch (_context86.prev = _context86.next) { + _exitCourse = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee87(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee87$(_context87) { + while (1) switch (_context87.prev = _context87.next) { case 0: - return _context86.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/exit_course.json"), { + return _context87.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/exit_course.json"), { method: 'post' })); case 1: case "end": - return _context86.stop(); + return _context87.stop(); } - }, _callee86); + }, _callee87); })); return _exitCourse.apply(this, arguments); } -function courseMemberAttendances(_x87) { +function courseMemberAttendances(_x88) { return _courseMemberAttendances.apply(this, arguments); } // 第三方慕课 function _courseMemberAttendances() { - _courseMemberAttendances = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee87(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee87$(_context87) { - while (1) switch (_context87.prev = _context87.next) { + _courseMemberAttendances = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee88(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee88$(_context88) { + while (1) switch (_context88.prev = _context88.next) { case 0: - return _context87.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances.json", { + return _context88.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/weapps/course_member_attendances.json", { method: 'post', body: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params) // attendance_id: 335 @@ -36111,229 +36133,229 @@ function _courseMemberAttendances() { })); case 1: case "end": - return _context87.stop(); + return _context88.stop(); } - }, _callee87); + }, _callee88); })); return _courseMemberAttendances.apply(this, arguments); } -function getMoocEditData(_x88) { +function getMoocEditData(_x89) { return _getMoocEditData.apply(this, arguments); } function _getMoocEditData() { - _getMoocEditData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee88(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee88$(_context88) { - while (1) switch (_context88.prev = _context88.next) { + _getMoocEditData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee89(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee89$(_context89) { + while (1) switch (_context89.prev = _context89.next) { case 0: - return _context88.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users/").concat(params.user_id, "/edit.json"), { + return _context89.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users/").concat(params.user_id, "/edit.json"), { method: 'get', params: params })); case 1: case "end": - return _context88.stop(); + return _context89.stop(); } - }, _callee88); + }, _callee89); })); return _getMoocEditData.apply(this, arguments); } -function createMoocData(_x89) { +function createMoocData(_x90) { return _createMoocData.apply(this, arguments); } function _createMoocData() { - _createMoocData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee89(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee89$(_context89) { - while (1) switch (_context89.prev = _context89.next) { + _createMoocData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee90(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee90$(_context90) { + while (1) switch (_context90.prev = _context90.next) { case 0: - return _context89.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users.json"), { + return _context90.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users.json"), { method: 'post', body: params })); case 1: case "end": - return _context89.stop(); + return _context90.stop(); } - }, _callee89); + }, _callee90); })); return _createMoocData.apply(this, arguments); } -function updateMoocData(_x90) { +function updateMoocData(_x91) { return _updateMoocData.apply(this, arguments); } function _updateMoocData() { - _updateMoocData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee90(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee90$(_context90) { - while (1) switch (_context90.prev = _context90.next) { + _updateMoocData = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee91(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee91$(_context91) { + while (1) switch (_context91.prev = _context91.next) { case 0: - return _context90.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users/").concat(params.user_id, ".json"), { + return _context91.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.coursesId, "/mooc_users/").concat(params.user_id, ".json"), { method: 'put', body: params })); case 1: case "end": - return _context90.stop(); + return _context91.stop(); } - }, _callee90); + }, _callee91); })); return _updateMoocData.apply(this, arguments); } -function moveCategory(_x91) { +function moveCategory(_x92) { return _moveCategory.apply(this, arguments); } function _moveCategory() { - _moveCategory = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee91(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee91$(_context91) { - while (1) switch (_context91.prev = _context91.next) { + _moveCategory = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee92(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee92$(_context92) { + while (1) switch (_context92.prev = _context92.next) { case 0: - return _context91.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_second_categories/".concat(params.id, "/move_category.json"), { + return _context92.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/course_second_categories/".concat(params.id, "/move_category.json"), { method: 'post', body: params })); case 1: case "end": - return _context91.stop(); + return _context92.stop(); } - }, _callee91); + }, _callee92); })); return _moveCategory.apply(this, arguments); } -function moveboard(_x92) { +function moveboard(_x93) { return _moveboard.apply(this, arguments); } function _moveboard() { - _moveboard = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee92(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee92$(_context92) { - while (1) switch (_context92.prev = _context92.next) { + _moveboard = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee93(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee93$(_context93) { + while (1) switch (_context93.prev = _context93.next) { case 0: - return _context92.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/boards/".concat(params.id, "/move_category.json"), { + return _context93.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/boards/".concat(params.id, "/move_category.json"), { method: 'post', body: params })); case 1: case "end": - return _context92.stop(); + return _context93.stop(); } - }, _callee92); + }, _callee93); })); return _moveboard.apply(this, arguments); } -function getCourseware(_x93) { +function getCourseware(_x94) { return _getCourseware.apply(this, arguments); } function _getCourseware() { - _getCourseware = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee93(params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee93$(_context93) { - while (1) switch (_context93.prev = _context93.next) { + _getCourseware = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee94(params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee94$(_context94) { + while (1) switch (_context94.prev = _context94.next) { case 0: - return _context93.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/courseware.json"), { + return _context94.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(params.id, "/courseware.json"), { method: 'get', params: params })); case 1: case "end": - return _context93.stop(); + return _context94.stop(); } - }, _callee93); + }, _callee94); })); return _getCourseware.apply(this, arguments); } -function markWrongQuestion(_x94, _x95) { +function markWrongQuestion(_x95, _x96) { return _markWrongQuestion.apply(this, arguments); } function _markWrongQuestion() { - _markWrongQuestion = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee94(coursesId, params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee94$(_context94) { - while (1) switch (_context94.prev = _context94.next) { + _markWrongQuestion = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee95(coursesId, params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee95$(_context95) { + while (1) switch (_context95.prev = _context95.next) { case 0: - return _context94.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(coursesId, "/mark_wrong_topic.json"), { + return _context95.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(coursesId, "/mark_wrong_topic.json"), { method: 'get', params: params })); case 1: case "end": - return _context94.stop(); + return _context95.stop(); } - }, _callee94); + }, _callee95); })); return _markWrongQuestion.apply(this, arguments); } -function cancelMarkWrongQuestion(_x96, _x97) { +function cancelMarkWrongQuestion(_x97, _x98) { return _cancelMarkWrongQuestion.apply(this, arguments); } function _cancelMarkWrongQuestion() { - _cancelMarkWrongQuestion = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee95(coursesId, params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee95$(_context95) { - while (1) switch (_context95.prev = _context95.next) { + _cancelMarkWrongQuestion = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee96(coursesId, params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee96$(_context96) { + while (1) switch (_context96.prev = _context96.next) { case 0: - return _context95.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(coursesId, "/cancel_wrong_topic.json"), { + return _context96.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/exercises/".concat(coursesId, "/cancel_wrong_topic.json"), { method: 'get', params: params })); case 1: case "end": - return _context95.stop(); + return _context96.stop(); } - }, _callee95); + }, _callee96); })); return _cancelMarkWrongQuestion.apply(this, arguments); } -function getAllowEndGroups(_x98, _x99) { +function getAllowEndGroups(_x99, _x100) { return _getAllowEndGroups.apply(this, arguments); } function _getAllowEndGroups() { - _getAllowEndGroups = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee96(homework_id, params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee96$(_context96) { - while (1) switch (_context96.prev = _context96.next) { + _getAllowEndGroups = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee97(homework_id, params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee97$(_context97) { + while (1) switch (_context97.prev = _context97.next) { case 0: - return _context96.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(homework_id, "/allow_end_group.json"), { + return _context97.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/homework_commons/".concat(homework_id, "/allow_end_group.json"), { method: 'get', params: params })); case 1: case "end": - return _context96.stop(); + return _context97.stop(); } - }, _callee96); + }, _callee97); })); return _getAllowEndGroups.apply(this, arguments); } -function stopHomework(_x100, _x101) { +function stopHomework(_x101, _x102) { return _stopHomework.apply(this, arguments); } function _stopHomework() { - _stopHomework = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee97(course_id, params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee97$(_context97) { - while (1) switch (_context97.prev = _context97.next) { + _stopHomework = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee98(course_id, params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee98$(_context98) { + while (1) switch (_context98.prev = _context98.next) { case 0: - return _context97.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(course_id, "/homework_commons/end_with_homework_list_position.json"), { + return _context98.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/courses/".concat(course_id, "/homework_commons/end_with_homework_list_position.json"), { method: 'post', body: params })); case 1: case "end": - return _context97.stop(); + return _context98.stop(); } - }, _callee97); + }, _callee98); })); return _stopHomework.apply(this, arguments); } -function getCommitIdContent(_x102, _x103) { +function getCommitIdContent(_x103, _x104) { return _getCommitIdContent.apply(this, arguments); } function _getCommitIdContent() { - _getCommitIdContent = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee98(id, params) { - return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee98$(_context98) { - while (1) switch (_context98.prev = _context98.next) { + _getCommitIdContent = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee99(id, params) { + return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_2_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee99$(_context99) { + while (1) switch (_context99.prev = _context99.next) { case 0: - return _context98.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/tasks/".concat(id, "/get_content_for_commit_id.json"), { + return _context99.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/tasks/".concat(id, "/get_content_for_commit_id.json"), { method: 'get', params: params })); case 1: case "end": - return _context98.stop(); + return _context99.stop(); } - }, _callee98); + }, _callee99); })); return _getCommitIdContent.apply(this, arguments); } @@ -135737,10 +135759,10 @@ function _getRoutes() { return Promise.all(/*! import() | p__Paperlibrary__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(85731), __webpack_require__.e(99313), __webpack_require__.e(4977), __webpack_require__.e(25692), __webpack_require__.e(39384), __webpack_require__.e(86743), __webpack_require__.e(56843), __webpack_require__.e(97120), __webpack_require__.e(54862)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/index.tsx */ 42237)); }), '4': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 86379)); + return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 86379)); }), '5': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 86379)); + return Promise.all(/*! import() | p__Paperlibrary__Add__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(93260)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Add/index.tsx */ 86379)); }), '6': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Paperlibrary__See__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(19208), __webpack_require__.e(44425), __webpack_require__.e(86129), __webpack_require__.e(88699), __webpack_require__.e(4977), __webpack_require__.e(68574), __webpack_require__.e(56843), __webpack_require__.e(89493), __webpack_require__.e(53247)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/See/index.tsx */ 53397)); @@ -135845,7 +135867,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(85731), __webpack_require__.e(68574), __webpack_require__.e(85297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.tsx */ 57525)); }), '40': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(52409), __webpack_require__.e(42441), __webpack_require__.e(89536), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(61034), __webpack_require__.e(21154), __webpack_require__.e(89039), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(23275), __webpack_require__.e(70043), __webpack_require__.e(8827), __webpack_require__.e(75455), __webpack_require__.e(12979), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 90647)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(52409), __webpack_require__.e(42441), __webpack_require__.e(89536), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(61034), __webpack_require__.e(47758), __webpack_require__.e(6452), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(23275), __webpack_require__.e(70043), __webpack_require__.e(8827), __webpack_require__.e(75455), __webpack_require__.e(12979), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 90647)); }), '41': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(89868), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3471), __webpack_require__.e(68998), __webpack_require__.e(4977), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(25692), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 93418)); @@ -135854,22 +135876,22 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ImitateAnswer__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(56156), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(23275), __webpack_require__.e(1143), __webpack_require__.e(14889)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx */ 43270)); }), '43': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Answer__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(56156), __webpack_require__.e(80457), __webpack_require__.e(12911), __webpack_require__.e(27977), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(23275), __webpack_require__.e(1143), __webpack_require__.e(14105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ 6201)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Answer__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(56156), __webpack_require__.e(80457), __webpack_require__.e(12911), __webpack_require__.e(47319), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(23275), __webpack_require__.e(1143), __webpack_require__.e(14105)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ 6201)); }), '44': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Notice__index */[__webpack_require__.e(59981), __webpack_require__.e(17482)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Notice/index.tsx */ 34217)); }), '45': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(37825), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(8827), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 78184)); + return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(37825), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(8827), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 78184)); }), '46': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(37825), __webpack_require__.e(56156), __webpack_require__.e(21154), __webpack_require__.e(4977), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(8827), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 36970)); + return Promise.all(/*! import() | p__Paperlibrary__Random__PreviewEdit__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(37825), __webpack_require__.e(56156), __webpack_require__.e(47758), __webpack_require__.e(4977), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(8827), __webpack_require__.e(90337)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/PreviewEdit/index.tsx */ 36970)); }), '47': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(52409), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 33032)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(52409), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 33032)); }), '48': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(52409), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 33032)); + return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Add__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(52409), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Add/index.tsx */ 33032)); }), '49': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__ReviewGroup__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(89868), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(79817), __webpack_require__.e(66174), __webpack_require__.e(4977), __webpack_require__.e(68574), __webpack_require__.e(11436), __webpack_require__.e(45992)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/ReviewGroup/index.tsx */ 1218)); @@ -136241,10 +136263,10 @@ function _getRoutes() { return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(89868), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(43428), __webpack_require__.e(3471), __webpack_require__.e(68998), __webpack_require__.e(4977), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(25692), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 93418)); }), '172': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 19966)); + return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 19966)); }), '173': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 19966)); + return Promise.all(/*! import() | p__Problemset__NewItem__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(41953)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/NewItem/index.tsx */ 19966)); }), '174': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Problemset__Preview__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(34333), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(89868), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(45591), __webpack_require__.e(88699), __webpack_require__.e(4977), __webpack_require__.e(68574), __webpack_require__.e(11436), __webpack_require__.e(11581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/Preview/index.tsx */ 24657)); @@ -137051,10 +137073,10 @@ function _getRoutes() { return __webpack_require__.e(/*! import() | p__MoopCases__Success__index */ 51276).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/MoopCases/Success/index.tsx */ 36522)); }), '442': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(37825), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(8827), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 78184)); + return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(37825), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(8827), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 78184)); }), '443': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(37825), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(21154), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(8827), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 78184)); + return Promise.all(/*! import() | p__Paperlibrary__Random__Edit__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89868), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(9029), __webpack_require__.e(85731), __webpack_require__.e(78273), __webpack_require__.e(72319), __webpack_require__.e(85160), __webpack_require__.e(37966), __webpack_require__.e(99313), __webpack_require__.e(37825), __webpack_require__.e(19842), __webpack_require__.e(56156), __webpack_require__.e(45591), __webpack_require__.e(47758), __webpack_require__.e(68574), __webpack_require__.e(71515), __webpack_require__.e(8827), __webpack_require__.e(75816)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Edit/index.tsx */ 78184)); }), '444': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Paperlibrary__Random__Detail__index */[__webpack_require__.e(28647), __webpack_require__.e(84728), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(26588), __webpack_require__.e(34333), __webpack_require__.e(96232), __webpack_require__.e(24665), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(41867), __webpack_require__.e(78782), __webpack_require__.e(5512), __webpack_require__.e(59981), __webpack_require__.e(89995), __webpack_require__.e(72315), __webpack_require__.e(85731), __webpack_require__.e(99313), __webpack_require__.e(86743), __webpack_require__.e(56843), __webpack_require__.e(33784)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Paperlibrary/Random/Detail/index.tsx */ 46305));