From 2ebdf7a0b3718c9625ac76c8420e69c1d3f0848b Mon Sep 17 00:00:00 2001 From: eduauto Date: Sat, 23 Nov 2024 12:15:05 +0800 Subject: [PATCH] autoUpdataFile --- ...e28646.async.js => 29198.657b6066.async.js | 48 +- index.html | 2 +- ...ompetitions__Edit__index.4f4b053f.async.js | 4173 ++++++++++------- ...mpetitions__Edit__index.849b0481.chunk.css | 270 +- umi.70816c49.js => umi.f12e2cb9.js | 9 +- 5 files changed, 2653 insertions(+), 1849 deletions(-) rename 26585.d5e28646.async.js => 29198.657b6066.async.js (94%) rename p__Competitions__Edit__index.f2123199.async.js => p__Competitions__Edit__index.4f4b053f.async.js (88%) rename p__Competitions__Edit__index.dd2ae9a5.chunk.css => p__Competitions__Edit__index.849b0481.chunk.css (98%) rename umi.70816c49.js => umi.f12e2cb9.js (99%) diff --git a/26585.d5e28646.async.js b/29198.657b6066.async.js similarity index 94% rename from 26585.d5e28646.async.js rename to 29198.657b6066.async.js index 758a441484..aa313b34e6 100644 --- a/26585.d5e28646.async.js +++ b/29198.657b6066.async.js @@ -1,4 +1,4 @@ -(self["webpackChunk"] = self["webpackChunk"] || []).push([[26585],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[29198],{ /***/ 680: /*!*******************************************************************************************************************!*\ @@ -138,6 +138,52 @@ if (false) {} /***/ }), +/***/ 68792: +/*!**********************************************************************************************************!*\ + !*** ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/UpSquareOutlined.js + 1 modules ***! + \**********************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + Z: function() { return /* binding */ icons_UpSquareOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.0@@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(5891); +// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js +var _react_17_0_2_react = __webpack_require__(59301); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/UpSquareOutlined.js +// This icon file is generated automatically. +var UpSquareOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M334 624h46.9c10.2 0 19.9-4.9 25.9-13.2L512 465.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246a7.95 7.95 0 00-12.9 0l-178 246A7.96 7.96 0 00334 624z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "up-square", "theme": "outlined" }; +/* harmony default export */ var asn_UpSquareOutlined = (UpSquareOutlined); + +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/components/AntdIcon.js + 3 modules +var AntdIcon = __webpack_require__(22589); +;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/UpSquareOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UpSquareOutlined_UpSquareOutlined = function UpSquareOutlined(props, ref) { + return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UpSquareOutlined + })); +}; + +/**![up-square](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMzNCA2MjRoNDYuOWMxMC4yIDAgMTkuOS00LjkgMjUuOS0xMy4yTDUxMiA0NjUuNGwxMDUuMiAxNDUuNGM2IDguMyAxNS42IDEzLjIgMjUuOSAxMy4ySDY5MGM2LjUgMCAxMC4zLTcuNCA2LjUtMTIuN2wtMTc4LTI0NmE3Ljk1IDcuOTUgMCAwMC0xMi45IDBsLTE3OCAyNDZBNy45NiA3Ljk2IDAgMDAzMzQgNjI0eiIgLz48cGF0aCBkPSJNODgwIDExMkgxNDRjLTE3LjcgMC0zMiAxNC4zLTMyIDMydjczNmMwIDE3LjcgMTQuMyAzMiAzMiAzMmg3MzZjMTcuNyAwIDMyLTE0LjMgMzItMzJWMTQ0YzAtMTcuNy0xNC4zLTMyLTMyLTMyem0tNDAgNzI4SDE4NFYxODRoNjU2djY1NnoiIC8+PC9zdmc+) */ +var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(UpSquareOutlined_UpSquareOutlined); +if (false) {} +/* harmony default export */ var icons_UpSquareOutlined = (RefIcon); + +/***/ }), + /***/ 88522: /*!*****************************************************************!*\ !*** ./node_modules/_antd@5.9.0@antd/es/auto-complete/index.js ***! diff --git a/index.html b/index.html index e367f0c747..2625264470 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Competitions__Edit__index.f2123199.async.js b/p__Competitions__Edit__index.4f4b053f.async.js similarity index 88% rename from p__Competitions__Edit__index.f2123199.async.js rename to p__Competitions__Edit__index.4f4b053f.async.js index d1d94e536c..7d08ce61a1 100644 --- a/p__Competitions__Edit__index.f2123199.async.js +++ b/p__Competitions__Edit__index.4f4b053f.async.js @@ -3883,9 +3883,9 @@ function useInterval(callback, delay) { /***/ }), -/***/ 88612: +/***/ 90283: /*!************************************************************!*\ - !*** ./src/pages/Competitions/Edit/index.tsx + 46 modules ***! + !*** ./src/pages/Competitions/Edit/index.tsx + 47 modules ***! \************************************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -4517,6 +4517,130 @@ var react_cropper = __webpack_require__(33555); var cropper = __webpack_require__(62642); // EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/PlusOutlined.js + 1 modules var PlusOutlined = __webpack_require__(26762); +;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/AppealModal/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var AppealModalmodules = ({"flex_box_center":"flex_box_center___F6_u2","flex_space_between":"flex_space_between___daZLZ","flex_box_vertical_center":"flex_box_vertical_center___VsQqg","flex_box_center_end":"flex_box_center_end___GAjIo","flex_box_column":"flex_box_column___LrrCV","shensu_style":"shensu_style___o5_sk"}); +// EXTERNAL MODULE: ./src/components/MultiUpload/index.tsx + 1 modules +var MultiUpload = __webpack_require__(98174); +;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/AppealModal/index.tsx + + + + + + + + + + + + +var AppealModal_competitionsPage = function competitionsPage(_ref) { + var dispatch = _ref.dispatch, + competitions = _ref.competitions; + 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)(false), + _useState2 = slicedToArray_default()(_useState, 2), + showModal = _useState2[0], + setShowModal = _useState2[1]; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: AppealModalmodules.shensu_style, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-tishi11 font12 mr10" + }), "\u91CD\u8981\u901A\u77E5\uFF1A\u60A8\u7684\u6218\u961F\u56E0\u8FDD\u53CD\u7ADE\u8D5B\u89C4\u5219\u5DF2\u88AB\u7BA1\u7406\u5458\u5C01\u7981\uFF0C\u6218\u961F\u6210\u7EE9\u5C06\u4E0D\u518D\u8BA1\u5165\u6392\u884C\u699C\u3002\u5982\u6709\u7591\u95EE\u53EF\u4EE5\u8FDB\u884C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: "#165DFF", + cursor: 'pointer' + }, + onClick: function onClick() { + setShowModal(true); + }, + children: "\u7533\u8BC9\u89E3\u5C01" + }), "\u3002"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + centered: true, + width: 500, + title: "\u7533\u8BC9\u89E3\u5C01", + open: showModal, + okText: "\u786E\u5B9A", + cancelText: "\u53D6\u6D88", + onCancel: function onCancel() { + setShowModal(false); + form.resetFields(); + }, + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var _competitions$competi; + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return form.validateFields(); + case 2: + _context.next = 4; + return (0,fetch/* default */.ZP)("/api/competition_duplicate_checks/initiate_appeal.json", { + method: 'post', + body: objectSpread2_default()({ + id: competitions === null || competitions === void 0 || (_competitions$competi = competitions.competition) === null || _competitions$competi === void 0 || (_competitions$competi = _competitions$competi.competition_team) === null || _competitions$competi === void 0 ? void 0 : _competitions$competi.id + }, form.getFieldsValue()) + }); + case 4: + res = _context.sent; + if (res.status == 0) { + message/* default */.ZP.success('操作成功'); + setShowModal(false); + } + case 6: + case "end": + return _context.stop(); + } + }, _callee); + })), + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + form: form + // layout="vertical" + , + labelCol: { + span: 4 + }, + wrapperCol: { + span: 20 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u7533\u8BC9\u539F\u56E0", + name: "content", + colon: false, + rules: [{ + required: true, + message: "\u5FC5\u586B\u9879" + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.TextArea, { + placeholder: "\u8BF7\u8F93\u5165\u7533\u8BC9\u539F\u56E0", + rows: 5 + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u7533\u8BC9\u6587\u4EF6", + name: "attachment_id", + colon: false, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, { + number: 1 + }) + })] + }) + })] + }); +}; +/* harmony default export */ var AppealModal = ((0,_umi_production_exports.connect)(function (_ref3) { + var dispatch = _ref3.dispatch, + competitions = _ref3.competitions; + return { + dispatch: dispatch, + competitions: competitions + }; +})(AppealModal_competitionsPage)); // EXTERNAL MODULE: ./node_modules/_dayjs@1.11.13@dayjs/dayjs.min.js var dayjs_min = __webpack_require__(61186); var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min); @@ -4548,8 +4672,9 @@ var StudentTeam_excluded = ["competitions", "globalSetting", "loading", "dispatc + var StudentTeam_competitionsPage = function competitionsPage(_ref) { - var _competitions$competi2, _competitions$competi3, _competitions$competi4, _competitions$competi5, _competitions$competi6, _competition_team$my_, _competition_team$my_2, _my_teams$name, _Team$name, _Team$name2, _competitions$competi7, _competitions$competi8, _competitions$competi9, _competitions$competi10, _competitions$competi11; + var _competitions$competi2, _competitions$competi3, _competitions$competi4, _competitions$competi5, _competitions$competi6, _competitions$competi7, _competition_team$my_, _competition_team$my_2, _my_teams$name, _Team$name, _Team$name2, _competitions$competi8, _competitions$competi9, _competitions$competi10, _competitions$competi11, _competitions$competi12; var competitions = _ref.competitions, globalSetting = _ref.globalSetting, loading = _ref.loading, @@ -4986,1512 +5111,1519 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) { return !!e; }); return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - padding: '20px', - width: '100%' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { style: { - display: 'flex', - marginBottom: 20 + width: '1198px' + }, + children: (competitions === null || competitions === void 0 || (_competitions$competi7 = competitions.competition) === null || _competitions$competi7 === void 0 || (_competitions$competi7 = _competitions$competi7.competition_team) === null || _competitions$competi7 === void 0 ? void 0 : _competitions$competi7.is_cancel_score) && /*#__PURE__*/(0,jsx_runtime.jsx)(AppealModal, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + padding: '20px', + width: '100%' }, - children: [is_manager && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { display: 'flex', - alignItems: 'baseline', - zIndex: 0, - position: 'relative' + marginBottom: 20 }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, { - className: Teammodules.scoreByBlankRadio, - optionType: "button", - options: [{ - label: '我的战队', - value: 'mine' - }, { - label: '全部战队', - value: 'join' - }, { - label: '组队申请', - value: 'apply' - }, { - label: '申诉申请', - value: 'appeal', - disabled: false - }], - onChange: function onChange(e) { - params.isteam = e.target.value; - if (e.target.value == 'appeal') { - if (appealPage == 1) { - getAppealData(); - } else { - setAppealPage(1); - } - } else { - params.keyword = ''; - params.type = ''; - params.page = 1; - if (e.target.value === 'apply') { - getApplyList(); + children: [is_manager && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'baseline', + zIndex: 0, + position: 'relative' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, { + className: Teammodules.scoreByBlankRadio, + optionType: "button", + options: [{ + label: '我的战队', + value: 'mine' + }, { + label: '全部战队', + value: 'join' + }, { + label: '组队申请', + value: 'apply' + }, { + label: '申诉申请', + value: 'appeal', + disabled: false + }], + onChange: function onChange(e) { + params.isteam = e.target.value; + if (e.target.value == 'appeal') { + if (appealPage == 1) { + getAppealData(); + } else { + setAppealPage(1); + } } else { - getTeams(); + params.keyword = ''; + params.type = ''; + params.page = 1; + if (e.target.value === 'apply') { + getApplyList(); + } else { + getTeams(); + } } - } - setparams(objectSpread2_default()({}, params)); - }, - value: params.isteam - }), (my_teams === null || my_teams === void 0 ? void 0 : my_teams.apply_num) && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.apply_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Teammodules.applyNumSty, - children: my_teams === null || my_teams === void 0 ? void 0 : my_teams.apply_num - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - flex: 1, - textAlign: 'end', - display: 'flex', - justifyContent: 'end' - }, - children: [params.isteam === 'join' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, { - style: { - width: 379 - }, - dataSource: [], - value: { - id: params.type, - value: params.keyword - }, - onChange: function onChange(input, id) { - params.keyword = input; - params.page = 1; - params.type = 1; setparams(objectSpread2_default()({}, params)); - getTeams(); - }, - placeholder: "\u8BF7\u8F93\u5165\u6218\u961F\u540D\u79F0\u8FDB\u884C\u641C\u7D22" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Teammodules.button, - style: { - margin: '0 20px' - }, - onClick: function onClick() { - setopendaoru(true); - }, - children: "\u5BFC\u5165\u6218\u961F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Teammodules.button, - onClick: function onClick() { - (0,util/* downLoadLink */.Nd)(null, env/* default */.Z.API_SERVER + "/api/competitions/".concat(identifier, "/competition_teams.xlsx")); }, - children: "\u5BFC\u51FA\u6218\u961F" + value: params.isteam + }), (my_teams === null || my_teams === void 0 ? void 0 : my_teams.apply_num) && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.apply_num) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Teammodules.applyNumSty, + children: my_teams === null || my_teams === void 0 ? void 0 : my_teams.apply_num })] - }), params.isteam === 'mine' && (competition_team === null || competition_team === void 0 || (_competition_team$my_ = competition_team.my_teams) === null || _competition_team$my_ === void 0 ? void 0 : _competition_team$my_.filter(function (item) { - return !item.active; - }).length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - fontSize: 14, - color: '#FA6400' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, { - style: { - marginRight: 6, - fontSize: 14 - } - }), " \u60A8\u6709", competition_team === null || competition_team === void 0 || (_competition_team$my_2 = competition_team.my_teams) === null || _competition_team$my_2 === void 0 ? void 0 : _competition_team$my_2.filter(function (item) { - return !item.active; - }).length, "\u4E2A\u6218\u961F\u672A\u6EE1\u8DB3\u53C2\u8D5B\u8981\u6C42\uFF01\u4E3A\u4E86\u4E0D\u5F71\u54CD\u6210\u7EE9\uFF0C\u8BF7\u8BBE\u7F6E\u6218\u961F\u6210\u5458"] - })] - })] - }), (params === null || params === void 0 ? void 0 : params.isteam) === "mine" && my_teams && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.zhandui, - children: [my_teams !== null && my_teams !== void 0 && my_teams.team_log ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - className: Teammodules.img, - src: env/* default */.Z.IMG_SERVER + (my_teams === null || my_teams === void 0 ? void 0 : my_teams.team_log), - style: { - width: 56, - height: 56, - borderRadius: '28px' - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - width: 56, - height: 56, - borderRadius: '28px', - background: '#165dff', - textAlign: 'center', - lineHeight: '54px', - color: '#fff' + flex: 1, + textAlign: 'end', + display: 'flex', + justifyContent: 'end' }, - children: my_teams === null || my_teams === void 0 || (_my_teams$name = my_teams.name) === null || _my_teams$name === void 0 ? void 0 : _my_teams$name[0] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.names, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'inline-flex', - alignItems: 'baseline' - }, - children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: my_teams === null || my_teams === void 0 ? void 0 : my_teams.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.teamname, - style: { - width: '80%' - }, - children: my_teams === null || my_teams === void 0 ? void 0 : my_teams.name - }) - }), (my_teams === null || my_teams === void 0 ? void 0 : my_teams.manage_permission) && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - onClick: function onClick() { - setisedit(true); - // setTeam(item); - }, + children: [params.isteam === 'join' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, { style: { - color: '#165DFF', - cursor: 'pointer', - marginLeft: 10 + width: 379 }, - className: "iconfont icon-bianji10 font14" - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.yaoqingma, - children: ["\u9080\u8BF7\u7801", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: my_teams === null || my_teams === void 0 ? void 0 : my_teams.invite_code, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + dataSource: [], + value: { + id: params.type, + value: params.keyword + }, + onChange: function onChange(input, id) { + params.keyword = input; + params.page = 1; + params.type = 1; + setparams(objectSpread2_default()({}, params)); + getTeams(); + }, + placeholder: "\u8BF7\u8F93\u5165\u6218\u961F\u540D\u79F0\u8FDB\u884C\u641C\u7D22" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Teammodules.button, style: { - margin: '0px 10px', - color: '#232B40' + margin: '0 20px' }, - children: my_teams === null || my_teams === void 0 ? void 0 : my_teams.invite_code - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, { - text: my_teams === null || my_teams === void 0 ? void 0 : my_teams.invite_code, - onCopy: function onCopy() { - return message/* default */.ZP.success('复制成功'); + onClick: function onClick() { + setopendaoru(true); + }, + children: "\u5BFC\u5165\u6218\u961F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Teammodules.button, + onClick: function onClick() { + (0,util/* downLoadLink */.Nd)(null, env/* default */.Z.API_SERVER + "/api/competitions/".concat(identifier, "/competition_teams.xlsx")); + }, + children: "\u5BFC\u51FA\u6218\u961F" + })] + }), params.isteam === 'mine' && (competition_team === null || competition_team === void 0 || (_competition_team$my_ = competition_team.my_teams) === null || _competition_team$my_ === void 0 ? void 0 : _competition_team$my_.filter(function (item) { + return !item.active; + }).length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + style: { + fontSize: 14, + color: '#FA6400' }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-fuzhi font-14", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, { style: { - display: "inline-block", - color: '#0152d9', - cursor: 'pointer' + marginRight: 6, + fontSize: 14 } - }) + }), " \u60A8\u6709", competition_team === null || competition_team === void 0 || (_competition_team$my_2 = competition_team.my_teams) === null || _competition_team$my_2 === void 0 ? void 0 : _competition_team$my_2.filter(function (item) { + return !item.active; + }).length, "\u4E2A\u6218\u961F\u672A\u6EE1\u8DB3\u53C2\u8D5B\u8981\u6C42\uFF01\u4E3A\u4E86\u4E0D\u5F71\u54CD\u6210\u7EE9\uFF0C\u8BF7\u8BBE\u7F6E\u6218\u961F\u6210\u5458"] })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.tuichu, - onClick: function onClick() { - console.log('3333'); - console.log(my_teams === null || my_teams === void 0 ? void 0 : my_teams.id); - modal/* default */.Z.confirm({ - centered: true, - width: 700, - okText: '确定', - cancelText: '取消', - icon: null, - title: '退出战队', - content: '退出战队也将退出该战队的组织,请确定是否退出战队', - onOk: function onOk() { - (0,service_competitions/* ExitTeam */.vV)({ - identifier: identifier, - competition_teams_id: my_teams === null || my_teams === void 0 ? void 0 : my_teams.id - }).then(function (res) { - if ((res === null || res === void 0 ? void 0 : res.status) == 0) { - message/* default */.ZP.success('退出成功'); - getTeams(); - dispatch({ - type: "competitions/common_header", - payload: identifier - }); - } - }); - } - }); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tuichu1", + })] + }), (params === null || params === void 0 ? void 0 : params.isteam) === "mine" && my_teams && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.zhandui, + children: [my_teams !== null && my_teams !== void 0 && my_teams.team_log ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: Teammodules.img, + src: env/* default */.Z.IMG_SERVER + (my_teams === null || my_teams === void 0 ? void 0 : my_teams.team_log), style: { - display: "inline-block", - color: '#E30000', - cursor: 'pointer', - fontSize: 12, - marginRight: 5 + width: 56, + height: 56, + borderRadius: '28px' } - }), "\u9000\u51FA\u6218\u961F"] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - dataSource: my_teams === null || my_teams === void 0 ? void 0 : my_teams.team_members, - pagination: false, - style: { - marginTop: '10px' - }, - columns: [{ - title: '战队成员', - align: 'left', - render: function render(text, record) { - var _record$name; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + width: 56, + height: 56, + borderRadius: '28px', + background: '#165dff', + textAlign: 'center', + lineHeight: '54px', + color: '#fff' + }, + children: my_teams === null || my_teams === void 0 || (_my_teams$name = my_teams.name) === null || _my_teams$name === void 0 ? void 0 : _my_teams$name[0] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.names, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - display: 'flex' + display: 'inline-flex', + alignItems: 'baseline' }, - children: [record !== null && record !== void 0 && record.image_url ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - className: Teammodules.img, - src: env/* default */.Z.IMG_SERVER + '/images/' + (record === null || record === void 0 ? void 0 : record.image_url), - style: { - width: 40, - height: 40, - borderRadius: '20px' - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - width: 40, - height: 40, - borderRadius: '20px', - background: '#165dff', - textAlign: 'center', - lineHeight: '38px', - color: '#fff' - }, - children: record === null || record === void 0 || (_record$name = record.name) === null || _record$name === void 0 ? void 0 : _record$name[0] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: record === null || record === void 0 ? void 0 : record.name, + children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: my_teams === null || my_teams === void 0 ? void 0 : my_teams.name, children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "multi_ellipsis1", + className: Teammodules.teamname, style: { - height: '40px', - lineHeight: '40px', - marginLeft: '10px' + width: '80%' }, - children: (record === null || record === void 0 ? void 0 : record.name) || '- -' + children: my_teams === null || my_teams === void 0 ? void 0 : my_teams.name }) - })] - }); - } - }, { - title: '角色', - align: 'center', - dataIndex: 'role', - width: 60, - // render: (text: any) => {text || '- -'}, - render: function render(text, item) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: text === 'leader' ? '#3061D0' : '#01795D' - }, - children: text === "leader" ? '队长' : '队员' - }); - } - }].concat(toConsumableArray_default()(TableCommonHead), [{ - title: '操作', - align: 'right', - dataIndex: 'role', - render: function render(text, items, index) { - return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - style: { - color: '#3061D0' - }, - children: [(items === null || items === void 0 ? void 0 : items.is_me) && !!(TableCommonHead !== null && TableCommonHead !== void 0 && TableCommonHead.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - onClick: function onClick(e) { - e.preventDefault(); - editForm.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, items), {}, { - mail: items === null || items === void 0 ? void 0 : items.member_mail - })); - setWayModal(items); - }, - children: "\u7F16\u8F91" - }), text != "leader" && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.manage_permission) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - onClick: function onClick() { - modal/* default */.Z.confirm({ - centered: true, - width: 700, - okText: '确定', - cancelText: '取消', - icon: null, - title: '设置队长', - content: '确定将队员设置成队长吗?', - onOk: function onOk() { - (0,service_competitions/* crudTeamMembers */.uy)({ - identifier: identifier, - teamid: my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, - leader: items === null || items === void 0 ? void 0 : items.id, - member_ids: my_member_id - }).then(function (res) { - if ((res === null || res === void 0 ? void 0 : res.status) == 0) { - message/* default */.ZP.success('设置成功'); - getTeams(); - } - }); - } - }); - }, - children: "\u8BBE\u7F6E\u6210\u961F\u957F" - }), text != "leader" && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.manage_permission) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + }), (my_teams === null || my_teams === void 0 ? void 0 : my_teams.manage_permission) && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { onClick: function onClick() { - modal/* default */.Z.confirm({ - centered: true, - width: 700, - okText: '确定', - cancelText: '取消', - icon: null, - title: '删除队员', - content: '确定删除该队员吗?', - onOk: function onOk() { - (0,service_competitions/* crudTeamMembers */.uy)({ - identifier: identifier, - teamid: my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, - member_ids: my_member_id === null || my_member_id === void 0 ? void 0 : my_member_id.filter(function (v) { - return v != (items === null || items === void 0 ? void 0 : items.id); - }) - }).then(function (res) { - if ((res === null || res === void 0 ? void 0 : res.status) == 0) { - message/* default */.ZP.success('删除成功'); - getTeams(); - } - }); - } - }); + setisedit(true); + // setTeam(item); }, style: { - marginLeft: 20 - }, - children: "\u5220\u9664" - })] - }); - } - }]) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.repo_style, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.repo_title, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Teammodules.repo_title_text, - children: "Repo" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: Teammodules.repo_title_jieshi, - children: "\u6BCF\u4E00\u4E2A\u961F\u4F0D\u76F8\u5E94\u5730\u5728Openi\u6709\u4E00\u4E2A\u961F\u4F0D\u4ED3\u5E93\uFF0C\u8BF7\u5C3D\u60C5\u5730\u4F7F\u7528\u5427" - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.repo_dizhi, - children: my_teams !== null && my_teams !== void 0 && my_teams.is_init ? my_teams === null || my_teams === void 0 ? void 0 : my_teams.html_url : '仓库初始化中...' - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.button_list, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, { - text: my_teams === null || my_teams === void 0 ? void 0 : my_teams.html_url, - onCopy: function onCopy() { - return message/* default */.ZP.success('复制成功'); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.kaobei, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-fuzhi font14" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { + color: '#165DFF', + cursor: 'pointer', marginLeft: 10 }, - children: "\u62F7\u8D1D\u94FE\u63A5" + className: "iconfont icon-bianji10 font14" })] }) }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.tiaozhuan, - onClick: function onClick() { - if (my_teams !== null && my_teams !== void 0 && my_teams.is_init) { - (0,util/* openNewWindow */.xg)(my_teams === null || my_teams === void 0 ? void 0 : my_teams.html_url); - } - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-fuzhi font14" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - marginLeft: 10 - }, - children: "\u8DF3\u8F6C\u81F3\u4ED3\u5E93" - })] - })] - })] - })] - }), (params === null || params === void 0 ? void 0 : params.isteam) === 'mine' && !my_teams && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { - imgUrl: __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977) - }), (params === null || params === void 0 ? void 0 : params.isteam) === 'join' && (competition_teams === null || competition_teams === void 0 ? void 0 : competition_teams.length) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { - imgUrl: __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977) - }), (params === null || params === void 0 ? void 0 : params.isteam) === "join" && (competition_teams === null || competition_teams === void 0 ? void 0 : competition_teams.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - dataSource: competition_teams, - pagination: false, - style: { - marginTop: '-10px' - }, - columns: [{ - title: '队伍ID', - align: 'left', - dataIndex: 'id', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: text, + className: Teammodules.yaoqingma, + children: ["\u9080\u8BF7\u7801", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: my_teams === null || my_teams === void 0 ? void 0 : my_teams.invite_code, children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '- -' - }) - }); - } - }, { - title: '队伍名称', - align: 'left', - ellipsis: true, - render: function render(text, record) { - var _record$name2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [record !== null && record !== void 0 && record.team_log ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - className: Teammodules.img, - src: env/* default */.Z.IMG_SERVER + (record === null || record === void 0 ? void 0 : record.team_log), style: { - width: 40, - height: 40, - borderRadius: '20px', - marginRight: "10px" - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - width: 40, - height: 40, - display: "inline-block", - marginRight: "10px", - borderRadius: '20px', - background: '#165dff', - textAlign: 'center', - lineHeight: '38px', - color: '#fff' + margin: '0px 10px', + color: '#232B40' }, - children: record === null || record === void 0 || (_record$name2 = record.name) === null || _record$name2 === void 0 ? void 0 : _record$name2[0] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "topLeft", - title: record === null || record === void 0 ? void 0 : record.name, - children: (record === null || record === void 0 ? void 0 : record.name) || '- -' - })] - }); - } - }, { - title: '队长', - align: 'left', - dataIndex: 'leader_name', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: text, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '- -' - }) - }); - } - }, { - title: '成员人数', - align: 'left', - render: function render(text, record) { - var _record$team_members, _record$team_members2; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: record === null || record === void 0 || (_record$team_members = record.team_members) === null || _record$team_members === void 0 ? void 0 : _record$team_members.length, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: (record === null || record === void 0 || (_record$team_members2 = record.team_members) === null || _record$team_members2 === void 0 ? void 0 : _record$team_members2.length) || '- -' + children: my_teams === null || my_teams === void 0 ? void 0 : my_teams.invite_code }) - }); - } - }, { - title: '成员', - align: 'left', - ellipsis: true, - render: function render(text, record) { - var _record$team_members3, _record$team_members5; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: record === null || record === void 0 || (_record$team_members3 = record.team_members) === null || _record$team_members3 === void 0 ? void 0 : _record$team_members3.map(function (v, k) { - var _record$team_members4; - return (v === null || v === void 0 ? void 0 : v.name) + (k == (record === null || record === void 0 || (_record$team_members4 = record.team_members) === null || _record$team_members4 === void 0 ? void 0 : _record$team_members4.length) - 1 ? '' : '、'); - }), - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: record === null || record === void 0 || (_record$team_members5 = record.team_members) === null || _record$team_members5 === void 0 ? void 0 : _record$team_members5.map(function (v, k) { - var _record$team_members6; - return (v === null || v === void 0 ? void 0 : v.name) + (k == (record === null || record === void 0 || (_record$team_members6 = record.team_members) === null || _record$team_members6 === void 0 ? void 0 : _record$team_members6.length) - 1 ? '' : '、'); - }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, { + text: my_teams === null || my_teams === void 0 ? void 0 : my_teams.invite_code, + onCopy: function onCopy() { + return message/* default */.ZP.success('复制成功'); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-fuzhi font-14", + style: { + display: "inline-block", + color: '#0152d9', + cursor: 'pointer' + } }) - }); - } - }, { - title: '操作', - align: 'right', - dataIndex: 'role', - render: function render(text, items, index) { - var _user$userInfo, _my_teams$creator; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.tuichu, + onClick: function onClick() { + console.log('3333'); + console.log(my_teams === null || my_teams === void 0 ? void 0 : my_teams.id); + modal/* default */.Z.confirm({ + centered: true, + width: 700, + okText: '确定', + cancelText: '取消', + icon: null, + title: '退出战队', + content: '退出战队也将退出该战队的组织,请确定是否退出战队', + onOk: function onOk() { + (0,service_competitions/* ExitTeam */.vV)({ + identifier: identifier, + competition_teams_id: my_teams === null || my_teams === void 0 ? void 0 : my_teams.id + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) == 0) { + message/* default */.ZP.success('退出成功'); + getTeams(); + dispatch({ + type: "competitions/common_header", + payload: identifier + }); + } + }); + } + }); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-tuichu1", + style: { + display: "inline-block", + color: '#E30000', + cursor: 'pointer', + fontSize: 12, + marginRight: 5 + } + }), "\u9000\u51FA\u6218\u961F"] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + dataSource: my_teams === null || my_teams === void 0 ? void 0 : my_teams.team_members, + pagination: false, + style: { + marginTop: '10px' + }, + columns: [{ + title: '战队成员', + align: 'left', + render: function render(text, record) { + var _record$name; + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - color: '#3061D0' + display: 'flex' }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - onClick: function onClick() { - setshowMember(true); - setmemberList(items === null || items === void 0 ? void 0 : items.team_members); - }, + children: [record !== null && record !== void 0 && record.image_url ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: Teammodules.img, + src: env/* default */.Z.IMG_SERVER + '/images/' + (record === null || record === void 0 ? void 0 : record.image_url), style: { - marginLeft: 20 - }, - children: "\u67E5\u770B" - }) - }), (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login) === (my_teams === null || my_teams === void 0 || (_my_teams$creator = my_teams.creator) === null || _my_teams$creator === void 0 ? void 0 : _my_teams$creator.login) && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.id) !== (items === null || items === void 0 ? void 0 : items.id) && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { - children: items !== null && items !== void 0 && items.can_appling ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + width: 40, + height: 40, + borderRadius: '20px' + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { style: { - color: '#3061D0' + width: 40, + height: 40, + borderRadius: '20px', + background: '#165dff', + textAlign: 'center', + lineHeight: '38px', + color: '#fff' }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - onClick: function onClick() { - setShowApplier(true); - setTargetTeamId(items === null || items === void 0 ? void 0 : items.id); - }, + children: record === null || record === void 0 || (_record$name = record.name) === null || _record$name === void 0 ? void 0 : _record$name[0] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: record === null || record === void 0 ? void 0 : record.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "multi_ellipsis1", style: { - marginLeft: 20 + height: '40px', + lineHeight: '40px', + marginLeft: '10px' }, - children: "\u7533\u8BF7\u7EC4\u961F" + children: (record === null || record === void 0 ? void 0 : record.name) || '- -' }) - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#C0C0C0' - }, - children: "\u961F\u4F0D\u5DF2\u6EE1\u5458" - }) - })] - }); - } - }] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.countWrap, - style: { - marginTop: 20, - textAlign: 'right' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { - showQuickJumper: true, - hideOnSinglePage: true, - showSizeChanger: true, - pageSizeOptions: ['10', '15', '50', '100', '200'], - total: total, - onChange: function onChange(page, pageSize) { - params.page = page; - params.per_page = pageSize; - setparams(objectSpread2_default()({}, params)); - getTeams(); - }, - pageSize: params.per_page, - current: params.page - }) - })] - }), (params === null || params === void 0 ? void 0 : params.isteam) === 'apply' && applyCount === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { - imgUrl: __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977) - }), (params === null || params === void 0 ? void 0 : params.isteam) === "apply" && applyCount > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - dataSource: applyList, - pagination: false, - style: { - marginTop: '-10px' - }, - columns: [{ - title: '申请组队的战队名称', - align: 'left', - ellipsis: true, - render: function render(text, record) { - var _record$competition_t2, _record$target_compet; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [record !== null && record !== void 0 && record.team_log || record !== null && record !== void 0 && record.target_team_log ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - className: Teammodules.img, - src: env/* default */.Z.IMG_SERVER + (record !== null && record !== void 0 && record.me_appling ? record === null || record === void 0 ? void 0 : record.team_log : record === null || record === void 0 ? void 0 : record.target_team_log), - style: { - width: 30, - height: 30, - borderRadius: '20px', - marginRight: "10px" - } - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + })] + }); + } + }, { + title: '角色', + align: 'center', + dataIndex: 'role', + width: 60, + // render: (text: any) => {text || '- -'}, + render: function render(text, item) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - width: 40, - height: 40, - display: "inline-block", - marginRight: "10px", - borderRadius: '20px', - background: '#165dff', - textAlign: 'center', - lineHeight: '38px', - color: '#fff' + color: text === 'leader' ? '#3061D0' : '#01795D' }, - children: record !== null && record !== void 0 && record.me_appling ? record === null || record === void 0 || (_record$competition_t2 = record.competition_team_name) === null || _record$competition_t2 === void 0 ? void 0 : _record$competition_t2[0] : record === null || record === void 0 || (_record$target_compet = record.target_competition_team_name) === null || _record$target_compet === void 0 ? void 0 : _record$target_compet[0] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "topLeft", - title: record !== null && record !== void 0 && record.me_appling ? (record === null || record === void 0 ? void 0 : record.competition_team_name) || '- -' : (record === null || record === void 0 ? void 0 : record.target_competition_team_name) || '- -', - children: record !== null && record !== void 0 && record.me_appling ? (record === null || record === void 0 ? void 0 : record.competition_team_name) || '- -' : (record === null || record === void 0 ? void 0 : record.target_competition_team_name) || '- -' - })] - }); - } - }, { - title: '队长', - align: 'left', - ellipsis: true, - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - placement: "topLeft", - title: record !== null && record !== void 0 && record.me_appling ? (record === null || record === void 0 ? void 0 : record.competition_team_leader_name) || '- -' : (record === null || record === void 0 ? void 0 : record.target_competition_team_leader_name) || '- -', - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: record !== null && record !== void 0 && record.me_appling ? (record === null || record === void 0 ? void 0 : record.competition_team_leader_name) || '- -' : (record === null || record === void 0 ? void 0 : record.target_competition_team_leader_name) || '- -' - }) - }); - } - }, { - title: '申请组队时间', - align: 'left', - dataIndex: 'created_at', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') || '--', - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') || '- -' - }) - }); - } - }, { - title: '申请原因', - align: 'left', - dataIndex: 'reason', - render: function render(text, record) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: text, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '- -' - }) - }); - } - }, { - title: '申请结果', - align: 'right', - dataIndex: 'status', - ellipsis: true, - render: function render(text, record) { - var _user$userInfo2, _my_teams$creator2; - return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { - children: [(record === null || record === void 0 ? void 0 : record.me_appling) && ['1', 'appling'].includes(text) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text === "leader" ? '队长' : '队员' + }); + } + }].concat(toConsumableArray_default()(TableCommonHead), [{ + title: '操作', + align: 'right', + dataIndex: 'role', + render: function render(text, items, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { style: { color: '#3061D0' }, - children: "\u5F85\u5BA1\u6838" - }), (record === null || record === void 0 ? void 0 : record.me_appling) && ['2', 'passed'].includes(text) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#00B187' - }, - children: "\u5BA1\u6838\u901A\u8FC7" - }), (record === null || record === void 0 ? void 0 : record.me_appling) && ['3', 'unpassed'].includes(text) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#E30000' - }, - children: "\u88AB\u9A73\u56DE" - }), (user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login) === (my_teams === null || my_teams === void 0 || (_my_teams$creator2 = my_teams.creator) === null || _my_teams$creator2 === void 0 ? void 0 : _my_teams$creator2.login) && !(record !== null && record !== void 0 && record.me_appling) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#E30000', - marginRight: '10px' + children: [(items === null || items === void 0 ? void 0 : items.is_me) && !!(TableCommonHead !== null && TableCommonHead !== void 0 && TableCommonHead.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + onClick: function onClick(e) { + e.preventDefault(); + editForm.setFieldsValue(objectSpread2_default()(objectSpread2_default()({}, items), {}, { + mail: items === null || items === void 0 ? void 0 : items.member_mail + })); + setWayModal(items); }, + children: "\u7F16\u8F91" + }), text != "leader" && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.manage_permission) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { onClick: function onClick() { - setShowApplyTip(true); - setApplyStatus('unpassed'); - setTargetTeamId(record === null || record === void 0 ? void 0 : record.id); - }, - children: "\u62D2\u7EDD" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#3061D0' + modal/* default */.Z.confirm({ + centered: true, + width: 700, + okText: '确定', + cancelText: '取消', + icon: null, + title: '设置队长', + content: '确定将队员设置成队长吗?', + onOk: function onOk() { + (0,service_competitions/* crudTeamMembers */.uy)({ + identifier: identifier, + teamid: my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, + leader: items === null || items === void 0 ? void 0 : items.id, + member_ids: my_member_id + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) == 0) { + message/* default */.ZP.success('设置成功'); + getTeams(); + } + }); + } + }); }, + children: "\u8BBE\u7F6E\u6210\u961F\u957F" + }), text != "leader" && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.manage_permission) && /*#__PURE__*/(0,jsx_runtime.jsx)("a", { onClick: function onClick() { - setShowApplyTip(true); - setApplyStatus('passed'); - setTargetTeamId(record === null || record === void 0 ? void 0 : record.id); + modal/* default */.Z.confirm({ + centered: true, + width: 700, + okText: '确定', + cancelText: '取消', + icon: null, + title: '删除队员', + content: '确定删除该队员吗?', + onOk: function onOk() { + (0,service_competitions/* crudTeamMembers */.uy)({ + identifier: identifier, + teamid: my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, + member_ids: my_member_id === null || my_member_id === void 0 ? void 0 : my_member_id.filter(function (v) { + return v != (items === null || items === void 0 ? void 0 : items.id); + }) + }).then(function (res) { + if ((res === null || res === void 0 ? void 0 : res.status) == 0) { + message/* default */.ZP.success('删除成功'); + getTeams(); + } + }); + } + }); }, - children: "\u901A\u8FC7" + style: { + marginLeft: 20 + }, + children: "\u5220\u9664" + })] + }); + } + }]) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.repo_style, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.repo_title, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Teammodules.repo_title_text, + children: "Repo" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: Teammodules.repo_title_jieshi, + children: "\u6BCF\u4E00\u4E2A\u961F\u4F0D\u76F8\u5E94\u5730\u5728Openi\u6709\u4E00\u4E2A\u961F\u4F0D\u4ED3\u5E93\uFF0C\u8BF7\u5C3D\u60C5\u5730\u4F7F\u7528\u5427" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.repo_dizhi, + children: my_teams !== null && my_teams !== void 0 && my_teams.is_init ? my_teams === null || my_teams === void 0 ? void 0 : my_teams.html_url : '仓库初始化中...' + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.button_list, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, { + text: my_teams === null || my_teams === void 0 ? void 0 : my_teams.html_url, + onCopy: function onCopy() { + return message/* default */.ZP.success('复制成功'); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.kaobei, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-fuzhi font14" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + marginLeft: 10 + }, + children: "\u62F7\u8D1D\u94FE\u63A5" })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.tiaozhuan, + onClick: function onClick() { + if (my_teams !== null && my_teams !== void 0 && my_teams.is_init) { + (0,util/* openNewWindow */.xg)(my_teams === null || my_teams === void 0 ? void 0 : my_teams.html_url); + } + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-fuzhi font14" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + marginLeft: 10 + }, + children: "\u8DF3\u8F6C\u81F3\u4ED3\u5E93" })] - }); - } - }] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.countWrap, - style: { - marginTop: 20, - textAlign: 'right' - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { - showQuickJumper: true, - hideOnSinglePage: true, - showSizeChanger: true, - pageSizeOptions: ['10', '15', '50', '100', '200'], - total: total, - onChange: function onChange(page, pageSize) { - params.page = page; - params.per_page = pageSize; - setparams(objectSpread2_default()({}, params)); - getTeams(); - }, - pageSize: params.per_page, - current: params.page - }) - })] - }), (params === null || params === void 0 ? void 0 : params.isteam) === "appeal" && /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { - spinning: appealLoading, - children: [appealCount > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - className: "ml20 mr20", - pagination: false, - dataSource: appealData || [], - columns: appealColumnsYes - }) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + })] + })] + })] + }), (params === null || params === void 0 ? void 0 : params.isteam) === 'mine' && !my_teams && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { imgUrl: __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977) - }), appealCount > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { - className: "ml20 mr20 mt20 mb30", - align: "middle", - justify: "space-between", - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { - className: "font14", + }), (params === null || params === void 0 ? void 0 : params.isteam) === 'join' && (competition_teams === null || competition_teams === void 0 ? void 0 : competition_teams.length) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + imgUrl: __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977) + }), (params === null || params === void 0 ? void 0 : params.isteam) === "join" && (competition_teams === null || competition_teams === void 0 ? void 0 : competition_teams.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + dataSource: competition_teams, + pagination: false, style: { - color: "#333" + marginTop: '-10px' + }, + columns: [{ + title: '队伍ID', + align: 'left', + dataIndex: 'id', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: text, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text || '- -' + }) + }); + } + }, { + title: '队伍名称', + align: 'left', + ellipsis: true, + render: function render(text, record) { + var _record$name2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [record !== null && record !== void 0 && record.team_log ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: Teammodules.img, + src: env/* default */.Z.IMG_SERVER + (record === null || record === void 0 ? void 0 : record.team_log), + style: { + width: 40, + height: 40, + borderRadius: '20px', + marginRight: "10px" + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + width: 40, + height: 40, + display: "inline-block", + marginRight: "10px", + borderRadius: '20px', + background: '#165dff', + textAlign: 'center', + lineHeight: '38px', + color: '#fff' + }, + children: record === null || record === void 0 || (_record$name2 = record.name) === null || _record$name2 === void 0 ? void 0 : _record$name2[0] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "topLeft", + title: record === null || record === void 0 ? void 0 : record.name, + children: (record === null || record === void 0 ? void 0 : record.name) || '- -' + })] + }); + } + }, { + title: '队长', + align: 'left', + dataIndex: 'leader_name', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: text, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text || '- -' + }) + }); + } + }, { + title: '成员人数', + align: 'left', + render: function render(text, record) { + var _record$team_members, _record$team_members2; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: record === null || record === void 0 || (_record$team_members = record.team_members) === null || _record$team_members === void 0 ? void 0 : _record$team_members.length, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (record === null || record === void 0 || (_record$team_members2 = record.team_members) === null || _record$team_members2 === void 0 ? void 0 : _record$team_members2.length) || '- -' + }) + }); + } + }, { + title: '成员', + align: 'left', + ellipsis: true, + render: function render(text, record) { + var _record$team_members3, _record$team_members5; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: record === null || record === void 0 || (_record$team_members3 = record.team_members) === null || _record$team_members3 === void 0 ? void 0 : _record$team_members3.map(function (v, k) { + var _record$team_members4; + return (v === null || v === void 0 ? void 0 : v.name) + (k == (record === null || record === void 0 || (_record$team_members4 = record.team_members) === null || _record$team_members4 === void 0 ? void 0 : _record$team_members4.length) - 1 ? '' : '、'); + }), + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: record === null || record === void 0 || (_record$team_members5 = record.team_members) === null || _record$team_members5 === void 0 ? void 0 : _record$team_members5.map(function (v, k) { + var _record$team_members6; + return (v === null || v === void 0 ? void 0 : v.name) + (k == (record === null || record === void 0 || (_record$team_members6 = record.team_members) === null || _record$team_members6 === void 0 ? void 0 : _record$team_members6.length) - 1 ? '' : '、'); + }) + }) + }); + } + }, { + title: '操作', + align: 'right', + dataIndex: 'role', + render: function render(text, items, index) { + var _user$userInfo, _my_teams$creator; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#3061D0' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + onClick: function onClick() { + setshowMember(true); + setmemberList(items === null || items === void 0 ? void 0 : items.team_members); + }, + style: { + marginLeft: 20 + }, + children: "\u67E5\u770B" + }) + }), (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login) === (my_teams === null || my_teams === void 0 || (_my_teams$creator = my_teams.creator) === null || _my_teams$creator === void 0 ? void 0 : _my_teams$creator.login) && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.id) !== (items === null || items === void 0 ? void 0 : items.id) && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: items !== null && items !== void 0 && items.can_appling ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#3061D0' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + onClick: function onClick() { + setShowApplier(true); + setTargetTeamId(items === null || items === void 0 ? void 0 : items.id); + }, + style: { + marginLeft: 20 + }, + children: "\u7533\u8BF7\u7EC4\u961F" + }) + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#C0C0C0' + }, + children: "\u961F\u4F0D\u5DF2\u6EE1\u5458" + }) + })] + }); + } + }] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.countWrap, + style: { + marginTop: 20, + textAlign: 'right' }, - children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: "#165DFF" - }, - children: appealCount || 0 - }), "\u6761\u6570\u636E"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { showQuickJumper: true, - current: appealPage, - pageSize: 20, - onChange: function onChange(page) { - return setAppealPage(page); - }, - onShowSizeChange: function onShowSizeChange(page, limit) { - return setAppealPage(page); + hideOnSinglePage: true, + showSizeChanger: true, + pageSizeOptions: ['10', '15', '50', '100', '200'], + total: total, + onChange: function onChange(page, pageSize) { + params.page = page; + params.per_page = pageSize; + setparams(objectSpread2_default()({}, params)); + getTeams(); }, - total: appealCount || 0 + pageSize: params.per_page, + current: params.page }) })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { - title: false, - footer: false, - visible: showMember, - width: 1000, - className: Teammodules.scoremodal, - closable: false, - centered: true, - onCancel: function onCancel() { - return setshowMember(false); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'center' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.title, - children: "\u6210\u5458" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return setshowMember(false); + }), (params === null || params === void 0 ? void 0 : params.isteam) === 'apply' && applyCount === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + imgUrl: __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977) + }), (params === null || params === void 0 ? void 0 : params.isteam) === "apply" && applyCount > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + dataSource: applyList, + pagination: false, + style: { + marginTop: '-10px' }, + columns: [{ + title: '申请组队的战队名称', + align: 'left', + ellipsis: true, + render: function render(text, record) { + var _record$competition_t2, _record$target_compet; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [record !== null && record !== void 0 && record.team_log || record !== null && record !== void 0 && record.target_team_log ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: Teammodules.img, + src: env/* default */.Z.IMG_SERVER + (record !== null && record !== void 0 && record.me_appling ? record === null || record === void 0 ? void 0 : record.team_log : record === null || record === void 0 ? void 0 : record.target_team_log), + style: { + width: 30, + height: 30, + borderRadius: '20px', + marginRight: "10px" + } + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + width: 40, + height: 40, + display: "inline-block", + marginRight: "10px", + borderRadius: '20px', + background: '#165dff', + textAlign: 'center', + lineHeight: '38px', + color: '#fff' + }, + children: record !== null && record !== void 0 && record.me_appling ? record === null || record === void 0 || (_record$competition_t2 = record.competition_team_name) === null || _record$competition_t2 === void 0 ? void 0 : _record$competition_t2[0] : record === null || record === void 0 || (_record$target_compet = record.target_competition_team_name) === null || _record$target_compet === void 0 ? void 0 : _record$target_compet[0] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "topLeft", + title: record !== null && record !== void 0 && record.me_appling ? (record === null || record === void 0 ? void 0 : record.competition_team_name) || '- -' : (record === null || record === void 0 ? void 0 : record.target_competition_team_name) || '- -', + children: record !== null && record !== void 0 && record.me_appling ? (record === null || record === void 0 ? void 0 : record.competition_team_name) || '- -' : (record === null || record === void 0 ? void 0 : record.target_competition_team_name) || '- -' + })] + }); + } + }, { + title: '队长', + align: 'left', + ellipsis: true, + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + placement: "topLeft", + title: record !== null && record !== void 0 && record.me_appling ? (record === null || record === void 0 ? void 0 : record.competition_team_leader_name) || '- -' : (record === null || record === void 0 ? void 0 : record.target_competition_team_leader_name) || '- -', + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: record !== null && record !== void 0 && record.me_appling ? (record === null || record === void 0 ? void 0 : record.competition_team_leader_name) || '- -' : (record === null || record === void 0 ? void 0 : record.target_competition_team_leader_name) || '- -' + }) + }); + } + }, { + title: '申请组队时间', + align: 'left', + dataIndex: 'created_at', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') || '--', + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') || '- -' + }) + }); + } + }, { + title: '申请原因', + align: 'left', + dataIndex: 'reason', + render: function render(text, record) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: text, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text || '- -' + }) + }); + } + }, { + title: '申请结果', + align: 'right', + dataIndex: 'status', + ellipsis: true, + render: function render(text, record) { + var _user$userInfo2, _my_teams$creator2; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + children: [(record === null || record === void 0 ? void 0 : record.me_appling) && ['1', 'appling'].includes(text) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#3061D0' + }, + children: "\u5F85\u5BA1\u6838" + }), (record === null || record === void 0 ? void 0 : record.me_appling) && ['2', 'passed'].includes(text) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#00B187' + }, + children: "\u5BA1\u6838\u901A\u8FC7" + }), (record === null || record === void 0 ? void 0 : record.me_appling) && ['3', 'unpassed'].includes(text) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#E30000' + }, + children: "\u88AB\u9A73\u56DE" + }), (user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login) === (my_teams === null || my_teams === void 0 || (_my_teams$creator2 = my_teams.creator) === null || _my_teams$creator2 === void 0 ? void 0 : _my_teams$creator2.login) && !(record !== null && record !== void 0 && record.me_appling) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#E30000', + marginRight: '10px' + }, + onClick: function onClick() { + setShowApplyTip(true); + setApplyStatus('unpassed'); + setTargetTeamId(record === null || record === void 0 ? void 0 : record.id); + }, + children: "\u62D2\u7EDD" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#3061D0' + }, + onClick: function onClick() { + setShowApplyTip(true); + setApplyStatus('passed'); + setTargetTeamId(record === null || record === void 0 ? void 0 : record.id); + }, + children: "\u901A\u8FC7" + })] + })] + }); + } + }] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.countWrap, style: { - cursor: 'pointer' + marginTop: 20, + textAlign: 'right' }, - className: Teammodules.close, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-danchuangguanbi" + children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + showQuickJumper: true, + hideOnSinglePage: true, + showSizeChanger: true, + pageSizeOptions: ['10', '15', '50', '100', '200'], + total: total, + onChange: function onChange(page, pageSize) { + params.page = page; + params.per_page = pageSize; + setparams(objectSpread2_default()({}, params)); + getTeams(); + }, + pageSize: params.per_page, + current: params.page }) })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - dataSource: memberList, - pagination: false, - style: { - marginTop: 30 - }, - scroll: { - y: 300 - }, - columns: [{ - title: '成员', - align: 'left', - dataIndex: 'name', - render: function render(text) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: text, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '- -' - }) - }); - } - }, { - title: '成员邮箱', - align: 'left', - dataIndex: 'mail', - ellipsis: true, - render: function render(text, item) { - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: text, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: text || '- -' - }) - }); - } - }].concat(toConsumableArray_default()(TableCommonHead), [{ - title: '战队角色', - align: 'left', - dataIndex: 'role', - render: function render(text, item) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + }), (params === null || params === void 0 ? void 0 : params.isteam) === "appeal" && /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { + spinning: appealLoading, + children: [appealCount > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + className: "ml20 mr20", + pagination: false, + dataSource: appealData || [], + columns: appealColumnsYes + }) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + imgUrl: __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977) + }), appealCount > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + className: "ml20 mr20 mt20 mb30", + align: "middle", + justify: "space-between", + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: "font14", + style: { + color: "#333" + }, + children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { style: { - color: text === 'leader' ? '#3061D0' : '#01795D' + color: "#165DFF" }, - children: text === "leader" ? '队长' : '队员' - }); - } - }]) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { - title: false, - footer: false, - visible: isedit, - width: 610, - className: Teammodules.scoremodal, - closable: false, - destroyOnClose: true, - centered: true, - onCancel: function onCancel() { - return setisedit(false); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'center' - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.title, - children: "\u7F16\u8F91\u6218\u961F" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return setisedit(false); - }, - style: { - cursor: 'pointer' - }, - className: Teammodules.close, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-danchuangguanbi" - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.content, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { - form: form, - layout: "vertical", - initialValues: { - name: my_teams === null || my_teams === void 0 ? void 0 : my_teams.name + children: appealCount || 0 + }), "\u6761\u6570\u636E"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + showQuickJumper: true, + current: appealPage, + pageSize: 20, + onChange: function onChange(page) { + return setAppealPage(page); + }, + onShowSizeChange: function onShowSizeChange(page, limit) { + return setAppealPage(page); + }, + total: appealCount || 0 + }) + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + title: false, + footer: false, + visible: showMember, + width: 1000, + className: Teammodules.scoremodal, + closable: false, + centered: true, + onCancel: function onCancel() { + return setshowMember(false); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center' }, - onFinish: ( /*#__PURE__*/function () { - var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(values) { - var _Croppers$current; - var data; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { - case 0: - setbuttonloading(true); - _context3.next = 3; - return (0,service_competitions/* setTeamInfo */.TR)({ - identifier: identifier, - competition_teams_id: my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, - name: values === null || values === void 0 ? void 0 : values.name, - image: ((_Croppers$current = Croppers.current) === null || _Croppers$current === void 0 || (_Croppers$current = _Croppers$current.getCroppedCanvas()) === null || _Croppers$current === void 0 ? void 0 : _Croppers$current.toDataURL("image/jpeg")) || '' - }); - case 3: - data = _context3.sent; - setbuttonloading(false); - if ((data === null || data === void 0 ? void 0 : data.status) === 0) { - // return - getTeams(); - setisedit(false); - } - case 6: - case "end": - return _context3.stop(); - } - }, _callee3); - })); - return function (_x) { - return _ref4.apply(this, arguments); - }; - }()), - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u6218\u961F\u540D\u79F0", - name: "name", - className: Teammodules.jsinput, - rules: [{ - required: true, - validator: function validator(_, value) { - var _value$replaceAll; - return (value === null || value === void 0 || (_value$replaceAll = value.replaceAll(' ', '')) === null || _value$replaceAll === void 0 ? void 0 : _value$replaceAll.length) > 0 ? Promise.resolve() : Promise.reject('请填写竞赛名称'); - } - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 60, - className: Teammodules.baseFormItem, - style: { - fontSize: 14, - marginTop: 10 - } + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.title, + children: "\u6210\u5458" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return setshowMember(false); + }, + style: { + cursor: 'pointer' + }, + className: Teammodules.close, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-danchuangguanbi" }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + dataSource: memberList, + pagination: false, style: { - marginTop: '15px', - marginLeft: '8px', - width: "544px" + marginTop: 30 }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: "LOGO\uFF1A" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("label", { - id: "uploadBtn", + scroll: { + y: 300 + }, + columns: [{ + title: '成员', + align: 'left', + dataIndex: 'name', + render: function render(text) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: text, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text || '- -' + }) + }); + } + }, { + title: '成员邮箱', + align: 'left', + dataIndex: 'mail', + ellipsis: true, + render: function render(text, item) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: text, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: text || '- -' + }) + }); + } + }].concat(toConsumableArray_default()(TableCommonHead), [{ + title: '战队角色', + align: 'left', + dataIndex: 'role', + render: function render(text, item) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: text === 'leader' ? '#3061D0' : '#01795D' + }, + children: text === "leader" ? '队长' : '队员' + }); + } + }]) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + title: false, + footer: false, + visible: isedit, + width: 610, + className: Teammodules.scoremodal, + closable: false, + destroyOnClose: true, + centered: true, + onCancel: function onCancel() { + return setisedit(false); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.title, + children: "\u7F16\u8F91\u6218\u961F" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return setisedit(false); + }, + style: { + cursor: 'pointer' + }, + className: Teammodules.close, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-danchuangguanbi" + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: form, + layout: "vertical", + initialValues: { + name: my_teams === null || my_teams === void 0 ? void 0 : my_teams.name + }, + onFinish: ( /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(values) { + var _Croppers$current; + var data; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + setbuttonloading(true); + _context3.next = 3; + return (0,service_competitions/* setTeamInfo */.TR)({ + identifier: identifier, + competition_teams_id: my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, + name: values === null || values === void 0 ? void 0 : values.name, + image: ((_Croppers$current = Croppers.current) === null || _Croppers$current === void 0 || (_Croppers$current = _Croppers$current.getCroppedCanvas()) === null || _Croppers$current === void 0 ? void 0 : _Croppers$current.toDataURL("image/jpeg")) || '' + }); + case 3: + data = _context3.sent; + setbuttonloading(false); + if ((data === null || data === void 0 ? void 0 : data.status) === 0) { + // return + getTeams(); + setisedit(false); + } + case 6: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + return function (_x) { + return _ref4.apply(this, arguments); + }; + }()), + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u6218\u961F\u540D\u79F0", + name: "name", + className: Teammodules.jsinput, + rules: [{ + required: true, + validator: function validator(_, value) { + var _value$replaceAll; + return (value === null || value === void 0 || (_value$replaceAll = value.replaceAll(' ', '')) === null || _value$replaceAll === void 0 ? void 0 : _value$replaceAll.length) > 0 ? Promise.resolve() : Promise.reject('请填写竞赛名称'); + } + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 60, + className: Teammodules.baseFormItem, + style: { + fontSize: 14, + marginTop: 10 + } + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { style: { - color: '#4DACFF', - cursor: "pointer" + marginTop: '15px', + marginLeft: '8px', + width: "544px" }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("input", { - type: "file", - className: "sr-only", - id: "inputImage", - name: "file", - accept: "image/*", - onChange: handleFileChange, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: "LOGO\uFF1A" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("label", { + id: "uploadBtn", style: { - display: "none" - } - }), "\u4E0A\u4F20LOGO"] - }), "\xA0", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + color: '#4DACFF', + cursor: "pointer" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("input", { + type: "file", + className: "sr-only", + id: "inputImage", + name: "file", + accept: "image/*", + onChange: handleFileChange, + style: { + display: "none" + } + }), "\u4E0A\u4F20LOGO"] + }), "\xA0", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + marginLeft: 10, + color: '#FA6400' + }, + children: "\uFF08\u652F\u6301jpg\u3001gif\u3001png\u683C\u5F0F\u7684\u56FE\u7247\uFF0C\u5EFA\u8BAE\u6587\u4EF6\u5C0F\u4E8E2M\uFF09" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - marginLeft: 10, - color: '#FA6400' + marginTop: '15px', + marginLeft: '8px', + display: 'flex' }, - children: "\uFF08\u652F\u6301jpg\u3001gif\u3001png\u683C\u5F0F\u7684\u56FE\u7247\uFF0C\u5EFA\u8BAE\u6587\u4EF6\u5C0F\u4E8E2M\uFF09" + children: [imageurl ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + className: Teammodules.Spanradius, + src: imageurl + }) : Team !== null && Team !== void 0 && Team.team_log ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: env/* default */.Z.IMG_SERVER + '/' + (Team === null || Team === void 0 ? void 0 : Team.team_log), + className: Teammodules.Spanradius + }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.Spanradius, + children: (Team === null || Team === void 0 || (_Team$name = Team.name) === null || _Team$name === void 0 ? void 0 : _Team$name.length) > 2 ? Team === null || Team === void 0 || (_Team$name2 = Team.name) === null || _Team$name2 === void 0 ? void 0 : _Team$name2.substring(0, 2) : Team === null || Team === void 0 ? void 0 : Team.name + }), /*#__PURE__*/(0,jsx_runtime.jsx)(react_cropper/* default */.Z, { + style: { + width: '320px', + height: '320px', + marginLeft: "30px", + background: '#EEEEEE' + }, + src: updateimgRef.current || env/* default */.Z.IMG_SERVER + '/' + (Team === null || Team === void 0 ? void 0 : Team.team_log), + guides: false, + ref: Croppers, + crop: _crop + })] })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Teammodules.bottom, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + className: Teammodules.no, + onClick: function onClick() { + setisedit(false); + }, + children: "\u53D6\u6D88" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + loading: buttonloading, + className: Teammodules.yes, + onClick: function onClick() { + form.submit(); + }, + children: "\u786E\u8BA4" + })] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + title: false, + footer: false, + visible: showError, + width: 1000, + className: Teammodules.scoremodal, + closable: false, + centered: true, + onCancel: function onCancel() { + return setshowError(false); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { - marginTop: '15px', - marginLeft: '8px', - display: 'flex' + display: 'flex', + alignItems: 'center' }, - children: [imageurl ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - className: Teammodules.Spanradius, - src: imageurl - }) : Team !== null && Team !== void 0 && Team.team_log ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", { - src: env/* default */.Z.IMG_SERVER + '/' + (Team === null || Team === void 0 ? void 0 : Team.team_log), - className: Teammodules.Spanradius - }) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.Spanradius, - children: (Team === null || Team === void 0 || (_Team$name = Team.name) === null || _Team$name === void 0 ? void 0 : _Team$name.length) > 2 ? Team === null || Team === void 0 || (_Team$name2 = Team.name) === null || _Team$name2 === void 0 ? void 0 : _Team$name2.substring(0, 2) : Team === null || Team === void 0 ? void 0 : Team.name - }), /*#__PURE__*/(0,jsx_runtime.jsx)(react_cropper/* default */.Z, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.title, + children: "\u4EE5\u4E0B\u6570\u636E\u5BFC\u5165\u5931\u8D25" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + onClick: function onClick() { + return setshowError(false); + }, style: { - width: '320px', - height: '320px', - marginLeft: "30px", - background: '#EEEEEE' + cursor: 'pointer' }, - src: updateimgRef.current || env/* default */.Z.IMG_SERVER + '/' + (Team === null || Team === void 0 ? void 0 : Team.team_log), - guides: false, - ref: Croppers, - crop: _crop + className: Teammodules.close, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-danchuangguanbi" + }) })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Teammodules.bottom, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { - className: Teammodules.no, - onClick: function onClick() { - setisedit(false); + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + dataSource: memberList, + pagination: false, + style: { + marginTop: 30 }, - children: "\u53D6\u6D88" - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { - loading: buttonloading, - className: Teammodules.yes, - onClick: function onClick() { - form.submit(); + scroll: { + y: 300 }, - children: "\u786E\u8BA4" + columns: [{ + title: '成员', + align: 'left', + render: function render(text, record) { + var _record$data, _record$data2; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: record === null || record === void 0 || (_record$data = record.data) === null || _record$data === void 0 ? void 0 : _record$data.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (record === null || record === void 0 || (_record$data2 = record.data) === null || _record$data2 === void 0 ? void 0 : _record$data2.name) || '- -' + }) + }); + } + }, { + title: '战队', + align: 'left', + render: function render(text, record) { + var _record$data3, _record$data4; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: record === null || record === void 0 || (_record$data3 = record.data) === null || _record$data3 === void 0 ? void 0 : _record$data3.team_name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (record === null || record === void 0 || (_record$data4 = record.data) === null || _record$data4 === void 0 ? void 0 : _record$data4.team_name) || '- -' + }) + }); + } + }, { + title: '成员邮箱', + align: 'left', + render: function render(text, record) { + var _record$data5, _record$data6; + return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: record === null || record === void 0 || (_record$data5 = record.data) === null || _record$data5 === void 0 ? void 0 : _record$data5.mail, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: (record === null || record === void 0 || (_record$data6 = record.data) === null || _record$data6 === void 0 ? void 0 : _record$data6.mail) || '- -' + }) + }); + } + }, { + title: '战队角色', + align: 'left', + render: function render(text, record) { + var _record$data7, _record$data8; + return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: (record === null || record === void 0 || (_record$data7 = record.data) === null || _record$data7 === void 0 ? void 0 : _record$data7.role) === 'leader' ? '#3061D0' : '#01795D' + }, + children: (record === null || record === void 0 || (_record$data8 = record.data) === null || _record$data8 === void 0 ? void 0 : _record$data8.role) === "leader" ? '队长' : '队员' + }); + } + }] })] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { - title: false, - footer: false, - visible: showError, - width: 1000, - className: Teammodules.scoremodal, - closable: false, - centered: true, - onCancel: function onCancel() { - return setshowError(false); - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - style: { - display: 'flex', - alignItems: 'center' + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + className: Teammodules.addStudentWrapContainer, + centered: true, + title: "\u6DFB\u52A0\u6218\u961F", + visible: opendaoru, + okText: "\u786E\u5B9A", + cancelText: "\u53D6\u6D88", + zIndex: 1000, + bodyStyle: { + minHeight: 200 }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.title, - children: "\u4EE5\u4E0B\u6570\u636E\u5BFC\u5165\u5931\u8D25" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - onClick: function onClick() { - return setshowError(false); - }, - style: { - cursor: 'pointer' - }, - className: Teammodules.close, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-danchuangguanbi" - }) - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { - dataSource: memberList, - pagination: false, - style: { - marginTop: 30 + afterClose: function afterClose() { + setFileList([]); }, - scroll: { - y: 300 + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var _res$errors; + var formData, res; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + if (!((fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 0)) { + _context4.next = 3; + break; + } + message/* default */.ZP.info('请上传文件'); + return _context4.abrupt("return"); + case 3: + formData = new FormData(); + formData.append('file', fileList[0]); + _context4.next = 7; + return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/competition_teams/file_import.json"), { + method: 'post', + body: formData + }, true); + case 7: + res = _context4.sent; + if ((res === null || res === void 0 || (_res$errors = res.errors) === null || _res$errors === void 0 ? void 0 : _res$errors.length) == 0) { + message/* default */.ZP.success('导入成功'); + setopendaoru(false); + getTeams(); + } else { + setopendaoru(false); + setshowError(true); + setmemberList(res === null || res === void 0 ? void 0 : res.errors); + } + case 9: + case "end": + return _context4.stop(); + } + }, _callee4); + })), + onCancel: function onCancel() { + setopendaoru(false); }, - columns: [{ - title: '成员', - align: 'left', - render: function render(text, record) { - var _record$data, _record$data2; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: record === null || record === void 0 || (_record$data = record.data) === null || _record$data === void 0 ? void 0 : _record$data.name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: (record === null || record === void 0 || (_record$data2 = record.data) === null || _record$data2 === void 0 ? void 0 : _record$data2.name) || '- -' - }) - }); - } - }, { - title: '战队', - align: 'left', - render: function render(text, record) { - var _record$data3, _record$data4; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: record === null || record === void 0 || (_record$data3 = record.data) === null || _record$data3 === void 0 ? void 0 : _record$data3.team_name, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: (record === null || record === void 0 || (_record$data4 = record.data) === null || _record$data4 === void 0 ? void 0 : _record$data4.team_name) || '- -' - }) - }); - } - }, { - title: '成员邮箱', - align: 'left', - render: function render(text, record) { - var _record$data5, _record$data6; - return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { - title: record === null || record === void 0 || (_record$data5 = record.data) === null || _record$data5 === void 0 ? void 0 : _record$data5.mail, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - children: (record === null || record === void 0 || (_record$data6 = record.data) === null || _record$data6 === void 0 ? void 0 : _record$data6.mail) || '- -' - }) - }); - } - }, { - title: '战队角色', - align: 'left', - render: function render(text, record) { - var _record$data7, _record$data8; - return /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Teammodules.listItem, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mt20", + style: { + marginLeft: 86 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "mb20", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "mr40", + children: "\u6B65\u9AA41\uFF1A" + }), "\u4E0B\u8F7D", /*#__PURE__*/(0,jsx_runtime.jsx)("a", { + className: "ml5 c-light-primary mr5", + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { + return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + (0,util/* downLoadFile */.FH)('', (0,util/* setUrlQuery */.NY)({ + url: env/* default */.Z.API_SERVER + "/api/competitions/".concat(identifier, "/competition_teams/download_template.json"), + query: {} + })); + case 1: + case "end": + return _context5.stop(); + } + }, _callee5); + })), + children: "\u6218\u961F\u5BFC\u5165\u6A21\u7248" + }), "\u6279\u91CF\u5BFC\u5165\u6218\u961F"] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: "mr40", + children: "\u6B65\u9AA42\uFF1A" + }), "\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u6218\u961F\u5BFC\u5165\u6A21\u7248\u300B\u3002"] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { style: { - color: (record === null || record === void 0 || (_record$data7 = record.data) === null || _record$data7 === void 0 ? void 0 : _record$data7.role) === 'leader' ? '#3061D0' : '#01795D' + margin: '4px 0px 20px 94px' }, - children: (record === null || record === void 0 || (_record$data8 = record.data) === null || _record$data8 === void 0 ? void 0 : _record$data8.role) === "leader" ? '队长' : '队员' - }); - } - }] - })] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - className: Teammodules.addStudentWrapContainer, - centered: true, - title: "\u6DFB\u52A0\u6218\u961F", - visible: opendaoru, - okText: "\u786E\u5B9A", - cancelText: "\u53D6\u6D88", - zIndex: 1000, - bodyStyle: { - minHeight: 200 - }, - afterClose: function afterClose() { - setFileList([]); - }, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { - var _res$errors; - var formData, res; - return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { - while (1) switch (_context4.prev = _context4.next) { - case 0: - if (!((fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 0)) { - _context4.next = 3; - break; - } - message/* default */.ZP.info('请上传文件'); - return _context4.abrupt("return"); - case 3: - formData = new FormData(); - formData.append('file', fileList[0]); - _context4.next = 7; - return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/competition_teams/file_import.json"), { - method: 'post', - body: formData - }, true); - case 7: - res = _context4.sent; - if ((res === null || res === void 0 || (_res$errors = res.errors) === null || _res$errors === void 0 ? void 0 : _res$errors.length) == 0) { - message/* default */.ZP.success('导入成功'); - setopendaoru(false); - getTeams(); - } else { - setopendaoru(false); - setshowError(true); - setmemberList(res === null || res === void 0 ? void 0 : res.errors); - } - case 9: - case "end": - return _context4.stop(); - } - }, _callee4); - })), - onCancel: function onCancel() { - setopendaoru(false); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Teammodules.listItem, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mt20", - style: { - marginLeft: 86 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: "mb20", - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "mr40", - children: "\u6B65\u9AA41\uFF1A" - }), "\u4E0B\u8F7D", /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - className: "ml5 c-light-primary mr5", - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { - return regeneratorRuntime_default()().wrap(function _callee5$(_context5) { - while (1) switch (_context5.prev = _context5.next) { - case 0: - (0,util/* downLoadFile */.FH)('', (0,util/* setUrlQuery */.NY)({ - url: env/* default */.Z.API_SERVER + "/api/competitions/".concat(identifier, "/competition_teams/download_template.json"), - query: {} - })); - case 1: - case "end": - return _context5.stop(); - } - }, _callee5); - })), - children: "\u6218\u961F\u5BFC\u5165\u6A21\u7248" - }), "\u6279\u91CF\u5BFC\u5165\u6218\u961F"] - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { - className: "mr40", - children: "\u6B65\u9AA42\uFF1A" - }), "\u4E0A\u4F20\u586B\u5199\u597D\u7684\u300A\u6218\u961F\u5BFC\u5165\u6A21\u7248\u300B\u3002"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, Draggers), {}, { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { + type: "primary", + className: "mt10", + icon: /*#__PURE__*/(0,jsx_runtime.jsx)(PlusOutlined/* default */.Z, {}), + children: "\u9009\u62E9\u6587\u4EF6" + }) + })) + })] + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + title: "编辑", + onCancel: function onCancel() { + return setWayModal(false); + }, + width: 600, + centered: true, + confirmLoading: btnLoading, + onOk: function onOk() { + return editForm.submit(); + }, + afterClose: function afterClose() { + return editForm.resetFields(); + }, + open: wayModal, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { + form: editForm, + size: "large", + colon: false, + layout: "horizontal", + onFinish: ( /*#__PURE__*/function () { + var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(valueAll) { + var mode, body, res; + return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { + while (1) switch (_context6.prev = _context6.next) { + case 0: + mode = valueAll.mode, body = objectWithoutProperties_default()(valueAll, _excluded2); + setBtnLoading(true); + _context6.next = 4; + return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/competition_teams/").concat(my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, "/edit_member_base_info.json"), { + method: 'POST', + body: objectSpread2_default()(objectSpread2_default()({}, valueAll), {}, { + member_id: wayModal === null || wayModal === void 0 ? void 0 : wayModal.user_id + }) + }); + case 4: + res = _context6.sent; + if ((res === null || res === void 0 ? void 0 : res.status) == 0) { + message/* default */.ZP.success("操作成功"); + getTeams(); + setWayModal(false); + } + setBtnLoading(false); + case 7: + case "end": + return _context6.stop(); + } + }, _callee6); + })); + return function (_x2) { + return _ref7.apply(this, arguments); + }; + }()), + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mb10 font14", style: { - margin: '4px 0px 20px 94px' + fontWeight: 500 }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, Draggers), {}, { - children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { - type: "primary", - className: "mt10", - icon: /*#__PURE__*/(0,jsx_runtime.jsx)(PlusOutlined/* default */.Z, {}), - children: "\u9009\u62E9\u6587\u4EF6" - }) - })) + children: "\u5FC5\u586B\u4FE1\u606F" + }), (competitions === null || competitions === void 0 || (_competitions$competi8 = competitions.competition) === null || _competitions$competi8 === void 0 ? void 0 : _competitions$competi8.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u4E2A\u4EBA\u540D\u79F0", + name: "user_name", + rules: [{ + required: true, + message: "请输入个人名称" + }, { + type: "string", + max: 60, + message: "输入超限,请缩减字符数" + }, { + type: "string", + whitespace: true, + message: "内容不能全为空格" + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 60, + showCount: true, + placeholder: "\u8BF7\u8F93\u5165\u4E2A\u4EBA\u540D\u79F0" + }) + }), (competitions === null || competitions === void 0 || (_competitions$competi9 = competitions.competition) === null || _competitions$competi9 === void 0 ? void 0 : _competitions$competi9.required_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u8EAB\u4EFD\u8BC1\u53F7", + name: "id_card", + rules: [{ + required: true, + message: "请输入身份证号" + }, { + type: "string", + max: 60, + message: "输入超限,请缩减字符数" + }, { + type: "string", + whitespace: true, + message: "内容不能全为空格" + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 60, + showCount: true, + placeholder: "\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7" + }) + }), (competitions === null || competitions === void 0 || (_competitions$competi10 = competitions.competition) === null || _competitions$competi10 === void 0 ? void 0 : _competitions$competi10.required_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u5B66\u6821\u540D\u79F0", + name: "school_name", + rules: [{ + required: true, + message: "请输入学校名称" + }, { + type: "string", + max: 60, + message: "输入超限,请缩减字符数" + }, { + type: "string", + whitespace: true, + message: "内容不能全为空格" + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 60, + showCount: true, + placeholder: "\u8BF7\u8F93\u5165\u5B66\u6821\u540D\u79F0" + }) + }), (competitions === null || competitions === void 0 || (_competitions$competi11 = competitions.competition) === null || _competitions$competi11 === void 0 ? void 0 : _competitions$competi11.required_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u624B\u673A\u53F7\u7801", + name: "phone", + rules: [{ + required: true, + message: "请输入手机号码" + }, { + type: "string", + max: 60, + message: "输入超限,请缩减字符数" + }, { + type: "string", + whitespace: true, + message: "内容不能全为空格" + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 60, + showCount: true, + placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801" + }) + }), (competitions === null || competitions === void 0 || (_competitions$competi12 = competitions.competition) === null || _competitions$competi12 === void 0 ? void 0 : _competitions$competi12.required_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + label: "\u90AE\u7BB1\u8D26\u53F7", + name: "mail", + rules: [{ + required: true, + message: "请输入邮箱账号" + }, { + type: "string", + max: 60, + message: "输入超限,请缩减字符数" + }, { + type: "string", + whitespace: true, + message: "内容不能全为空格" + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + maxLength: 60, + showCount: true, + placeholder: "\u8BF7\u8F93\u5165\u90AE\u7BB1\u8D26\u53F7" + }) })] }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - title: "编辑", - onCancel: function onCancel() { - return setWayModal(false); - }, - width: 600, - centered: true, - confirmLoading: btnLoading, - onOk: function onOk() { - return editForm.submit(); - }, - afterClose: function afterClose() { - return editForm.resetFields(); - }, - open: wayModal, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - form: editForm, - size: "large", - colon: false, - layout: "horizontal", - onFinish: ( /*#__PURE__*/function () { - var _ref7 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6(valueAll) { - var mode, body, res; - return regeneratorRuntime_default()().wrap(function _callee6$(_context6) { - while (1) switch (_context6.prev = _context6.next) { - case 0: - mode = valueAll.mode, body = objectWithoutProperties_default()(valueAll, _excluded2); - setBtnLoading(true); - _context6.next = 4; - return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/competition_teams/").concat(my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, "/edit_member_base_info.json"), { - method: 'POST', - body: objectSpread2_default()(objectSpread2_default()({}, valueAll), {}, { - member_id: wayModal === null || wayModal === void 0 ? void 0 : wayModal.user_id - }) - }); - case 4: - res = _context6.sent; - if ((res === null || res === void 0 ? void 0 : res.status) == 0) { - message/* default */.ZP.success("操作成功"); - getTeams(); - setWayModal(false); + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + className: Teammodules.addStudentWrapContainer, + centered: true, + title: "\u7533\u8BF7\u7EC4\u961F", + open: showApplier, + width: 500, + okText: "\u786E\u5B9A", + cancelText: "\u53D6\u6D88", + zIndex: 1000, + afterClose: function afterClose() { + setApplyReason(''); + }, + confirmLoading: applyOkLoading, + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() { + var res; + return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { + while (1) switch (_context7.prev = _context7.next) { + case 0: + if (applyReason) { + _context7.next = 3; + break; + } + message/* default */.ZP.info("请填写申请原因"); + return _context7.abrupt("return"); + case 3: + setApplyOkLoading(true); + _context7.next = 6; + return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/competition_teams/").concat(my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, "/apply_merger.json"), { + method: 'post', + body: { + target_competition_team_id: targetTeamId, + reason: applyReason } - setBtnLoading(false); - case 7: - case "end": - return _context6.stop(); - } - }, _callee6); - })); - return function (_x2) { - return _ref7.apply(this, arguments); - }; - }()), - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mb10 font14", - style: { - fontWeight: 500 - }, - children: "\u5FC5\u586B\u4FE1\u606F" - }), (competitions === null || competitions === void 0 || (_competitions$competi7 = competitions.competition) === null || _competitions$competi7 === void 0 ? void 0 : _competitions$competi7.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u4E2A\u4EBA\u540D\u79F0", - name: "user_name", - rules: [{ - required: true, - message: "请输入个人名称" - }, { - type: "string", - max: 60, - message: "输入超限,请缩减字符数" - }, { - type: "string", - whitespace: true, - message: "内容不能全为空格" - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 60, - showCount: true, - placeholder: "\u8BF7\u8F93\u5165\u4E2A\u4EBA\u540D\u79F0" - }) - }), (competitions === null || competitions === void 0 || (_competitions$competi8 = competitions.competition) === null || _competitions$competi8 === void 0 ? void 0 : _competitions$competi8.required_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u8EAB\u4EFD\u8BC1\u53F7", - name: "id_card", - rules: [{ - required: true, - message: "请输入身份证号" - }, { - type: "string", - max: 60, - message: "输入超限,请缩减字符数" - }, { - type: "string", - whitespace: true, - message: "内容不能全为空格" - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 60, - showCount: true, - placeholder: "\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7" - }) - }), (competitions === null || competitions === void 0 || (_competitions$competi9 = competitions.competition) === null || _competitions$competi9 === void 0 ? void 0 : _competitions$competi9.required_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u5B66\u6821\u540D\u79F0", - name: "school_name", - rules: [{ - required: true, - message: "请输入学校名称" - }, { - type: "string", - max: 60, - message: "输入超限,请缩减字符数" - }, { - type: "string", - whitespace: true, - message: "内容不能全为空格" - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 60, - showCount: true, - placeholder: "\u8BF7\u8F93\u5165\u5B66\u6821\u540D\u79F0" - }) - }), (competitions === null || competitions === void 0 || (_competitions$competi10 = competitions.competition) === null || _competitions$competi10 === void 0 ? void 0 : _competitions$competi10.required_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u624B\u673A\u53F7\u7801", - name: "phone", - rules: [{ - required: true, - message: "请输入手机号码" - }, { - type: "string", - max: 60, - message: "输入超限,请缩减字符数" - }, { - type: "string", - whitespace: true, - message: "内容不能全为空格" - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 60, - showCount: true, - placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801" - }) - }), (competitions === null || competitions === void 0 || (_competitions$competi11 = competitions.competition) === null || _competitions$competi11 === void 0 ? void 0 : _competitions$competi11.required_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u90AE\u7BB1\u8D26\u53F7", - name: "mail", - rules: [{ - required: true, - message: "请输入邮箱账号" - }, { - type: "string", - max: 60, - message: "输入超限,请缩减字符数" - }, { - type: "string", - whitespace: true, - message: "内容不能全为空格" - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - maxLength: 60, - showCount: true, - placeholder: "\u8BF7\u8F93\u5165\u90AE\u7BB1\u8D26\u53F7" - }) - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - className: Teammodules.addStudentWrapContainer, - centered: true, - title: "\u7533\u8BF7\u7EC4\u961F", - open: showApplier, - width: 500, - okText: "\u786E\u5B9A", - cancelText: "\u53D6\u6D88", - zIndex: 1000, - afterClose: function afterClose() { - setApplyReason(''); - }, - confirmLoading: applyOkLoading, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() { - var res; - return regeneratorRuntime_default()().wrap(function _callee7$(_context7) { - while (1) switch (_context7.prev = _context7.next) { - case 0: - if (applyReason) { - _context7.next = 3; - break; + }); + case 6: + res = _context7.sent; + setApplyOkLoading(false); + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + setShowApplier(false); + setApplyReason(''); + message/* default */.ZP.success('已提交组队合并申请'); + } + case 9: + case "end": + return _context7.stop(); + } + }, _callee7); + })), + onCancel: function onCancel() { + setApplyReason(''); + setShowApplier(false); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "\u82E5\u5BF9\u65B9\u6218\u961F\u961F\u957F\u540C\u610F\u60A8\u7684\u7EC4\u961F\u7533\u8BF7\uFF0C\u60A8\u548C\u60A8\u7684\u6218\u961F\u6210\u5458\u5C06\u52A0\u5165\u5BF9\u65B9\u6218\u961F\u3002\u5F53\u524D\u5DF2\u63D0\u4EA4\u7684\u4F5C\u54C1\u548C\u6B21\u6570\u5C06\u4F1A\u4FDD\u7559\u3002\u8BF7\u4ED4\u7EC6\u8003\u8651\u662F\u5426\u7EC4\u961F\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "mt10", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.TextArea, { + maxLength: 200, + placeholder: "\u5FC5\u586B\uFF0C\u8BF7\u586B\u5199\u7533\u8BF7\u539F\u56E0", + style: { + height: 100, + resize: 'none' + }, + onChange: function onChange(e) { + setApplyReason(e.target.value); } - message/* default */.ZP.info("请填写申请原因"); - return _context7.abrupt("return"); - case 3: - setApplyOkLoading(true); - _context7.next = 6; - return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/competition_teams/").concat(my_teams === null || my_teams === void 0 ? void 0 : my_teams.id, "/apply_merger.json"), { - method: 'post', - body: { - target_competition_team_id: targetTeamId, - reason: applyReason + }) + })] + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + className: Teammodules.addStudentWrapContainer, + centered: true, + title: applyStatus === 'passed' ? '通过申请' : '拒绝申请', + open: showApplyTip, + width: 500, + okText: "\u786E\u5B9A", + cancelText: "\u53D6\u6D88", + zIndex: 1000, + afterClose: function afterClose() { + setApplyStatus(''); + }, + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { + var res; + return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { + while (1) switch (_context8.prev = _context8.next) { + case 0: + _context8.next = 2; + return (0,service_competitions/* updateApplyStatus */.ri)({ + identifier: identifier, + merger_record_id: targetTeamId, + status: applyStatus + }); + case 2: + res = _context8.sent; + if ((res === null || res === void 0 ? void 0 : res.appling_status) === 'passed') { + message/* default */.ZP.success('通过战队申请成功'); } - }); - case 6: - res = _context7.sent; - setApplyOkLoading(false); - if ((res === null || res === void 0 ? void 0 : res.status) === 0) { - setShowApplier(false); - setApplyReason(''); - message/* default */.ZP.success('已提交组队合并申请'); - } - case 9: - case "end": - return _context7.stop(); - } - }, _callee7); - })), - onCancel: function onCancel() { - setApplyReason(''); - setShowApplier(false); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: "\u82E5\u5BF9\u65B9\u6218\u961F\u961F\u957F\u540C\u610F\u60A8\u7684\u7EC4\u961F\u7533\u8BF7\uFF0C\u60A8\u548C\u60A8\u7684\u6218\u961F\u6210\u5458\u5C06\u52A0\u5165\u5BF9\u65B9\u6218\u961F\u3002\u5F53\u524D\u5DF2\u63D0\u4EA4\u7684\u4F5C\u54C1\u548C\u6B21\u6570\u5C06\u4F1A\u4FDD\u7559\u3002\u8BF7\u4ED4\u7EC6\u8003\u8651\u662F\u5426\u7EC4\u961F\u3002" - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: "mt10", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.TextArea, { - maxLength: 200, - placeholder: "\u5FC5\u586B\uFF0C\u8BF7\u586B\u5199\u7533\u8BF7\u539F\u56E0", - style: { - height: 100, - resize: 'none' - }, - onChange: function onChange(e) { - setApplyReason(e.target.value); + if ((res === null || res === void 0 ? void 0 : res.appling_status) === 'unpassed') { + message/* default */.ZP.success('拒绝战队申请成功'); + } + setShowApplyTip(false); + case 6: + case "end": + return _context8.stop(); } - }) - })] - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - className: Teammodules.addStudentWrapContainer, - centered: true, - title: applyStatus === 'passed' ? '通过申请' : '拒绝申请', - open: showApplyTip, - width: 500, - okText: "\u786E\u5B9A", - cancelText: "\u53D6\u6D88", - zIndex: 1000, - afterClose: function afterClose() { - setApplyStatus(''); - }, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() { - var res; - return regeneratorRuntime_default()().wrap(function _callee8$(_context8) { - while (1) switch (_context8.prev = _context8.next) { - case 0: - _context8.next = 2; - return (0,service_competitions/* updateApplyStatus */.ri)({ - identifier: identifier, - merger_record_id: targetTeamId, - status: applyStatus - }); - case 2: - res = _context8.sent; - if ((res === null || res === void 0 ? void 0 : res.appling_status) === 'passed') { - message/* default */.ZP.success('通过战队申请成功'); - } - if ((res === null || res === void 0 ? void 0 : res.appling_status) === 'unpassed') { - message/* default */.ZP.success('拒绝战队申请成功'); - } - setShowApplyTip(false); - case 6: - case "end": - return _context8.stop(); - } - }, _callee8); - })), - onCancel: function onCancel() { - setShowApplyTip(false); - }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {}) + }, _callee8); + })), + onCancel: function onCancel() { + setShowApplyTip(false); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: ["\u8BF7\u786E\u8BA4\u662F\u5426", applyStatus === 'passed' ? '通过' : '拒绝', "\u8BE5\u6218\u961F\u7684\u7EC4\u961F\u7533\u8BF7\uFF1F"] + }) + })] })] - }) - // - ; + }); }; /* harmony default export */ var StudentTeam = ((0,_umi_production_exports.connect)(function (_ref10) { var competitions = _ref10.competitions, @@ -8199,9 +8331,11 @@ var picturePage = function picturePage(_ref) { var question_setting_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAA0JJREFUSEullk2ITlEYx3/PufdlxAYrTKyUhcgkG2LQzMbGhkJMyUca32mMyVdoMrOgoSkTZXxEmY2NDU1RWChEdlaEsfBZihozj+597533vOeee+ctb93e+3HO83/O//k/HwKgF6hH6CagEWEGAWByruibQO6agJ+E9MgqTkS23Z/EYH95RcC0DMh4xiOnbOfS+8ghw15p4mIWsJtbBGyIvU5PlW60DbiGfeuj/enpA4YpsUpW8tgGFT3LJ0xCYxFVrjMu5f4wfGYSDbKcoRRUtBP1xsQ1UE3vo2TPiqow+EPwlOk0ymKGI1DR02gchwoVlXv7xPZ9idWxx4bBjLO2rYrNXmlmdxnwFDrmZR6l1fF7IttYFqv7Go8JWFqTokNapInroicsQFd1dtxSZ0KaZTsPYsAbNDHK/QytvvgKvymxVPRYAphS4YqjAvQdYVBaWWerTvsZwLAaw9QYOFWvTwOGQdGOJIa2V2Xw55ToQXjLRN7Kbr76Ejl9p9eYTsDc+DLsBxqqtFG2PyLa7gEsUxvFdqe0c7kIyP2mN9mOoQ+D+NQv2uZQWq1YJWSPtNFbC6j204rhYgzli7+JVHqoBtEYDsoRzhdSeoUDwLmCGhtXMtEDOZRmy9wcaee9D1T7mI3ybixmrh4sQYrucxLfXVxW3h/mMUXWM+IFvEPAF35hqMvUYydFRPcUxDBdHPJSjtNQSGkvL4BFXkotXYi2OjH0JX/IDTnJljjZu1jCCJ2EQEiHHORZ0lOvY9icW3USu6K7LMDqflbudVEihxymxD1GOYNhrVN772I4SsAahK5M8js1WnSHIxq7nlaqxWsC5sditxmoVJVRAt4gLBj7nlOXRbdZMRxvrPB1+Fp7aOKc6FaH0qKOkdeucpLcV9RFWxxKff0sW2eLhih/P01siG7JqPQ0M+mUk/yppZzlrdGr1PGDDoRjdqqIbnIAJ1Ivl/j4P2BjHeQcs4APtqpFN/LJmUUHEHqYkJywlGxP/6PHWt4FcdXZB6yzlD0kuj4ZE/Maryui8WbVvNGybP92RGl5EDbOIFyL4bzunqZPdU5/o8TC6BUx6AjdCI3xjFqkyqIT+1IqYAjhIZNpk718+AfZ8LVXyCfCsQAAAABJRU5ErkJggg=="; ;// CONCATENATED MODULE: ./src/assets/images/icons/add_img.png var add_img_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAF9JREFUOE9jZKAQMOLTb5B0voHhH8OBCwsMD+BSR9gABgaGC/MMG0YNIBAGBgnnHRiYGBwwAuo/oz1YjPH/QWyBCApccCyAowsbwGcANHpHo5GBgcZhAI1esvMCMTkdAHAwQhEikgNIAAAAAElFTkSuQmCC"; +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tree/index.js + 8 modules +var tree = __webpack_require__(97334); ;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Setting/questions/addQuestions.less?modules // extracted by mini-css-extract-plugin -/* harmony default export */ var addQuestionsmodules = ({"bg":"bg___ZTUqe","title":"title___RJsvV","title_text":"title_text___wCMl_","fieldWrap":"fieldWrap___QdCjd","mdWrap":"mdWrap___cnGxs","footer_style":"footer_style___Qo1Vx","submit_button":"submit_button___KWJXN","close_button":"close_button___TyEGS","content":"content___xc7lB","form_item":"form_item___KsNeu","form_item_basic":"form_item_basic___NWTAb","form_item_time":"form_item_time___Q9IfX","form_item_model":"form_item_model___lhG4k","form_item_item":"form_item_item___HtOSL","form_item_item_select":"form_item_item_select___o5ylk","textarea_father":"textarea_father___bar45","textarea_length":"textarea_length___GjKNa","upload_button":"upload_button___SYv04","upload_button_file":"upload_button_file___oORVt","upload_text":"upload_text___bmCED","date_text":"date_text___Coi3W","upload_download":"upload_download___Karq5","checkbox_text":"checkbox_text___h8LqU","saiti":"saiti___7HTYg","title_saiti":"title_saiti___l4bxJ","add_people":"add_people___Gw_ed","people_icon":"people_icon___jXRfx","content_info":"content_info___PEfmB","info_icon":"info_icon___m61ux","info_title":"info_title___edYkq","info_update":"info_update___tSlQJ","info_delete":"info_delete___gYOJ8","questions_info":"questions_info___M0DT6","form_item_small":"form_item_small___x72TI","guanka_title":"guanka_title___L397j","form_item_item_small":"form_item_item_small___DEvEr","guanka_icon":"guanka_icon___WhT34","nandu_1":"nandu_1___l2N85","nandu_2":"nandu_2___sKLv9","nandu_3":"nandu_3___iCULt","close_icon":"close_icon___AAaPq","MdEditor":"MdEditor___Xr0CF"}); +/* harmony default export */ var addQuestionsmodules = ({"bg":"bg___ZTUqe","title":"title___RJsvV","title_text":"title_text___wCMl_","fieldWrap":"fieldWrap___QdCjd","mdWrap":"mdWrap___cnGxs","footer_style":"footer_style___Qo1Vx","submit_button":"submit_button___KWJXN","close_button":"close_button___TyEGS","content":"content___xc7lB","form_item":"form_item___KsNeu","form_item_basic":"form_item_basic___NWTAb","form_item_time":"form_item_time___Q9IfX","form_item_model":"form_item_model___lhG4k","form_item_item":"form_item_item___HtOSL","form_item_item_select":"form_item_item_select___o5ylk","textarea_father":"textarea_father___bar45","textarea_length":"textarea_length___GjKNa","upload_button":"upload_button___SYv04","upload_button_file":"upload_button_file___oORVt","upload_text":"upload_text___bmCED","date_text":"date_text___Coi3W","upload_download":"upload_download___Karq5","checkbox_text":"checkbox_text___h8LqU","saiti":"saiti___7HTYg","title_saiti":"title_saiti___l4bxJ","add_people":"add_people___Gw_ed","people_icon":"people_icon___jXRfx","content_info":"content_info___PEfmB","info_icon":"info_icon___m61ux","info_title":"info_title___edYkq","info_update":"info_update___tSlQJ","info_delete":"info_delete___gYOJ8","questions_info":"questions_info___M0DT6","form_item_small":"form_item_small___x72TI","guanka_title":"guanka_title___L397j","form_item_item_small":"form_item_item_small___DEvEr","guanka_icon":"guanka_icon___WhT34","nandu_1":"nandu_1___l2N85","nandu_2":"nandu_2___sKLv9","nandu_3":"nandu_3___iCULt","close_icon":"close_icon___AAaPq","MdEditor":"MdEditor___Xr0CF","Onerow":"Onerow___kroIv","dataSetModSty":"dataSetModSty___V_RD8","boxLeft":"boxLeft___LlBaf","listSty":"listSty___hTRxO","boxRight":"boxRight___VzXqv","titleSty":"titleSty___eSJAC"}); ;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Setting/questions/addItem.tsx @@ -8556,12 +8690,15 @@ var AddPersonnel = function AddPersonnel(_ref) { loading: loading }; })(AddPersonnel)); +// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.5.1@@ant-design/icons/es/icons/UpSquareOutlined.js + 1 modules +var UpSquareOutlined = __webpack_require__(68792); ;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Setting/questions/addQuestions.tsx + var addQuestions_excluded = ["shixunHomeworks", "newCourse", "globalSetting", "loading", "competitions", "dispatch", "classroomList"]; @@ -8571,12 +8708,16 @@ var addQuestions_excluded = ["shixunHomeworks", "newCourse", "globalSetting", "l +var addQuestions_TextArea = input/* default */.Z.TextArea; + + + + -var addQuestions_TextArea = input/* default */.Z.TextArea; var NewCoursePage = function NewCoursePage(_ref) { - var _classroomList$action13, _formValue$name; + var _classroomList$action23, _formValue$name; var shixunHomeworks = _ref.shixunHomeworks, newCourse = _ref.newCourse, globalSetting = _ref.globalSetting, @@ -8585,6 +8726,8 @@ var NewCoursePage = function NewCoursePage(_ref) { dispatch = _ref.dispatch, classroomList = _ref.classroomList, props = objectWithoutProperties_default()(_ref, addQuestions_excluded); + var _useParams = (0,_umi_production_exports.useParams)(), + identifier = _useParams.identifier; var _Form$useForm = es_form/* default */.Z.useForm(), _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), form = _Form$useForm2[0]; @@ -8617,41 +8760,231 @@ var NewCoursePage = function NewCoursePage(_ref) { _useState14 = slicedToArray_default()(_useState13, 2), specificList = _useState14[0], setSpecificList = _useState14[1]; + var _useState15 = (0,_react_17_0_2_react.useState)(false), + _useState16 = slicedToArray_default()(_useState15, 2), + showDataSet = _useState16[0], + setShowDataSet = _useState16[1]; + var _useState17 = (0,_react_17_0_2_react.useState)(''), + _useState18 = slicedToArray_default()(_useState17, 2), + keyWord = _useState18[0], + setKeyWord = _useState18[1]; + var _useState19 = (0,_react_17_0_2_react.useState)([]), + _useState20 = slicedToArray_default()(_useState19, 2), + dataSetList = _useState20[0], + setDataSetList = _useState20[1]; + var _useState21 = (0,_react_17_0_2_react.useState)([]), + _useState22 = slicedToArray_default()(_useState21, 2), + treeData = _useState22[0], + setTreeeData = _useState22[1]; + var _useState23 = (0,_react_17_0_2_react.useState)([]), + _useState24 = slicedToArray_default()(_useState23, 2), + selectDataset = _useState24[0], + setSelectDataset = _useState24[1]; + var _useState25 = (0,_react_17_0_2_react.useState)([]), + _useState26 = slicedToArray_default()(_useState25, 2), + checkedKeys = _useState26[0], + setCheckedKeys = _useState26[1]; + var _useState27 = (0,_react_17_0_2_react.useState)({ + page: 1, + limit: 10 + }), + _useState28 = slicedToArray_default()(_useState27, 2), + dataSetParams = _useState28[0], + setDataSetParams = _useState28[1]; (0,_react_17_0_2_react.useEffect)(function () { var _classroomList$action; + console.log('classroomList?.actionTabs---', classroomList === null || classroomList === void 0 ? void 0 : classroomList.actionTabs); if (classroomList !== null && classroomList !== void 0 && (_classroomList$action = classroomList.actionTabs) !== null && _classroomList$action !== void 0 && (_classroomList$action = _classroomList$action.params) !== null && _classroomList$action !== void 0 && _classroomList$action.id) { - var _classroomList$action2, _classroomList$action3, _classroomList$action4, _classroomList$action5, _classroomList$action6, _classroomList$action7, _classroomList$action8, _classroomList$action9, _classroomList$action10, _classroomList$action11, _classroomList$action12; - setFormValue(classroomList === null || classroomList === void 0 || (_classroomList$action2 = classroomList.actionTabs) === null || _classroomList$action2 === void 0 ? void 0 : _classroomList$action2.params); - setsectionid(classroomList === null || classroomList === void 0 || (_classroomList$action3 = classroomList.actionTabs) === null || _classroomList$action3 === void 0 || (_classroomList$action3 = _classroomList$action3.params) === null || _classroomList$action3 === void 0 ? void 0 : _classroomList$action3.id); + var _classroomList$action2, _classroomList$action5, _classroomList$action6, _classroomList$action7, _classroomList$action8, _classroomList$action9, _classroomList$action10, _classroomList$action11, _classroomList$action12, _classroomList$action13, _classroomList$action14, _classroomList$action15, _classroomList$action16, _classroomList$action17, _classroomList$action18, _classroomList$action19, _classroomList$action20, _classroomList$action21, _classroomList$action22; + if ((classroomList === null || classroomList === void 0 || (_classroomList$action2 = classroomList.actionTabs) === null || _classroomList$action2 === void 0 || (_classroomList$action2 = _classroomList$action2.params) === null || _classroomList$action2 === void 0 ? void 0 : _classroomList$action2.category) === 'npu') { + var _ref2, _classroomList$action3, _ref3, _classroomList$action4; + setSelectDataset(toConsumableArray_default()((_ref2 = (classroomList === null || classroomList === void 0 || (_classroomList$action3 = classroomList.actionTabs) === null || _classroomList$action3 === void 0 || (_classroomList$action3 = _classroomList$action3.params) === null || _classroomList$action3 === void 0 ? void 0 : _classroomList$action3.data_sets) || []) === null || _ref2 === void 0 ? void 0 : _ref2.map(function (item) { + return { + title: item === null || item === void 0 ? void 0 : item.name, + key: item === null || item === void 0 ? void 0 : item.uuid + }; + }))); + setCheckedKeys(toConsumableArray_default()((_ref3 = (classroomList === null || classroomList === void 0 || (_classroomList$action4 = classroomList.actionTabs) === null || _classroomList$action4 === void 0 || (_classroomList$action4 = _classroomList$action4.params) === null || _classroomList$action4 === void 0 ? void 0 : _classroomList$action4.data_sets) || []) === null || _ref3 === void 0 ? void 0 : _ref3.map(function (item) { + return item === null || item === void 0 ? void 0 : item.uuid; + }))); + } + setFormValue(objectSpread2_default()(objectSpread2_default()({}, (classroomList === null || classroomList === void 0 || (_classroomList$action5 = classroomList.actionTabs) === null || _classroomList$action5 === void 0 ? void 0 : _classroomList$action5.params) || {}), {}, { + category: (classroomList === null || classroomList === void 0 || (_classroomList$action6 = classroomList.actionTabs) === null || _classroomList$action6 === void 0 || (_classroomList$action6 = _classroomList$action6.params) === null || _classroomList$action6 === void 0 ? void 0 : _classroomList$action6.category) === 'npu' ? 2 : 1 + })); + setsectionid(classroomList === null || classroomList === void 0 || (_classroomList$action7 = classroomList.actionTabs) === null || _classroomList$action7 === void 0 || (_classroomList$action7 = _classroomList$action7.params) === null || _classroomList$action7 === void 0 ? void 0 : _classroomList$action7.id); form.setFieldsValue({ - 'commit_num': classroomList === null || classroomList === void 0 || (_classroomList$action4 = classroomList.actionTabs) === null || _classroomList$action4 === void 0 || (_classroomList$action4 = _classroomList$action4.params) === null || _classroomList$action4 === void 0 ? void 0 : _classroomList$action4.commit_num, - 'evaluation_script': classroomList === null || classroomList === void 0 || (_classroomList$action5 = classroomList.actionTabs) === null || _classroomList$action5 === void 0 || (_classroomList$action5 = _classroomList$action5.params) === null || _classroomList$action5 === void 0 ? void 0 : _classroomList$action5.evaluation_script, - 'evaluation_setting': classroomList === null || classroomList === void 0 || (_classroomList$action6 = classroomList.actionTabs) === null || _classroomList$action6 === void 0 || (_classroomList$action6 = _classroomList$action6.params) === null || _classroomList$action6 === void 0 ? void 0 : _classroomList$action6.evaluation_setting, - 'evaluation_time': classroomList === null || classroomList === void 0 || (_classroomList$action7 = classroomList.actionTabs) === null || _classroomList$action7 === void 0 || (_classroomList$action7 = _classroomList$action7.params) === null || _classroomList$action7 === void 0 ? void 0 : _classroomList$action7.evaluation_time, - 'name': classroomList === null || classroomList === void 0 || (_classroomList$action8 = classroomList.actionTabs) === null || _classroomList$action8 === void 0 || (_classroomList$action8 = _classroomList$action8.params) === null || _classroomList$action8 === void 0 ? void 0 : _classroomList$action8.name, - 'promotion_ranking': classroomList === null || classroomList === void 0 || (_classroomList$action9 = classroomList.actionTabs) === null || _classroomList$action9 === void 0 || (_classroomList$action9 = _classroomList$action9.params) === null || _classroomList$action9 === void 0 ? void 0 : _classroomList$action9.promotion_ranking, - 'start_time': dayjs_min_default()(classroomList === null || classroomList === void 0 || (_classroomList$action10 = classroomList.actionTabs) === null || _classroomList$action10 === void 0 || (_classroomList$action10 = _classroomList$action10.params) === null || _classroomList$action10 === void 0 ? void 0 : _classroomList$action10.start_time), - 'end_time': dayjs_min_default()(classroomList === null || classroomList === void 0 || (_classroomList$action11 = classroomList.actionTabs) === null || _classroomList$action11 === void 0 || (_classroomList$action11 = _classroomList$action11.params) === null || _classroomList$action11 === void 0 ? void 0 : _classroomList$action11.end_time) + 'commit_num': classroomList === null || classroomList === void 0 || (_classroomList$action8 = classroomList.actionTabs) === null || _classroomList$action8 === void 0 || (_classroomList$action8 = _classroomList$action8.params) === null || _classroomList$action8 === void 0 ? void 0 : _classroomList$action8.commit_num, + 'evaluation_script': classroomList === null || classroomList === void 0 || (_classroomList$action9 = classroomList.actionTabs) === null || _classroomList$action9 === void 0 || (_classroomList$action9 = _classroomList$action9.params) === null || _classroomList$action9 === void 0 ? void 0 : _classroomList$action9.evaluation_script, + 'evaluation_setting': classroomList === null || classroomList === void 0 || (_classroomList$action10 = classroomList.actionTabs) === null || _classroomList$action10 === void 0 || (_classroomList$action10 = _classroomList$action10.params) === null || _classroomList$action10 === void 0 ? void 0 : _classroomList$action10.evaluation_setting, + 'evaluation_time': classroomList === null || classroomList === void 0 || (_classroomList$action11 = classroomList.actionTabs) === null || _classroomList$action11 === void 0 || (_classroomList$action11 = _classroomList$action11.params) === null || _classroomList$action11 === void 0 ? void 0 : _classroomList$action11.evaluation_time, + 'name': classroomList === null || classroomList === void 0 || (_classroomList$action12 = classroomList.actionTabs) === null || _classroomList$action12 === void 0 || (_classroomList$action12 = _classroomList$action12.params) === null || _classroomList$action12 === void 0 ? void 0 : _classroomList$action12.name, + 'promotion_ranking': classroomList === null || classroomList === void 0 || (_classroomList$action13 = classroomList.actionTabs) === null || _classroomList$action13 === void 0 || (_classroomList$action13 = _classroomList$action13.params) === null || _classroomList$action13 === void 0 ? void 0 : _classroomList$action13.promotion_ranking, + 'start_time': dayjs_min_default()(classroomList === null || classroomList === void 0 || (_classroomList$action14 = classroomList.actionTabs) === null || _classroomList$action14 === void 0 || (_classroomList$action14 = _classroomList$action14.params) === null || _classroomList$action14 === void 0 ? void 0 : _classroomList$action14.start_time), + 'end_time': dayjs_min_default()(classroomList === null || classroomList === void 0 || (_classroomList$action15 = classroomList.actionTabs) === null || _classroomList$action15 === void 0 || (_classroomList$action15 = _classroomList$action15.params) === null || _classroomList$action15 === void 0 ? void 0 : _classroomList$action15.end_time), + 'category': (classroomList === null || classroomList === void 0 || (_classroomList$action16 = classroomList.actionTabs) === null || _classroomList$action16 === void 0 || (_classroomList$action16 = _classroomList$action16.params) === null || _classroomList$action16 === void 0 ? void 0 : _classroomList$action16.category) === 'npu' ? 2 : 1, + 'spec_id': classroomList === null || classroomList === void 0 || (_classroomList$action17 = classroomList.actionTabs) === null || _classroomList$action17 === void 0 || (_classroomList$action17 = _classroomList$action17.params) === null || _classroomList$action17 === void 0 ? void 0 : _classroomList$action17.spec_id, + 'image_name': classroomList === null || classroomList === void 0 || (_classroomList$action18 = classroomList.actionTabs) === null || _classroomList$action18 === void 0 || (_classroomList$action18 = _classroomList$action18.params) === null || _classroomList$action18 === void 0 ? void 0 : _classroomList$action18.image_name, + 'image_id': classroomList === null || classroomList === void 0 || (_classroomList$action19 = classroomList.actionTabs) === null || _classroomList$action19 === void 0 || (_classroomList$action19 = _classroomList$action19.params) === null || _classroomList$action19 === void 0 ? void 0 : _classroomList$action19.image_id, + 'data_sets': classroomList === null || classroomList === void 0 || (_classroomList$action20 = classroomList.actionTabs) === null || _classroomList$action20 === void 0 || (_classroomList$action20 = _classroomList$action20.params) === null || _classroomList$action20 === void 0 || (_classroomList$action20 = _classroomList$action20.data_sets) === null || _classroomList$action20 === void 0 || (_classroomList$action20 = _classroomList$action20.map(function (item) { + return item === null || item === void 0 ? void 0 : item.name; + })) === null || _classroomList$action20 === void 0 ? void 0 : _classroomList$action20.join('、'), + 'startup_file': classroomList === null || classroomList === void 0 || (_classroomList$action21 = classroomList.actionTabs) === null || _classroomList$action21 === void 0 || (_classroomList$action21 = _classroomList$action21.params) === null || _classroomList$action21 === void 0 ? void 0 : _classroomList$action21.startup_file }); - setquestions(classroomList === null || classroomList === void 0 || (_classroomList$action12 = classroomList.actionTabs) === null || _classroomList$action12 === void 0 || (_classroomList$action12 = _classroomList$action12.params) === null || _classroomList$action12 === void 0 ? void 0 : _classroomList$action12.questions); + setquestions(classroomList === null || classroomList === void 0 || (_classroomList$action22 = classroomList.actionTabs) === null || _classroomList$action22 === void 0 || (_classroomList$action22 = _classroomList$action22.params) === null || _classroomList$action22 === void 0 ? void 0 : _classroomList$action22.questions); } else { setFormValue({ - resource_mode: 1 + category: 1 }); form.resetFields(); setquestions([]); setsectionid(''); } - }, [classroomList === null || classroomList === void 0 || (_classroomList$action13 = classroomList.actionTabs) === null || _classroomList$action13 === void 0 ? void 0 : _classroomList$action13.params]); + getMirrorAndSpecificList(); + getDataSetList(); + }, [classroomList === null || classroomList === void 0 || (_classroomList$action23 = classroomList.actionTabs) === null || _classroomList$action23 === void 0 ? void 0 : _classroomList$action23.params]); + + // 获取规格和镜像 + var getMirrorAndSpecificList = /*#__PURE__*/function () { + var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(keyword) { + var res, _res$data, _res$data2, _res$data3, tempSpectifuList; + 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/competitions/".concat(identifier, "/get_resources.json"), { + method: 'get', + params: { + keyword: keyword + } + }); + case 2: + res = _context.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + setMirrorList(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.images); + console.log('res?.data?.images---', res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.images); + tempSpectifuList = res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 || (_res$data3 = _res$data3.specs) === null || _res$data3 === void 0 || (_res$data3 = _res$data3.all) === null || _res$data3 === void 0 ? void 0 : _res$data3.map(function (item) { + return { + id: item === null || item === void 0 ? void 0 : item.id, + label: (item === null || item === void 0 ? void 0 : item.compute_resource) + ":" + (item === null || item === void 0 ? void 0 : item.acc_cards_num) + "*" + (item === null || item === void 0 ? void 0 : item.acc_card_type) + '(' + '显存:' + (item === null || item === void 0 ? void 0 : item.gpu_mem_gi_b) + 'GB' + ')' + ',' + 'CPU:' + (item === null || item === void 0 ? void 0 : item.cpu_cores) + ',内存' + (item === null || item === void 0 ? void 0 : item.mem_gi_b) + 'GB' + ' ' + (item === null || item === void 0 ? void 0 : item.unit_price) + '.00积分/时' + }; + }); + setSpecificList(tempSpectifuList); + } + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getMirrorAndSpecificList(_x) { + return _ref4.apply(this, arguments); + }; + }(); + + // 获取数据集 + var getDataSetList = /*#__PURE__*/function () { + var _ref5 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(keyword, page, limit) { + var res, _res$data4, tempTreeData; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/get_datasets.json"), { + method: 'get', + params: { + keyword: keyword, + page: page || 1, + limit: limit || 10 + } + }); + case 2: + res = _context2.sent; + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + tempTreeData = res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 || (_res$data4 = _res$data4.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.map(function (item, index) { + var _item$attachments; + return { + title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + alignItems: 'center', + justifyContent: 'space-between' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.description, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: item === null || item === void 0 ? void 0 : item.title + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: (item === null || item === void 0 ? void 0 : item.task) + "".concat(item !== null && item !== void 0 && item.license ? '/' : '') + (item === null || item === void 0 ? void 0 : item.license) + })] + }), + key: item === null || item === void 0 ? void 0 : item.id, + disableCheckbox: true, + tag: (item === null || item === void 0 ? void 0 : item.task) + "/" + (item === null || item === void 0 ? void 0 : item.license), + children: item === null || item === void 0 || (_item$attachments = item.attachments) === null || _item$attachments === void 0 ? void 0 : _item$attachments.map(function (jtem) { + return { + title: jtem === null || jtem === void 0 ? void 0 : jtem.name, + key: jtem === null || jtem === void 0 ? void 0 : jtem.uuid + }; + }) + }; + }); + setTreeeData(tempTreeData); + setDataSetList(res === null || res === void 0 ? void 0 : res.data); + } + case 4: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function getDataSetList(_x2, _x3, _x4) { + return _ref5.apply(this, arguments); + }; + }(); + var handleCheck = function handleCheck(checkedKeys, nodes) { + var _nodes$checkedNodes; + console.log("checkedKeys--", checkedKeys, 'nodes--', nodes); + var titles = []; + var tempSelectNodes = nodes === null || nodes === void 0 || (_nodes$checkedNodes = nodes.checkedNodes) === null || _nodes$checkedNodes === void 0 ? void 0 : _nodes$checkedNodes.map(function (item) { + if (!(item !== null && item !== void 0 && item.tag)) { + titles.push(item === null || item === void 0 ? void 0 : item.title); + return item; + } + }); + console.log("tempSelectNodes--", tempSelectNodes); + var duplicates = titles === null || titles === void 0 ? void 0 : titles.filter(function (title, index) { + return (titles === null || titles === void 0 ? void 0 : titles.indexOf(title)) !== index; + }); + if ((tempSelectNodes === null || tempSelectNodes === void 0 ? void 0 : tempSelectNodes.length) > 5) { + message/* default */.ZP.info("最多不超过5个文件"); + return; + } + if ((duplicates === null || duplicates === void 0 ? void 0 : duplicates.length) > 0) { + message/* default */.ZP.info('不能选择相同名称的数据文件'); + return; + } + setCheckedKeys(checkedKeys); + setSelectDataset(toConsumableArray_default()(tempSelectNodes)); + }; var handleFinish = function handleFinish() { if ((questions === null || questions === void 0 ? void 0 : questions.length) == 0) { - message/* default */.ZP.warn('请添加赛题'); + message/* default */.ZP.warning('请添加赛题'); return false; } - form.validateFields().then( /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { + form.validateFields().then( /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { case 0: + if ((formValue === null || formValue === void 0 ? void 0 : formValue.category) === 2) { + formValue.data_sets = selectDataset === null || selectDataset === void 0 ? void 0 : selectDataset.map(function (item) { + return { + name: item === null || item === void 0 ? void 0 : item.title, + uuid: item === null || item === void 0 ? void 0 : item.key + }; + }); + } + console.log('formValue--', formValue); if (sectionid) { //编辑 (0,service_competitions/* change_stage */.cP)(objectSpread2_default()(objectSpread2_default()({ @@ -8690,11 +9023,11 @@ var NewCoursePage = function NewCoursePage(_ref) { } }); } - case 1: + case 3: case "end": - return _context.stop(); + return _context3.stop(); } - }, _callee); + }, _callee3); }))); }; var changetime = function changetime(e, type) { @@ -8746,22 +9079,6 @@ var NewCoursePage = function NewCoursePage(_ref) { } setshowAddItem(false); }; - var getMirrorList = /*#__PURE__*/function () { - var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { - case 0: - setMirrorList([]); - case 1: - case "end": - return _context2.stop(); - } - }, _callee2); - })); - return function getMirrorList() { - return _ref3.apply(this, arguments); - }; - }(); return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(drawer/* default */.Z, { placement: "bottom", @@ -8808,7 +9125,7 @@ var NewCoursePage = function NewCoursePage(_ref) { setFormValue(objectSpread2_default()({}, form.getFieldsValue())); }, initialValues: { - resource_mode: 1 + category: 1 }, children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { className: addQuestionsmodules.form_item, @@ -8862,10 +9179,10 @@ var NewCoursePage = function NewCoursePage(_ref) { showTime: true, format: "YYYY-MM-DD HH:mm", onChange: function onChange(e) { - var _classroomList$action14; - if (classroomList !== null && classroomList !== void 0 && (_classroomList$action14 = classroomList.actionTabs) !== null && _classroomList$action14 !== void 0 && (_classroomList$action14 = _classroomList$action14.params) !== null && _classroomList$action14 !== void 0 && _classroomList$action14.flag_time) { - var _classroomList$action15; - if (!e.isBefore(dayjs_min_default()(classroomList === null || classroomList === void 0 || (_classroomList$action15 = classroomList.actionTabs) === null || _classroomList$action15 === void 0 || (_classroomList$action15 = _classroomList$action15.params) === null || _classroomList$action15 === void 0 ? void 0 : _classroomList$action15.flag_time))) { + var _classroomList$action24; + if (classroomList !== null && classroomList !== void 0 && (_classroomList$action24 = classroomList.actionTabs) !== null && _classroomList$action24 !== void 0 && (_classroomList$action24 = _classroomList$action24.params) !== null && _classroomList$action24 !== void 0 && _classroomList$action24.flag_time) { + var _classroomList$action25; + if (!e.isBefore(dayjs_min_default()(classroomList === null || classroomList === void 0 || (_classroomList$action25 = classroomList.actionTabs) === null || _classroomList$action25 === void 0 || (_classroomList$action25 = _classroomList$action25.params) === null || _classroomList$action25 === void 0 ? void 0 : _classroomList$action25.flag_time))) { changetime(e, '竞赛开始时间'); } else { form.setFieldsValue({ @@ -8895,10 +9212,10 @@ var NewCoursePage = function NewCoursePage(_ref) { showTime: true, format: "YYYY-MM-DD HH:mm", onChange: function onChange(e) { - var _classroomList$action16; - if (classroomList !== null && classroomList !== void 0 && (_classroomList$action16 = classroomList.actionTabs) !== null && _classroomList$action16 !== void 0 && (_classroomList$action16 = _classroomList$action16.params) !== null && _classroomList$action16 !== void 0 && _classroomList$action16.flag_time) { - var _classroomList$action17; - if (!e.isBefore(dayjs_min_default()(classroomList === null || classroomList === void 0 || (_classroomList$action17 = classroomList.actionTabs) === null || _classroomList$action17 === void 0 || (_classroomList$action17 = _classroomList$action17.params) === null || _classroomList$action17 === void 0 ? void 0 : _classroomList$action17.flag_time))) { + var _classroomList$action26; + if (classroomList !== null && classroomList !== void 0 && (_classroomList$action26 = classroomList.actionTabs) !== null && _classroomList$action26 !== void 0 && (_classroomList$action26 = _classroomList$action26.params) !== null && _classroomList$action26 !== void 0 && _classroomList$action26.flag_time) { + var _classroomList$action27; + if (!e.isBefore(dayjs_min_default()(classroomList === null || classroomList === void 0 || (_classroomList$action27 = classroomList.actionTabs) === null || _classroomList$action27 === void 0 || (_classroomList$action27 = _classroomList$action27.params) === null || _classroomList$action27 === void 0 ? void 0 : _classroomList$action27.flag_time))) { changetime(e, '竞赛结束时间'); } else { form.setFieldsValue({ @@ -8966,12 +9283,15 @@ var NewCoursePage = function NewCoursePage(_ref) { align: "middle", children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { className: "mr10", + style: { + height: '46px' + }, children: "\u8D44\u6E90\u6A21\u5F0F" }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { className: addQuestionsmodules.form_item, colon: false, - name: "resource_mode", + name: "category", children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, { className: addQuestionsmodules.scoreByBlankRadio, options: [{ @@ -8984,7 +9304,7 @@ var NewCoursePage = function NewCoursePage(_ref) { }) }) })] - }), formValue.resource_mode === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + }), formValue.category === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { className: addQuestionsmodules.form_item, label: "\u8BC4\u6D4B\u670D\u52A1\u5668\u914D\u7F6E", @@ -8994,6 +9314,19 @@ var NewCoursePage = function NewCoursePage(_ref) { placeholder: "\u8BF7\u586B\u5199\u8BC4\u6D4B\u670D\u52A1\u5668\u914D\u7F6E\uFF0C\u683C\u5F0F\u4E3A\uFF1A\u670D\u52A1\u5668ip \u7AEF\u53E3 \u8D26\u53F7 \u5BC6\u7801\uFF0C\u591A\u53F0\u670D\u52A1\u5668\u7528\u591A\u884C\u8868\u793A\uFF0C\u5982\uFF1A127.0.0.1 22 root Qz_123123 127.0.0.2 22 root Qz_123123", rows: 6 }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + className: addQuestionsmodules.form_item, + label: "\u8BC4\u6D4B\u955C\u50CF", + colon: false, + name: "image_name", + rules: [{ + required: true, + message: '请输入镜像名称' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + className: addQuestionsmodules.form_item_item, + placeholder: "\u8BF7\u8F93\u5165\u955C\u50CF\u540D\u79F0" + }) }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { className: addQuestionsmodules.form_item, label: "\u8BC4\u6D4B\u65F6\u957F(S)", @@ -9024,7 +9357,7 @@ var NewCoursePage = function NewCoursePage(_ref) { rows: 6 }) })] - }), formValue.resource_mode === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { + }), formValue.category === 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, { children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { span: 12, @@ -9033,7 +9366,7 @@ var NewCoursePage = function NewCoursePage(_ref) { className: addQuestionsmodules.form_item, label: "\u955C\u50CF", colon: false, - name: "mirror", + name: "image_id", rules: [{ required: true, message: '请选择镜像' @@ -9042,12 +9375,13 @@ var NewCoursePage = function NewCoursePage(_ref) { showSearch: true, placeholder: "\u8BF7\u8F93\u5165\u955C\u50CF\u540D\u79F0\u8FDB\u884C\u641C\u7D22", fieldNames: { - label: 'name', - value: 'id' + label: 'image_name', + value: 'image_id' }, filterOption: function filterOption(input, option) { - var _option$label; - return ((_option$label = option === null || option === void 0 ? void 0 : option.label) !== null && _option$label !== void 0 ? _option$label : '').toLowerCase().includes(input.toLowerCase()); + var _option$image_name; + console.log("input, option----", input, option); + return ((_option$image_name = option === null || option === void 0 ? void 0 : option.image_name) !== null && _option$image_name !== void 0 ? _option$image_name : '').toLowerCase().includes(input.toLowerCase()); }, options: mirrorList }) @@ -9059,59 +9393,102 @@ var NewCoursePage = function NewCoursePage(_ref) { className: addQuestionsmodules.form_item, label: "\u89C4\u683C", colon: false, - name: "specification", + name: "spec_id", rules: [{ - pattern: new RegExp(/^[1-9]\d*$/, "g"), - message: '必须是正整数' + required: true, + message: '请选择规格' }], children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], { showSearch: true, placeholder: "\u8BF7\u8F93\u5165\u89C4\u683C\u540D\u79F0\u8FDB\u884C\u641C\u7D22", fieldNames: { - label: 'name', + label: 'label', value: 'id' }, filterOption: function filterOption(input, option) { - var _option$label2; - return ((_option$label2 = option === null || option === void 0 ? void 0 : option.label) !== null && _option$label2 !== void 0 ? _option$label2 : '').toLowerCase().includes(input.toLowerCase()); + var _option$label; + console.log("inputgui, option----", input, option); + return ((_option$label = option === null || option === void 0 ? void 0 : option.label) !== null && _option$label !== void 0 ? _option$label : '').toLowerCase().includes(input.toLowerCase()); }, options: specificList }) }) })] }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + style: { + flex: 1 + }, children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { className: addQuestionsmodules.form_item, - label: "\u8BC4\u6D4B\u65F6\u957F(S)", + label: "\u6570\u636E\u96C6", colon: false, - name: "evaluation_time", + name: "data_sets", rules: [{ - pattern: new RegExp(/^\d{0,9}$/, "g"), - message: '必须是正整数' + required: true, + message: '请选择数据集' }], children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { - autoComplete: "off", className: addQuestionsmodules.form_item_item, - placeholder: "\u8BF7\u8F93\u5165\u8BC4\u6D4B\u65F6\u957F", - suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: '#c5c5c5' - }, - children: "S" - }) + placeholder: "\u8BF7\u9009\u62E9\u6570\u636E\u96C6", + disabled: true }) }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {})] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - className: addQuestionsmodules.form_item, - label: "\u8FD0\u884C\u811A\u672C", - colon: false, - name: "evaluation_script", - children: /*#__PURE__*/(0,jsx_runtime.jsx)(addQuestions_TextArea, { - placeholder: "\u8BF7\u8F93\u5165\u8FD0\u884C\u811A\u672C", - rows: 6 - }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + className: "ml20", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomButton */.op, { + onClick: function onClick() { + setShowDataSet(true); + }, + children: "\u9009\u62E9\u6570\u636E\u96C6" + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + align: "middle", + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { + style: { + flex: 1 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { + className: addQuestionsmodules.form_item, + label: "\u542F\u52A8\u6587\u4EF6", + colon: false, + name: "startup_file", + rules: [{ + required: true, + message: '请输入启动文件' + }], + children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + className: addQuestionsmodules.form_item_item, + placeholder: "\u8BF7\u8F93\u5165\u542F\u52A8\u6587\u4EF6" + }) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + className: "ml20", + style: { + width: '102px' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: "\u542F\u52A8\u6587\u4EF6\u662F\u60A8\u7A0B\u5E8F\u6267\u884C\u7684\u5165\u53E3\u6587\u4EF6\uFF0C\u5FC5\u987B\u662F\u4EE5.py\u7ED3\u5C3E\u7684\u6587\u4EF6\u3002\u6BD4\u5982train.py\u3001main.py\u3001example/train.py\u3001case/main.py\u3002", + children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-xiaowenhao1 mr5", + style: { + color: '#3061D0' + } + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + color: '#3061D0', + textDecorationLine: 'underline', + cursor: 'pointer' + }, + onClick: function onClick() { + (0,util/* openNewWindow */.xg)("https://openi.pcl.ac.cn/OpenIOSSG/OpenI_Cloudbrain_Example/src/branch/master/npu_mnist_example/train.py"); + }, + children: "\u67E5\u770B\u6837\u4F8B" + })] + })] })] }), /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {})] }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { @@ -9202,16 +9579,131 @@ var NewCoursePage = function NewCoursePage(_ref) { setshowAddItem: setshowAddItem, getItem: getItem, setItem: setItem + }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { + className: addQuestionsmodules.addStudentWrapContainer, + centered: true, + title: "\u9009\u62E9\u6570\u636E\u96C6", + open: showDataSet, + width: 800, + okText: "\u786E\u5B9A", + cancelText: "\u53D6\u6D88", + zIndex: 1000, + onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() { + var _selectDataset$map; + return regeneratorRuntime_default()().wrap(function _callee4$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + if (!((selectDataset === null || selectDataset === void 0 ? void 0 : selectDataset.length) === 0)) { + _context4.next = 3; + break; + } + message/* default */.ZP.info('请选择数据集'); + return _context4.abrupt("return"); + case 3: + form.setFieldValue('data_sets', selectDataset === null || selectDataset === void 0 || (_selectDataset$map = selectDataset.map(function (item) { + return item === null || item === void 0 ? void 0 : item.title; + })) === null || _selectDataset$map === void 0 ? void 0 : _selectDataset$map.join('、')); + setShowDataSet(false); + case 5: + case "end": + return _context4.stop(); + } + }, _callee4); + })), + onCancel: function onCancel() { + setShowDataSet(false); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: addQuestionsmodules.dataSetModSty, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: addQuestionsmodules.boxLeft, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, { + style: { + width: 550, + marginBottom: '20px' + }, + placeholder: "\u8F93\u5165\u6570\u636E\u96C6\u540D\u79F0/\u63CF\u8FF0\u8FDB\u884C\u641C\u7D22", + value: keyWord, + onChange: function onChange(keyword) { + getDataSetList(keyword, dataSetParams.page, dataSetParams.limit); + setKeyWord(keyword); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: addQuestionsmodules.listSty, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(tree/* default */.Z, { + checkable: true, + defaultExpandAll: false, + treeData: treeData, + onCheck: handleCheck, + checkedKeys: checkedKeys, + blockNode: true, + switcherIcon: /*#__PURE__*/(0,jsx_runtime.jsx)(UpSquareOutlined/* default */.Z, {}) + }) + }), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, { + showSizeChanger: true, + className: "m210", + current: dataSetParams.page, + pageSize: dataSetParams.limit, + total: (dataSetList === null || dataSetList === void 0 ? void 0 : dataSetList.count) || 0, + onShowSizeChange: function onShowSizeChange(page, limit) { + getDataSetList(keyWord, page, limit); + setDataSetParams(objectSpread2_default()(objectSpread2_default()({}, dataSetParams), {}, { + page: page, + limit: limit + })); + }, + onChange: function onChange(page, limit) { + getDataSetList(keyWord, page, limit); + setDataSetParams(objectSpread2_default()(objectSpread2_default()({}, dataSetParams), {}, { + page: page, + limit: limit + })); + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: addQuestionsmodules.boxRight, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + height: '38px', + lineHeight: '38px', + marginBottom: '20px' + }, + children: "\u5DF2\u9009\u6570\u636E\u6587\u4EF6" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: selectDataset.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + checked: true, + onChange: function onChange(e) { + var keyIndex = checkedKeys.indexOf(item === null || item === void 0 ? void 0 : item.key); + if (keyIndex !== -1) { + checkedKeys.splice(keyIndex, 1); + setCheckedKeys(toConsumableArray_default()(checkedKeys)); + } + selectDataset.splice(index, 1); + setSelectDataset(toConsumableArray_default()(selectDataset)); + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: addQuestionsmodules.titleSty, + title: item === null || item === void 0 ? void 0 : item.title, + children: item === null || item === void 0 ? void 0 : item.title + }) + }) + }, item === null || item === void 0 ? void 0 : item.key); + }) + })] + })] + }) })] }); }; -/* harmony default export */ var addQuestions = ((0,_umi_production_exports.connect)(function (_ref4) { - var shixunHomeworks = _ref4.shixunHomeworks, - newCourse = _ref4.newCourse, - loading = _ref4.loading, - globalSetting = _ref4.globalSetting, - classroomList = _ref4.classroomList, - competitions = _ref4.competitions; +/* harmony default export */ var addQuestions = ((0,_umi_production_exports.connect)(function (_ref8) { + var shixunHomeworks = _ref8.shixunHomeworks, + newCourse = _ref8.newCourse, + loading = _ref8.loading, + globalSetting = _ref8.globalSetting, + classroomList = _ref8.classroomList, + competitions = _ref8.competitions; return { classroomList: classroomList, shixunHomeworks: shixunHomeworks, @@ -10629,215 +11121,91 @@ var settingPage = function settingPage(_ref) { }); } else if ((competitions === null || competitions === void 0 || (_competitions$actionT3 = competitions.actionTabs) === null || _competitions$actionT3 === void 0 ? void 0 : _competitions$actionT3.key) === '7') { setMenuActive('竞赛信息'); - dispatch({ - type: 'competitions/setActionTabs', - payload: {} - }); - } - }, [competitions.actionTabs]); - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Settingmodules.all, - ref: setContainer, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Settingmodules.setting, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Settingmodules.setting_title, - children: "\u57FA\u7840\u8BBE\u7F6E" - }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: Settingmodules.setting_content, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Settingmodules.setting_menu, - children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - children: menu_list.map(function (v, k) { - return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: menuActive == v ? Settingmodules.menu_item_active : Settingmodules.menu_item, - onClick: function onClick() { - // container.scrollIntoView() - document.body.scrollIntoView({ - block: "start", - behavior: "smooth" - }); - setMenuActive(v); - setLoading(true); - }, - children: v - }, k); - }) - }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - className: Settingmodules.setting_info, - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { - spinning: loading, - children: [menuActive == '竞赛信息' && /*#__PURE__*/(0,jsx_runtime.jsx)(information, { - competitionId: identifier, - loadingFunction: loadingFunction, - formName: formName - }), menuActive == '图片设置' && /*#__PURE__*/(0,jsx_runtime.jsx)(picture, { - competitionId: identifier, - loadingFunction: loadingFunction - }), menuActive == '评测设置' && /*#__PURE__*/(0,jsx_runtime.jsx)(questions, { - competitionId: identifier, - loadingFunction: loadingFunction - }), menuActive == '管理人员' && /*#__PURE__*/(0,jsx_runtime.jsx)(personnel, { - competitionId: identifier, - loadingFunction: loadingFunction - }), menuActive == '竞赛指引' && /*#__PURE__*/(0,jsx_runtime.jsx)(Setting_document, { - competitions: competitions, - clickInformation: clickInformation, - clickQuetions: clickQuetions, - competitionId: identifier, - loadingFunction: loadingFunction - })] - }) - })] - })] - }) - }); -}; -// export default ; -/* harmony default export */ var Setting = ((0,_umi_production_exports.connect)(function (_ref2) { - var competitions = _ref2.competitions, - globalSetting = _ref2.globalSetting, - user = _ref2.user; - return { - competitions: competitions, - globalSetting: globalSetting, - user: user - }; -})(settingPage)); -;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var Rankingmodules = ({"flex_box_center":"flex_box_center___M4JlS","flex_space_between":"flex_space_between___ft0RM","flex_box_vertical_center":"flex_box_vertical_center___q2FOd","flex_box_center_end":"flex_box_center_end___sHMG4","flex_box_column":"flex_box_column____iI7H","bg":"bg___k6sPc","title":"title___g14V4","right":"right___m_DFD","left":"left___mwgoj","muitem":"muitem___oVuqT","muitemselectactive":"muitemselectactive___r9dit","muitemselect":"muitemselect___S4V8Y","searchWrap":"searchWrap___VZKxz","search":"search___NaLMi","searchIcon":"searchIcon___kyXjW","button":"button___9r1Cv","footer":"footer___FeXKb","clear_button":"clear_button___tLyhc","save_button":"save_button___jdXaq"}); -;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/icon/1.png -var _1_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAuNJREFUOE+dlE1oXFUUx3/nvo/pzKtp4li0hkYHNw22m4qLxoWWSkG6UMSvgmC6kCzdSN25d2lBaF3ppoIb0a6kXVRKVxIohgiGlkpSa2OTGKeTeZ/3HrlvJulUFNSzetx7zu/877n/+2Tz3MxTiH5n4BFVAgQTPNmej6Ynrzs4LiLjojinbk2M+ab8/sZLutabRHEKDlisWu6oAHQ/PTLjlEtmfFczPDSFGWuBs2jRB1uBzwoiJGqBMbi7XcqFFSQrf4nUzDTnri7XIB/9K69+JE/sPY06tLcOeQ/UgiuoSSYGCaA5hiQPQ2nh1vps8/mvPvf1NahYnn3Wya6rWuWRbt5Bqh5SrCM2BXTYStAwwcVtiHYj448jxvzaqPLD0vnsTg3KVuYW1LmDunELqfoYe+9+/bbkYVdFsNEYxAlmYhJVvmxOnXtT8punTmrYOO+6v0F2j8CWtU4nBvVHkeHp1SFqMX7EHhaEsLuNScZVquppyZffPa/OnXQbKxiCWokTu6Mj65Y4q7Qm4sGaQkCIw6G+z8R+jNgPJf15do0ia2tvAyNNnPq5DKK7mtO7m9NIAtqd5IFDGmngNEPGHkWC8FvJbr5TuawXkG4NB7s93EFdulnS/734C8jvGLyNJJlAonhJshtvFy7vR2S9kY73P/8ZNMiR1h4kjBYlXXrrttpiH+n/A5Hs8Sb9WtKlN86q6hxbf/x3RWKg9RBg35f0p1eOQXBR80ywFu/sfxcCcQxhaBU7VZsk/fHlS6p6jCIHE4H30o6j/wYbNsCVEMVg9Exr+sJ7Nai/cHw/Jp5Xp3ulKiFoDJTVwJHwJsSg6nNCROTaatI70ulcznYe7dYPJ54RcRdUdV/9g1Bval84Yge1qL9173aRa0TVieTAxdv17Y021MUXHkvL6GOE1z2nZgxexGhYET5Z3Sg/6By9nG1vPJgyXM3nX5x2gb7m4DmBjqqWglxHuKLOfJEcHqgYjT8BLuRat62RywwAAAAASUVORK5CYII="; -;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/icon/2.png -var _2_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAyZJREFUOE91VE1oVFcU/s69703eJBNSg2iysDXJEIkWIv6hFaUWXLSILoSIurAru9JFu+q2i+5a0bUL3biQQuuuoBQMGBcmGsdJZyjOmESNia0mgn0z895958h5SSaJ4oH7uPfcw3e/8333Pvr6ynSfY7kNkfUQWCKYw5v9u9/0mFki8xUgHRAkIOj6xsWx+snKgnwCCEPAIPwV9352lADg8OWp/UJys7eDsqcGfGxoNYAApJ+lSGe0mCn+m+BaKUbo6JG49gO3vut8kwJpXL4z88vebvO9gYBEYAAwJ+AkUURY6wFkIApGhFc1Ruk/+vLswe7b6Rn6KT2f+0IiGYaINSJI4joa9bdIXIyUWhoE3w/Qks2BrA8mAgz93RlgT1dX1/8kIlSanC1D0L8M4qKw2ZLWy0qHICL4Le0g64GNUfa/DvR2/0DFJy/OkOCKgpC24mqpFmT8xaFIyosTCLt0aM74WTAZVdsFkllPxcrMbwQc97SaY8WAQPUgOOdQqTyBcwn6+noQBC2pWSQOQhZMFski27P06PHz1wSs89OWGSy22daDBwXk+3pgPQ8TEyXs3r2j6aEhAYtBgxnGmAtU+OdZYpSpUZ8Uvmkk5uZeYuPGDYjjGIXCBHbu3L6i3VJ1w6mr5ncaL09H1pCfsStMmtUAwjBEsVjGtm1b0NbWtnornddip8dfo/Hy1DSENmUzqUprYn5+AdXqJAYHP4fnfbgvIggbMciYn+l+aeoSJ3wuF2SaDi2jDQ+PoL09pxogmw3Q359fc1DsEtSjGNaaI3S/NLmPHd/xPUtBxv+A1ccTgre1CMIyUy2Pfpoqe69Q/YOZj+VaW+B9RKv3AWuNCA1lQ/TtrsH81RRoZOJpp41qowL05FqDVA/dEH13yy42DRWE9Qj1RgRr7PU92/Mnmm9NJ2Njj/MR8Q1h3prxPQRBBr4CLt1sFkYUOdTqDbiElfn1cCF/+tAhcmuAdPHw4WxbGL/5iYXPi8BL36XR/4GoFlCXiOiFIfPjvl1brq5ud+X2rcqOjlY6YnJDCfMABJshqJHBpEd2ZKo6/ufQ0FDyvmbvANHBbUYnb2MgAAAAAElFTkSuQmCC"; -;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/icon/3.png -var _3_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0JJREFUOE+NU11oXEUU/s7MvXfv7t1NdpdUBH+jRdzYWKlVrFpoq2KFog+FiBaqVCm+6IOC4Jv44Iuo4JsSaGIhShG0T0YSA2m1Fm36oo2FWqhJTZZtus1usj/33pk5MnetdrsKHpiHmfnOd875+A4tHNx0JwlnFsAAAAmC8Ia3/eBterQMwi6A+wHSAJUF89H16c+f48pingGDzpm5+cb80wQAv79y3yMCmBIbbkr7D+2GyBXAIBjpgEmAGCDWIKNgE9TF82if/BqIWj8Hxtle/GSulhDZuHTozfflHcOvQ0goN412pBC1WtC6kyxdD34mA48MpGqD12sw5Qs7Nhx4z06TYFA/8dnDWuljRkgZyQwaV6pQYZgU4KuVEjAhlc0ikwvgRg0QYT7fpx+kzfsbxMy0enziLBPdFXk5hPU6jFIgsmJ5gBAAM1hrmDhOaJ10GinfgxutAyQ+KGx//g1a+W7iBaH1mEploTTBRCHIcSFSXkJ2bbAx0O0QMAYynYarW5A6VpxxB+jy7OEvANobZ/Iw2iTJZLsAEIYhfjkzD2M0hkolBEGQvButOx2zhmzXQcI9SCuzh6tGuAXj57qq28vssePYfO8wHMfBjz+dwq6dO7oxzBDNqhX6Q6rMjGvj+gJ+tocoimIrKCqVCpaWl/HA1q09GFq3ROZLKs+MRXB9F//Skc1ardVw7txvyAYBSqW7e4h47bL12AQtTY8tQDq3iGyhBzR3+jTu37IleZ+a/hZPPP7YdaMZ6Nolq9e7tDx16CPN5lWZvwFEHZGvxpn5X1G9Uk3MVCwWcM/QUNe/CVvQjVWQcPbQxenxbazV98IPSGZ6BVexSmxrBe/2AiOqrwBaL52s5W5NjLIwOfqVYX7G7R9IVuH/RNyoQzXXAOm8OPjkgfGEaHFytKjYnGLQYKqvCOn5/8nFzLAkcXMNjnSO3Lb7pWct+G/rLk6Oboy0OcpshpxUBm4mC+H+427rahW2ETfr0CqGdOSRwdQf+2jn26qLyF7K33waNFT7HW30a2A4iculhO2Cje5ssKBlIZ23Nj718vi1bXcv018/56c+7ufYGdEqKhHR7WBukcAFAffEXLNvcmRkRF8/+59ZfmcgM6jazwAAAABJRU5ErkJggg=="; -;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/AppealModal/index.less?modules -// extracted by mini-css-extract-plugin -/* harmony default export */ var AppealModalmodules = ({"flex_box_center":"flex_box_center___F6_u2","flex_space_between":"flex_space_between___daZLZ","flex_box_vertical_center":"flex_box_vertical_center___VsQqg","flex_box_center_end":"flex_box_center_end___GAjIo","flex_box_column":"flex_box_column___LrrCV","shensu_style":"shensu_style___o5_sk"}); -// EXTERNAL MODULE: ./src/components/MultiUpload/index.tsx + 1 modules -var MultiUpload = __webpack_require__(98174); -;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/AppealModal/index.tsx - - - - - - - - - - - - -var AppealModal_competitionsPage = function competitionsPage(_ref) { - var dispatch = _ref.dispatch, - competitions = _ref.competitions; - 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)(false), - _useState2 = slicedToArray_default()(_useState, 2), - showModal = _useState2[0], - setShowModal = _useState2[1]; - return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { - className: AppealModalmodules.shensu_style, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { - className: "iconfont icon-tishi11 font12 mr10" - }), "\u91CD\u8981\u901A\u77E5\uFF1A\u60A8\u7684\u6218\u961F\u56E0\u8FDD\u53CD\u7ADE\u8D5B\u89C4\u5219\u5DF2\u88AB\u7BA1\u7406\u5458\u5C01\u7981\uFF0C\u6218\u961F\u6210\u7EE9\u5C06\u4E0D\u518D\u8BA1\u5165\u6392\u884C\u699C\u3002\u5982\u6709\u7591\u95EE\u53EF\u4EE5\u8FDB\u884C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", { - style: { - color: "#165DFF", - cursor: 'pointer' - }, - onClick: function onClick() { - setShowModal(true); - }, - children: "\u7533\u8BC9\u89E3\u5C01" - }), "\u3002"] - }), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, { - centered: true, - width: 500, - title: "\u7533\u8BC9\u89E3\u5C01", - open: showModal, - okText: "\u786E\u5B9A", - cancelText: "\u53D6\u6D88", - onCancel: function onCancel() { - setShowModal(false); - form.resetFields(); - }, - onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { - var _competitions$competi; - var res; - return regeneratorRuntime_default()().wrap(function _callee$(_context) { - while (1) switch (_context.prev = _context.next) { - case 0: - _context.next = 2; - return form.validateFields(); - case 2: - _context.next = 4; - return (0,fetch/* default */.ZP)("/api/competition_duplicate_checks/initiate_appeal.json", { - method: 'post', - body: objectSpread2_default()({ - id: competitions === null || competitions === void 0 || (_competitions$competi = competitions.competition) === null || _competitions$competi === void 0 || (_competitions$competi = _competitions$competi.competition_team) === null || _competitions$competi === void 0 ? void 0 : _competitions$competi.id - }, form.getFieldsValue()) - }); - case 4: - res = _context.sent; - if (res.status == 0) { - message/* default */.ZP.success('操作成功'); - setShowModal(false); - } - case 6: - case "end": - return _context.stop(); - } - }, _callee); - })), - children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, { - form: form - // layout="vertical" - , - labelCol: { - span: 4 - }, - wrapperCol: { - span: 20 - }, - children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u7533\u8BC9\u539F\u56E0", - name: "content", - colon: false, - rules: [{ - required: true, - message: "\u5FC5\u586B\u9879" - }], - children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.TextArea, { - placeholder: "\u8BF7\u8F93\u5165\u7533\u8BC9\u539F\u56E0", - rows: 5 + dispatch({ + type: 'competitions/setActionTabs', + payload: {} + }); + } + }, [competitions.actionTabs]); + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Settingmodules.all, + ref: setContainer, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Settingmodules.setting, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Settingmodules.setting_title, + children: "\u57FA\u7840\u8BBE\u7F6E" + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Settingmodules.setting_content, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Settingmodules.setting_menu, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: menu_list.map(function (v, k) { + return /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: menuActive == v ? Settingmodules.menu_item_active : Settingmodules.menu_item, + onClick: function onClick() { + // container.scrollIntoView() + document.body.scrollIntoView({ + block: "start", + behavior: "smooth" + }); + setMenuActive(v); + setLoading(true); + }, + children: v + }, k); + }) }) - }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, { - label: "\u7533\u8BC9\u6587\u4EF6", - name: "attachment_id", - colon: false, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, { - number: 1 + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Settingmodules.setting_info, + children: /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, { + spinning: loading, + children: [menuActive == '竞赛信息' && /*#__PURE__*/(0,jsx_runtime.jsx)(information, { + competitionId: identifier, + loadingFunction: loadingFunction, + formName: formName + }), menuActive == '图片设置' && /*#__PURE__*/(0,jsx_runtime.jsx)(picture, { + competitionId: identifier, + loadingFunction: loadingFunction + }), menuActive == '评测设置' && /*#__PURE__*/(0,jsx_runtime.jsx)(questions, { + competitionId: identifier, + loadingFunction: loadingFunction + }), menuActive == '管理人员' && /*#__PURE__*/(0,jsx_runtime.jsx)(personnel, { + competitionId: identifier, + loadingFunction: loadingFunction + }), menuActive == '竞赛指引' && /*#__PURE__*/(0,jsx_runtime.jsx)(Setting_document, { + competitions: competitions, + clickInformation: clickInformation, + clickQuetions: clickQuetions, + competitionId: identifier, + loadingFunction: loadingFunction + })] }) })] - }) - })] + })] + }) }); }; -/* harmony default export */ var AppealModal = ((0,_umi_production_exports.connect)(function (_ref3) { - var dispatch = _ref3.dispatch, - competitions = _ref3.competitions; +// export default ; +/* harmony default export */ var Setting = ((0,_umi_production_exports.connect)(function (_ref2) { + var competitions = _ref2.competitions, + globalSetting = _ref2.globalSetting, + user = _ref2.user; return { - dispatch: dispatch, - competitions: competitions + competitions: competitions, + globalSetting: globalSetting, + user: user }; -})(AppealModal_competitionsPage)); +})(settingPage)); +;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Rankingmodules = ({"flex_box_center":"flex_box_center___M4JlS","flex_space_between":"flex_space_between___ft0RM","flex_box_vertical_center":"flex_box_vertical_center___q2FOd","flex_box_center_end":"flex_box_center_end___sHMG4","flex_box_column":"flex_box_column____iI7H","bg":"bg___k6sPc","title":"title___g14V4","right":"right___m_DFD","left":"left___mwgoj","muitem":"muitem___oVuqT","muitemselectactive":"muitemselectactive___r9dit","muitemselect":"muitemselect___S4V8Y","searchWrap":"searchWrap___VZKxz","search":"search___NaLMi","searchIcon":"searchIcon___kyXjW","button":"button___9r1Cv","footer":"footer___FeXKb","clear_button":"clear_button___tLyhc","save_button":"save_button___jdXaq"}); +;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/icon/1.png +var _1_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAuNJREFUOE+dlE1oXFUUx3/nvo/pzKtp4li0hkYHNw22m4qLxoWWSkG6UMSvgmC6kCzdSN25d2lBaF3ppoIb0a6kXVRKVxIohgiGlkpSa2OTGKeTeZ/3HrlvJulUFNSzetx7zu/877n/+2Tz3MxTiH5n4BFVAgQTPNmej6Ynrzs4LiLjojinbk2M+ab8/sZLutabRHEKDlisWu6oAHQ/PTLjlEtmfFczPDSFGWuBs2jRB1uBzwoiJGqBMbi7XcqFFSQrf4nUzDTnri7XIB/9K69+JE/sPY06tLcOeQ/UgiuoSSYGCaA5hiQPQ2nh1vps8/mvPvf1NahYnn3Wya6rWuWRbt5Bqh5SrCM2BXTYStAwwcVtiHYj448jxvzaqPLD0vnsTg3KVuYW1LmDunELqfoYe+9+/bbkYVdFsNEYxAlmYhJVvmxOnXtT8punTmrYOO+6v0F2j8CWtU4nBvVHkeHp1SFqMX7EHhaEsLuNScZVquppyZffPa/OnXQbKxiCWokTu6Mj65Y4q7Qm4sGaQkCIw6G+z8R+jNgPJf15do0ia2tvAyNNnPq5DKK7mtO7m9NIAtqd5IFDGmngNEPGHkWC8FvJbr5TuawXkG4NB7s93EFdulnS/734C8jvGLyNJJlAonhJshtvFy7vR2S9kY73P/8ZNMiR1h4kjBYlXXrrttpiH+n/A5Hs8Sb9WtKlN86q6hxbf/x3RWKg9RBg35f0p1eOQXBR80ywFu/sfxcCcQxhaBU7VZsk/fHlS6p6jCIHE4H30o6j/wYbNsCVEMVg9Exr+sJ7Nai/cHw/Jp5Xp3ulKiFoDJTVwJHwJsSg6nNCROTaatI70ulcznYe7dYPJ54RcRdUdV/9g1Bval84Yge1qL9173aRa0TVieTAxdv17Y021MUXHkvL6GOE1z2nZgxexGhYET5Z3Sg/6By9nG1vPJgyXM3nX5x2gb7m4DmBjqqWglxHuKLOfJEcHqgYjT8BLuRat62RywwAAAAASUVORK5CYII="; +;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/icon/2.png +var _2_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAyZJREFUOE91VE1oVFcU/s69703eJBNSg2iysDXJEIkWIv6hFaUWXLSILoSIurAru9JFu+q2i+5a0bUL3biQQuuuoBQMGBcmGsdJZyjOmESNia0mgn0z895958h5SSaJ4oH7uPfcw3e/8333Pvr6ynSfY7kNkfUQWCKYw5v9u9/0mFki8xUgHRAkIOj6xsWx+snKgnwCCEPAIPwV9352lADg8OWp/UJys7eDsqcGfGxoNYAApJ+lSGe0mCn+m+BaKUbo6JG49gO3vut8kwJpXL4z88vebvO9gYBEYAAwJ+AkUURY6wFkIApGhFc1Ruk/+vLswe7b6Rn6KT2f+0IiGYaINSJI4joa9bdIXIyUWhoE3w/Qks2BrA8mAgz93RlgT1dX1/8kIlSanC1D0L8M4qKw2ZLWy0qHICL4Le0g64GNUfa/DvR2/0DFJy/OkOCKgpC24mqpFmT8xaFIyosTCLt0aM74WTAZVdsFkllPxcrMbwQc97SaY8WAQPUgOOdQqTyBcwn6+noQBC2pWSQOQhZMFski27P06PHz1wSs89OWGSy22daDBwXk+3pgPQ8TEyXs3r2j6aEhAYtBgxnGmAtU+OdZYpSpUZ8Uvmkk5uZeYuPGDYjjGIXCBHbu3L6i3VJ1w6mr5ncaL09H1pCfsStMmtUAwjBEsVjGtm1b0NbWtnornddip8dfo/Hy1DSENmUzqUprYn5+AdXqJAYHP4fnfbgvIggbMciYn+l+aeoSJ3wuF2SaDi2jDQ+PoL09pxogmw3Q359fc1DsEtSjGNaaI3S/NLmPHd/xPUtBxv+A1ccTgre1CMIyUy2Pfpoqe69Q/YOZj+VaW+B9RKv3AWuNCA1lQ/TtrsH81RRoZOJpp41qowL05FqDVA/dEH13yy42DRWE9Qj1RgRr7PU92/Mnmm9NJ2Njj/MR8Q1h3prxPQRBBr4CLt1sFkYUOdTqDbiElfn1cCF/+tAhcmuAdPHw4WxbGL/5iYXPi8BL36XR/4GoFlCXiOiFIfPjvl1brq5ud+X2rcqOjlY6YnJDCfMABJshqJHBpEd2ZKo6/ufQ0FDyvmbvANHBbUYnb2MgAAAAAElFTkSuQmCC"; +;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/icon/3.png +var _3_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA0JJREFUOE+NU11oXEUU/s7MvXfv7t1NdpdUBH+jRdzYWKlVrFpoq2KFog+FiBaqVCm+6IOC4Jv44Iuo4JsSaGIhShG0T0YSA2m1Fm36oo2FWqhJTZZtus1usj/33pk5MnetdrsKHpiHmfnOd875+A4tHNx0JwlnFsAAAAmC8Ia3/eBterQMwi6A+wHSAJUF89H16c+f48pingGDzpm5+cb80wQAv79y3yMCmBIbbkr7D+2GyBXAIBjpgEmAGCDWIKNgE9TF82if/BqIWj8Hxtle/GSulhDZuHTozfflHcOvQ0goN412pBC1WtC6kyxdD34mA48MpGqD12sw5Qs7Nhx4z06TYFA/8dnDWuljRkgZyQwaV6pQYZgU4KuVEjAhlc0ikwvgRg0QYT7fpx+kzfsbxMy0enziLBPdFXk5hPU6jFIgsmJ5gBAAM1hrmDhOaJ10GinfgxutAyQ+KGx//g1a+W7iBaH1mEploTTBRCHIcSFSXkJ2bbAx0O0QMAYynYarW5A6VpxxB+jy7OEvANobZ/Iw2iTJZLsAEIYhfjkzD2M0hkolBEGQvButOx2zhmzXQcI9SCuzh6tGuAXj57qq28vssePYfO8wHMfBjz+dwq6dO7oxzBDNqhX6Q6rMjGvj+gJ+tocoimIrKCqVCpaWl/HA1q09GFq3ROZLKs+MRXB9F//Skc1ardVw7txvyAYBSqW7e4h47bL12AQtTY8tQDq3iGyhBzR3+jTu37IleZ+a/hZPPP7YdaMZ6Nolq9e7tDx16CPN5lWZvwFEHZGvxpn5X1G9Uk3MVCwWcM/QUNe/CVvQjVWQcPbQxenxbazV98IPSGZ6BVexSmxrBe/2AiOqrwBaL52s5W5NjLIwOfqVYX7G7R9IVuH/RNyoQzXXAOm8OPjkgfGEaHFytKjYnGLQYKqvCOn5/8nFzLAkcXMNjnSO3Lb7pWct+G/rLk6Oboy0OcpshpxUBm4mC+H+427rahW2ETfr0CqGdOSRwdQf+2jn26qLyF7K33waNFT7HW30a2A4iculhO2Cje5ssKBlIZ23Nj718vi1bXcv018/56c+7ufYGdEqKhHR7WBukcAFAffEXLNvcmRkRF8/+59ZfmcgM6jazwAAAABJRU5ErkJggg=="; ;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Ranking/index.tsx @@ -11816,6 +12184,11 @@ var Content = function Content(_ref) { user: user }; })(Content)); +// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/progress/index.js + 13 modules +var progress = __webpack_require__(93948); +;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/view/Entrance/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Entrancemodules = ({"box":"box___akQ2p","row":"row___GF1qx","icon":"icon___vRGEr"}); ;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/view/Entrance/index.tsx @@ -11833,6 +12206,9 @@ var Content = function Content(_ref) { + + + var Entrance = function Entrance(_ref) { var _CommitRecords$data3, _CommitRecords$data4, _CommitRecords$data5, _CommitRecords$data6, _competitions$competi, _CommitRecords$data7, _CommitRecords$data8; var dispatch = _ref.dispatch, @@ -12026,27 +12402,300 @@ var Entrance = function Entrance(_ref) { }); } }]; - var UploadProps = { - fileList: fileList, - action: "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"), - beforeUpload: function beforeUpload(file) { - var fileSize = file.size / 1024 / 1024 / 1024; - var fileType = file.name.split(".").slice(-1)[0].toLowerCase(); - if (fileSize > 1) { - message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(1G)"); - return Promise.reject(); - } - if (fileType != "zip") { - message/* default */.ZP.error("\u4EC5\u652F\u6301zip\u4E0A\u4F20"); - return Promise.reject(); + + // const UploadProps = { + // fileList, + // action: `${ENV.API_SERVER}/api/attachments.json`, + // beforeUpload: (file: any) => { + // const fileSize = file.size / 1024 / 1024 / 1024 + // const fileType = file.name.split(".").slice(-1)[0].toLowerCase(); + // if (fileSize > 1) { + // message.error(`该文件无法上传。超过文件大小限制(1G)`) + // return Promise.reject() + // } + // if (fileType != "zip") { + // message.error(`仅支持zip上传`) + // return Promise.reject() + // } + // setFileList([]) + // return true + // }, + // onChange: (info: any) => { + // setFileList(info.fileList); + // } + // } + + var fileListRef = (0,_react_17_0_2_react.useRef)([]); + (0,_react_17_0_2_react.useEffect)(function () { + fileListRef.current = fileList; + }, [fileList]); + var uploadProps = { + multiple: true, + withCredentials: true, + showUploadList: false, + beforeUpload: function () { + var _beforeUpload = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(file) { + var fileSize, fileType, gather; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + fileSize = file.size / 1024 / 1024 / 1024; + fileType = file.name.split(".").slice(-1)[0].toLowerCase(); + if (!(fileSize > 10)) { + _context2.next = 5; + break; + } + message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(10G)"); + return _context2.abrupt("return", Promise.reject()); + case 5: + if (!(fileType != "zip")) { + _context2.next = 8; + break; + } + message/* default */.ZP.error("\u4EC5\u652F\u6301zip\u4E0A\u4F20"); + return _context2.abrupt("return", Promise.reject()); + case 8: + gather = { + id: String(Math.random()).slice(-6), + name: file.name, + size: file.size, + file: file, + description: '', + percent: 0, + status: 'uploading' + }; // OSSUploadFiles(gather, { + // login: data?.login, + // container_type: 'DataSet', + // container_id: null, + // description: '', + // realFileName: true + // }) + LocalUploadFiles(gather); + setFileList(function (p) { + return [].concat(toConsumableArray_default()(p), [gather]); + }); + return _context2.abrupt("return", Promise.reject()); + case 12: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function beforeUpload(_x) { + return _beforeUpload.apply(this, arguments); } - setFileList([]); - return true; - }, - onChange: function onChange(info) { - setFileList(info.fileList); - } + return beforeUpload; + }() }; + var LocalUploadFiles = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(gather) { + var file, fileSize, name, chunkSize, totalChunks, res, uploadId, chunk_count, client, promises, percent, _loop, i, completed, step, _promises$slice, subTasks, p, result; + return regeneratorRuntime_default()().wrap(function _callee3$(_context4) { + while (1) switch (_context4.prev = _context4.next) { + case 0: + file = gather.file; + fileSize = file.size; + name = file.name; + chunkSize = 1024 * 1024 * 2; // 2MB + totalChunks = Math.ceil(fileSize / chunkSize); + _context4.next = 7; + return (0,fetch/* default */.ZP)("/api/attachments/multipart_breakpoint_upload_start", { + method: 'POST', + body: { + fileName: name, + chunkCount: totalChunks, + size: file === null || file === void 0 ? void 0 : file.size, + lastModified: file === null || file === void 0 ? void 0 : file.lastModified, + container_type: 'DataSet' + } + }); + case 7: + res = _context4.sent; + if (!((res === null || res === void 0 ? void 0 : res.status) !== 0)) { + _context4.next = 11; + break; + } + setFileList(function (p) { + var i = p.findIndex(function (item) { + return item.name === name; + }); + if (i > -1) { + p[i]['status'] = 'error'; + return toConsumableArray_default()(p); + } + return p; + }); + return _context4.abrupt("return"); + case 11: + uploadId = res.upload_id, chunk_count = res.chunk_count; + client = new AbortController(); + promises = []; + percent = chunk_count; + _loop = /*#__PURE__*/regeneratorRuntime_default()().mark(function _loop() { + var start, end, chunk, formData; + return regeneratorRuntime_default()().wrap(function _loop$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + start = i * chunkSize; + end = Math.min(start + chunkSize, fileSize); + chunk = file.slice(start, end); + formData = new FormData(); + formData.append('chunk', chunk); + formData.append('fileName', name); + formData.append('chunkIndex', (i + 1).toString()); + formData.append('uploadId', uploadId); + formData.append('container_type', 'DataSet'); + promises.push(function () { + return (0,fetch/* default */.ZP)("/api/attachments/multipart_upload", { + method: 'POST', + body: formData, + signal: client.signal + }, true).then(function (res) { + percent++; + var currentProgress = Math.round(percent / totalChunks * 100); + try { + if ((res === null || res === void 0 ? void 0 : res.status) === 0) { + setFileList(function (p) { + var i = p.findIndex(function (item) { + return item.name === name; + }); + p[i]['client'] = client; + p[i]['percent'] = currentProgress; + return toConsumableArray_default()(p); + }); + } else { + setFileList(function (p) { + var i = p.findIndex(function (item) { + return item.name === name; + }); + if (i > -1) { + p[i]['status'] = 'error'; + return toConsumableArray_default()(p); + } + return p; + }); + } + } catch (err) { + console.log('接口错误:', err); + } + }); + }); + case 10: + case "end": + return _context3.stop(); + } + }, _loop); + }); + i = chunk_count; + case 17: + if (!(i < totalChunks)) { + _context4.next = 22; + break; + } + return _context4.delegateYield(_loop(), "t0", 19); + case 19: + i++; + _context4.next = 17; + break; + case 22: + completed = 0; + step = 4; + case 24: + if (!(completed < promises.length)) { + _context4.next = 33; + break; + } + subTasks = (_promises$slice = promises.slice(completed, completed + step)) === null || _promises$slice === void 0 ? void 0 : _promises$slice.map(function (t) { + return t(); + }); + if (!(subTasks.length > 0)) { + _context4.next = 31; + break; + } + _context4.next = 29; + return Promise.all(subTasks); + case 29: + p = _context4.sent; + completed += step; + case 31: + _context4.next = 24; + break; + case 33: + _context4.next = 35; + return (0,fetch/* default */.ZP)("/api/attachments/multipart_upload_end", { + method: 'POST', + body: { + fileName: file.name, + chunkCount: totalChunks, + uploadId: uploadId, + container_type: 'DataSet' + } + }); + case 35: + result = _context4.sent; + if ((result === null || result === void 0 ? void 0 : result.status) === 0) { + setFileList(function (p) { + var i = p.findIndex(function (item) { + return item.name === name; + }); + if (i > -1) { + p[i]['status'] = 'done'; + p[i].response = { + id: result === null || result === void 0 ? void 0 : result.id + }; + return toConsumableArray_default()(p); + } + return p; + }); + } else { + setFileList(function (p) { + var i = p.findIndex(function (item) { + return item.name === name; + }); + if (i > -1) { + p[i]['status'] = 'error'; + return toConsumableArray_default()(p); + } + return p; + }); + } + case 37: + case "end": + return _context4.stop(); + } + }, _callee3); + })); + return function LocalUploadFiles(_x2) { + return _ref2.apply(this, arguments); + }; + }(); + var handleRemove = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(file) { + var currentFile, _currentFile$client; + return regeneratorRuntime_default()().wrap(function _callee4$(_context5) { + while (1) switch (_context5.prev = _context5.next) { + case 0: + currentFile = fileListRef.current.find(function (item) { + return item.name === file.name; + }); + if (currentFile !== null && currentFile !== void 0 && currentFile.client) { + currentFile === null || currentFile === void 0 || (_currentFile$client = currentFile.client) === null || _currentFile$client === void 0 || _currentFile$client.abort(); + } + setFileList(function (p) { + return p.filter(function (item) { + return (item === null || item === void 0 ? void 0 : item.id) !== (file === null || file === void 0 ? void 0 : file.id); + }); + }); + case 3: + case "end": + return _context5.stop(); + } + }, _callee4); + })); + return function handleRemove(_x3) { + return _ref3.apply(this, arguments); + }; + }(); var getCompetitionCommitRecords = function getCompetitionCommitRecords() { dispatch({ type: "competitions/getCompetitionCommitRecords", @@ -12078,12 +12727,12 @@ var Entrance = function Entrance(_ref) { }), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, { children: (is_manager || (competition === null || competition === void 0 ? void 0 : competition.is_member)) && (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.can_evaluation) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, { type: "primary", - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() { var res; - return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { - while (1) switch (_context2.prev = _context2.next) { + return regeneratorRuntime_default()().wrap(function _callee5$(_context6) { + while (1) switch (_context6.prev = _context6.next) { case 0: - _context2.next = 2; + _context6.next = 2; return dispatch({ type: "competitions/postCompetitionCommitRecords", payload: { @@ -12097,7 +12746,7 @@ var Entrance = function Entrance(_ref) { } }); case 2: - res = _context2.sent; + res = _context6.sent; if ((res === null || res === void 0 ? void 0 : res.status) == 0) { message/* default */.ZP.success(res === null || res === void 0 ? void 0 : res.message); setFileList([]); @@ -12113,9 +12762,9 @@ var Entrance = function Entrance(_ref) { } case 5: case "end": - return _context2.stop(); + return _context6.stop(); } - }, _callee2); + }, _callee5); })), children: "\u63D0\u4EA4" }) @@ -12150,12 +12799,12 @@ var Entrance = function Entrance(_ref) { })] }) })] - }), radioValue == 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + }), radioValue == 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: "mt20", style: { width: 333 }, - children: /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z.Dragger, objectSpread2_default()(objectSpread2_default()({}, UploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z.Dragger, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { style: { textAlign: "center" @@ -12181,7 +12830,59 @@ var Entrance = function Entrance(_ref) { })] })] }) - })) + })), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: Entrancemodules.box, + children: fileList.map(function (item) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Entrancemodules.row, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: Entrancemodules.icon, + children: [item.status === 'done' && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-wancheng", + style: { + color: '#19CB70' + } + }), item.status === 'error' && /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-cuowu", + style: { + color: '#E30000', + marginLeft: 1, + fontSize: 13 + } + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + width: 250 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, { + title: item === null || item === void 0 ? void 0 : item.name, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + color: item.status === 'error' ? '#E30000' : '#3061D0', + textDecoration: 'underline' + }, + children: (0,util/* cutFileName */.tP)(item === null || item === void 0 ? void 0 : item.name, 9) + }) + }), item.status === 'uploading' && /*#__PURE__*/(0,jsx_runtime.jsx)(progress/* default */.Z, { + strokeColor: "#3061D0", + trailColor: "rgba(144, 150, 163, 0.1)", + percent: item.percent, + showInfo: false, + size: [168, 4] + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)("i", { + onClick: function onClick() { + return handleRemove(item); + }, + className: "iconfont icon-shanchu14 font14 ml20 mr20", + style: { + cursor: 'pointer', + color: '#F65160' + } + })] + }, item.id); + }) + })] }), radioValue == 2 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { className: "mt20", style: { @@ -12270,12 +12971,12 @@ var Entrance = function Entrance(_ref) { size: "large", className: "ml20", type: "primary", - onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() { + onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() { var res; - return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { - while (1) switch (_context3.prev = _context3.next) { + return regeneratorRuntime_default()().wrap(function _callee6$(_context7) { + while (1) switch (_context7.prev = _context7.next) { case 0: - _context3.next = 2; + _context7.next = 2; return dispatch({ type: "competitions/putCompetitionEntries", payload: objectSpread2_default()({ @@ -12283,7 +12984,7 @@ var Entrance = function Entrance(_ref) { }, urlData) }); case 2: - res = _context3.sent; + res = _context7.sent; if ((res === null || res === void 0 ? void 0 : res.status) == 0) { message/* default */.ZP.success("修改成功"); setIsEdit(false); @@ -12291,9 +12992,9 @@ var Entrance = function Entrance(_ref) { } case 4: case "end": - return _context3.stop(); + return _context7.stop(); } - }, _callee3); + }, _callee6); })), children: "\u4FDD\u5B58\u66F4\u6539" })] @@ -12301,11 +13002,11 @@ var Entrance = function Entrance(_ref) { })] }); }; -/* harmony default export */ var view_Entrance = ((0,_umi_production_exports.connect)(function (_ref4) { - var competitions = _ref4.competitions, - loading = _ref4.loading, - globalSetting = _ref4.globalSetting, - user = _ref4.user; +/* harmony default export */ var view_Entrance = ((0,_umi_production_exports.connect)(function (_ref6) { + var competitions = _ref6.competitions, + loading = _ref6.loading, + globalSetting = _ref6.globalSetting, + user = _ref6.user; return { competitions: competitions, globalSetting: globalSetting, @@ -12521,8 +13222,6 @@ var view_competitionsPage = function competitionsPage(_ref) { user: user }; })(view_competitionsPage)); -// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/progress/index.js + 13 modules -var progress = __webpack_require__(93948); ;// CONCATENATED MODULE: ./src/pages/Competitions/Edit/Grade/index.less?modules // extracted by mini-css-extract-plugin /* harmony default export */ var Grademodules = ({"flex_box_center":"flex_box_center___Hpdq0","flex_space_between":"flex_space_between___akAIQ","flex_box_vertical_center":"flex_box_vertical_center___A0Zla","flex_box_center_end":"flex_box_center_end___uiqEz","flex_box_column":"flex_box_column___aBnwy","Onerow":"Onerow___odVNB","bg":"bg___Ji5Uk","Title":"Title___A6Uh1"}); diff --git a/p__Competitions__Edit__index.dd2ae9a5.chunk.css b/p__Competitions__Edit__index.849b0481.chunk.css similarity index 98% rename from p__Competitions__Edit__index.dd2ae9a5.chunk.css rename to p__Competitions__Edit__index.849b0481.chunk.css index b765bf9060..6dedc7f2ed 100644 --- a/p__Competitions__Edit__index.dd2ae9a5.chunk.css +++ b/p__Competitions__Edit__index.849b0481.chunk.css @@ -2063,7 +2063,7 @@ button[class~='ant-btn-default']:disabled.btn___In02G { z-index: 100; text-align: center; line-height: 10px; - right: 125px; + right: 108px; top: 4px; } @@ -2380,6 +2380,111 @@ button[class~='ant-btn-default']:disabled.btn___In02G { cursor: not-allowed; } +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Edit/AppealModal/index.less?modules ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.flex_box_center___F6_u2 { + justify-content: center; + align-items: center; + -webkit-justify-content: center; + box-align: center; +} +.flex_space_between___daZLZ { + justify-content: space-between; + -webkit-box-pack: justify; +} +.flex_box_vertical_center___VsQqg { + align-items: center; + box-align: center; +} +.flex_box_center_end___GAjIo { + 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___LrrCV { + flex-direction: column; + box-orient: block-axis; +} +.shensu_style___o5_sk { + height: 30px; + background: rgba(255, 157, 24, 0.1); + border-radius: 0px 0px 8px 8px; + padding: 0 30px; + font-family: PingFangSC, PingFang SC; + font-weight: 400; + font-size: 12px; + color: #FF9D18; + line-height: 30px; + text-align: left; + font-style: normal; +} + +/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***! + \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.upload_button { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; + display: inline-block; + text-align: center; + align-items: center; + align-content: center; +} +.upload_button .aBtn_img { + width: 14px; + height: 14px; + margin-top: -3px; + margin-right: 8px; +} +.upload_button:hover { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.upload_button:active { + width: 108px; + height: 32px; + background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); + box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); + border-radius: 2px; + border: 1px solid #BACFFE; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #3061D0; +} +.upload_text { + width: 129px; + height: 20px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #5F6367; + line-height: 20px; + margin-left: 16px; +} + /*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** 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.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Edit/Setting/index.less?modules ***! \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -4697,6 +4802,36 @@ body { .MdEditor___Xr0CF [class~='CodeMirror-cursor'] { height: 25px !important; } +.Onerow___kroIv { + word-break: break-all; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} +.dataSetModSty___V_RD8 { + display: flex; +} +.dataSetModSty___V_RD8 .boxLeft___LlBaf { + width: 550px; + margin-right: 10px; +} +.dataSetModSty___V_RD8 .boxLeft___LlBaf .listSty___hTRxO { + height: 300px; + overflow-y: auto; + overflow-x: hidden; +} +.dataSetModSty___V_RD8 .boxRight___VzXqv { + width: 185px; + height: 300px; + overflow-y: auto; + overflow-x: hidden; +} +.dataSetModSty___V_RD8 .boxRight___VzXqv .titleSty___eSJAC { + word-break: break-all; + 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.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Edit/Setting/personnel/index.less?modules ***! @@ -5308,111 +5443,6 @@ body { cursor: pointer; } -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** 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.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Edit/AppealModal/index.less?modules ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.flex_box_center___F6_u2 { - justify-content: center; - align-items: center; - -webkit-justify-content: center; - box-align: center; -} -.flex_space_between___daZLZ { - justify-content: space-between; - -webkit-box-pack: justify; -} -.flex_box_vertical_center___VsQqg { - align-items: center; - box-align: center; -} -.flex_box_center_end___GAjIo { - 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___LrrCV { - flex-direction: column; - box-orient: block-axis; -} -.shensu_style___o5_sk { - height: 30px; - background: rgba(255, 157, 24, 0.1); - border-radius: 0px 0px 8px 8px; - padding: 0 30px; - font-family: PingFangSC, PingFang SC; - font-weight: 400; - font-size: 12px; - color: #FF9D18; - line-height: 30px; - text-align: left; - font-style: normal; -} - -/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***! - \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -.upload_button { - width: 108px; - height: 32px; - background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - border-radius: 2px; - border: 1px solid #BACFFE; - font-size: 14px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: #3061D0; - display: inline-block; - text-align: center; - align-items: center; - align-content: center; -} -.upload_button .aBtn_img { - width: 14px; - height: 14px; - margin-top: -3px; - margin-right: 8px; -} -.upload_button:hover { - width: 108px; - height: 32px; - background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - border-radius: 2px; - border: 1px solid #BACFFE; - font-size: 14px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: #3061D0; -} -.upload_button:active { - width: 108px; - height: 32px; - background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%); - box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5); - border-radius: 2px; - border: 1px solid #BACFFE; - font-size: 14px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: #3061D0; -} -.upload_text { - width: 129px; - height: 20px; - font-size: 14px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: #5F6367; - line-height: 20px; - margin-left: 16px; -} - /*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** 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.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Edit/view/index.less?modules ***! \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ @@ -5712,6 +5742,34 @@ div[class~='ant-collapse-borderless'] { display: none; } +/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** 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.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Edit/view/Entrance/index.less?modules ***! + \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +.box___akQ2p { + max-height: 140px; + overflow: auto; + margin-bottom: 20px; + margin-top: 10px; + width: calc(100% + 11px); + padding-right: 6px; +} +.box___akQ2p .row___GF1qx { + display: flex; + align-items: center; + margin-top: 10px; +} +.box___akQ2p .row___GF1qx:first-child { + margin-top: 0; +} +.box___akQ2p .row___GF1qx .icon___vRGEr { + margin-right: 5px; + margin-left: 10px; + width: 16px; +} +.box___akQ2p .row___GF1qx div[class~='ant-progress-line'] { + margin: 0; +} + /*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ !*** 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.3.34@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.34@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Competitions/Edit/Grade/index.less?modules ***! \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ diff --git a/umi.70816c49.js b/umi.f12e2cb9.js similarity index 99% rename from umi.70816c49.js rename to umi.f12e2cb9.js index a28d51ec0c..167f5e294a 100644 --- a/umi.70816c49.js +++ b/umi.f12e2cb9.js @@ -57003,7 +57003,8 @@ __webpack_require__.d(__webpack_exports__, { var DEV = { // PROXY_SERVER: 'https://test-data.educoder.net', // PROXY_SERVER: 'http://172.16.100.122', - PROXY_SERVER: 'https://app-kyxt.pcl.ac.cn', + // PROXY_SERVER: 'https://app-kyxt.pcl.ac.cn', + PROXY_SERVER: 'http://47.111.130.18:55612', API_SERVER: '', REPORT_SERVER: 'http://192.168.1.57:3001', IMG_SERVER: 'http://47.111.130.18:55612', @@ -206478,7 +206479,7 @@ function debounce (delay, callback, options) { /******/ // This function allow to reference async chunks /******/ __webpack_require__.u = function(chunkId) { /******/ // return url for filenames based on template -/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22582":"p__Competitions__SpecialSubject__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45261":"p__Forums__User__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","63157":"p__User__Detail__ExperImentImg__Add__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69441":"p__Forums__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","78746":"p__Forums__Subject__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88155":"p__Shixuns__Overview__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","95616":"p__Competitions__Group__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + "." + {"292":"3c1606f7","310":"2ad59313","556":"e9124bb6","615":"2a31b60a","1024":"03d16528","1482":"39f5d0d1","1660":"a9fd097c","1702":"9b6e1975","1806":"aa50e678","2249":"90399667","2355":"ce93dfd7","2360":"2f3cadfa","2494":"5e069ec9","2659":"bf65e75c","2805":"47463a95","2819":"66bd4f29","2837":"b3a05bc1","3133":"6a9f7113","3317":"156fb7a0","3391":"8c40de4c","3406":"e82e171f","3451":"0f41517b","3509":"127f82ac","3585":"4868f705","3885":"e66b03f8","3951":"f303e368","4628":"ee66c2f3","4685":"21279a05","4736":"186f072b","4766":"6a38025c","4884":"93dc7909","4973":"5d034e88","5112":"29544cf6","5238":"711a7458","5301":"1c8153f0","5434":"361b868d","5572":"01a470b4","5831":"79a10801","6127":"3264b9b8","6378":"27c8142f","6685":"240afef6","6758":"223bebc0","6788":"12e4af4e","6806":"b3d646f6","7043":"3dd282b5","7229":"e0da5992","7385":"5f5be16d","7714":"7caca036","7852":"f2a7f676","7884":"8d3582ea","8748":"50afdcdd","8787":"2ce842fe","8999":"4e3f628b","9077":"40f1e9a4","9093":"8fff51bf","9416":"2ada0809","9863":"e8aa7c82","9928":"5856e32a","9951":"686d67fa","10195":"b3277ee4","10354":"5c063e6f","10485":"a40eeaf9","10737":"966922c6","10799":"501e488f","10898":"d06ad7d6","10921":"8966eed6","11021":"1e19c52a","11064":"9409597b","11070":"24e3451c","11253":"cefb5ef5","11512":"6d14f7a5","11520":"28c7ada6","11545":"8ee3ece6","11578":"3ee0ae76","11581":"eefb5e1a","11893":"f5fdd938","11932":"0e7870cb","12076":"a77c89fc","12102":"74eb289c","12303":"1a134e52","12386":"289c62c7","12412":"d0c15d0f","12476":"827c3903","12800":"50f2bafe","12865":"a0422fb8","12884":"b6995911","12911":"ffbabc43","13006":"4bd75f62","13355":"867a4628","13488":"9962c840","13581":"97f38fdf","14058":"2d0610c2","14088":"c639825c","14105":"779d2abf","14227":"ce273793","14514":"6c9e42e0","14599":"52cee79c","14610":"0163eabc","14642":"d8d9787e","14662":"02bf2ae9","14882":"519542d7","14889":"a6bc023c","15148":"d4243d55","15186":"a783f970","15290":"7b3f25d8","15319":"4fae7ee5","15402":"0845bbd0","15631":"d790a1bf","15804":"79a9ac0f","15845":"c8fe49ef","16328":"7eff4ba9","16351":"a0985ba3","16434":"69f333c2","16473":"e86c5851","16554":"abe8e41b","16703":"02771c68","16729":"1d268093","16845":"84ad49d9","17103":"5fd337a8","17472":"22e28172","17482":"ce497eab","17527":"105ae018","17539":"cad371e0","17622":"561b060d","17806":"86c570e6","17808":"dd9975f9","17968":"bb79a69a","18241":"06865f50","18302":"622579f6","18307":"6b184b71","18350":"0ed0f7c3","18390":"a351b90c","18491":"1c470518","18812":"38956a2b","18880":"c60005b3","18898":"25ad586a","18963":"33e3df18","19014":"b836e674","19059":"cf9e747d","19208":"85e01132","19215":"ce38aa04","19360":"f7bf238c","19519":"f102e58c","19715":"e5eaf79c","19842":"1b668aa5","19891":"cf6e1ed7","19903":"6decc490","20026":"85e52273","20459":"18b570f2","20576":"c90e7824","20603":"a7bcfc8b","20680":"6bbbc4e7","20700":"9139c7b8","20834":"3f12bc25","21265":"d9715717","21321":"5eb7c748","21423":"d496d21e","21453":"c811fbbd","21499":"21764849","21515":"4299d0f9","21560":"c7423bd5","21578":"72682b3e","21622":"8428af29","21642":"7ecac2d7","21939":"2f9c05c0","22254":"f77d2d36","22307":"27b704b5","22582":"80203465","22707":"99e0f20c","23125":"102e119e","23332":"82fc835e","23561":"0dcab0b8","23647":"124a596d","24080":"8bbef305","24117":"6b874a97","24504":"bf4cde7a","24628":"b863dad4","24665":"651c4987","24797":"eb563316","24974":"b18ffc68","25022":"f18ae793","25399":"63222a75","25470":"395ab83d","25473":"0a6dd290","25606":"cccb11d6","25705":"4c514215","25972":"4593e218","26126":"400f4fd5","26221":"37102258","26366":"34ab07c5","26383":"27a1faf4","26585":"d5e28646","26685":"aa432c75","26741":"c00fada9","26883":"bb57c1f8","27092":"1bb5dee3","27178":"f914e052","27182":"af2a4349","27333":"9e0f3340","27395":"8ed677b2","27506":"1c420993","27706":"c0d5e1ef","27739":"042cdcec","28072":"ef2719b4","28089":"aaa88c03","28161":"00a22aad","28209":"227ed3a1","28237":"20716ff3","28435":"07f40e0d","28561":"ec76d55e","28639":"5bd1bb98","28723":"e27ec039","28782":"13822b1e","28920":"842a9870","28982":"6a8823ee","29559":"cdc05f60","29642":"cbcb88c9","29647":"3f7df37b","29895":"1fa85db5","29968":"5c930f27","30067":"c40854f9","30116":"0b352dbb","30264":"96f62740","30342":"81632794","30741":"0afd7032","31006":"6ff39351","31154":"abb4690e","31211":"6358a9ca","31427":"beb8d0db","31674":"68a64222","31962":"d967aa87","32080":"76db1e05","33356":"af989ea0","33550":"fb103f5a","33747":"b617c684","33784":"0b4dc592","33805":"a93fd24f","34093":"0c550559","34601":"cb2f7eac","34741":"7ddb5773","34790":"6eb90335","34800":"a4967ce4","34850":"daf624f2","34994":"f667c336","35019":"9cba43aa","35060":"7530a2b3","35238":"1ba467bb","35354":"c0640e01","35416":"b4018e87","35555":"f7eff637","35729":"b6f09c05","35840":"6912e1d5","36029":"3d22793f","36150":"91d28580","36270":"7880686b","36381":"40fc7c9f","36634":"03daa006","36784":"03bd4f73","37062":"cadbb527","37873":"2859aede","37948":"412f740e","38143":"23172c59","38447":"0cad2c5a","38634":"0fe28ccb","38660":"98f9ac25","38797":"f2123199","39252":"3d559668","39332":"405401a3","39391":"6778c970","39404":"90b81801","39440":"9cc0916e","39695":"c589d469","39865":"6c28ac14","39929":"00c87f99","39950":"57e939c0","40316":"a9e66dfb","40559":"abca55d3","41048":"8ea15f1c","41228":"1b7aa493","41657":"76ed86e7","41717":"3c35a22b","41953":"3f9026f7","42240":"8e49696b","42439":"e99eadfd","42441":"5117f4f9","42532":"c9b5bdce","42682":"5812995b","42698":"8aaddd30","43110":"6abf25af","43213":"e308dc07","43428":"68d635b9","43442":"2e32a460","43862":"385e5795","44150":"ce477d1c","44216":"4798c8a9","44259":"2d12822a","44354":"4d10aca1","44360":"2fe17938","44449":"3c7c84ee","44565":"5a17a205","44770":"c0e3261f","44911":"c0952b2c","44947":"652b6b43","45096":"dd492a5a","45179":"23dde689","45261":"2a943270","45359":"c5eaade1","45413":"b32e34de","45504":"97760b68","45650":"65672827","45775":"e8cf845a","45825":"920117fe","45881":"73dd5334","45948":"163653a8","45992":"582f95d4","46573":"db7fbeee","46738":"3948555b","46796":"ab4af6db","46907":"8cbbb6b9","46949":"4d0e4148","46963":"07b41a56","47545":"3c440a84","47686":"f38a5fc1","48077":"9272cad5","48431":"8cf3ada4","48689":"2628de00","48776":"3ca5830e","48903":"a3d7e196","49029":"03a2e509","49127":"2359876a","49166":"f2cbce24","49205":"5b45c683","49260":"d82ab47f","49366":"64e1b401","49716":"016f5801","49890":"4e2749e3","49947":"89299044","50682":"52a0cb66","50812":"9d4fac4a","50869":"0903c8b8","51144":"88d767c5","51276":"b304eec6","51461":"2f3d4335","51582":"4e570dbf","51646":"a1e61a3a","51716":"a8bc5f04","51855":"f1fd404e","51944":"a0e0f8f3","52126":"c79acbc5","52338":"3c989bf5","52404":"23166bb2","52708":"1b1762f1","52720":"527a9cdd","52806":"926a83ce","52829":"d9cb2b02","52831":"60ac42d0","52875":"8bd217a4","53114":"685610c8","53247":"4ff813a1","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"de81d04a","53984":"6152b569","54056":"384d9a16","54164":"d2c519ea","54492":"02f905f4","54572":"e57559c7","54770":"1e5bff6c","54862":"c7f83af8","55351":"b1b9a06c","55573":"470f69ef","55624":"01ac149b","55693":"4b714ff1","56047":"b4b0d1c6","56156":"c61ad60b","56277":"4c7b085d","56543":"2e834f1d","56794":"0dabe047","57045":"449028a9","57071":"b84487f2","57365":"7e7804c5","57560":"f6a1c6f2","57614":"dbd3b0df","57930":"1095fceb","58047":"3d0082a0","58268":"9dacd4eb","58271":"04f27f83","58599":"0d5bfa51","59028":"d368c072","59133":"8930ecfa","59363":"26f14b72","59649":"69ff2498","59679":"5c544da3","59788":"f4d66622","60166":"7ce9d07e","60479":"e2a3459b","60499":"1e778304","60533":"bf4a28bd","60547":"88da1715","60864":"4b15d51d","61043":"8738fbea","61362":"d5c7809e","61713":"ec3d1f49","61727":"dbf6104d","61880":"7f97931b","61998":"e8b3f696","62149":"5b5072e6","62300":"f0174d55","62534":"c75b1cb6","62548":"7fb9dac0","62695":"589e4814","62832":"91dd43b6","63157":"77d351de","63198":"f92793e1","63269":"be44acdc","63363":"d44c95ed","63709":"5d10d848","63814":"a376540e","63995":"0fbe900b","64017":"b7fba952","64106":"4fc356d6","64144":"1377c114","64217":"4a07abad","64467":"bc202cf2","64496":"8232a0ea","64520":"70c851be","65022":"33e32027","65111":"1abb98b6","65148":"b69c0783","65191":"67c5e7c1","65549":"2be58b5c","65693":"ea33fa66","65816":"7baa0bd1","65876":"a2754c64","66034":"21a34491","66063":"394bce91","66531":"69a70fc2","66583":"362b714f","66651":"b8549969","66779":"d559e3c5","67156":"918b4bca","67242":"a66e6d61","67414":"cceeea81","67470":"58dc32f7","67828":"dca43032","67878":"838a10ac","68014":"1e25bcf2","68665":"a8953104","68786":"f8bbd4cf","68827":"97fec91a","68842":"19057860","68882":"9b663cd4","69441":"86f32e65","69922":"89fe1c1e","69944":"6f665961","70130":"f66580ff","70372":"a96e2ec6","70671":"749b4875","70928":"0996a609","70981":"157d0b6b","71448":"17ae4950","71450":"9be286f8","71477":"87ae161c","71676":"5e433b88","71783":"e82a8745","72011":"7efe6dda","72032":"a8f47b55","72529":"14d1a2ac","72539":"0addd49c","72570":"6595a236","72749":"9b2e3a51","72969":"53256e8c","73183":"f844f620","73220":"2e827cfb","73755":"d28f6c16","74014":"5339ac81","74264":"f6b4cca5","74305":"d27eb997","74347":"a722ba6c","74630":"88f932a9","74795":"ae0d51ba","74854":"510831e9","75043":"d3feb413","75264":"f03ff03f","75321":"9b9a5dc1","75357":"5ff63558","75786":"a72e71f1","75816":"15c34327","75853":"4524f725","76904":"9f5d37ec","77084":"5fe882f0","77296":"35602ad1","77460":"c893135b","77857":"bd5b0e90","78018":"f25ad408","78085":"b14e5bef","78158":"30c742c4","78169":"f543c1fe","78241":"1b43a5eb","78268":"6d9be5a7","78302":"2f657c59","78737":"fa31da0e","78746":"bf96ee75","78782":"56e292c9","79296":"a07ccf04","79489":"bd783109","79590":"59e80fae","79817":"5e79737d","79921":"b0adf937","80357":"ed586095","80417":"f3a687e0","80629":"ca49ee59","81120":"b85c6c22","81148":"7c50d4cc","81326":"2daccc02","81799":"bfec976c","82339":"426b8f45","82425":"dffd29b4","82443":"bb4e804c","82683":"85e9d0cf","82854":"da181612","82933":"71de9f56","83141":"c6647814","83175":"d9658bea","83212":"25456429","83439":"a14af3f2","83935":"285569b8","84336":"3f6ce6e7","84360":"74d93ebc","84546":"09e180a6","84742":"1c21bc17","85045":"c79b0d46","85048":"35dc35be","85111":"873c8696","85297":"44364dab","85494":"da5840b1","85764":"5c1c73b5","85888":"d8f12fb9","85891":"83a925c2","86045":"0a358cbb","86052":"b5b88e0a","86129":"801a9880","86452":"87bc948f","86541":"39c75856","86634":"2252fc3c","86741":"1b08961a","86774":"2db1d78d","86820":"65b881f8","86913":"6ba1f477","87058":"656b975e","87260":"e88c3499","87624":"44b324a7","87922":"79323e47","87964":"83911fb5","88155":"983ebbcb","88517":"cacc6233","88699":"66bcc8c6","88866":"59a776df","89076":"35067b77","89426":"bdfaad8b","89495":"f76a320e","89554":"3bd5f2ea","89677":"43bc7f44","89785":"19b6aaf8","89831":"e2c4c778","90109":"a603b7aa","90265":"e6092df7","90316":"c34a4fc4","90337":"4ac0ec26","91045":"a8761962","91056":"4eef5a7b","91274":"fced0a09","91312":"5d7ffb52","91462":"2cbc46cd","91470":"4da1ce26","91831":"d2a05267","91857":"f4aaa3f4","92045":"2f5d0ac4","92104":"469b6027","92501":"35bcb748","92538":"a4db897b","92594":"0f02017f","92603":"2527dda2","92611":"209a8e97","92823":"d097ba52","92903":"26598893","92952":"482bd5ce","92983":"dea4f28c","93108":"c2a240a5","93260":"c781531e","93282":"7d2c8be2","93496":"536ebb1a","93665":"f37b698b","93668":"20a0f5a3","93826":"5d6442ea","93948":"a2e4d8ea","94001":"36670d17","94015":"102a295e","94078":"f1529d64","94201":"5f894f9f","94215":"a04643df","94338":"a808ff04","94498":"6bf5395a","94662":"2b9c4a11","94715":"ae5a1683","94849":"51171dc9","95125":"69eabd27","95176":"b96a0126","95335":"c64680ce","95616":"2405c464","95679":"33378d80","95740":"41907e4b","95818":"9a531b0d","96444":"4ca8b555","96865":"334f0d55","96882":"7d11e91d","97007":"ec27e3b5","97008":"439a9bd0","97046":"94379abf","97120":"0eb88e7b","97591":"4868bb6b","97703":"be20ffe4","97928":"0cfdc474","97986":"bee449d6","98062":"0097905a","98228":"808be2fb","98398":"8022e2c7","98506":"e6159a4d","98688":"6bfa68e2","98885":"2392f13c","98962":"27ec65e8","99104":"d4f63539","99313":"326d09fb","99600":"4d7c1781","99674":"33998895","99816":"b47c3af3"}[chunkId] + ".async.js"; +/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1660":"p__User__QQLogin__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22582":"p__Competitions__SpecialSubject__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27333":"p__User__WechatLogin__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28639":"p__Forums__Index__redirect","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","43862":"p__HttpStatus__403","44216":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","44565":"p__HttpStatus__500","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45261":"p__Forums__User__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62300":"p__Api__index","62548":"p__Engineering__Norm__Detail__index","63157":"p__User__Detail__ExperImentImg__Add__index","64017":"p__Classrooms__Lists__PlaceholderPage__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66034":"p__HttpStatus__UserAgents","66063":"p__Graduations__Lists__Personmanage__index","66531":"p__HttpStatus__404","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69441":"p__Forums__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","70928":"p__RestFul__Edit__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","78746":"p__Forums__Subject__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","81799":"p__Competitions__Entered__Assembly__TeamDateil","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88155":"p__Shixuns__Overview__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92603":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","95616":"p__Competitions__Group__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + "." + {"292":"3c1606f7","310":"2ad59313","556":"e9124bb6","615":"2a31b60a","1024":"03d16528","1482":"39f5d0d1","1660":"a9fd097c","1702":"9b6e1975","1806":"aa50e678","2249":"90399667","2355":"ce93dfd7","2360":"2f3cadfa","2494":"5e069ec9","2659":"bf65e75c","2805":"47463a95","2819":"66bd4f29","2837":"b3a05bc1","3133":"6a9f7113","3317":"156fb7a0","3391":"8c40de4c","3406":"e82e171f","3451":"0f41517b","3509":"127f82ac","3585":"4868f705","3885":"e66b03f8","3951":"f303e368","4628":"ee66c2f3","4685":"21279a05","4736":"186f072b","4766":"6a38025c","4884":"93dc7909","4973":"5d034e88","5112":"29544cf6","5238":"711a7458","5301":"1c8153f0","5434":"361b868d","5572":"01a470b4","5831":"79a10801","6127":"3264b9b8","6378":"27c8142f","6685":"240afef6","6758":"223bebc0","6788":"12e4af4e","6806":"b3d646f6","7043":"3dd282b5","7229":"e0da5992","7385":"5f5be16d","7714":"7caca036","7852":"f2a7f676","7884":"8d3582ea","8748":"50afdcdd","8787":"2ce842fe","8999":"4e3f628b","9077":"40f1e9a4","9093":"8fff51bf","9416":"2ada0809","9863":"e8aa7c82","9928":"5856e32a","9951":"686d67fa","10195":"b3277ee4","10354":"5c063e6f","10485":"a40eeaf9","10737":"966922c6","10799":"501e488f","10898":"d06ad7d6","10921":"8966eed6","11021":"1e19c52a","11064":"9409597b","11070":"24e3451c","11253":"cefb5ef5","11512":"6d14f7a5","11520":"28c7ada6","11545":"8ee3ece6","11578":"3ee0ae76","11581":"eefb5e1a","11893":"f5fdd938","11932":"0e7870cb","12076":"a77c89fc","12102":"74eb289c","12303":"1a134e52","12386":"289c62c7","12412":"d0c15d0f","12476":"827c3903","12800":"50f2bafe","12865":"a0422fb8","12884":"b6995911","12911":"ffbabc43","13006":"4bd75f62","13355":"867a4628","13488":"9962c840","13581":"97f38fdf","14058":"2d0610c2","14088":"c639825c","14105":"779d2abf","14227":"ce273793","14514":"6c9e42e0","14599":"52cee79c","14610":"0163eabc","14642":"d8d9787e","14662":"02bf2ae9","14882":"519542d7","14889":"a6bc023c","15148":"d4243d55","15186":"a783f970","15290":"7b3f25d8","15319":"4fae7ee5","15402":"0845bbd0","15631":"d790a1bf","15804":"79a9ac0f","15845":"c8fe49ef","16328":"7eff4ba9","16351":"a0985ba3","16434":"69f333c2","16473":"e86c5851","16554":"abe8e41b","16703":"02771c68","16729":"1d268093","16845":"84ad49d9","17103":"5fd337a8","17472":"22e28172","17482":"ce497eab","17527":"105ae018","17539":"cad371e0","17622":"561b060d","17806":"86c570e6","17808":"dd9975f9","17968":"bb79a69a","18241":"06865f50","18302":"622579f6","18307":"6b184b71","18350":"0ed0f7c3","18390":"a351b90c","18491":"1c470518","18812":"38956a2b","18880":"c60005b3","18898":"25ad586a","18963":"33e3df18","19014":"b836e674","19059":"cf9e747d","19208":"85e01132","19215":"ce38aa04","19360":"f7bf238c","19519":"f102e58c","19715":"e5eaf79c","19842":"1b668aa5","19891":"cf6e1ed7","19903":"6decc490","20026":"85e52273","20459":"18b570f2","20576":"c90e7824","20603":"a7bcfc8b","20680":"6bbbc4e7","20700":"9139c7b8","20834":"3f12bc25","21265":"d9715717","21321":"5eb7c748","21423":"d496d21e","21453":"c811fbbd","21499":"21764849","21515":"4299d0f9","21560":"c7423bd5","21578":"72682b3e","21622":"8428af29","21642":"7ecac2d7","21939":"2f9c05c0","22254":"f77d2d36","22307":"27b704b5","22582":"80203465","22707":"99e0f20c","23125":"102e119e","23332":"82fc835e","23561":"0dcab0b8","23647":"124a596d","24080":"8bbef305","24117":"6b874a97","24504":"bf4cde7a","24628":"b863dad4","24665":"651c4987","24797":"eb563316","24974":"b18ffc68","25022":"f18ae793","25399":"63222a75","25470":"395ab83d","25473":"0a6dd290","25606":"cccb11d6","25705":"4c514215","25972":"4593e218","26126":"400f4fd5","26221":"37102258","26366":"34ab07c5","26383":"27a1faf4","26685":"aa432c75","26741":"c00fada9","26883":"bb57c1f8","27092":"1bb5dee3","27178":"f914e052","27182":"af2a4349","27333":"9e0f3340","27395":"8ed677b2","27506":"1c420993","27706":"c0d5e1ef","27739":"042cdcec","28072":"ef2719b4","28089":"aaa88c03","28161":"00a22aad","28209":"227ed3a1","28237":"20716ff3","28435":"07f40e0d","28561":"ec76d55e","28639":"5bd1bb98","28723":"e27ec039","28782":"13822b1e","28920":"842a9870","28982":"6a8823ee","29198":"657b6066","29559":"cdc05f60","29642":"cbcb88c9","29647":"3f7df37b","29895":"1fa85db5","29968":"5c930f27","30067":"c40854f9","30116":"0b352dbb","30264":"96f62740","30342":"81632794","30741":"0afd7032","31006":"6ff39351","31154":"abb4690e","31211":"6358a9ca","31427":"beb8d0db","31674":"68a64222","31962":"d967aa87","32080":"76db1e05","33356":"af989ea0","33550":"fb103f5a","33747":"b617c684","33784":"0b4dc592","33805":"a93fd24f","34093":"0c550559","34601":"cb2f7eac","34741":"7ddb5773","34790":"6eb90335","34800":"a4967ce4","34850":"daf624f2","34994":"f667c336","35019":"9cba43aa","35060":"7530a2b3","35238":"1ba467bb","35354":"c0640e01","35416":"b4018e87","35555":"f7eff637","35729":"b6f09c05","35840":"6912e1d5","36029":"3d22793f","36150":"91d28580","36270":"7880686b","36381":"40fc7c9f","36634":"03daa006","36784":"03bd4f73","37062":"cadbb527","37873":"2859aede","37948":"412f740e","38143":"23172c59","38447":"0cad2c5a","38634":"0fe28ccb","38660":"98f9ac25","38797":"4f4b053f","39252":"3d559668","39332":"405401a3","39391":"6778c970","39404":"90b81801","39440":"9cc0916e","39695":"c589d469","39865":"6c28ac14","39929":"00c87f99","39950":"57e939c0","40316":"a9e66dfb","40559":"abca55d3","41048":"8ea15f1c","41228":"1b7aa493","41657":"76ed86e7","41717":"3c35a22b","41953":"3f9026f7","42240":"8e49696b","42439":"e99eadfd","42441":"5117f4f9","42532":"c9b5bdce","42682":"5812995b","42698":"8aaddd30","43110":"6abf25af","43213":"e308dc07","43428":"68d635b9","43442":"2e32a460","43862":"385e5795","44150":"ce477d1c","44216":"4798c8a9","44259":"2d12822a","44354":"4d10aca1","44360":"2fe17938","44449":"3c7c84ee","44565":"5a17a205","44770":"c0e3261f","44911":"c0952b2c","44947":"652b6b43","45096":"dd492a5a","45179":"23dde689","45261":"2a943270","45359":"c5eaade1","45413":"b32e34de","45504":"97760b68","45650":"65672827","45775":"e8cf845a","45825":"920117fe","45881":"73dd5334","45948":"163653a8","45992":"582f95d4","46573":"db7fbeee","46738":"3948555b","46796":"ab4af6db","46907":"8cbbb6b9","46949":"4d0e4148","46963":"07b41a56","47545":"3c440a84","47686":"f38a5fc1","48077":"9272cad5","48431":"8cf3ada4","48689":"2628de00","48776":"3ca5830e","48903":"a3d7e196","49029":"03a2e509","49127":"2359876a","49166":"f2cbce24","49205":"5b45c683","49260":"d82ab47f","49366":"64e1b401","49716":"016f5801","49890":"4e2749e3","49947":"89299044","50682":"52a0cb66","50812":"9d4fac4a","50869":"0903c8b8","51144":"88d767c5","51276":"b304eec6","51461":"2f3d4335","51582":"4e570dbf","51646":"a1e61a3a","51716":"a8bc5f04","51855":"f1fd404e","51944":"a0e0f8f3","52126":"c79acbc5","52338":"3c989bf5","52404":"23166bb2","52708":"1b1762f1","52720":"527a9cdd","52806":"926a83ce","52829":"d9cb2b02","52831":"60ac42d0","52875":"8bd217a4","53114":"685610c8","53247":"4ff813a1","53550":"d1343c48","53697":"344fc05c","53777":"630cd89c","53910":"de81d04a","53984":"6152b569","54056":"384d9a16","54164":"d2c519ea","54492":"02f905f4","54572":"e57559c7","54770":"1e5bff6c","54862":"c7f83af8","55351":"b1b9a06c","55573":"470f69ef","55624":"01ac149b","55693":"4b714ff1","56047":"b4b0d1c6","56156":"c61ad60b","56277":"4c7b085d","56543":"2e834f1d","56794":"0dabe047","57045":"449028a9","57071":"b84487f2","57365":"7e7804c5","57560":"f6a1c6f2","57614":"dbd3b0df","57930":"1095fceb","58047":"3d0082a0","58268":"9dacd4eb","58271":"04f27f83","58599":"0d5bfa51","59028":"d368c072","59133":"8930ecfa","59363":"26f14b72","59649":"69ff2498","59679":"5c544da3","59788":"f4d66622","60166":"7ce9d07e","60479":"e2a3459b","60499":"1e778304","60533":"bf4a28bd","60547":"88da1715","60864":"4b15d51d","61043":"8738fbea","61362":"d5c7809e","61713":"ec3d1f49","61727":"dbf6104d","61880":"7f97931b","61998":"e8b3f696","62149":"5b5072e6","62300":"f0174d55","62534":"c75b1cb6","62548":"7fb9dac0","62695":"589e4814","62832":"91dd43b6","63157":"77d351de","63198":"f92793e1","63269":"be44acdc","63363":"d44c95ed","63709":"5d10d848","63814":"a376540e","63995":"0fbe900b","64017":"b7fba952","64106":"4fc356d6","64144":"1377c114","64217":"4a07abad","64467":"bc202cf2","64496":"8232a0ea","64520":"70c851be","65022":"33e32027","65111":"1abb98b6","65148":"b69c0783","65191":"67c5e7c1","65549":"2be58b5c","65693":"ea33fa66","65816":"7baa0bd1","65876":"a2754c64","66034":"21a34491","66063":"394bce91","66531":"69a70fc2","66583":"362b714f","66651":"b8549969","66779":"d559e3c5","67156":"918b4bca","67242":"a66e6d61","67414":"cceeea81","67470":"58dc32f7","67828":"dca43032","67878":"838a10ac","68014":"1e25bcf2","68665":"a8953104","68786":"f8bbd4cf","68827":"97fec91a","68842":"19057860","68882":"9b663cd4","69441":"86f32e65","69922":"89fe1c1e","69944":"6f665961","70130":"f66580ff","70372":"a96e2ec6","70671":"749b4875","70928":"0996a609","70981":"157d0b6b","71448":"17ae4950","71450":"9be286f8","71477":"87ae161c","71676":"5e433b88","71783":"e82a8745","72011":"7efe6dda","72032":"a8f47b55","72529":"14d1a2ac","72539":"0addd49c","72570":"6595a236","72749":"9b2e3a51","72969":"53256e8c","73183":"f844f620","73220":"2e827cfb","73755":"d28f6c16","74014":"5339ac81","74264":"f6b4cca5","74305":"d27eb997","74347":"a722ba6c","74630":"88f932a9","74795":"ae0d51ba","74854":"510831e9","75043":"d3feb413","75264":"f03ff03f","75321":"9b9a5dc1","75357":"5ff63558","75786":"a72e71f1","75816":"15c34327","75853":"4524f725","76904":"9f5d37ec","77084":"5fe882f0","77296":"35602ad1","77460":"c893135b","77857":"bd5b0e90","78018":"f25ad408","78085":"b14e5bef","78158":"30c742c4","78169":"f543c1fe","78241":"1b43a5eb","78268":"6d9be5a7","78302":"2f657c59","78737":"fa31da0e","78746":"bf96ee75","78782":"56e292c9","79296":"a07ccf04","79489":"bd783109","79590":"59e80fae","79817":"5e79737d","79921":"b0adf937","80357":"ed586095","80417":"f3a687e0","80629":"ca49ee59","81120":"b85c6c22","81148":"7c50d4cc","81326":"2daccc02","81799":"bfec976c","82339":"426b8f45","82425":"dffd29b4","82443":"bb4e804c","82683":"85e9d0cf","82854":"da181612","82933":"71de9f56","83141":"c6647814","83175":"d9658bea","83212":"25456429","83439":"a14af3f2","83935":"285569b8","84336":"3f6ce6e7","84360":"74d93ebc","84546":"09e180a6","84742":"1c21bc17","85045":"c79b0d46","85048":"35dc35be","85111":"873c8696","85297":"44364dab","85494":"da5840b1","85764":"5c1c73b5","85888":"d8f12fb9","85891":"83a925c2","86045":"0a358cbb","86052":"b5b88e0a","86129":"801a9880","86452":"87bc948f","86541":"39c75856","86634":"2252fc3c","86741":"1b08961a","86774":"2db1d78d","86820":"65b881f8","86913":"6ba1f477","87058":"656b975e","87260":"e88c3499","87624":"44b324a7","87922":"79323e47","87964":"83911fb5","88155":"983ebbcb","88517":"cacc6233","88699":"66bcc8c6","88866":"59a776df","89076":"35067b77","89426":"bdfaad8b","89495":"f76a320e","89554":"3bd5f2ea","89677":"43bc7f44","89785":"19b6aaf8","89831":"e2c4c778","90109":"a603b7aa","90265":"e6092df7","90316":"c34a4fc4","90337":"4ac0ec26","91045":"a8761962","91056":"4eef5a7b","91274":"fced0a09","91312":"5d7ffb52","91462":"2cbc46cd","91470":"4da1ce26","91831":"d2a05267","91857":"f4aaa3f4","92045":"2f5d0ac4","92104":"469b6027","92501":"35bcb748","92538":"a4db897b","92594":"0f02017f","92603":"2527dda2","92611":"209a8e97","92823":"d097ba52","92903":"26598893","92952":"482bd5ce","92983":"dea4f28c","93108":"c2a240a5","93260":"c781531e","93282":"7d2c8be2","93496":"536ebb1a","93665":"f37b698b","93668":"20a0f5a3","93826":"5d6442ea","93948":"a2e4d8ea","94001":"36670d17","94015":"102a295e","94078":"f1529d64","94201":"5f894f9f","94215":"a04643df","94338":"a808ff04","94498":"6bf5395a","94662":"2b9c4a11","94715":"ae5a1683","94849":"51171dc9","95125":"69eabd27","95176":"b96a0126","95335":"c64680ce","95616":"2405c464","95679":"33378d80","95740":"41907e4b","95818":"9a531b0d","96444":"4ca8b555","96865":"334f0d55","96882":"7d11e91d","97007":"ec27e3b5","97008":"439a9bd0","97046":"94379abf","97120":"0eb88e7b","97591":"4868bb6b","97703":"be20ffe4","97928":"0cfdc474","97986":"bee449d6","98062":"0097905a","98228":"808be2fb","98398":"8022e2c7","98506":"e6159a4d","98688":"6bfa68e2","98885":"2392f13c","98962":"27ec65e8","99104":"d4f63539","99313":"326d09fb","99600":"4d7c1781","99674":"33998895","99816":"b47c3af3"}[chunkId] + ".async.js"; /******/ }; /******/ }(); /******/ @@ -206487,7 +206488,7 @@ function debounce (delay, callback, options) { /******/ // This function allow to reference async chunks /******/ __webpack_require__.miniCssF = function(chunkId) { /******/ // return url for filenames based on template -/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22582":"p__Competitions__SpecialSubject__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45261":"p__Forums__User__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62548":"p__Engineering__Norm__Detail__index","63157":"p__User__Detail__ExperImentImg__Add__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66063":"p__Graduations__Lists__Personmanage__index","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69441":"p__Forums__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","78746":"p__Forums__Subject__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88155":"p__Shixuns__Overview__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","95616":"p__Competitions__Group__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + "." + {"292":"891de397","310":"2dd37101","556":"75912dd9","1482":"ba8bfd7f","1702":"20240947","2659":"0ed8e1b6","2819":"76038a59","3317":"f66fcb7f","3391":"da376102","3451":"7c4da323","3509":"91b37f65","3585":"6b73aa4a","3951":"52b982ed","4736":"576bbd04","4766":"fd753a04","4884":"1231c135","4973":"172e2b5f","5572":"f057c0c6","6127":"105265c5","6685":"bb75ec58","6758":"ffdf133f","6788":"6c9cdfd9","7043":"87e253ae","7852":"f0b55e3a","7884":"17a45636","8787":"a9ec2883","8999":"9dffb7de","9416":"5e5ae029","10195":"5ce4ca03","10485":"5551d235","10737":"8f3f6a7b","10799":"98a699c5","10921":"f47a313d","11070":"8e62d92e","11253":"9ce31fb7","11512":"d09f216b","11520":"d3b217fb","11545":"88374322","11581":"38a44006","12076":"6141c847","12102":"6fc8855c","12303":"f837dc37","12412":"39aaf0df","12476":"5661e871","12800":"0af52afe","12865":"5e6b2221","12884":"3c14d907","13006":"2a3422d8","13355":"2f239f4a","13581":"8dac6e3b","14058":"36e17526","14105":"3a842836","14227":"0cefbe63","14514":"7a985d86","14599":"7e04b927","14610":"62350f4b","14662":"3ad5a987","14889":"28740465","15148":"cae3067c","15186":"cfaaea04","15319":"a000dd29","15402":"631d9a65","16328":"7ab11814","16434":"be6a6db1","16729":"c587f787","16845":"78ab2878","17482":"e62c8987","17527":"fa4f0e3d","17622":"751c466c","17806":"05619b54","18241":"71ab8964","18302":"b76d13c6","18307":"7596ce02","19215":"72497a8d","19360":"d517271c","19519":"b4898d27","19715":"0f6cd393","19891":"9b0738e6","20026":"2dd31f8c","20576":"be65de21","20680":"8e62d92e","20700":"133d5f8f","21265":"0125199f","21423":"e4e2a321","21578":"92262669","21939":"01c928e7","22254":"5d460a99","22307":"95ad8816","22582":"61f9930a","22707":"3f3c98ee","23332":"d55dd0db","24504":"56a419b9","25022":"b60531ae","25470":"86399dfb","25705":"5fdde43d","25972":"98da6706","26366":"873a8e05","26685":"2b596dba","26741":"5ac61aef","26883":"251b45b3","27178":"4d3cf636","27182":"1b0ec7f4","27395":"0b20d7cf","27506":"1ce4617a","28072":"295d5f23","28237":"8cca935a","28435":"95c54827","28723":"9348ccef","28782":"771d9db7","28982":"beec521d","29647":"33ea1782","30067":"02d0e2b0","30264":"c5a2ff50","30342":"592498f4","31006":"5613749d","31211":"14cce94c","31427":"5931c798","31674":"8c2581dd","31962":"cb7c1a97","33356":"537dbc51","33747":"45c40a09","33784":"6de17331","34093":"38af0d46","34601":"01ef7867","34741":"58436383","34800":"e5efc59a","34994":"0ed5c110","35238":"abc83d27","35729":"24771aff","36029":"6f5c0a8e","36270":"a04f22dc","36784":"04975ba9","37062":"f7e250d5","37948":"003295bc","38143":"6932e253","38447":"029d2e52","38634":"07132ce7","38797":"dd2ae9a5","39332":"010e3058","39391":"c8ed8d3d","39404":"078e64ca","39695":"e33ab50d","40559":"e15af3b2","41048":"a3c64a4d","41657":"c932e6bf","41717":"c8c6365f","41953":"945d29ed","42240":"38fbd445","43442":"ee9f58c5","44259":"4328fa11","44449":"a2a12f50","45096":"091ba65b","45179":"ce3f0d04","45261":"1bfcec1b","45359":"72ad834c","45650":"06044806","45775":"a20c707a","45825":"7d39c5fc","45992":"2b15e966","46796":"de188c9a","46963":"cb7c1a97","47545":"1e7079ad","48077":"a79473e5","48431":"5e486b56","48689":"ff2cd6b9","49205":"e5005e14","49366":"4e7fe420","49716":"0d828a6e","49890":"be70eb6e","50869":"43cdc8da","51276":"777e6945","51461":"9a7ca46e","51582":"7e866553","51855":"cfd60bb9","52126":"6524d58f","52338":"8d3bcb09","52404":"be476c10","52806":"c6145c12","52829":"aef69c0d","52875":"b4ec197a","53247":"aa682698","53910":"ffd897d6","54056":"e2514bb8","54164":"adf2b94c","54492":"5400e593","54572":"9f5b5953","54770":"a000dd29","54862":"ce36c4e8","55573":"67b13c84","55624":"3e487e88","56277":"b3fc62ac","57045":"f3797597","57560":"39c32a2a","57614":"26503390","59133":"4832ec10","59649":"42dcd9aa","59788":"62f9566e","60479":"62d3f570","60533":"a8bc667f","60547":"05c4fc79","61043":"4b414438","61713":"1b8b8115","61727":"08ae780f","61880":"abe03da3","62534":"1992f3c0","62548":"75c10d06","63157":"630046a5","64144":"dd295411","64217":"14528c07","64496":"a451c214","64520":"a064339a","65111":"0cd5ac1d","65148":"3bdb2a91","65191":"ed592879","65549":"473e23c3","65816":"8d8020cc","66063":"29b7455b","66583":"39aff7ab","66651":"5f68ed30","67242":"45816839","67878":"26e77fe3","68014":"a1528326","68665":"53053fa3","68827":"50e6abbb","68882":"3d87ffcf","69441":"6ebf98cd","69922":"8406e284","69944":"f83b6aa4","71450":"543730e6","71783":"533679ca","72529":"5cfa76f4","72539":"098bac58","72570":"6187c11e","73183":"cae259bc","73220":"2faf3239","74264":"0f9c6b8d","74795":"37ca6f71","75043":"272d9cc0","75357":"23f66787","75786":"69ca295c","75816":"a8f60980","76904":"af855dc3","77460":"e537577f","77857":"297b4366","78085":"d0eca4f3","78746":"81db6c26","79489":"3588b73f","79590":"180440ed","79921":"5e632a45","81148":"47971f85","82339":"d0fe0b23","82425":"21cb6cae","82443":"1fb90c1f","83141":"be2b972e","83212":"653d195e","83935":"86ab1049","84546":"3fa767fe","85048":"5a63ee01","85111":"589d44af","85297":"b26d60e3","85888":"16fec599","85891":"fe552f8b","86052":"927b2037","86452":"8c7b128a","86541":"79ca3a4c","86634":"c78d887b","86820":"d6c95563","86913":"a4bcdeec","87058":"b3ee7a04","87260":"55c8d75a","87922":"09550a1e","88155":"f9399b8e","88517":"528c7554","88866":"08316555","89076":"d4494ea6","89677":"2e4f6a22","89785":"be476c10","90109":"9ee154e9","90265":"b96df772","90337":"fa7199fc","91045":"378984dd","91470":"1b0ec7f4","91831":"8ecf1949","92045":"1c69675c","92501":"f43b5737","92823":"ce185e64","92983":"8038dbb1","93260":"3a6db268","93282":"abef8fca","93496":"a7055828","93665":"5c5ed7d0","93668":"1e71ce65","94078":"7293659c","94498":"4128b770","94662":"fef48d7a","94715":"643021d5","94849":"4d3d4fc4","95125":"b4bed666","95176":"40bc11b1","95335":"48e2c3d3","95616":"0b65bb5b","96444":"c225e894","96882":"02736700","97008":"3972e0de","97046":"1f6bdb15","98062":"14d7be9d","98398":"70a175c0","98688":"1f2a3369","98885":"5f5c4188","99674":"6d705659"}[chunkId] + ".chunk.css"; +/******/ return "" + ({"292":"p__Classrooms__Lists__Exercise__Add__index","310":"p__User__Detail__ExperImentImg__Detail__index","556":"p__User__Detail__Order__pages__invoice__index","1482":"p__Classrooms__Lists__Graduation__Topics__Edit__index","1702":"p__Classrooms__New__index","2659":"p__User__Detail__UserPortrait__index","2819":"p__Classrooms__Lists__Template__detail__index","3317":"p__Classrooms__Lists__Graduation__Topics__Add__index","3391":"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index","3451":"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index","3509":"p__HttpStatus__SixActivities","3585":"p__Classrooms__Lists__Statistics__StudentSituation__index","3951":"p__Classrooms__Lists__ProgramHomework__Detail__index","4736":"p__User__Detail__Projects__index","4766":"p__Administration__index","4884":"p__Shixuns__Detail__Repository__Commit__index","4973":"p__Engineering__Evaluate__List__index","5572":"p__Paths__HigherVocationalEducation__index","6127":"p__Classrooms__Lists__ProgramHomework__Ranking__index","6685":"p__Shixuns__Detail__RankingList__index","6758":"p__Classrooms__Lists__Attachment__index","6788":"p__Classrooms__Lists__ProgramHomework__index","7043":"p__User__Detail__Topics__Exercise__Edit__index","7852":"p__Classrooms__Lists__ShixunHomeworks__index","7884":"p__Shixuns__Exports__index","8787":"p__Competitions__Entered__index","8999":"p__Three__index","9416":"p__Graduations__Lists__Tasks__index","10195":"p__Classrooms__Lists__GroupHomework__Detail__index","10485":"p__Question__AddOrEdit__BatchAdd__index","10737":"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index","10799":"p__User__Detail__Topics__Poll__Detail__index","10921":"p__Classrooms__Lists__Exercise__CodeDetails__index","11070":"p__Innovation__PublicMirror__index","11253":"p__Graduations__Lists__Gradingsummary__index","11512":"p__Classrooms__Lists__Exercise__AnswerCheck__index","11520":"p__Engineering__Lists__StudentList__index","11545":"p__Paperlibrary__Random__ExchangeFromProblemSet__index","11581":"p__Problemset__Preview__index","12076":"p__User__Detail__Competitions__index","12102":"p__Classrooms__Lists__Board__Edit__index","12303":"p__Classrooms__Lists__CommonHomework__Comment__index","12412":"p__User__Detail__Videos__index","12476":"p__Colleges__index","12865":"p__Innovation__MyMirror__index","12884":"p__Classrooms__Lists__ProgramHomework__Comment__index","13006":"p__Engineering__index","13355":"p__Classrooms__Lists__Polls__index","13581":"p__Classrooms__Lists__ShixunHomeworks__Detail__index","14058":"p__Demo__index","14105":"p__Classrooms__Lists__Exercise__Answer__index","14227":"p__Paths__Overview__index","14514":"p__Account__Results__index","14599":"p__Problemset__index","14610":"p__User__Detail__LearningPath__index","14662":"p__Classrooms__Lists__GroupHomework__Review__index","14889":"p__Classrooms__Lists__Exercise__ImitateAnswer__index","15148":"p__Classrooms__Lists__Template__index","15186":"p__Classrooms__Overview__index","15319":"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index","15402":"p__User__Detail__Topics__Detail__index","16328":"p__Shixuns__Edit__body__Warehouse__index","16434":"p__User__Detail__Order__pages__records__index","16729":"p__Classrooms__Lists__GroupHomework__Edit__index","16845":"p__Shixuns__Detail__Settings__index","17482":"p__Classrooms__Lists__Exercise__Notice__index","17527":"p__MyProblem__RecordDetail__index","17622":"p__Classrooms__Lists__Polls__Detail__index","17806":"p__Classrooms__Lists__Statistics__StatisticsQuality__index","18241":"p__virtualSpaces__Lists__Plan__index","18302":"p__Classrooms__Lists__Board__index","18307":"p__User__Detail__Shixuns__index","19215":"p__Shixuns__Detail__ForkList__index","19360":"p__User__Detail__virtualSpaces__index","19519":"p__User__Detail__ClassManagement__Item__index","19715":"p__Classrooms__Lists__CommonHomework__Edit__index","19891":"p__User__Detail__Videos__Success__index","20026":"p__Classrooms__Lists__Graduation__Tasks__Edit__index","20576":"p__Account__Profile__Edit__index","20680":"p__Innovation__index","20700":"p__tasks__Jupyter__index","21265":"p__Classrooms__Lists__Announcement__index","21423":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index","21578":"p__Classrooms__Lists__Graduation__Topics__Detail__index","21939":"p__User__Detail__Order__index","22254":"p__Shixuns__Detail__Discuss__index","22307":"p__Report__index","22582":"p__Competitions__SpecialSubject__index","22707":"p__Innovation__MyDataSet__index","23332":"p__Paths__Detail__id","24504":"p__virtualSpaces__Lists__Survey__index","25022":"p__Graduations__Lists__Settings__index","25470":"p__Shixuns__Detail__Collaborators__index","25705":"p__virtualSpaces__Lists__Construction__index","25972":"layouts__user__index","26366":"p__Innovation__PublicProject__index","26685":"p__Classrooms__Index__index","26741":"p__Engineering__Norm__List__index","26883":"p__Competitions__Index__index","27178":"p__User__BindAccount__index","27182":"p__User__ResetPassword__index","27395":"p__Classrooms__Lists__Statistics__StudentDetail__index","28072":"p__Classrooms__Lists__GroupHomework__SubmitWork__index","28237":"p__User__Detail__Order__pages__view__index","28435":"p__Classrooms__Lists__Attendance__index","28723":"p__Classrooms__Lists__Polls__Edit__index","28782":"p__Shixuns__Index__index","28982":"p__Paths__New__index","29647":"p__Question__Index__index","30067":"p__Message__index","30264":"p__User__Detail__Order__pages__orderPay__index","30342":"p__Classrooms__Lists__ShixunHomeworks__Comment__index","31006":"p__RestFul__index","31211":"p__Classrooms__Lists__CommonHomework__EditWork__index","31427":"p__Classrooms__Lists__Statistics__index","31674":"p__Classrooms__ClassicCases__index","31962":"p__Classrooms__Lists__Engineering__index","33356":"p__Classrooms__Lists__Assistant__index","33747":"p__virtualSpaces__Lists__Homepage__index","33784":"p__Paperlibrary__Random__Detail__index","34093":"p__Classrooms__Lists__Attendance__Detail__index","34601":"p__Paths__Detail__Statistics__index","34741":"p__Problems__OjForm__NewEdit__index","34800":"p__Engineering__Lists__GraduatedMatrix__index","34994":"p__Problems__OjForm__index","35238":"p__virtualSpaces__Lists__Material__index","35729":"p__Help__Index","36029":"p__Administration__Student__index","36270":"p__MyProblem__index","36784":"p__Innovation__Edit__index","37062":"layouts__SimpleLayouts","37948":"p__User__Detail__ClassManagement__index","38143":"layouts__GraduationsDetail__index","38447":"p__virtualSpaces__Lists__Knowledge__index","38634":"p__Classrooms__Lists__CourseGroup__List__index","38797":"p__Competitions__Edit__index","39332":"p__Classrooms__Lists__Video__index","39391":"p__Engineering__Lists__CurseSetting__index","39404":"monaco-editor","39695":"p__Classrooms__Lists__Polls__Add__index","40559":"layouts__virtualDetail__index","41048":"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index","41657":"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index","41717":"layouts__index","41953":"p__Problemset__NewItem__index","42240":"p__User__Detail__Videos__Upload__index","43442":"p__Classrooms__Lists__Board__Add__index","44259":"p__User__Detail__Order__pages__result__index","44449":"p__Competitions__Exports__index","45096":"p__Shixuns__Detail__AuditSituation__index","45179":"p__Administration__Student__Edit__index","45261":"p__Forums__User__index","45359":"p__Messages__Detail__index","45650":"p__Competitions__Update__index","45775":"p__Engineering__Lists__Document__index","45825":"p__Classrooms__Lists__Exercise__index","45992":"p__Classrooms__Lists__Exercise__ReviewGroup__index","46796":"p__virtualSpaces__Lists__Announcement__Detail__index","46963":"p__Classrooms__Lists__Engineering__Detail__index","47545":"p__Graduations__Lists__Archives__index","48077":"p__Classrooms__Lists__Students__index","48431":"p__Classrooms__Lists__Exercise__Export__index","48689":"p__Classrooms__Lists__Statistics__VideoStatistics__index","49205":"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index","49366":"p__User__Login__index","49716":"p__Question__OjProblem__RecordDetail__index","49890":"p__Classrooms__Lists__CommonHomework__index","50869":"p__Guidance__index","51276":"p__MoopCases__Success__index","51461":"p__Graduations__Lists__Topics__index","51582":"p__Classrooms__Lists__GroupHomework__Add__index","51855":"p__MoopCases__InfoPanel__index","52338":"p__Classrooms__Lists__CommonHomework__Review__index","52404":"p__Classrooms__Lists__Template__teacher__index","52806":"p__User__Detail__Topics__Exercise__Detail__index","52829":"p__Messages__Private__index","52875":"p__Shixuns__Detail__id","53247":"p__Paperlibrary__See__index","53910":"p__HttpStatus__introduction","54056":"p__IntrainCourse__index","54164":"p__Classrooms__Lists__Exercise__Detail__index","54492":"p__Graduations__Lists__StudentSelection__index","54572":"p__Classrooms__Lists__ExportList__index","54770":"p__Classrooms__Lists__ProgramHomework__Detail__answer__index","54862":"p__Paperlibrary__index","55573":"p__Shixuns__Detail__Merge__index","55624":"p__Graduations__Lists__Index__index","56277":"p__Shixuns__Edit__index","57045":"p__Classrooms__Lists__CommonHomework__SubmitWork__index","57560":"p__Administration__College__index","57614":"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index","59133":"p__Shixuns__Detail__Challenges__index","59649":"p__Engineering__Lists__TrainingProgram__index","59788":"p__Account__Profile__index","60479":"p__Classrooms__Lists__GroupHomework__EditWork__index","60533":"p__Classrooms__Lists__Video__Statistics__Detail__index","60547":"p__Account__index","61043":"p__Classrooms__Lists__Graduation__Tasks__index","61713":"p__virtualSpaces__Lists__Settings__index","61727":"p__Classrooms__Lists__CourseGroup__NotList__index","61880":"p__User__Detail__Order__pages__apply__index","62548":"p__Engineering__Norm__Detail__index","63157":"p__User__Detail__ExperImentImg__Add__index","64144":"p__Problemset__Preview__New__index","64217":"p__Classrooms__Lists__Video__Statistics__index","64496":"p__HttpStatus__HpcCourse","64520":"p__Account__Secure__index","65111":"p__Terminal__index","65148":"p__Classrooms__Lists__Polls__Answer__index","65191":"p__User__Detail__Certificate__index","65549":"p__Shixuns__New__CreateImg__index","65816":"p__virtualSpaces__Lists__Announcement__index","66063":"p__Graduations__Lists__Personmanage__index","66583":"p__User__Detail__Classrooms__index","66651":"p__Engineering__Evaluate__Detail__index","67242":"p__Innovation__MyProject__index","67878":"p__Classrooms__Lists__LiveVideo__index","68014":"p__Classrooms__Lists__Teachers__index","68665":"p__Engineering__Lists__TrainingObjectives__index","68827":"p__Classrooms__Lists__OnlineLearning__index","68882":"p__Classrooms__Lists__Graduation__Tasks__Detail__index","69441":"p__Forums__Detail__index","69922":"p__Classrooms__Lists__Statistics__StudentVideo__index","69944":"p__Classrooms__Lists__Video__Statistics__StudentDetail__index","71450":"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index","71783":"p__virtualSpaces__Lists__Experiment__index","72529":"p__User__Detail__id","72539":"p__Graduations__Review__index","72570":"p__Competitions__Detail__index","73183":"p__Engineering__Lists__GraduationIndex__index","73220":"p__Classrooms__Lists__Video__Upload__index","74264":"p__Forums__New__index","74795":"p__Classrooms__Lists__Graduation__Tasks__Add__index","75043":"p__User__Detail__Topics__Poll__Edit__index","75357":"p__Engineering__Lists__TrainingProgram__Edit__index","75786":"layouts__LoginAndRegister__index","75816":"p__Paperlibrary__Random__Edit__index","76904":"p__MoopCases__FormPanel__index","77460":"p__Question__OjProblem__index","77857":"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index","78085":"p__Classrooms__Lists__Exercise__Review__index","78746":"p__Forums__Subject__index","79489":"p__Engineering__Lists__CourseList__index","79590":"p__User__Detail__TeachGroup__index","79921":"p__Classrooms__ExamList__index","81148":"p__Shixuns__Detail__Repository__UploadFile__index","82339":"p__virtualSpaces__Lists__Plan__Detail__index","82425":"p__Classrooms__Lists__Board__Detail__index","82443":"p__Graduations__Lists__StageModule__index","83141":"p__Innovation__Detail__index","83212":"p__MoopCases__index","83935":"p__Classrooms__Lists__GroupHomework__index","84546":"p__Engineering__Lists__TrainingProgram__Add__index","85048":"p__Classrooms__Lists__Graduation__Topics__index","85111":"p__User__Detail__Order__pages__orderInformation__index","85297":"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index","85888":"p__Classrooms__Lists__CommonHomework__Add__index","85891":"p__virtualSpaces__Lists__Resources__index","86052":"p__Paths__Index__index","86452":"p__Innovation__PublicDataSet__index","86541":"p__Shixuns__Detail__Dataset__index","86634":"p__Innovation__Tasks__index","86820":"p__User__Detail__Topics__Normal__index","86913":"p__Question__AddOrEdit__index","87058":"p__virtualSpaces__Lists__Survey__Detail__index","87260":"p__Account__Certification__index","87922":"p__Classrooms__Lists__CourseGroup__Detail__index","88155":"p__Shixuns__Overview__index","88517":"p__User__Detail__Topics__Group__index","88866":"p__index","89076":"p__Account__Binding__index","89677":"p__virtualSpaces__Lists__Announcement__AddAndEdit__index","89785":"p__Classrooms__Lists__Template__student__index","90109":"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index","90265":"p__User__Detail__Topics__index","90337":"p__Paperlibrary__Random__PreviewEdit__index","91045":"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index","91470":"p__User__Register__index","91831":"p__Graduations__Index__index","92045":"p__Engineering__Lists__TeacherList__index","92501":"p__Search__index","92823":"p__Engineering__Navigation__Home__index","92983":"p__Forums__Index__index","93260":"p__Paperlibrary__Add__index","93282":"layouts__ShixunDetail__index","93496":"p__User__Detail__OtherResources__index","93665":"p__tasks__index","93668":"p__Classrooms__Lists__CommonHomework__Detail__index","94078":"p__Messages__Tidings__index","94498":"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index","94662":"p__User__Detail__Paths__index","94715":"p__virtualSpaces__Lists__Material__Detail__index","94849":"p__User__Detail__ExperImentImg__index","95125":"p__Classrooms__Lists__Exercise__DetailedAnalysis__index","95176":"p__User__Detail__Videos__Protocol__index","95335":"p__Engineering__Lists__CourseMatrix__index","95616":"p__Competitions__Group__index","96444":"p__Video__Detail__id","96882":"p__Classrooms__New__StartClass__index","97008":"p__Shixuns__New__index","97046":"p__Shixuns__Detail__Repository__AddFile__index","98062":"p__User__Detail__Topicbank__index","98398":"p__virtualSpaces__Lists__Resources__Detail__index","98688":"p__Shixuns__Detail__Repository__index","98885":"p__Classrooms__Lists__Statistics__StudentStatistics__index","99674":"p__Shixuns__New__ImagePreview__index"}[chunkId] || chunkId) + "." + {"292":"891de397","310":"2dd37101","556":"75912dd9","1482":"ba8bfd7f","1702":"20240947","2659":"0ed8e1b6","2819":"76038a59","3317":"f66fcb7f","3391":"da376102","3451":"7c4da323","3509":"91b37f65","3585":"6b73aa4a","3951":"52b982ed","4736":"576bbd04","4766":"fd753a04","4884":"1231c135","4973":"172e2b5f","5572":"f057c0c6","6127":"105265c5","6685":"bb75ec58","6758":"ffdf133f","6788":"6c9cdfd9","7043":"87e253ae","7852":"f0b55e3a","7884":"17a45636","8787":"a9ec2883","8999":"9dffb7de","9416":"5e5ae029","10195":"5ce4ca03","10485":"5551d235","10737":"8f3f6a7b","10799":"98a699c5","10921":"f47a313d","11070":"8e62d92e","11253":"9ce31fb7","11512":"d09f216b","11520":"d3b217fb","11545":"88374322","11581":"38a44006","12076":"6141c847","12102":"6fc8855c","12303":"f837dc37","12412":"39aaf0df","12476":"5661e871","12800":"0af52afe","12865":"5e6b2221","12884":"3c14d907","13006":"2a3422d8","13355":"2f239f4a","13581":"8dac6e3b","14058":"36e17526","14105":"3a842836","14227":"0cefbe63","14514":"7a985d86","14599":"7e04b927","14610":"62350f4b","14662":"3ad5a987","14889":"28740465","15148":"cae3067c","15186":"cfaaea04","15319":"a000dd29","15402":"631d9a65","16328":"7ab11814","16434":"be6a6db1","16729":"c587f787","16845":"78ab2878","17482":"e62c8987","17527":"fa4f0e3d","17622":"751c466c","17806":"05619b54","18241":"71ab8964","18302":"b76d13c6","18307":"7596ce02","19215":"72497a8d","19360":"d517271c","19519":"b4898d27","19715":"0f6cd393","19891":"9b0738e6","20026":"2dd31f8c","20576":"be65de21","20680":"8e62d92e","20700":"133d5f8f","21265":"0125199f","21423":"e4e2a321","21578":"92262669","21939":"01c928e7","22254":"5d460a99","22307":"95ad8816","22582":"61f9930a","22707":"3f3c98ee","23332":"d55dd0db","24504":"56a419b9","25022":"b60531ae","25470":"86399dfb","25705":"5fdde43d","25972":"98da6706","26366":"873a8e05","26685":"2b596dba","26741":"5ac61aef","26883":"251b45b3","27178":"4d3cf636","27182":"1b0ec7f4","27395":"0b20d7cf","27506":"1ce4617a","28072":"295d5f23","28237":"8cca935a","28435":"95c54827","28723":"9348ccef","28782":"771d9db7","28982":"beec521d","29647":"33ea1782","30067":"02d0e2b0","30264":"c5a2ff50","30342":"592498f4","31006":"5613749d","31211":"14cce94c","31427":"5931c798","31674":"8c2581dd","31962":"cb7c1a97","33356":"537dbc51","33747":"45c40a09","33784":"6de17331","34093":"38af0d46","34601":"01ef7867","34741":"58436383","34800":"e5efc59a","34994":"0ed5c110","35238":"abc83d27","35729":"24771aff","36029":"6f5c0a8e","36270":"a04f22dc","36784":"04975ba9","37062":"f7e250d5","37948":"003295bc","38143":"6932e253","38447":"029d2e52","38634":"07132ce7","38797":"849b0481","39332":"010e3058","39391":"c8ed8d3d","39404":"078e64ca","39695":"e33ab50d","40559":"e15af3b2","41048":"a3c64a4d","41657":"c932e6bf","41717":"c8c6365f","41953":"945d29ed","42240":"38fbd445","43442":"ee9f58c5","44259":"4328fa11","44449":"a2a12f50","45096":"091ba65b","45179":"ce3f0d04","45261":"1bfcec1b","45359":"72ad834c","45650":"06044806","45775":"a20c707a","45825":"7d39c5fc","45992":"2b15e966","46796":"de188c9a","46963":"cb7c1a97","47545":"1e7079ad","48077":"a79473e5","48431":"5e486b56","48689":"ff2cd6b9","49205":"e5005e14","49366":"4e7fe420","49716":"0d828a6e","49890":"be70eb6e","50869":"43cdc8da","51276":"777e6945","51461":"9a7ca46e","51582":"7e866553","51855":"cfd60bb9","52126":"6524d58f","52338":"8d3bcb09","52404":"be476c10","52806":"c6145c12","52829":"aef69c0d","52875":"b4ec197a","53247":"aa682698","53910":"ffd897d6","54056":"e2514bb8","54164":"adf2b94c","54492":"5400e593","54572":"9f5b5953","54770":"a000dd29","54862":"ce36c4e8","55573":"67b13c84","55624":"3e487e88","56277":"b3fc62ac","57045":"f3797597","57560":"39c32a2a","57614":"26503390","59133":"4832ec10","59649":"42dcd9aa","59788":"62f9566e","60479":"62d3f570","60533":"a8bc667f","60547":"05c4fc79","61043":"4b414438","61713":"1b8b8115","61727":"08ae780f","61880":"abe03da3","62534":"1992f3c0","62548":"75c10d06","63157":"630046a5","64144":"dd295411","64217":"14528c07","64496":"a451c214","64520":"a064339a","65111":"0cd5ac1d","65148":"3bdb2a91","65191":"ed592879","65549":"473e23c3","65816":"8d8020cc","66063":"29b7455b","66583":"39aff7ab","66651":"5f68ed30","67242":"45816839","67878":"26e77fe3","68014":"a1528326","68665":"53053fa3","68827":"50e6abbb","68882":"3d87ffcf","69441":"6ebf98cd","69922":"8406e284","69944":"f83b6aa4","71450":"543730e6","71783":"533679ca","72529":"5cfa76f4","72539":"098bac58","72570":"6187c11e","73183":"cae259bc","73220":"2faf3239","74264":"0f9c6b8d","74795":"37ca6f71","75043":"272d9cc0","75357":"23f66787","75786":"69ca295c","75816":"a8f60980","76904":"af855dc3","77460":"e537577f","77857":"297b4366","78085":"d0eca4f3","78746":"81db6c26","79489":"3588b73f","79590":"180440ed","79921":"5e632a45","81148":"47971f85","82339":"d0fe0b23","82425":"21cb6cae","82443":"1fb90c1f","83141":"be2b972e","83212":"653d195e","83935":"86ab1049","84546":"3fa767fe","85048":"5a63ee01","85111":"589d44af","85297":"b26d60e3","85888":"16fec599","85891":"fe552f8b","86052":"927b2037","86452":"8c7b128a","86541":"79ca3a4c","86634":"c78d887b","86820":"d6c95563","86913":"a4bcdeec","87058":"b3ee7a04","87260":"55c8d75a","87922":"09550a1e","88155":"f9399b8e","88517":"528c7554","88866":"08316555","89076":"d4494ea6","89677":"2e4f6a22","89785":"be476c10","90109":"9ee154e9","90265":"b96df772","90337":"fa7199fc","91045":"378984dd","91470":"1b0ec7f4","91831":"8ecf1949","92045":"1c69675c","92501":"f43b5737","92823":"ce185e64","92983":"8038dbb1","93260":"3a6db268","93282":"abef8fca","93496":"a7055828","93665":"5c5ed7d0","93668":"1e71ce65","94078":"7293659c","94498":"4128b770","94662":"fef48d7a","94715":"643021d5","94849":"4d3d4fc4","95125":"b4bed666","95176":"40bc11b1","95335":"48e2c3d3","95616":"0b65bb5b","96444":"c225e894","96882":"02736700","97008":"3972e0de","97046":"1f6bdb15","98062":"14d7be9d","98398":"70a175c0","98688":"1f2a3369","98885":"5f5c4188","99674":"6d705659"}[chunkId] + ".chunk.css"; /******/ }; /******/ }(); /******/ @@ -211417,7 +211418,7 @@ function _getRoutes() { return Promise.all(/*! import() | p__Competitions__Entered__Assembly__TeamDateil */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(74630), __webpack_require__.e(39440), __webpack_require__.e(24665), __webpack_require__.e(41228), __webpack_require__.e(23125), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(27092), __webpack_require__.e(78782), __webpack_require__.e(63995), __webpack_require__.e(49029), __webpack_require__.e(61998), __webpack_require__.e(49127), __webpack_require__.e(81799)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Entered/Assembly/TeamDateil.tsx */ 22105)); }), '156': /*#__PURE__*/_react_17_0_2_react.lazy(function () { - return Promise.all(/*! import() | p__Competitions__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(74630), __webpack_require__.e(39440), __webpack_require__.e(24665), __webpack_require__.e(41228), __webpack_require__.e(23125), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(27092), __webpack_require__.e(78782), __webpack_require__.e(63995), __webpack_require__.e(96865), __webpack_require__.e(49029), __webpack_require__.e(61998), __webpack_require__.e(93948), __webpack_require__.e(94001), __webpack_require__.e(59028), __webpack_require__.e(5301), __webpack_require__.e(2360), __webpack_require__.e(89831), __webpack_require__.e(57930), __webpack_require__.e(43428), __webpack_require__.e(78018), __webpack_require__.e(45413), __webpack_require__.e(85045), __webpack_require__.e(26585), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(20603), __webpack_require__.e(3406), __webpack_require__.e(38797)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Edit/index.tsx */ 88612)); + return Promise.all(/*! import() | p__Competitions__Edit__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(74630), __webpack_require__.e(39440), __webpack_require__.e(24665), __webpack_require__.e(41228), __webpack_require__.e(23125), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(27092), __webpack_require__.e(78782), __webpack_require__.e(63995), __webpack_require__.e(96865), __webpack_require__.e(49029), __webpack_require__.e(61998), __webpack_require__.e(93948), __webpack_require__.e(94001), __webpack_require__.e(59028), __webpack_require__.e(5301), __webpack_require__.e(2360), __webpack_require__.e(89831), __webpack_require__.e(57930), __webpack_require__.e(43428), __webpack_require__.e(78018), __webpack_require__.e(45413), __webpack_require__.e(85045), __webpack_require__.e(29198), __webpack_require__.e(55351), __webpack_require__.e(53114), __webpack_require__.e(20603), __webpack_require__.e(3406), __webpack_require__.e(38797)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/Edit/index.tsx */ 90283)); }), '157': /*#__PURE__*/_react_17_0_2_react.lazy(function () { return Promise.all(/*! import() | p__Competitions__SpecialSubject__index */[__webpack_require__.e(46573), __webpack_require__.e(50812), __webpack_require__.e(74630), __webpack_require__.e(39440), __webpack_require__.e(24665), __webpack_require__.e(41228), __webpack_require__.e(23125), __webpack_require__.e(20834), __webpack_require__.e(91857), __webpack_require__.e(5112), __webpack_require__.e(78241), __webpack_require__.e(27092), __webpack_require__.e(78782), __webpack_require__.e(63995), __webpack_require__.e(49029), __webpack_require__.e(61998), __webpack_require__.e(93948), __webpack_require__.e(59028), __webpack_require__.e(22582)]).then(__webpack_require__.bind(__webpack_require__, /*! @/pages/Competitions/SpecialSubject/index.tsx */ 50656));