Auto Submit

pull/1/head
autosubmit 2 years ago
parent 49785b4984
commit 4f24ba58cf

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[50431,36381,52720],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6593,36381,52720],{
/***/ 5105:
/*!***********************************************************************************************************!*\
@ -181,6 +181,115 @@ if (false) {}
/***/ }),
/***/ 88522:
/*!*****************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/auto-complete/index.js ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 47783);
/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/omit */ 62805);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/PurePanel */ 53487);
/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 92343);
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 36355);
/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 57809);
"use client";
const {
Option
} = _select__WEBPACK_IMPORTED_MODULE_3__["default"];
function isSelectOptionOrSelectOptGroup(child) {
return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup);
}
const AutoComplete = (props, ref) => {
const {
prefixCls: customizePrefixCls,
className,
popupClassName,
dropdownClassName,
children,
dataSource
} = props;
const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children);
// ============================= Input =============================
let customizeInput;
if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) {
[customizeInput] = childNodes;
}
const getInputElement = customizeInput ? () => customizeInput : undefined;
// ============================ Options ============================
let optionChildren;
// [Legacy] convert `children` or `dataSource` into option children
if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) {
optionChildren = children;
} else {
optionChildren = dataSource ? dataSource.map(item => {
if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) {
return item;
}
switch (typeof item) {
case 'string':
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, {
key: item,
value: item
}, item);
case 'object':
{
const {
value: optionValue
} = item;
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, {
key: optionValue,
value: optionValue
}, item.text);
}
default:
false ? 0 : void 0;
return undefined;
}
}) : [];
}
if (false) {}
const {
getPrefixCls
} = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__/* .ConfigContext */ .E_);
const prefixCls = getPrefixCls('select', customizePrefixCls);
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__["default"], Object.assign({
ref: ref,
suffixIcon: null
}, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props, ['dataSource', 'dropdownClassName']), {
prefixCls: prefixCls,
popupClassName: popupClassName || dropdownClassName,
className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-auto-complete`, className),
mode: _select__WEBPACK_IMPORTED_MODULE_3__["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE
}, {
// Internal api
getInputElement
}), optionChildren);
};
const RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete);
// We don't care debug panel
/* istanbul ignore next */
const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(RefAutoComplete);
RefAutoComplete.Option = Option;
RefAutoComplete._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
if (false) {}
/* harmony default export */ __webpack_exports__.Z = (RefAutoComplete);
/***/ }),
/***/ 66104:
/*!**************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules ***!

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[90476,90282,63968,52720],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[77576,90282,38814,63968,52720],{
/***/ 5105:
/*!***********************************************************************************************************!*\
@ -800,6 +800,116 @@ es_alert_Alert.ErrorBoundary = alert_ErrorBoundary;
/***/ }),
/***/ 88522:
/*!*****************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/auto-complete/index.js ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 92310);
/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 47783);
/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/omit */ 62805);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/PurePanel */ 53487);
/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 92343);
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 36355);
/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 57809);
"use client";
const {
Option
} = _select__WEBPACK_IMPORTED_MODULE_3__["default"];
function isSelectOptionOrSelectOptGroup(child) {
return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup);
}
const AutoComplete = (props, ref) => {
const {
prefixCls: customizePrefixCls,
className,
popupClassName,
dropdownClassName,
children,
dataSource
} = props;
const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children);
// ============================= Input =============================
let customizeInput;
if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) {
[customizeInput] = childNodes;
}
const getInputElement = customizeInput ? () => customizeInput : undefined;
// ============================ Options ============================
let optionChildren;
// [Legacy] convert `children` or `dataSource` into option children
if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) {
optionChildren = children;
} else {
optionChildren = dataSource ? dataSource.map(item => {
if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) {
return item;
}
switch (typeof item) {
case 'string':
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, {
key: item,
value: item
}, item);
case 'object':
{
const {
value: optionValue
} = item;
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, {
key: optionValue,
value: optionValue
}, item.text);
}
default:
false ? 0 : void 0;
return undefined;
}
}) : [];
}
if (false) {}
const {
getPrefixCls
} = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__/* .ConfigContext */ .E_);
const prefixCls = getPrefixCls('select', customizePrefixCls);
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__["default"], Object.assign({
ref: ref,
suffixIcon: null
}, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props, ['dataSource', 'dropdownClassName']), {
prefixCls: prefixCls,
popupClassName: popupClassName || dropdownClassName,
className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-auto-complete`, className),
mode: _select__WEBPACK_IMPORTED_MODULE_3__["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE
}, {
// Internal api
getInputElement
}), optionChildren);
};
const RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete);
// We don't care debug panel
/* istanbul ignore next */
const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(RefAutoComplete);
RefAutoComplete.Option = Option;
RefAutoComplete._InternalPanelDoNotUseOrYouWillBeFired = PurePanel;
if (false) {}
/* harmony default export */ __webpack_exports__.Z = (RefAutoComplete);
/***/ }),
/***/ 66104:
/*!**************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules ***!

@ -670,9 +670,9 @@ var Knowledge = function Knowledge(_ref) {
/***/ }),
/***/ 91788:
/***/ 25693:
/*!***************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Exercise/Detail/index.tsx + 67 modules ***!
!*** ./src/pages/Classrooms/Lists/Exercise/Detail/index.tsx + 69 modules ***!
\***************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -17530,6 +17530,455 @@ var ClientSettings = function ClientSettings(_ref) {
globalSetting: globalSetting
};
})(ClientSettings));
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/components/indexs.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var indexsmodules = ({"flex_box_center":"flex_box_center___qXmER","flex_space_between":"flex_space_between___tVYVF","flex_box_vertical_center":"flex_box_vertical_center___uejwW","flex_box_center_end":"flex_box_center_end___l5I61","flex_box_column":"flex_box_column___A8X3f","content":"content___TBbyO","explain":"explain___WwPyv","tabs":"tabs___MlcMY","active":"active___lV1eg","btns":"btns___qovHC","must":"must___vgDa6","popover":"popover___HAX3s","zybzForm":"zybzForm____IvKI","graaytitle":"graaytitle___hkrTg","dataPicker":"dataPicker___T2aBH","examineStatus":"examineStatus___iICIK","contacts":"contacts___Tyh2m","contacts_img":"contacts_img___pfYUb","suc_status":"suc_status___UuTMv","fail_status":"fail_status___nBUzE","bohui":"bohui___lJoSV"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/auto-complete/index.js
var auto_complete = __webpack_require__(88522);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/CheckCircleFilled.js + 1 modules
var CheckCircleFilled = __webpack_require__(19676);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/components/Resource.tsx
var timeFormat = 'YYYY-MM-DD HH:mm';
var Resource_WorkList = function WorkList(_ref) {
var shixunHomeworks = _ref.shixunHomeworks,
user = _ref.user,
loading = _ref.loading,
dispatch = _ref.dispatch;
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState = (0,_react_17_0_2_react.useState)(null),
_useState2 = slicedToArray_default()(_useState, 2),
stauts = _useState2[0],
setStatus = _useState2[1]; //实验资源优先保障当前状态
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
schoolList = _useState4[0],
setSchoolList = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(''),
_useState6 = slicedToArray_default()(_useState5, 2),
verifyReason = _useState6[0],
setVerifyReason = _useState6[1]; //原因
var _useState7 = (0,_react_17_0_2_react.useState)(true),
_useState8 = slicedToArray_default()(_useState7, 2),
dis = _useState8[0],
setdis = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
isLoading = _useState10[0],
setisloading = _useState10[1];
var throttleGetSchoolOption = (0,_react_17_0_2_react.useRef)((0,lodash.throttle)(function (value) {
return getSchoolOption(value);
}, 1200, {
leading: true,
trailing: true
})).current;
var _useState11 = (0,_react_17_0_2_react.useState)([]),
_useState12 = slicedToArray_default()(_useState11, 2),
filterSchoolList = _useState12[0],
setFilterSchoolList = _useState12[1];
var params = (0,_umi_production_exports.useParams)();
var _useState13 = (0,_react_17_0_2_react.useState)({}),
_useState14 = slicedToArray_default()(_useState13, 2),
datas = _useState14[0],
setdatas = _useState14[1];
(0,_react_17_0_2_react.useEffect)(function () {
getData();
}, []);
// console.log('---', params);
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _res$data, _res$data2, _res$data3, _res$data4, _res$data5, _res$data6, _res$data7, _res$data8, _res$data9;
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/resources_ensure_info.json"), {
method: 'get'
});
case 2:
res = _context.sent;
form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.important_shixun_configs), {}, {
times: res !== null && res !== void 0 && (_res$data2 = res.data) !== null && _res$data2 !== void 0 && (_res$data2 = _res$data2.important_shixun_configs) !== null && _res$data2 !== void 0 && _res$data2.start_time && res !== null && res !== void 0 && (_res$data3 = res.data) !== null && _res$data3 !== void 0 && (_res$data3 = _res$data3.important_shixun_configs) !== null && _res$data3 !== void 0 && _res$data3.end_time ? [dayjs_min_default()(res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 || (_res$data4 = _res$data4.important_shixun_configs) === null || _res$data4 === void 0 ? void 0 : _res$data4.start_time), dayjs_min_default()(res === null || res === void 0 || (_res$data5 = res.data) === null || _res$data5 === void 0 || (_res$data5 = _res$data5.important_shixun_configs) === null || _res$data5 === void 0 ? void 0 : _res$data5.end_time)] : ['', ''],
school_id: res === null || res === void 0 || (_res$data6 = res.data) === null || _res$data6 === void 0 || (_res$data6 = _res$data6.important_shixun_configs) === null || _res$data6 === void 0 ? void 0 : _res$data6.school_name
}));
setdatas(res === null || res === void 0 || (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.important_shixun_configs);
setVerifyReason(res === null || res === void 0 || (_res$data8 = res.data) === null || _res$data8 === void 0 || (_res$data8 = _res$data8.important_shixun_configs) === null || _res$data8 === void 0 ? void 0 : _res$data8.verify_reason);
setStatus((res === null || res === void 0 || (_res$data9 = res.data) === null || _res$data9 === void 0 || (_res$data9 = _res$data9.important_shixun_configs) === null || _res$data9 === void 0 ? void 0 : _res$data9.process) || null);
case 7:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getData() {
return _ref2.apply(this, arguments);
};
}();
(0,_react_17_0_2_react.useEffect)(function () {
if (datas !== null && datas !== void 0 && datas.school_name) getSchoolOption(datas === null || datas === void 0 ? void 0 : datas.school_name);
}, [datas === null || datas === void 0 ? void 0 : datas.school_name]);
var getSchoolOption = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(value) {
var res, _res$schools, _res$schools2, findSchoolId;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return dispatch({
type: 'account/getSchoolOption',
payload: {
keyword: value,
limit: 10
}
});
case 2:
res = _context2.sent;
setSchoolList(res === null || res === void 0 ? void 0 : res.schools);
if (value && value != "") {
setFilterSchoolList(res === null || res === void 0 || (_res$schools = res.schools) === null || _res$schools === void 0 ? void 0 : _res$schools.filter(function (item) {
return item.name.includes(value);
}));
findSchoolId = ((res === null || res === void 0 || (_res$schools2 = res.schools) === null || _res$schools2 === void 0 ? void 0 : _res$schools2.find(function (item) {
return item.name === value;
})) || {}).id;
form.setFieldsValue({
school_id: value
});
}
// setSchoolLoading(false)
case 5:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function getSchoolOption(_x) {
return _ref3.apply(this, arguments);
};
}();
// const getSchoolOption = async () => {
// const res = await dispatch({
// type: 'account/getSchoolOption',
// });
// setSchoolList(res?.schools);
// }
var integerParser = function integerParser(value) {
return parseInt(value || '0', 10);
};
var validateDateRange = function validateDateRange(_, value) {
if (value && value.length === 2) {
var _value = slicedToArray_default()(value, 2),
start = _value[0],
end = _value[1];
if (!start || !end) {
return Promise.reject(new Error('请选择起始时间和结束时间'));
}
}
return Promise.resolve();
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: [indexsmodules.form, ' bg-white pl30 pr30 pt10'].join(' '),
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
textAlign: 'end'
},
children: [dis && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: function onClick() {
setdis(false);
},
children: "\u7F16\u8F91\u8BBE\u7F6E"
}), !dis && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
loading: isLoading,
onClick: function onClick() {
form.submit();
},
children: "\u63D0\u4EA4"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
style: {
marginLeft: 20
},
onClick: function onClick() {
setdis(true);
getData();
},
children: "\u53D6\u6D88"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
align: "middle",
className: "mt20",
children:
/*#__PURE__*/
// 资源保障开启填写表单
(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
form: form,
disabled: dis,
layout: "horizontal",
onFinish: ( /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(value) {
var _schoolList$find;
var school_id, res;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
console.log('---', value);
school_id = (_schoolList$find = schoolList.find(function (item) {
return item.name === (value === null || value === void 0 ? void 0 : value.school_id);
})) === null || _schoolList$find === void 0 ? void 0 : _schoolList$find.id;
_context3.next = 4;
return (0,fetch/* default */.ZP)("/api/exercises/".concat(params.categoryId, "/resources_first_ensure.json"), {
method: 'post',
body: {
important_shixun_configs: objectSpread2_default()(objectSpread2_default()({}, value), {}, {
start_time: dayjs_min_default()(value === null || value === void 0 ? void 0 : value.times[0]).format("YYYY-MM-DD HH:mm"),
end_time: dayjs_min_default()(value === null || value === void 0 ? void 0 : value.times[1]).format("YYYY-MM-DD HH:mm"),
school_id: school_id
})
}
});
case 4:
res = _context3.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.info('修改成功');
getData();
setdis(true);
}
case 6:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function (_x2) {
return _ref4.apply(this, arguments);
};
}()),
className: indexsmodules.zybzForm,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
marginLeft: 55
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: indexsmodules.must,
children: "*"
}), "\u4FDD\u969C\u6807\u8BC6"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "identifier",
rules: [{
required: true,
message: '请输入保障标识'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
bordered: false,
disabled: true,
style: {
width: 300,
backgroundColor: '#f5f5f5',
height: 50,
borderRadius: 4
},
minLength: 4,
maxLength: 30,
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt25",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
marginLeft: 7
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: indexsmodules.must,
children: "*"
}), "\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "school_id",
rules: [{
required: true,
message: '请选择需要保障的单位'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(auto_complete/* default */.Z, {
size: "large",
showSearch: true,
bordered: false,
style: {
width: 300,
backgroundColor: '#f5f5f5',
borderRadius: 4,
height: 50,
paddingTop: 5
},
showArrow: true,
placeholder: "\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D",
onChange: throttleGetSchoolOption,
options: filterSchoolList === null || filterSchoolList === void 0 ? void 0 : filterSchoolList.map(function (item) {
return {
value: item.name
};
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt25",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
marginLeft: 55
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: indexsmodules.must,
children: "*"
}), "\u4FDD\u969C\u65F6\u95F4"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: indexsmodules.graaytitle,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "times",
rules: [{
required: true,
message: '请选择开始时间和结束时间'
}, {
validator: validateDateRange
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"].RangePicker, {
disabledDate: function disabledDate(current) {
return current && current < dayjs_min_default()().startOf('days');
},
className: "".concat(indexsmodules.dataPicker),
format: timeFormat,
showTime: {
format: 'HH:mm'
},
bordered: false,
allowClear: false,
onChange: function onChange(value) {
if (value && value[0] && value[1]) {
var start = value[0].isBefore(dayjs_min_default()()) ? dayjs_min_default()() : value[0];
form.setFieldValue('times', [start, value[1]]);
} else {
form.setFieldValue('times', value);
}
}
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt25",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
marginLeft: 55
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: indexsmodules.must,
children: "*"
}), "\u4FDD\u969C\u4EBA\u6570"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "people_number",
rules: [{
required: true,
message: '请输入保障人数'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
parser: integerParser,
style: {
width: 200
},
placeholder: "\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570",
min: 1
})
})]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(indexsmodules.examineStatus, " mt25"),
children: [stauts >= 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CheckCircleFilled/* default */.Z, {
className: indexsmodules.suc_status
}), " \u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C\u7533\u8BF7\u6210\u529F\uFF0C\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u4E2D"]
}), stauts >= 2 && stauts != 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CheckCircleFilled/* default */.Z, {
className: indexsmodules.suc_status
}), " \u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u901A\u8FC7\uFF0C\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u4E2D"]
}), stauts == 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CloseCircleFilled/* default */.Z, {
className: indexsmodules.fail_status
}), "\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u9A73\u56DE\uFF0C\u9A73\u56DE\u539F\u56E0: ( ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
title: verifyReason,
className: indexsmodules.bohui,
children: verifyReason
}), ") \u5982\u6709\u95EE\u9898\u8BF7\u8054\u7CFB", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: indexsmodules.contacts,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458"
}), " ", /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: indexsmodules.contacts_img
})]
})]
}), stauts >= 4 && stauts != 5 && stauts != 7 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CheckCircleFilled/* default */.Z, {
className: indexsmodules.suc_status
}), " \u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5B8C\u6210\uFF0C\u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u4E2D"]
}), (stauts == 5 || stauts == 7) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CloseCircleFilled/* default */.Z, {
className: indexsmodules.fail_status
}), "\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: indexsmodules.contacts,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458"
}), " ", /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: indexsmodules.contacts_img
})]
})]
}), stauts > 5 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CheckCircleFilled/* default */.Z, {
className: indexsmodules.suc_status
}), " \u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u5DF2\u7ED3\u675F"]
})]
})]
});
};
/* harmony default export */ var Resource = ((0,_umi_production_exports.connect)(function (_ref5) {
var shixunHomeworks = _ref5.shixunHomeworks,
loading = _ref5.loading,
user = _ref5.user;
return {
shixunHomeworks: shixunHomeworks,
loading: loading.effects,
user: user
};
})(Resource_WorkList));
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/index.tsx
@ -17541,6 +17990,7 @@ var ClientSettings = function ClientSettings(_ref) {
// import Resource from './components/Resource'
var ConfigWorks_WorkList = function WorkList(_ref) {
@ -17577,14 +18027,12 @@ var ConfigWorks_WorkList = function WorkList(_ref) {
key: '4',
element: /*#__PURE__*/(0,jsx_runtime.jsx)(components_ClientSettings, {}),
show: globalSetting !== null && globalSetting !== void 0 && (_globalSetting$settin2 = globalSetting.setting) !== null && _globalSetting$settin2 !== void 0 && _globalSetting$settin2.is_local ? false : true
}
// {
// name: '实验资源优先保障',
// key: '6',
// element: <Resource />,
// show: isSuperAdmins()
// },
];
}, {
name: '实验资源优先保障',
key: '6',
element: /*#__PURE__*/(0,jsx_runtime.jsx)(Resource, {}),
show: (0,authority/* isSuperAdmins */.Ny)()
}];
(0,_react_17_0_2_react.useEffect)(function () {
dispatch({
type: 'globalSetting/footerToggle',

@ -2072,6 +2072,201 @@ div[class~="ant-modal-confirm-content"] {
height: 100%;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Detail/components/ConfigWorks/components/indexs.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___qXmER {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___tVYVF {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___uejwW {
align-items: center;
box-align: center;
}
.flex_box_center_end___l5I61 {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___A8X3f {
flex-direction: column;
box-orient: block-axis;
}
.content___TBbyO {
padding: 0 14px;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.content___TBbyO .explain___WwPyv {
font-size: 14px;
color: #165DFF;
text-decoration: underline;
cursor: pointer;
}
.content___TBbyO .tabs___MlcMY {
height: 40px;
display: flex;
border-bottom: 1px solid #DEDEDE;
margin-top: 24px;
flex-shrink: 0;
}
.content___TBbyO .tabs___MlcMY div {
margin-right: 40px;
position: relative;
font-size: 16px;
color: #333333;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.content___TBbyO .tabs___MlcMY div:hover {
color: #165DFF;
}
.content___TBbyO .tabs___MlcMY .active___lV1eg {
color: #165DFF;
}
.content___TBbyO .tabs___MlcMY .active___lV1eg::after {
content: '';
width: 100%;
height: 2px;
background: #165DFF;
position: absolute;
bottom: 0px;
left: 0px;
}
.content___TBbyO .btns___qovHC {
display: flex;
align-items: center;
justify-content: flex-end;
margin-top: 15px;
}
.must___vgDa6 {
color: #E53333;
font-family: SimSun, sans-serif;
margin-top: -2px;
margin-right: 2px;
}
.popover___HAX3s {
background-color: transparent;
color: #fff;
}
.popover___HAX3s div[class~='ant-popover-arrow'] {
border-top-color: rgba(5, 16, 26, 0.6) !important;
border-left-color: rgba(5, 16, 26, 0.6) !important;
}
.popover___HAX3s div[class~='ant-popover-inner'] {
background-color: rgba(5, 16, 26, 0.6);
}
.popover___HAX3s div[class~='ant-popover-inner-content'] {
color: #fff;
}
.zybzForm____IvKI div[class~='ant-form-item'] {
margin-bottom: 0;
}
.zybzForm____IvKI div[class~='ant-form-item-explain-error'] {
position: absolute;
bottom: -21px;
}
.zybzForm____IvKI .ant-input-number {
height: 50px;
width: 100%;
background-color: #f5f5f5;
border: 0;
padding-top: 10px;
font-size: 16px;
}
.graaytitle___hkrTg {
height: 50px;
background: #f5f5f5;
border-radius: 4px;
display: flex;
justify-content: left;
align-items: center;
}
.graaytitle___hkrTg div[class~='ant-form-item-explain-error'] {
position: absolute;
bottom: -30px;
}
.dataPicker___T2aBH {
width: 400px;
}
.examineStatus___iICIK {
font-size: 14px;
font-weight: 400;
color: #333333;
}
.examineStatus___iICIK div {
position: relative;
display: flex;
align-items: center;
margin-bottom: 30px;
}
.examineStatus___iICIK div::after {
content: '';
position: absolute;
left: 10px;
bottom: -27px;
width: 2px;
height: 26px;
background: #F6F7F9;
border-radius: 3px;
}
.examineStatus___iICIK div:last-child::after {
content: '';
display: none;
}
.examineStatus___iICIK div .contacts___Tyh2m {
position: relative;
color: #165DFF;
overflow: hidden;
cursor: pointer;
}
.examineStatus___iICIK div .contacts___Tyh2m .contacts_img___pfYUb {
position: absolute;
left: 50%;
right: 50%;
transform: translate(-50%);
width: 152px;
height: 158px;
background: url(./static/contacts.5353ed7e.png) no-repeat;
background-size: 100% 100%;
background-position: center;
}
.examineStatus___iICIK div .contacts___Tyh2m:hover {
overflow: inherit;
}
.examineStatus___iICIK .suc_status___UuTMv {
font-size: 20px;
color: #2FC25B;
margin-right: 10px;
}
.examineStatus___iICIK .fail_status___nBUzE {
font-size: 20px;
color: #E53333;
margin-right: 10px;
}
.examineStatus___iICIK .bohui___lJoSV {
max-width: 300px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/Detail/components/StatisticsResult/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -8994,9 +8994,9 @@ var DelShixun = function DelShixun(_ref) {
/***/ }),
/***/ 4618:
/***/ 35834:
/*!**********************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/index.tsx + 19 modules ***!
!*** ./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/index.tsx + 21 modules ***!
\**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
@ -14641,6 +14641,445 @@ var Collaboration_WorkList = function WorkList(_ref) {
loading: loading.effects
};
})(Collaboration_WorkList));
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/ConfigWorks/indexs.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var indexsmodules = ({"flex_box_center":"flex_box_center___F26vH","flex_space_between":"flex_space_between___J7N7g","flex_box_vertical_center":"flex_box_vertical_center___W4LLF","flex_box_center_end":"flex_box_center_end___ViUq3","flex_box_column":"flex_box_column___fhMvC","content":"content___gstD6","explain":"explain___gCVEb","tabs":"tabs___JAbVp","active":"active___O3Rxd","btns":"btns___bZYiw","must":"must___Ne3Rd","popover":"popover___MLGUB","zybzForm":"zybzForm___JaYlh","graaytitle":"graaytitle___vJ0cM","dataPicker":"dataPicker___qgWAA","examineStatus":"examineStatus___A8ldH","contacts":"contacts___yS8x4","contacts_img":"contacts_img___pPzVA","suc_status":"suc_status___hDmBK","fail_status":"fail_status___KeR0l","bohui":"bohui___cxmL1"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/auto-complete/index.js
var auto_complete = __webpack_require__(88522);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/CheckCircleFilled.js + 1 modules
var CheckCircleFilled = __webpack_require__(19676);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.6@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules
var CloseCircleFilled = __webpack_require__(70481);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/ConfigWorks/Resource.tsx
var timeFormat = 'YYYY-MM-DD HH:mm';
var Resource_WorkList = function WorkList(_ref) {
var user = _ref.user,
shixunHomeworks = _ref.shixunHomeworks,
loading = _ref.loading,
dispatch = _ref.dispatch;
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState = (0,_react_17_0_2_react.useState)(null),
_useState2 = slicedToArray_default()(_useState, 2),
stauts = _useState2[0],
setStatus = _useState2[1]; //实验资源优先保障当前状态
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
schoolList = _useState4[0],
setSchoolList = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(''),
_useState6 = slicedToArray_default()(_useState5, 2),
verifyReason = _useState6[0],
setVerifyReason = _useState6[1]; //原因
var _useState7 = (0,_react_17_0_2_react.useState)(true),
_useState8 = slicedToArray_default()(_useState7, 2),
dis = _useState8[0],
setdis = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
isLoading = _useState10[0],
setisloading = _useState10[1];
var params = (0,_umi_production_exports.useParams)();
var _useState11 = (0,_react_17_0_2_react.useState)([]),
_useState12 = slicedToArray_default()(_useState11, 2),
filterSchoolList = _useState12[0],
setFilterSchoolList = _useState12[1];
var _useState13 = (0,_react_17_0_2_react.useState)({}),
_useState14 = slicedToArray_default()(_useState13, 2),
datas = _useState14[0],
setdatas = _useState14[1];
var throttleGetSchoolOption = (0,_react_17_0_2_react.useRef)((0,lodash.throttle)(function (value) {
return getSchoolOption(value);
}, 1200, {
leading: true,
trailing: true
})).current;
(0,_react_17_0_2_react.useEffect)(function () {
getSchoolOption();
getData();
}, []);
// console.log('---', params);
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _res$data, _res$data2, _res$data3, _res$data4, _res$data5, _res$data6, _res$data7, _res$data8, _res$data9;
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,fetch/* default */.ZP)("/api/homework_commons/".concat(params.categoryId, "/resources_ensure_info.json"), {
method: 'get'
});
case 2:
res = _context.sent;
form.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.important_shixun_configs), {}, {
times: res !== null && res !== void 0 && (_res$data2 = res.data) !== null && _res$data2 !== void 0 && (_res$data2 = _res$data2.important_shixun_configs) !== null && _res$data2 !== void 0 && _res$data2.start_time && res !== null && res !== void 0 && (_res$data3 = res.data) !== null && _res$data3 !== void 0 && (_res$data3 = _res$data3.important_shixun_configs) !== null && _res$data3 !== void 0 && _res$data3.end_time ? [dayjs_min_default()(res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 || (_res$data4 = _res$data4.important_shixun_configs) === null || _res$data4 === void 0 ? void 0 : _res$data4.start_time), dayjs_min_default()(res === null || res === void 0 || (_res$data5 = res.data) === null || _res$data5 === void 0 || (_res$data5 = _res$data5.important_shixun_configs) === null || _res$data5 === void 0 ? void 0 : _res$data5.end_time)] : ['', ''],
school_id: res === null || res === void 0 || (_res$data6 = res.data) === null || _res$data6 === void 0 || (_res$data6 = _res$data6.important_shixun_configs) === null || _res$data6 === void 0 ? void 0 : _res$data6.school_name
}));
setdatas(res === null || res === void 0 || (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.important_shixun_configs);
setVerifyReason(res === null || res === void 0 || (_res$data8 = res.data) === null || _res$data8 === void 0 || (_res$data8 = _res$data8.important_shixun_configs) === null || _res$data8 === void 0 ? void 0 : _res$data8.verify_reason);
setStatus((res === null || res === void 0 || (_res$data9 = res.data) === null || _res$data9 === void 0 || (_res$data9 = _res$data9.important_shixun_configs) === null || _res$data9 === void 0 ? void 0 : _res$data9.process) || null);
case 7:
case "end":
return _context.stop();
}
}, _callee);
}));
return function getData() {
return _ref2.apply(this, arguments);
};
}();
(0,_react_17_0_2_react.useEffect)(function () {
if (datas !== null && datas !== void 0 && datas.school_name) getSchoolOption(datas === null || datas === void 0 ? void 0 : datas.school_name);
}, [datas === null || datas === void 0 ? void 0 : datas.school_name]);
var getSchoolOption = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(value) {
var res, _res$schools;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return dispatch({
type: 'account/getSchoolOption',
payload: {
keyword: value,
limit: 10
}
});
case 2:
res = _context2.sent;
setSchoolList(res === null || res === void 0 ? void 0 : res.schools);
if (value && value != "") {
setFilterSchoolList(res === null || res === void 0 || (_res$schools = res.schools) === null || _res$schools === void 0 ? void 0 : _res$schools.filter(function (item) {
return item.name.includes(value);
}));
}
case 5:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function getSchoolOption(_x) {
return _ref3.apply(this, arguments);
};
}();
var integerParser = function integerParser(value) {
return parseInt(value || '0', 10);
};
var validateDateRange = function validateDateRange(_, value) {
if (value && value.length === 2) {
var _value = slicedToArray_default()(value, 2),
start = _value[0],
end = _value[1];
if (!start || !end) {
return Promise.reject(new Error('请选择起始时间和结束时间'));
}
}
return Promise.resolve();
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: [indexsmodules.form, ' bg-white pl30 pr30 pt10'].join(' '),
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
textAlign: 'end'
},
children: [dis && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: function onClick() {
setdis(false);
},
children: "\u7F16\u8F91\u8BBE\u7F6E"
}), !dis && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
loading: isLoading,
onClick: function onClick() {
form.submit();
},
children: "\u63D0\u4EA4"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
style: {
marginLeft: 20
},
onClick: function onClick() {
getData();
setdis(true);
},
children: "\u53D6\u6D88"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
align: "middle",
className: "mt20",
children:
/*#__PURE__*/
// 资源保障开启填写表单
(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
form: form,
disabled: dis,
layout: "horizontal",
onFinish: ( /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(value) {
var _schoolList$find;
var school_id, res;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
console.log('---', value);
school_id = (_schoolList$find = schoolList.find(function (item) {
return item.name === (value === null || value === void 0 ? void 0 : value.school_id);
})) === null || _schoolList$find === void 0 ? void 0 : _schoolList$find.id;
_context3.next = 4;
return (0,fetch/* default */.ZP)("/api/homework_commons/".concat(params.categoryId, "/resources_first_ensure.json"), {
method: 'post',
body: {
important_shixun_configs: objectSpread2_default()(objectSpread2_default()({}, value), {}, {
start_time: dayjs_min_default()(value === null || value === void 0 ? void 0 : value.times[0]).format("YYYY-MM-DD HH:mm"),
end_time: dayjs_min_default()(value === null || value === void 0 ? void 0 : value.times[1]).format("YYYY-MM-DD HH:mm"),
school_id: school_id
})
}
});
case 4:
res = _context3.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.info('修改成功');
getData();
setdis(true);
}
case 6:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function (_x2) {
return _ref4.apply(this, arguments);
};
}()),
className: indexsmodules.zybzForm,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
marginLeft: 55
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: indexsmodules.must,
children: "*"
}), "\u4FDD\u969C\u6807\u8BC6"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "identifier",
rules: [{
required: true,
message: '请输入保障标识'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
bordered: false,
disabled: true,
style: {
width: 300,
backgroundColor: '#f5f5f5',
height: 50,
borderRadius: 4
},
minLength: 4,
maxLength: 30,
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u4FDD\u969C\u6807\u8BC6"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt25",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
marginLeft: 7
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: indexsmodules.must,
children: "*"
}), "\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "school_id",
rules: [{
required: true,
message: '请选择需要保障的单位'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(auto_complete/* default */.Z, {
size: "large",
showSearch: true,
bordered: false,
style: {
width: 300,
backgroundColor: '#f5f5f5',
borderRadius: 4,
height: 50,
paddingTop: 5
},
showArrow: true,
placeholder: "\u8BF7\u9009\u62E9\u9700\u8981\u4FDD\u969C\u7684\u5355\u4F4D",
onChange: throttleGetSchoolOption,
options: filterSchoolList === null || filterSchoolList === void 0 ? void 0 : filterSchoolList.map(function (item) {
return {
value: item.name
};
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt25",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
marginLeft: 55
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: indexsmodules.must,
children: "*"
}), "\u4FDD\u969C\u65F6\u95F4"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: indexsmodules.graaytitle,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "times",
rules: [{
required: true,
message: '请选择开始时间和结束时间'
}, {
validator: validateDateRange
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"].RangePicker, {
disabledDate: function disabledDate(current) {
return current && current < dayjs_min_default()().startOf('days');
},
className: "".concat(indexsmodules.dataPicker),
format: timeFormat,
showTime: {
format: 'HH:mm'
},
bordered: false,
allowClear: false,
onChange: function onChange(value) {
if (value && value[0] && value[1]) {
var start = value[0].isBefore(dayjs_min_default()()) ? dayjs_min_default()() : value[0];
form.setFieldValue('times', [start, value[1]]);
} else {
form.setFieldValue('times', value);
}
}
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt25",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
marginLeft: 55
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: indexsmodules.must,
children: "*"
}), "\u4FDD\u969C\u4EBA\u6570"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "people_number",
rules: [{
required: true,
message: '请输入保障人数'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
parser: integerParser,
style: {
width: 200
},
placeholder: "\u8BF7\u8F93\u5165\u4FDD\u969C\u4EBA\u6570",
min: 1
})
})]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(indexsmodules.examineStatus, " mt25"),
children: [stauts >= 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CheckCircleFilled/* default */.Z, {
className: indexsmodules.suc_status
}), " \u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C\u7533\u8BF7\u6210\u529F\uFF0C\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u4E2D"]
}), stauts >= 2 && stauts != 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CheckCircleFilled/* default */.Z, {
className: indexsmodules.suc_status
}), " \u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u901A\u8FC7\uFF0C\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u4E2D"]
}), stauts == 3 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CloseCircleFilled/* default */.Z, {
className: indexsmodules.fail_status
}), "\u5E73\u53F0\u7BA1\u7406\u5458\u5BA1\u6838\u9A73\u56DE\uFF0C\u9A73\u56DE\u539F\u56E0: ( ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
title: verifyReason,
className: indexsmodules.bohui,
children: verifyReason
}), ") \u5982\u6709\u95EE\u9898\u8BF7\u8054\u7CFB", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: indexsmodules.contacts,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458"
}), " ", /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: indexsmodules.contacts_img
})]
})]
}), stauts >= 4 && stauts != 5 && stauts != 7 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CheckCircleFilled/* default */.Z, {
className: indexsmodules.suc_status
}), " \u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5B8C\u6210\uFF0C\u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u4E2D"]
}), (stauts == 5 || stauts == 7) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CloseCircleFilled/* default */.Z, {
className: indexsmodules.fail_status
}), "\u7CFB\u7EDF\u8D44\u6E90\u5206\u914D\u5931\u8D25\uFF0C\u8BF7\u8054\u7CFB", /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: indexsmodules.contacts,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5E73\u53F0\u8FD0\u8425\u4EBA\u5458"
}), " ", /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: indexsmodules.contacts_img
})]
})]
}), stauts > 5 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(CheckCircleFilled/* default */.Z, {
className: indexsmodules.suc_status
}), " \u5B9E\u9A8C\u8D44\u6E90\u4FDD\u969C\u5DF2\u7ED3\u675F"]
})]
})]
});
};
/* harmony default export */ var Resource = ((0,_umi_production_exports.connect)(function (_ref5) {
var shixunHomeworks = _ref5.shixunHomeworks,
loading = _ref5.loading,
user = _ref5.user;
return {
shixunHomeworks: shixunHomeworks,
loading: loading.effects,
user: user
};
})(Resource_WorkList));
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/ConfigWorks/index.tsx
@ -14648,8 +15087,8 @@ var Collaboration_WorkList = function WorkList(_ref) {
// import { isSuperAdmins } from '@/utils/authority'
// import Resource from './Resource'
var ConfigWorks_WorkList = function WorkList() {
@ -14672,7 +15111,10 @@ var ConfigWorks_WorkList = function WorkList() {
}, 3), /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z.TabPane, {
tab: "\u534F\u4F5C\u8BBE\u7F6E",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Collaboration, {})
}, 4)]
}, 4), (0,authority/* isSuperAdmins */.Ny)() && /*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z.TabPane, {
tab: "\u5B9E\u9A8C\u8D44\u6E90\u4F18\u5148\u4FDD\u969C",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Resource, {})
}, 5)]
})
});
};

@ -3025,6 +3025,201 @@ div[class~="ant-modal-confirm-content"] {
margin-left: 110px;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/ConfigWorks/indexs.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___F26vH {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___J7N7g {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___W4LLF {
align-items: center;
box-align: center;
}
.flex_box_center_end___ViUq3 {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___fhMvC {
flex-direction: column;
box-orient: block-axis;
}
.content___gstD6 {
padding: 0 14px;
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.content___gstD6 .explain___gCVEb {
font-size: 14px;
color: #165DFF;
text-decoration: underline;
cursor: pointer;
}
.content___gstD6 .tabs___JAbVp {
height: 40px;
display: flex;
border-bottom: 1px solid #DEDEDE;
margin-top: 24px;
flex-shrink: 0;
}
.content___gstD6 .tabs___JAbVp div {
margin-right: 40px;
position: relative;
font-size: 16px;
color: #333333;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.content___gstD6 .tabs___JAbVp div:hover {
color: #165DFF;
}
.content___gstD6 .tabs___JAbVp .active___O3Rxd {
color: #165DFF;
}
.content___gstD6 .tabs___JAbVp .active___O3Rxd::after {
content: '';
width: 100%;
height: 2px;
background: #165DFF;
position: absolute;
bottom: 0px;
left: 0px;
}
.content___gstD6 .btns___bZYiw {
display: flex;
align-items: center;
justify-content: flex-end;
margin-top: 15px;
}
.must___Ne3Rd {
color: #E53333;
font-family: SimSun, sans-serif;
margin-top: -2px;
margin-right: 2px;
}
.popover___MLGUB {
background-color: transparent;
color: #fff;
}
.popover___MLGUB div[class~='ant-popover-arrow'] {
border-top-color: rgba(5, 16, 26, 0.6) !important;
border-left-color: rgba(5, 16, 26, 0.6) !important;
}
.popover___MLGUB div[class~='ant-popover-inner'] {
background-color: rgba(5, 16, 26, 0.6);
}
.popover___MLGUB div[class~='ant-popover-inner-content'] {
color: #fff;
}
.zybzForm___JaYlh div[class~='ant-form-item'] {
margin-bottom: 0;
}
.zybzForm___JaYlh div[class~='ant-form-item-explain-error'] {
position: absolute;
bottom: -21px;
}
.zybzForm___JaYlh .ant-input-number {
height: 50px;
width: 100%;
background-color: #f5f5f5;
border: 0;
padding-top: 10px;
font-size: 16px;
}
.graaytitle___vJ0cM {
height: 50px;
background: #f5f5f5;
border-radius: 4px;
display: flex;
justify-content: left;
align-items: center;
}
.graaytitle___vJ0cM div[class~='ant-form-item-explain-error'] {
position: absolute;
bottom: -30px;
}
.dataPicker___qgWAA {
width: 400px;
}
.examineStatus___A8ldH {
font-size: 14px;
font-weight: 400;
color: #333333;
}
.examineStatus___A8ldH div {
position: relative;
display: flex;
align-items: center;
margin-bottom: 30px;
}
.examineStatus___A8ldH div::after {
content: '';
position: absolute;
left: 10px;
bottom: -27px;
width: 2px;
height: 26px;
background: #F6F7F9;
border-radius: 3px;
}
.examineStatus___A8ldH div:last-child::after {
content: '';
display: none;
}
.examineStatus___A8ldH div .contacts___yS8x4 {
position: relative;
color: #165DFF;
overflow: hidden;
cursor: pointer;
}
.examineStatus___A8ldH div .contacts___yS8x4 .contacts_img___pPzVA {
position: absolute;
left: 50%;
right: 50%;
transform: translate(-50%);
width: 152px;
height: 158px;
background: url(./static/contacts.5353ed7e.png) no-repeat;
background-size: 100% 100%;
background-position: center;
}
.examineStatus___A8ldH div .contacts___yS8x4:hover {
overflow: inherit;
}
.examineStatus___A8ldH .suc_status___hDmBK {
font-size: 20px;
color: #2FC25B;
margin-right: 10px;
}
.examineStatus___A8ldH .fail_status___KeR0l {
font-size: 20px;
color: #E53333;
margin-right: 10px;
}
.examineStatus___A8ldH .bohui___cxmL1 {
max-width: 300px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.8@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/CutOffNow/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -8974,8 +8974,8 @@ function _resetWithTPI() {
while (1) switch (_context5.prev = _context5.next) {
case 0:
return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/myshixuns/".concat(params.identifier, "/reset_pod.json"), {
method: 'Get'
// params
method: 'Get',
params: params
}));
case 1:
case "end":

@ -12520,7 +12520,7 @@ function OjProblem_reducer(state, action) {
return (0,service/* sumbitCode */.bM)(id, submitCodeParams);
case 13:
res = _context8.sent;
if (!(res.status === -1)) {
if (!(res.status === -1 && searchParams.get("exercisesId"))) {
_context8.next = 17;
break;
}
@ -12646,7 +12646,7 @@ function OjProblem_reducer(state, action) {
return (0,service/* debugCode */.MU)(id, submitCodeParams);
case 12:
res = _context10.sent;
if (!(res.status === -1)) {
if (!(res.status === -1 && searchParams.get("exercisesId"))) {
_context10.next = 16;
break;
}

@ -225,7 +225,7 @@ var spin = __webpack_require__(71418);
var ProjectInfoDialog = function ProjectInfoDialog(_ref) {
var _dataInfo$shixun_envi, _dataInfo$shixun_envi2;
var _dataInfo$shixuns, _dataInfo$shixuns3, _dataInfo$shixuns4;
var globalSetting = _ref.globalSetting,
dispatch = _ref.dispatch,
user = _ref.user,
@ -332,17 +332,17 @@ var ProjectInfoDialog = function ProjectInfoDialog(_ref) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, {
centered: true,
width: 900,
title: dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.shixun_name,
title: (dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.item_type) === 'Shixun' ? dataInfo === null || dataInfo === void 0 || (_dataInfo$shixuns = dataInfo.shixuns) === null || _dataInfo$shixuns === void 0 || (_dataInfo$shixuns = _dataInfo$shixuns[0]) === null || _dataInfo$shixuns === void 0 ? void 0 : _dataInfo$shixuns.shixun_name : '资源需求',
open: visibility,
footer: null,
onOk: handleOk,
onCancel: handleCancel,
className: ProjectInfoDialogmodules.user_model,
children: [!loading && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [!loading && (dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.item_type) === 'Shixun' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules["goto"],
onClick: function onClick() {
var _dataInfo$shixuns;
window.open("/shixuns/".concat(dataInfo === null || dataInfo === void 0 || (_dataInfo$shixuns = dataInfo.shixuns) === null || _dataInfo$shixuns === void 0 || (_dataInfo$shixuns = _dataInfo$shixuns[0]) === null || _dataInfo$shixuns === void 0 ? void 0 : _dataInfo$shixuns.shixun_identifier, "/challenges"));
var _dataInfo$shixuns2;
window.open("/shixuns/".concat(dataInfo === null || dataInfo === void 0 || (_dataInfo$shixuns2 = dataInfo.shixuns) === null || _dataInfo$shixuns2 === void 0 || (_dataInfo$shixuns2 = _dataInfo$shixuns2[0]) === null || _dataInfo$shixuns2 === void 0 ? void 0 : _dataInfo$shixuns2.shixun_identifier, "/challenges"));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
@ -350,7 +350,7 @@ var ProjectInfoDialog = function ProjectInfoDialog(_ref) {
fontSize: 16,
opacity: 0
},
children: dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.shixun_name
children: dataInfo === null || dataInfo === void 0 || (_dataInfo$shixuns3 = dataInfo.shixuns) === null || _dataInfo$shixuns3 === void 0 || (_dataInfo$shixuns3 = _dataInfo$shixuns3[0]) === null || _dataInfo$shixuns3 === void 0 ? void 0 : _dataInfo$shixuns3.shixun_name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
cursor: 'pointer'
@ -362,62 +362,89 @@ var ProjectInfoDialog = function ProjectInfoDialog(_ref) {
}
})]
})]
}), (dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.item_type) === "Exercise" && /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
style: {
fontSize: 20,
marginBottom: 10
},
onClick: function onClick() {
window.open("/classrooms/20898/exercise/".concat(dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.exercise_id, "/detail?tabs=0"));
},
className: ProjectInfoDialogmodules.info_title,
children: dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.exercise_name
}), (dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.item_type) === 'HomeworkCommon' && /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
style: {
fontSize: 20
},
onClick: function onClick() {
window.open("/classrooms/20898/shixun_homework/".concat(dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.homework_id, "/detail?tabs=0"));
},
className: ProjectInfoDialogmodules.info_title,
children: dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.homework_name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
spinning: loading,
style: {
marginTop: 10
},
children: [(dataInfo === null || dataInfo === void 0 || (_dataInfo$shixun_envi = dataInfo.shixun_environments) === null || _dataInfo$shixun_envi === void 0 ? void 0 : _dataInfo$shixun_envi.length) > 0 && (dataInfo === null || dataInfo === void 0 || (_dataInfo$shixun_envi2 = dataInfo.shixun_environments) === null || _dataInfo$shixun_envi2 === void 0 ? void 0 : _dataInfo$shixun_envi2.map(function (item, index) {
var jx_text_arr = item === null || item === void 0 ? void 0 : item.mirror_name.map(function (item2, i) {
return item2 + (i == (item === null || item === void 0 ? void 0 : item.mirror_name.length) - 1 ? '' : '、');
});
var jx_text = jx_text_arr.join('');
var jm_text_arr = item === null || item === void 0 ? void 0 : item.experiment_modes.map(function (item2, i) {
return item2 + (i == (item === null || item === void 0 ? void 0 : item.experiment_modes.length) - 1 ? '' : '、');
});
var jm_text = jm_text_arr.join('');
children: [dataInfo === null || dataInfo === void 0 || (_dataInfo$shixuns4 = dataInfo.shixuns) === null || _dataInfo$shixuns4 === void 0 ? void 0 : _dataInfo$shixuns4.map(function (val, j) {
var _val$shixun_environme, _val$shixun_environme2;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginBottom: 30
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [(dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.item_type) === "Exercise" && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ProjectInfoDialogmodules.info_title,
children: item === null || item === void 0 ? void 0 : item.name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules.info_warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules.info_item,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5B9E\u9A8C\u8D44\u6E90"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (item === null || item === void 0 ? void 0 : item.resource_type) == 1 ? '通用云' : '专有云'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules.info_item,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5B9E\u9A8C\u955C\u50CF"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ProjectInfoDialogmodules.item_text,
title: jx_text,
children: jx_text
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules.info_item,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5B9E\u9A8C\u754C\u9762"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ProjectInfoDialogmodules.item_text,
title: jm_text,
children: jm_text
children: val === null || val === void 0 ? void 0 : val.shixun_name
}), (val === null || val === void 0 || (_val$shixun_environme = val.shixun_environments) === null || _val$shixun_environme === void 0 ? void 0 : _val$shixun_environme.length) > 0 && (val === null || val === void 0 || (_val$shixun_environme2 = val.shixun_environments) === null || _val$shixun_environme2 === void 0 ? void 0 : _val$shixun_environme2.map(function (item, index) {
var jx_text_arr = item === null || item === void 0 ? void 0 : item.mirror_name.map(function (item2, i) {
return item2 + (i == (item === null || item === void 0 ? void 0 : item.mirror_name.length) - 1 ? '' : '、');
});
var jx_text = jx_text_arr.join('');
var jm_text_arr = item === null || item === void 0 ? void 0 : item.experiment_modes.map(function (item2, i) {
return item2 + (i == (item === null || item === void 0 ? void 0 : item.experiment_modes.length) - 1 ? '' : '、');
});
var jm_text = jm_text_arr.join('');
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginBottom: 30
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ProjectInfoDialogmodules.info_title,
children: item === null || item === void 0 ? void 0 : item.name
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules.info_warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules.info_item,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5B9E\u9A8C\u8D44\u6E90"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (item === null || item === void 0 ? void 0 : item.resource_type) == 1 ? '通用云' : '专有云'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules.info_item,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5B9E\u9A8C\u955C\u50CF"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ProjectInfoDialogmodules.item_text,
title: jx_text,
children: jx_text
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ProjectInfoDialogmodules.info_item,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: "\u5B9E\u9A8C\u754C\u9762"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ProjectInfoDialogmodules.item_text,
title: jm_text,
children: jm_text
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
columns: columns,
dataSource: item === null || item === void 0 ? void 0 : item.shixun_service_configs,
pagination: false
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
columns: columns,
dataSource: item === null || item === void 0 ? void 0 : item.shixun_service_configs,
pagination: false
})]
}, index);
})), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}, index);
}))]
});
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ProjectInfoDialogmodules.info_title,
children: "\u8D44\u6E90\u9700\u6C42"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -493,7 +520,8 @@ var ProjectReview = function ProjectReview(_ref) {
sort: 'desc',
username: null,
keywords: null,
status: 0
status: 0,
item_type: null
}),
_useState4 = slicedToArray_default()(_useState3, 2),
params = _useState4[0],
@ -821,6 +849,38 @@ var ProjectReview = function ProjectReview(_ref) {
flex: 1
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
align: "middle",
style: {
marginTop: 0
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTags */.qp, {
title: "\u7C7B\u578B",
value: params.item_type,
onChange: function onChange(e) {
params.item_type = e;
params.page = 1;
setParams(objectSpread2_default()({}, params));
getList();
},
dataSource: [{
name: '全部',
id: null
}, {
name: '实训作业',
id: 'HomeworkCommon'
}, {
name: '在线考试',
id: 'Exercise'
}, {
name: '实践项目',
id: 'Shixun'
}],
titleWidth: 28,
style: {
flex: 1
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* SuperiorSort */.cq, {
dataSource: sort,
sortValue: params.sort,
@ -1051,7 +1111,8 @@ var Projectlist = function Projectlist(_ref) {
sort: 'desc',
username: null,
keywords: null,
passed_after_status: null
passed_after_status: null,
item_type: null
}),
_useState6 = slicedToArray_default()(_useState5, 2),
params = _useState6[0],
@ -1141,17 +1202,17 @@ var Projectlist = function Projectlist(_ref) {
children: text
});
}
},
// {
// title: '类型',
// dataIndex: 'item_type',
// key: 'item_type',
// width: 140,
// render: (text: any, record: any, index: any) => {
// return <span >{text === 'Shixun' ? '实训作业' : text === 'Exercise' ? '在线考试' : '实践项目'}</span>
// }
// },
{
}, {
title: '类型',
dataIndex: 'item_type',
key: 'item_type',
width: 140,
render: function render(text, record, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text === 'HomeworkCommon' ? '实训作业' : text === 'Exercise' ? '在线考试' : '实践项目'
});
}
}, {
title: '开始时间',
dataIndex: 'start_time',
key: 'start_time',
@ -1275,7 +1336,8 @@ var Projectlist = function Projectlist(_ref) {
form.setFieldsValue({
people_number: (record === null || record === void 0 ? void 0 : record.people_number) || '',
times: record !== null && record !== void 0 && record.start_time && record !== null && record !== void 0 && record.end_time ? [dayjs_min_default()(record === null || record === void 0 ? void 0 : record.start_time), dayjs_min_default()(record === null || record === void 0 ? void 0 : record.end_time)] : ['', ''],
extend_times: record === null || record === void 0 ? void 0 : record.extend_times
extend_times: record === null || record === void 0 ? void 0 : record.extend_times,
machine_num: record === null || record === void 0 ? void 0 : record.machine_num
});
setEditVisibility(true);
},
@ -1383,6 +1445,38 @@ var Projectlist = function Projectlist(_ref) {
flex: 1
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
align: "middle",
style: {
marginTop: 0
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTags */.qp, {
title: "\u7C7B\u578B",
value: params.item_type,
onChange: function onChange(e) {
params.item_type = e;
params.page = 1;
setParams(objectSpread2_default()({}, params));
getList();
},
dataSource: [{
name: '全部',
id: null
}, {
name: '实训作业',
id: 'HomeworkCommon'
}, {
name: '在线考试',
id: 'Exercise'
}, {
name: '实践项目',
id: 'Shixun'
}],
titleWidth: 28,
style: {
flex: 1
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* SuperiorSort */.cq, {
dataSource: sort,
sortValue: params.sort,
@ -1447,6 +1541,7 @@ var Projectlist = function Projectlist(_ref) {
query = {
extend_times: formInfo === null || formInfo === void 0 ? void 0 : formInfo.extend_times,
people_number: formInfo === null || formInfo === void 0 ? void 0 : formInfo.people_number,
machine_num: formInfo === null || formInfo === void 0 ? void 0 : formInfo.machine_num,
start_time: dayjs_min_default()(formInfo === null || formInfo === void 0 ? void 0 : formInfo.times[0]).format("YYYY-MM-DD HH:mm"),
end_time: dayjs_min_default()(formInfo === null || formInfo === void 0 ? void 0 : formInfo.times[1]).format("YYYY-MM-DD HH:mm")
};
@ -1555,6 +1650,36 @@ var Projectlist = function Projectlist(_ref) {
min: 1
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt30",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "c-grey-333 font16 mr10",
style: {
width: 110,
textAlign: 'right'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: ProjectReviewmodules.must,
children: "*"
}), "\u673A\u5668\u6570\u91CF"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "",
name: "machine_num",
rules: [{
required: true,
message: '请输入机器数量'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
disabled: (renderInfo === null || renderInfo === void 0 ? void 0 : renderInfo.passed_after_status) != '预约中',
parser: integerParser,
style: {
width: 200
},
placeholder: "\u8BF7\u8F93\u5165\u673A\u5668\u6570\u91CF",
min: 1
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt30",
@ -1652,7 +1777,7 @@ var ResourceGuarantee = function ResourceGuarantee(_ref) {
style: {
width: 303
},
placeholder: "\u641C\u7D22\u5B9E\u8DF5\u9879\u76EE/\u7533\u8BF7\u4EBA/\u5355\u4F4D",
placeholder: "\u641C\u7D22\u8D44\u6E90\u540D\u79F0/\u7533\u8BF7\u4EBA/\u5355\u4F4D",
value: keyVal,
onChange: handleSearch
}),

@ -2248,20 +2248,27 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
var handleGetJupyterTPIUrl = /*#__PURE__*/function () {
var _ref8 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() {
var _res$data;
var res, _res$data2, _res$data3, _parseUrl, _res$data4, _res$data5, _res$data6, _res$data7, _res$data8, _res$data9;
var datas, res, _res$data2, _res$data3, _parseUrl, _res$data4, _res$data5, _res$data6, _res$data7, _res$data8, _res$data9;
return regeneratorRuntime_default()().wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
_context7.next = 2;
return (0,task/* getInfoWithTPI */.rV)({
datas = {};
if (searchParams.get("type") === 'exercises') {
datas.exercise_id = searchParams.get("exercisesId");
//试卷id
} else if (params.courseId && params.homeworkId) {
datas.homework_common_id = searchParams.get("homework_common_id");
}
_context7.next = 4;
return (0,task/* getInfoWithTPI */.rV)(objectSpread2_default()({
identifier: params.identifier,
homework_common_id: searchParams.get("homework_common_id") || ''
});
case 2:
}, datas));
case 4:
res = _context7.sent;
setSpinning(false);
if (!(res !== null && res !== void 0 && (_res$data = res.data) !== null && _res$data !== void 0 && (_res$data = _res$data.data_list) !== null && _res$data !== void 0 && _res$data.length)) {
_context7.next = 7;
_context7.next = 9;
break;
}
mediator/* default */.Z.publish('pod-restrict-data', {
@ -2269,9 +2276,9 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
data_list: res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.data_list
});
return _context7.abrupt("return");
case 7:
case 9:
if (!(res !== null && res !== void 0 && res.data)) {
_context7.next = 19;
_context7.next = 21;
break;
}
setUrl(res.data);
@ -2279,24 +2286,24 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
token.current = (_parseUrl = (0,util/* parseUrl */.en)(res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 || (_res$data4 = _res$data4[0]) === null || _res$data4 === void 0 ? void 0 : _res$data4["link_url"])) === null || _parseUrl === void 0 ? void 0 : _parseUrl.token;
port.current = res === null || res === void 0 || (_res$data5 = res.data) === null || _res$data5 === void 0 || (_res$data5 = _res$data5[0]) === null || _res$data5 === void 0 ? void 0 : _res$data5["port"];
if (!(((_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.length) > 1)) {
_context7.next = 14;
_context7.next = 16;
break;
}
return _context7.abrupt("return");
case 14:
case 16:
setUrlSign(false);
setStatus(Status.Success);
setTime(Date.now() + (res === null || res === void 0 || (_res$data7 = res.data) === null || _res$data7 === void 0 || (_res$data7 = _res$data7[0]) === null || _res$data7 === void 0 ? void 0 : _res$data7.remaining_time));
setEndTime((res === null || res === void 0 || (_res$data8 = res.data) === null || _res$data8 === void 0 || (_res$data8 = _res$data8[0]) === null || _res$data8 === void 0 ? void 0 : _res$data8.remaining_time) - 300 * 1000 <= 0 ? Date.now() + 1000 : Date.now() + ((res === null || res === void 0 || (_res$data9 = res.data) === null || _res$data9 === void 0 || (_res$data9 = _res$data9[0]) === null || _res$data9 === void 0 ? void 0 : _res$data9.remaining_time) - 300 * 1000));
return _context7.abrupt("return");
case 19:
case 21:
if (res.status === -1) {
setStatus(Status.LoadFail);
setUrlSign(false);
} else {
setStatus(Status.ReLoad);
}
case 20:
case 22:
case "end":
return _context7.stop();
}
@ -2371,28 +2378,35 @@ var TaskJupyterPage = function TaskJupyterPage(_ref) {
};
var handleResetEnv = /*#__PURE__*/function () {
var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
var res;
var datas, res;
return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
_context9.next = 2;
return (0,task/* resetWithTPI */.m_)({
datas = {};
if (searchParams.get("type") === 'exercises') {
datas.exercise_id = searchParams.get("exercisesId");
//试卷id
} else if (params.courseId && params.homeworkId) {
datas.homework_common_id = searchParams.get("homework_common_id");
}
_context9.next = 4;
return (0,task/* resetWithTPI */.m_)(objectSpread2_default()({
identifier: jupyterData === null || jupyterData === void 0 ? void 0 : jupyterData.myshixun_identifier
});
case 2:
}, datas));
case 4:
res = _context9.sent;
if (!((res === null || res === void 0 ? void 0 : res.status) !== 0)) {
_context9.next = 5;
_context9.next = 7;
break;
}
return _context9.abrupt("return");
case 5:
case 7:
message/* default */.ZP.success('重置成功!');
setSpinning(false);
setTimeout(function () {
return window.location.reload();
}, 300);
case 8:
case 10:
case "end":
return _context9.stop();
}
@ -3288,8 +3302,8 @@ function _resetWithTPI() {
while (1) switch (_context5.prev = _context5.next) {
case 0:
return _context5.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/myshixuns/".concat(params.identifier, "/reset_pod.json"), {
method: 'Get'
// params
method: 'Get',
params: params
}));
case 1:
case "end":

@ -138600,7 +138600,7 @@ function _getRoutes() {
return Promise.all(/*! import() | p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index */[__webpack_require__.e(28647), __webpack_require__.e(35593), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(52292), __webpack_require__.e(25700), __webpack_require__.e(39798), __webpack_require__.e(2553), __webpack_require__.e(20834), __webpack_require__.e(24665), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(3984), __webpack_require__.e(88590), __webpack_require__.e(78782), __webpack_require__.e(47833), __webpack_require__.e(97705), __webpack_require__.e(52306), __webpack_require__.e(97913), __webpack_require__.e(16127), __webpack_require__.e(3391)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ProgramHomework/Detail/components/CodeReview/Detail/index.tsx */ 72070));
}),
'31': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__index */[__webpack_require__.e(28647), __webpack_require__.e(35593), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(52292), __webpack_require__.e(25700), __webpack_require__.e(39798), __webpack_require__.e(2553), __webpack_require__.e(20834), __webpack_require__.e(24665), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(3984), __webpack_require__.e(88590), __webpack_require__.e(78782), __webpack_require__.e(87876), __webpack_require__.e(47833), __webpack_require__.e(97705), __webpack_require__.e(99313), __webpack_require__.e(52306), __webpack_require__.e(70169), __webpack_require__.e(86793), __webpack_require__.e(35863), __webpack_require__.e(97913), __webpack_require__.e(93948), __webpack_require__.e(21068), __webpack_require__.e(63324), __webpack_require__.e(48136), __webpack_require__.e(85160), __webpack_require__.e(84732), __webpack_require__.e(22744), __webpack_require__.e(42441), __webpack_require__.e(90476), __webpack_require__.e(16127), __webpack_require__.e(87133), __webpack_require__.e(55600), __webpack_require__.e(95175), __webpack_require__.e(11629), __webpack_require__.e(13581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/index.tsx */ 4618));
return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Detail__index */[__webpack_require__.e(28647), __webpack_require__.e(35593), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(52292), __webpack_require__.e(25700), __webpack_require__.e(39798), __webpack_require__.e(2553), __webpack_require__.e(20834), __webpack_require__.e(24665), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(3984), __webpack_require__.e(88590), __webpack_require__.e(78782), __webpack_require__.e(87876), __webpack_require__.e(47833), __webpack_require__.e(97705), __webpack_require__.e(99313), __webpack_require__.e(52306), __webpack_require__.e(70169), __webpack_require__.e(86793), __webpack_require__.e(35863), __webpack_require__.e(97913), __webpack_require__.e(93948), __webpack_require__.e(21068), __webpack_require__.e(63324), __webpack_require__.e(48136), __webpack_require__.e(85160), __webpack_require__.e(84732), __webpack_require__.e(22744), __webpack_require__.e(42441), __webpack_require__.e(77576), __webpack_require__.e(16127), __webpack_require__.e(87133), __webpack_require__.e(55600), __webpack_require__.e(95175), __webpack_require__.e(11629), __webpack_require__.e(13581)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Detail/index.tsx */ 35834));
}),
'32': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
return Promise.all(/*! import() | p__Classrooms__Lists__ShixunHomeworks__Comment__index */[__webpack_require__.e(28647), __webpack_require__.e(35593), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(52292), __webpack_require__.e(25700), __webpack_require__.e(39798), __webpack_require__.e(2553), __webpack_require__.e(20834), __webpack_require__.e(24665), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(3984), __webpack_require__.e(88590), __webpack_require__.e(78782), __webpack_require__.e(87876), __webpack_require__.e(47833), __webpack_require__.e(97705), __webpack_require__.e(99313), __webpack_require__.e(52306), __webpack_require__.e(70169), __webpack_require__.e(86793), __webpack_require__.e(35863), __webpack_require__.e(97913), __webpack_require__.e(63324), __webpack_require__.e(48136), __webpack_require__.e(85160), __webpack_require__.e(84732), __webpack_require__.e(42441), __webpack_require__.e(19208), __webpack_require__.e(44425), __webpack_require__.e(86129), __webpack_require__.e(12911), __webpack_require__.e(16127), __webpack_require__.e(87133), __webpack_require__.e(55600), __webpack_require__.e(30342)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/ShixunHomeworks/Comment/index.tsx */ 84963));
@ -138633,7 +138633,7 @@ function _getRoutes() {
return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index */[__webpack_require__.e(28647), __webpack_require__.e(35593), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(52292), __webpack_require__.e(25700), __webpack_require__.e(39798), __webpack_require__.e(2553), __webpack_require__.e(20834), __webpack_require__.e(24665), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(88590), __webpack_require__.e(78782), __webpack_require__.e(47833), __webpack_require__.e(97705), __webpack_require__.e(52306), __webpack_require__.e(97913), __webpack_require__.e(16127), __webpack_require__.e(85297)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/components/DuplicateChecking/CheckDetail/index.tsx */ 47966));
}),
'42': /*#__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(35593), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(52292), __webpack_require__.e(25700), __webpack_require__.e(39798), __webpack_require__.e(2553), __webpack_require__.e(20834), __webpack_require__.e(24665), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(3984), __webpack_require__.e(88590), __webpack_require__.e(78782), __webpack_require__.e(87876), __webpack_require__.e(47833), __webpack_require__.e(97705), __webpack_require__.e(99313), __webpack_require__.e(52306), __webpack_require__.e(70169), __webpack_require__.e(86793), __webpack_require__.e(35863), __webpack_require__.e(97913), __webpack_require__.e(93948), __webpack_require__.e(21068), __webpack_require__.e(63324), __webpack_require__.e(48136), __webpack_require__.e(85160), __webpack_require__.e(84732), __webpack_require__.e(22744), __webpack_require__.e(42441), __webpack_require__.e(68078), __webpack_require__.e(56156), __webpack_require__.e(96737), __webpack_require__.e(21927), __webpack_require__.e(12911), __webpack_require__.e(23549), __webpack_require__.e(50431), __webpack_require__.e(16127), __webpack_require__.e(87133), __webpack_require__.e(55600), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(89434), __webpack_require__.e(95175), __webpack_require__.e(11629), __webpack_require__.e(80095), __webpack_require__.e(71543), __webpack_require__.e(51797), __webpack_require__.e(69578), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 91788));
return Promise.all(/*! import() | p__Classrooms__Lists__Exercise__Detail__index */[__webpack_require__.e(28647), __webpack_require__.e(35593), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(52292), __webpack_require__.e(25700), __webpack_require__.e(39798), __webpack_require__.e(2553), __webpack_require__.e(20834), __webpack_require__.e(24665), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(3984), __webpack_require__.e(88590), __webpack_require__.e(78782), __webpack_require__.e(87876), __webpack_require__.e(47833), __webpack_require__.e(97705), __webpack_require__.e(99313), __webpack_require__.e(52306), __webpack_require__.e(70169), __webpack_require__.e(86793), __webpack_require__.e(35863), __webpack_require__.e(97913), __webpack_require__.e(93948), __webpack_require__.e(21068), __webpack_require__.e(63324), __webpack_require__.e(48136), __webpack_require__.e(85160), __webpack_require__.e(84732), __webpack_require__.e(22744), __webpack_require__.e(42441), __webpack_require__.e(68078), __webpack_require__.e(56156), __webpack_require__.e(96737), __webpack_require__.e(21927), __webpack_require__.e(12911), __webpack_require__.e(23549), __webpack_require__.e(6593), __webpack_require__.e(16127), __webpack_require__.e(87133), __webpack_require__.e(55600), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(89434), __webpack_require__.e(95175), __webpack_require__.e(11629), __webpack_require__.e(80095), __webpack_require__.e(71543), __webpack_require__.e(51797), __webpack_require__.e(69578), __webpack_require__.e(54164)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Classrooms/Lists/Exercise/Detail/index.tsx */ 25693));
}),
'43': /*#__PURE__*/_react_17_0_2_react.lazy(function () {
return Promise.all(/*! import() | p__Problemset__index */[__webpack_require__.e(28647), __webpack_require__.e(35593), __webpack_require__.e(6848), __webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(52292), __webpack_require__.e(25700), __webpack_require__.e(39798), __webpack_require__.e(2553), __webpack_require__.e(20834), __webpack_require__.e(24665), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(3984), __webpack_require__.e(88590), __webpack_require__.e(78782), __webpack_require__.e(47833), __webpack_require__.e(97705), __webpack_require__.e(99313), __webpack_require__.e(70169), __webpack_require__.e(86793), __webpack_require__.e(35863), __webpack_require__.e(97913), __webpack_require__.e(63324), __webpack_require__.e(48136), __webpack_require__.e(85160), __webpack_require__.e(84732), __webpack_require__.e(43428), __webpack_require__.e(31155), __webpack_require__.e(16127), __webpack_require__.e(87133), __webpack_require__.e(55600), __webpack_require__.e(95175), __webpack_require__.e(14599)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Problemset/index.tsx */ 1680));

Loading…
Cancel
Save