diff --git a/7661.async.js b/7661.async.js index f6a689f539..ca4b247411 100644 --- a/7661.async.js +++ b/7661.async.js @@ -519,7 +519,8 @@ var Edit = function Edit(_ref) { brief_introduction: basicInfo.brief_introduction, jobTitle: basicInfo.identity == "teacher" ? basicInfo.technical_title : "教授", manager: basicInfo.identity == "professional" ? basicInfo.technical_title : "企业管理者", - staff_id: basicInfo.staff_id + staff_id: basicInfo.staff_id, + course_class_id: basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.course_class_id // face_image:[{uid:'111',name:'111',url:basicInfo.face_image}] }; @@ -759,11 +760,11 @@ var Edit = function Edit(_ref) { var handleFinish = /*#__PURE__*/function () { var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9(values) { var _departmentList$find, _schoolList$find2; - var nickname, gender, identity, studentNo, jobTitle, manager, school, department, edu_background, edu_entry_year, brief_introduction, face_image, staff_id, department_id, school_id, basicInfo, titls, professionalFlags, _account$basicInfo6, _fileList$2, res, _account$basicInfo7, _user$userInfo7; + var nickname, gender, identity, studentNo, jobTitle, manager, school, department, edu_background, edu_entry_year, brief_introduction, face_image, staff_id, course_class_id, department_id, school_id, basicInfo, titls, professionalFlags, _account$basicInfo6, _fileList$2, res, _account$basicInfo7, _user$userInfo7; return regeneratorRuntime_default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: - nickname = values.nickname, gender = values.gender, identity = values.identity, studentNo = values.studentNo, jobTitle = values.jobTitle, manager = values.manager, school = values.school, department = values.department, edu_background = values.edu_background, edu_entry_year = values.edu_entry_year, brief_introduction = values.brief_introduction, face_image = values.face_image, staff_id = values.staff_id; + nickname = values.nickname, gender = values.gender, identity = values.identity, studentNo = values.studentNo, jobTitle = values.jobTitle, manager = values.manager, school = values.school, department = values.department, edu_background = values.edu_background, edu_entry_year = values.edu_entry_year, brief_introduction = values.brief_introduction, face_image = values.face_image, staff_id = values.staff_id, course_class_id = values.course_class_id; department_id = (_departmentList$find = departmentList.find(function (item) { return item.name === department; })) === null || _departmentList$find === void 0 ? void 0 : _departmentList$find.id; @@ -816,13 +817,9 @@ var Edit = function Edit(_ref) { } modal/* default */.Z.confirm({ centered: true, - icon: null, okText: '确定', cancelText: '取消', - title: '提示', - content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: "\u672C\u6B21\u4FEE\u6539\u6D89\u53CA".concat(titls.toString().replaceAll(',', '、')).concat(titls.length > 0 && professionalFlags.length > 0 ? '、' : '').concat(professionalFlags.toString().replaceAll(',', '、'), "\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u884C").concat(titls.length > 0 ? '实名认证' : '').concat(titls.length > 0 && professionalFlags.length > 0 ? '和' : '').concat(professionalFlags.length > 0 ? '职业认证' : '', "\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FEE\u6539") - }), + title: "\u672C\u6B21\u4FEE\u6539\u6D89\u53CA".concat(titls.toString().replaceAll(',', '、')).concat(titls.length > 0 && professionalFlags.length > 0 ? '、' : '').concat(professionalFlags.toString().replaceAll(',', '、'), "\uFF0C\u9700\u8981\u91CD\u65B0\u8FDB\u884C").concat(titls.length > 0 ? '实名认证' : '').concat(titls.length > 0 && professionalFlags.length > 0 ? '和' : '').concat(professionalFlags.length > 0 ? '职业认证' : '', "\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FEE\u6539"), onOk: function () { var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { var _account$basicInfo4, _fileList$; @@ -867,7 +864,8 @@ var Edit = function Edit(_ref) { brief_introduction: brief_introduction, student_id: identity === 'student' ? studentNo : null, technical_title: jobTitle || manager, - face_image: fileList === null || fileList === void 0 || (_fileList$ = fileList[0]) === null || _fileList$ === void 0 || (_fileList$ = _fileList$.response) === null || _fileList$ === void 0 ? void 0 : _fileList$.id + face_image: fileList === null || fileList === void 0 || (_fileList$ = fileList[0]) === null || _fileList$ === void 0 || (_fileList$ = _fileList$.response) === null || _fileList$ === void 0 ? void 0 : _fileList$.id, + course_class_id: course_class_id } }); case 8: @@ -949,7 +947,8 @@ var Edit = function Edit(_ref) { brief_introduction: brief_introduction, student_id: identity === 'student' ? studentNo : null, technical_title: jobTitle || manager, - face_image: fileList === null || fileList === void 0 || (_fileList$2 = fileList[0]) === null || _fileList$2 === void 0 || (_fileList$2 = _fileList$2.response) === null || _fileList$2 === void 0 ? void 0 : _fileList$2.id + face_image: fileList === null || fileList === void 0 || (_fileList$2 = fileList[0]) === null || _fileList$2 === void 0 || (_fileList$2 = _fileList$2.response) === null || _fileList$2 === void 0 ? void 0 : _fileList$2.id, + course_class_id: course_class_id } }); case 14: diff --git a/p__Classrooms__Lists__Attachment__index.async.js b/p__Classrooms__Lists__Attachment__index.async.js index c40afe5ed6..5ff41de316 100644 --- a/p__Classrooms__Lists__Attachment__index.async.js +++ b/p__Classrooms__Lists__Attachment__index.async.js @@ -2181,7 +2181,7 @@ var Config_SetPublic = function SetPublic(_ref) { width: 110, render: function render(text) { return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: dayjs_min_default()(text === null || text === void 0 ? void 0 : text.publish_time).format("YYYY-MM-DD") + children: dayjs_min_default()(text).format("YYYY-MM-DD ") }); } }, { diff --git a/p__Classrooms__Lists__CommonHomework__Detail__index.async.js b/p__Classrooms__Lists__CommonHomework__Detail__index.async.js index 5bbd0c7470..5a07789d93 100644 --- a/p__Classrooms__Lists__CommonHomework__Detail__index.async.js +++ b/p__Classrooms__Lists__CommonHomework__Detail__index.async.js @@ -4739,10 +4739,10 @@ var dropdown = __webpack_require__(38854); var table = __webpack_require__(72315); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules var pagination = __webpack_require__(41867); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules -var es_radio = __webpack_require__(5112); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules var input_number = __webpack_require__(85731); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules +var es_radio = __webpack_require__(5112); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js var es_select = __webpack_require__(57809); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules @@ -5291,7 +5291,7 @@ var WorkList = function WorkList(_ref) { }, [groupList]); var onShowSizeChange = function onShowSizeChange(current, pageSize) { params.page = current; - params.limit = 20; + // params.limit = 20; getData(); }; var columns = [{ @@ -6067,19 +6067,41 @@ var WorkList = function WorkList(_ref) { } })] })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { className: "tc mb50 mt30", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { - showSizeChanger: true, + style: { + display: 'flex', + justifyContent: 'end', + alignItems: 'center' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { onChange: onShowSizeChange // hideOnSinglePage={true} , defaultCurrent: params.page || 1, current: params.page || 1, defaultPageSize: 20, - pageSizeOptions: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100], total: shixunHomeworks.workList.work_count - }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + margin: '0px 10px' + }, + children: "\u6BCF\u9875\u663E\u793A\u6761\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + min: 1, + step: 1, + precision: 0, + onChange: function onChange(e) { + params.limit = e; + setParams(objectSpread2_default()({}, params)); + }, + onBlur: function onBlur(e) { + getData(); + }, + style: { + width: 50 + } + })] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(ChangeScore, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(Redo, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(RedoShixunModal/* default */.Z, { getData: getData @@ -11150,19 +11172,39 @@ var CodeReview_WorkList = function WorkList(_ref) { }) }); } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { className: "tc mb50 mt30", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { - showSizeChanger: true, + style: { + display: 'flex', + alignItems: 'center', + justifyContent: 'end' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { onChange: onShowSizeChange, defaultCurrent: params.page || 1, current: params.page || 1, - defaultPageSize: 20 - // hideOnSinglePage={false} - , - pageSizeOptions: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100], + defaultPageSize: 20, total: codeReview.copy_reviews_count - }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + margin: '0px 10px' + }, + children: "\u6BCF\u9875\u663E\u793A\u6761\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + min: 1, + step: 1, + precision: 0, + onChange: function onChange(e) { + params.limit = e; + setParams(objectSpread2_default()({}, params)); + }, + onBlur: function onBlur(e) { + getData(); + }, + style: { + width: 50 + } + })] })] })] }); diff --git a/p__Classrooms__Lists__Exercise__Detail__index.async.js b/p__Classrooms__Lists__Exercise__Detail__index.async.js index f99c4a0807..10aa70a1a8 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.async.js @@ -3912,7 +3912,7 @@ var WorkList = function WorkList(_ref) { }; var onShowSizeChange = function onShowSizeChange(current, pageSize) { params.page = current; - params.limit = 20; + // params.limit = 20; dispatch({ type: 'exercise/getExerciseList', payload: objectSpread2_default()({}, params) @@ -5116,18 +5116,19 @@ var WorkList = function WorkList(_ref) { payload: objectSpread2_default()({}, params) }); } - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { className: "tc mb50 pb30 mt30", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + style: { + display: 'flex', + alignItems: 'center', + justifyContent: 'end' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { onChange: onShowSizeChange, current: params.page || 1, defaultPageSize: 20, total: totalCount, - showSizeChanger: true, - showQuickJumper: true - // hideOnSinglePage - , - pageSizeOptions: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100], + showQuickJumper: true, showTotal: function showTotal(total) { return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { className: "mr10", @@ -5137,7 +5138,29 @@ var WorkList = function WorkList(_ref) { }), "\u6761\u6570\u636E"] }); } - }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + margin: '0px 10px' + }, + children: "\u6BCF\u9875\u663E\u793A\u6761\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + min: 1, + step: 1, + precision: 0, + onChange: function onChange(e) { + params.limit = e; + setParams(objectSpread2_default()({}, params)); + }, + onBlur: function onBlur(e) { + dispatch({ + type: 'exercise/getExerciseList', + payload: objectSpread2_default()({}, params) + }); + }, + style: { + width: 50 + } + })] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(ChangeScore, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(Redo, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(Delayed, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_Unlock, {}), showphone && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_modal/* default */.Z, { title: "\u9632\u4F5C\u5F0A\u5934\u50CF", @@ -16418,7 +16441,9 @@ var PreventCheatingSettings_PublishSettings = function PublishSettings(_ref) { //是否开启考试解锁码 unlock_key: '', //考试解锁码 - screen_shot_open: false //考试截图功能 + screen_shot_open: false, + //考试截图功能 + part_score: false //选择题部分得分 }), _useState6 = slicedToArray_default()(_useState5, 2), data = _useState6[0], @@ -16635,6 +16660,19 @@ var PreventCheatingSettings_PublishSettings = function PublishSettings(_ref) { children: "\u9009\u62E9\u9898\u9009\u9879\u987A\u5E8F\u968F\u673A\u6253\u4E71" }) }) + }), !(commonHeader !== null && commonHeader !== void 0 && commonHeader.is_random) && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + className: ConfigWorksmodules.mb28, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + checked: data.part_score, + disabled: disabled, + onChange: function onChange(e) { + data.part_score = e.target.checked; + setData(Object.assign({}, data)); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("strong", { + children: "\u591A\u9009\u9898\u90E8\u5206\u5F97\u5206" + }) + }) }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { span: 24, diff --git a/p__Classrooms__Lists__GroupHomework__Detail__index.async.js b/p__Classrooms__Lists__GroupHomework__Detail__index.async.js index 5acecba788..9c370a5506 100644 --- a/p__Classrooms__Lists__GroupHomework__Detail__index.async.js +++ b/p__Classrooms__Lists__GroupHomework__Detail__index.async.js @@ -4617,12 +4617,12 @@ var dropdown = __webpack_require__(38854); var table = __webpack_require__(72315); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules var pagination = __webpack_require__(41867); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules +var input_number = __webpack_require__(85731); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules var modal = __webpack_require__(43418); // EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules var es_radio = __webpack_require__(5112); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules -var input_number = __webpack_require__(85731); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/DownOutlined.js + 1 modules var DownOutlined = __webpack_require__(42884); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/UpOutlined.js + 1 modules @@ -5063,7 +5063,7 @@ var WorkList = function WorkList(_ref) { }; var onShowSizeChange = function onShowSizeChange(current, pageSize) { params.page = current; - params.limit = 20; + // params.limit = 20; getData(); }; var member_works = [{ @@ -5688,19 +5688,41 @@ var WorkList = function WorkList(_ref) { })] }) })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { className: "tc mb50 mt30", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { - showSizeChanger: true - // hideOnSinglePage={true} - , + style: { + display: 'flex', + alignItems: 'center', + justifyContent: 'end' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z + // hideOnSinglePage={true} + , { onChange: onShowSizeChange, defaultCurrent: params.page || 1, current: params.page || 1, defaultPageSize: 20, - pageSizeOptions: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100], total: shixunHomeworks.workList.work_count - }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + margin: '0px 10px' + }, + children: "\u6BCF\u9875\u663E\u793A\u6761\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + min: 1, + step: 1, + precision: 0, + onChange: function onChange(e) { + params.limit = e; + setParams(objectSpread2_default()({}, params)); + }, + onBlur: function onBlur(e) { + getData(); + }, + style: { + width: 50 + } + })] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(ChangeScore, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(Redo, {}), isshwomodal && /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { title: "\u4E00\u952E\u6253\u56DE\u91CD\u505A", diff --git a/p__Classrooms__Lists__ShixunHomeworks__Detail__index.async.js b/p__Classrooms__Lists__ShixunHomeworks__Detail__index.async.js index 3a18c3c49c..053bb920dc 100644 --- a/p__Classrooms__Lists__ShixunHomeworks__Detail__index.async.js +++ b/p__Classrooms__Lists__ShixunHomeworks__Detail__index.async.js @@ -5509,7 +5509,7 @@ var WorkList = function WorkList(_ref) { }, [document.getElementById('divhe')]); var onShowSizeChange = function onShowSizeChange(current, pageSize) { params.page = current; - params.limit = 20; + // params.limit = 20; getData(); }; function setnull() { @@ -6779,19 +6779,41 @@ var WorkList = function WorkList(_ref) { })] }) })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(QualityModal, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", { + }), /*#__PURE__*/(0,jsx_runtime.jsx)(QualityModal, {}), /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", { className: "tc mb50 mt30", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + style: { + display: 'flex', + justifyContent: 'end', + alignItems: 'center' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { showQuickJumper: true // hideOnSinglePage={true} , - showSizeChanger: true, - pageSizeOptions: [10, 20, 30, 40, 50, 60, 70, 80, 90, 100], onChange: onShowSizeChange, current: params.page || 1, defaultPageSize: 20, total: workList.work_count - }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + margin: '0px 10px' + }, + children: "\u6BCF\u9875\u663E\u793A\u6761\u6570" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, { + min: 1, + step: 1, + precision: 0, + onChange: function onChange(e) { + params.limit = e; + setParams(objectSpread2_default()({}, params)); + }, + onBlur: function onBlur(e) { + getData(); + }, + style: { + width: 50 + } + })] })] }); }; diff --git a/p__Classrooms__New__index.async.js b/p__Classrooms__New__index.async.js index a4217ca159..2ca21b0209 100644 --- a/p__Classrooms__New__index.async.js +++ b/p__Classrooms__New__index.async.js @@ -650,7 +650,8 @@ var NewClassroomPage = function NewClassroomPage(_ref) { set: res.invite_code_halt, allow_copy: res === null || res === void 0 ? void 0 : res.allow_copy, is_show_conceal: res === null || res === void 0 ? void 0 : res.is_show_conceal, - student_join_approve: res === null || res === void 0 ? void 0 : res.student_join_approve + student_join_approve: res === null || res === void 0 ? void 0 : res.student_join_approve, + cover_image: res === null || res === void 0 ? void 0 : res.cover_image }; getSchoolList(res.school); setFormValue(objectSpread2_default()({}, data)); @@ -744,7 +745,7 @@ var NewClassroomPage = function NewClassroomPage(_ref) { }; var handleFinish = /*#__PURE__*/function () { var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(values) { - var _ref4, course_list_name, credit, name, class_period, endTime, publicClassroom, course_module_types, school, _ref4$set, set, allow_copy, allowed_quit, is_show_conceal, _ref4$student_join_ap, student_join_approve, end_date, postData, res, _res, result, _result$course_module, _res2, _res3; + var _ref4, course_list_name, credit, name, class_period, endTime, publicClassroom, course_module_types, school, _ref4$set, set, allow_copy, allowed_quit, is_show_conceal, _ref4$student_join_ap, student_join_approve, cover_image, end_date, postData, res, _res, result, _result$course_module, _res2, _res3; return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: @@ -755,7 +756,7 @@ var NewClassroomPage = function NewClassroomPage(_ref) { message/* default */.ZP.info('课堂信息只有课堂管理员可以调整'); return _context2.abrupt("return"); case 3: - _ref4 = values || {}, course_list_name = _ref4.course, credit = _ref4.credit, name = _ref4.classroom, class_period = _ref4.period, endTime = _ref4.endTime, publicClassroom = _ref4.publicClassroom, course_module_types = _ref4.classModule, school = _ref4.school, _ref4$set = _ref4.set, set = _ref4$set === void 0 ? 0 : _ref4$set, allow_copy = _ref4.allow_copy, allowed_quit = _ref4.allowed_quit, is_show_conceal = _ref4.is_show_conceal, _ref4$student_join_ap = _ref4.student_join_approve, student_join_approve = _ref4$student_join_ap === void 0 ? false : _ref4$student_join_ap; + _ref4 = values || {}, course_list_name = _ref4.course, credit = _ref4.credit, name = _ref4.classroom, class_period = _ref4.period, endTime = _ref4.endTime, publicClassroom = _ref4.publicClassroom, course_module_types = _ref4.classModule, school = _ref4.school, _ref4$set = _ref4.set, set = _ref4$set === void 0 ? 0 : _ref4$set, allow_copy = _ref4.allow_copy, allowed_quit = _ref4.allowed_quit, is_show_conceal = _ref4.is_show_conceal, _ref4$student_join_ap = _ref4.student_join_approve, student_join_approve = _ref4$student_join_ap === void 0 ? false : _ref4$student_join_ap, cover_image = _ref4.cover_image; end_date = endTime && dayjs_min_default()(endTime).format('YYYY-MM-DD'); postData = { course_list_name: course_list_name, @@ -770,7 +771,8 @@ var NewClassroomPage = function NewClassroomPage(_ref) { set: set, allow_copy: allow_copy, is_show_conceal: is_show_conceal, - student_join_approve: student_join_approve + student_join_approve: student_join_approve, + cover_image: cover_image }; if (!isEdit) { _context2.next = 17; diff --git a/umi.js b/umi.js index 354d3cc051..1245466a4f 100644 --- a/umi.js +++ b/umi.js @@ -130127,10 +130127,10 @@ function _getRoutes() { return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__Review__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(96232), __webpack_require__.e(24665), __webpack_require__.e(28485), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(89868), __webpack_require__.e(36775), __webpack_require__.e(96411), __webpack_require__.e(85731), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(23255), __webpack_require__.e(2360), __webpack_require__.e(37243), __webpack_require__.e(53252), __webpack_require__.e(4977), __webpack_require__.e(82791), __webpack_require__.e(32666), __webpack_require__.e(3725), __webpack_require__.e(81882), __webpack_require__.e(14662)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/Review/index.tsx */ 26390)); }), '37': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__SubmitWork__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(96232), __webpack_require__.e(24665), __webpack_require__.e(28485), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(89868), __webpack_require__.e(36775), __webpack_require__.e(96411), __webpack_require__.e(85731), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(23255), __webpack_require__.e(2360), __webpack_require__.e(48560), __webpack_require__.e(4977), __webpack_require__.e(82791), __webpack_require__.e(32666), __webpack_require__.e(3725), __webpack_require__.e(81882), __webpack_require__.e(28072)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/SubmitWork/index.tsx */ 56139)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__SubmitWork__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(96232), __webpack_require__.e(24665), __webpack_require__.e(28485), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(89868), __webpack_require__.e(36775), __webpack_require__.e(96411), __webpack_require__.e(85731), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(23255), __webpack_require__.e(2360), __webpack_require__.e(99939), __webpack_require__.e(4977), __webpack_require__.e(82791), __webpack_require__.e(32666), __webpack_require__.e(3725), __webpack_require__.e(81882), __webpack_require__.e(28072)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/SubmitWork/index.tsx */ 56139)); }), '38': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__EditWork__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(96232), __webpack_require__.e(24665), __webpack_require__.e(28485), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(89868), __webpack_require__.e(36775), __webpack_require__.e(96411), __webpack_require__.e(85731), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(23255), __webpack_require__.e(2360), __webpack_require__.e(99939), __webpack_require__.e(4977), __webpack_require__.e(82791), __webpack_require__.e(32666), __webpack_require__.e(3725), __webpack_require__.e(81882), __webpack_require__.e(60479)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/EditWork/index.tsx */ 14323)); + return Promise.all(/*! import() | p__Classrooms__Lists__GroupHomework__EditWork__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(96232), __webpack_require__.e(24665), __webpack_require__.e(28485), __webpack_require__.e(88652), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(89868), __webpack_require__.e(36775), __webpack_require__.e(96411), __webpack_require__.e(85731), __webpack_require__.e(93948), __webpack_require__.e(6557), __webpack_require__.e(23255), __webpack_require__.e(2360), __webpack_require__.e(48560), __webpack_require__.e(4977), __webpack_require__.e(82791), __webpack_require__.e(32666), __webpack_require__.e(3725), __webpack_require__.e(81882), __webpack_require__.e(60479)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/GroupHomework/EditWork/index.tsx */ 14323)); }), '39': /*#__PURE__*/_react_17_0_2_react.lazy(function () { 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(96232), __webpack_require__.e(24665), __webpack_require__.e(28485), __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(27890), __webpack_require__.e(89868), __webpack_require__.e(11561), __webpack_require__.e(72315), __webpack_require__.e(85731), __webpack_require__.e(82791), __webpack_require__.e(85297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.tsx */ 47386));