|
|
|
|
@ -13223,7 +13223,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
|
|
|
|
|
if (params.exam_id) {
|
|
|
|
|
url = "/paperlibrary/edit/".concat(params.exam_id);
|
|
|
|
|
}
|
|
|
|
|
if (params !== null && params !== void 0 && params.exercise_id) {
|
|
|
|
|
if (params !== null && params !== void 0 && params.exercise_id && !(paramsRouter !== null && paramsRouter !== void 0 && paramsRouter.pathId)) {
|
|
|
|
|
url = "/classrooms/".concat(paramsRouter.coursesId, "/exercise/").concat(params === null || params === void 0 ? void 0 : params.exercise_id, "/edit");
|
|
|
|
|
}
|
|
|
|
|
_umi_production_exports.history.push(url);
|
|
|
|
|
@ -13335,7 +13335,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
|
|
|
|
|
return dom;
|
|
|
|
|
};
|
|
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
|
|
if (isprogram_homework) {
|
|
|
|
|
if (isprogram_homework && !(paramsRouter !== null && paramsRouter !== void 0 && paramsRouter.pathId)) {
|
|
|
|
|
var _ref35 = paramsRouter,
|
|
|
|
|
coursesId = _ref35.coursesId,
|
|
|
|
|
categoryId = _ref35.categoryId;
|
|
|
|
|
@ -13351,7 +13351,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
|
|
|
|
|
}, [isprogram_homework]);
|
|
|
|
|
var handleAdd = /*#__PURE__*/function () {
|
|
|
|
|
var _ref36 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee37() {
|
|
|
|
|
var value, _ref37, coursesId, categoryId, res;
|
|
|
|
|
var value, _ref37, coursesId, categoryId, res, _res6;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee37$(_context37) {
|
|
|
|
|
while (1) switch (_context37.prev = _context37.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
@ -13372,35 +13372,63 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
|
|
|
|
|
case 8:
|
|
|
|
|
setAddLoading(true);
|
|
|
|
|
_ref37 = paramsRouter, coursesId = _ref37.coursesId, categoryId = _ref37.categoryId;
|
|
|
|
|
_context37.next = 12;
|
|
|
|
|
return (0,fetch/* default */.ZP)(isProgramEdit ? "/api/homework_commons/".concat(categoryId, "/update_hack.json") : "/api/courses/".concat(coursesId, "/homework_commons.json"), {
|
|
|
|
|
method: isProgramEdit ? 'put' : 'post',
|
|
|
|
|
if (!(paramsRouter !== null && paramsRouter !== void 0 && paramsRouter.pathId)) {
|
|
|
|
|
_context37.next = 17;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
_context37.next = 13;
|
|
|
|
|
return (0,fetch/* default */.ZP)("/api/paths/".concat(paramsRouter === null || paramsRouter === void 0 ? void 0 : paramsRouter.pathId, "/create_hack_homework"), {
|
|
|
|
|
method: 'post',
|
|
|
|
|
body: objectSpread2_default()(objectSpread2_default()({}, value), {}, {
|
|
|
|
|
coursesId: coursesId,
|
|
|
|
|
category: categoryId,
|
|
|
|
|
stage_shixun_id: categoryId == 'null' ? '' : categoryId,
|
|
|
|
|
stage_id: paramsRouter === null || paramsRouter === void 0 ? void 0 : paramsRouter.stageId,
|
|
|
|
|
type: 5,
|
|
|
|
|
hack_ids: selectitem === null || selectitem === void 0 ? void 0 : selectitem.map(function (item) {
|
|
|
|
|
return item.id;
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
case 12:
|
|
|
|
|
case 13:
|
|
|
|
|
res = _context37.sent;
|
|
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
|
|
|
|
|
_umi_production_exports.history.push("/classrooms/".concat(paramsRouter.coursesId, "/program_homework/").concat(isProgramEdit ? categoryId : res.homework_id, "/detail?tabs=1"));
|
|
|
|
|
message/* default */.ZP.success("".concat(categoryId == 'null' ? '新增成功' : '编辑成功'));
|
|
|
|
|
_umi_production_exports.history.push("/paths/".concat(paramsRouter.pathId));
|
|
|
|
|
}
|
|
|
|
|
setAddLoading(false);
|
|
|
|
|
_context37.next = 20;
|
|
|
|
|
_context37.next = 21;
|
|
|
|
|
break;
|
|
|
|
|
case 17:
|
|
|
|
|
_context37.prev = 17;
|
|
|
|
|
_context37.next = 19;
|
|
|
|
|
return (0,fetch/* default */.ZP)(isProgramEdit ? "/api/homework_commons/".concat(categoryId, "/update_hack.json") : "/api/courses/".concat(coursesId, "/homework_commons.json"), {
|
|
|
|
|
method: isProgramEdit ? 'put' : 'post',
|
|
|
|
|
body: objectSpread2_default()(objectSpread2_default()({}, value), {}, {
|
|
|
|
|
coursesId: coursesId,
|
|
|
|
|
category: categoryId,
|
|
|
|
|
type: 5,
|
|
|
|
|
hack_ids: selectitem === null || selectitem === void 0 ? void 0 : selectitem.map(function (item) {
|
|
|
|
|
return item.id;
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
case 19:
|
|
|
|
|
_res6 = _context37.sent;
|
|
|
|
|
if ((_res6 === null || _res6 === void 0 ? void 0 : _res6.status) === 0) {
|
|
|
|
|
_umi_production_exports.history.push("/classrooms/".concat(paramsRouter.coursesId, "/program_homework/").concat(isProgramEdit ? categoryId : _res6.homework_id, "/detail?tabs=1"));
|
|
|
|
|
}
|
|
|
|
|
case 21:
|
|
|
|
|
setAddLoading(false);
|
|
|
|
|
_context37.next = 27;
|
|
|
|
|
break;
|
|
|
|
|
case 24:
|
|
|
|
|
_context37.prev = 24;
|
|
|
|
|
_context37.t0 = _context37["catch"](0);
|
|
|
|
|
document.body.scrollIntoView();
|
|
|
|
|
case 20:
|
|
|
|
|
case 27:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context37.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee37, null, [[0, 17]]);
|
|
|
|
|
}, _callee37, null, [[0, 24]]);
|
|
|
|
|
}));
|
|
|
|
|
return function handleAdd() {
|
|
|
|
|
return _ref36.apply(this, arguments);
|
|
|
|
|
@ -13624,7 +13652,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
|
|
|
|
|
open: ismodal,
|
|
|
|
|
centered: true,
|
|
|
|
|
width: 700,
|
|
|
|
|
okText: "\u786E\u8BA4".concat(isProgramEdit ? '编辑' : "新建"),
|
|
|
|
|
okText: "\u786E\u8BA4".concat(paramsRouter !== null && paramsRouter !== void 0 && paramsRouter.pathId ? '' : isProgramEdit ? '编辑' : "新建"),
|
|
|
|
|
onCancel: function onCancel() {
|
|
|
|
|
return setismodal(false);
|
|
|
|
|
},
|
|
|
|
|
@ -14187,18 +14215,22 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
className: "mr20 ml40",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
if (isProgramEdit) {
|
|
|
|
|
_umi_production_exports.history.push("/classrooms/".concat(paramsRouter.coursesId, "/program_homework/").concat(paramsRouter.categoryId, "/detail?tabs=1"));
|
|
|
|
|
return;
|
|
|
|
|
if (paramsRouter !== null && paramsRouter !== void 0 && paramsRouter.pathId) {
|
|
|
|
|
_umi_production_exports.history.push("/paths/".concat(paramsRouter.pathId));
|
|
|
|
|
} else {
|
|
|
|
|
if (isProgramEdit) {
|
|
|
|
|
_umi_production_exports.history.push("/classrooms/".concat(paramsRouter.coursesId, "/program_homework/").concat(paramsRouter.categoryId, "/detail?tabs=1"));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
_umi_production_exports.history.push("/classrooms/".concat(paramsRouter.coursesId, "/program_homework"));
|
|
|
|
|
}
|
|
|
|
|
_umi_production_exports.history.push("/classrooms/".concat(paramsRouter.coursesId, "/program_homework"));
|
|
|
|
|
},
|
|
|
|
|
children: "\u53D6\u6D88"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
|
|
|
|
|
loading: addLoading,
|
|
|
|
|
onClick: handleAdd,
|
|
|
|
|
type: "primary",
|
|
|
|
|
children: ["\u786E\u8BA4", isProgramEdit ? '编辑' : "新建"]
|
|
|
|
|
children: ["\u786E\u8BA4", paramsRouter !== null && paramsRouter !== void 0 && paramsRouter.pathId ? '' : isProgramEdit ? '编辑' : "新建"]
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
@ -14424,6 +14456,7 @@ var ProblemsetPage = function ProblemsetPage(_ref) {
|
|
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
/* harmony export */ AD: function() { return /* binding */ ExportCollegeStudentsInfo; },
|
|
|
|
|
/* harmony export */ D9: function() { return /* binding */ ExportStudentanalysis; },
|
|
|
|
|
/* harmony export */ Hp: function() { return /* binding */ ExportCourseWorkListExercise; },
|
|
|
|
|
/* harmony export */ IM: function() { return /* binding */ get_ecs_attachment; },
|
|
|
|
|
/* harmony export */ Iy: function() { return /* binding */ ExportCourseWorkListScores; },
|
|
|
|
|
/* harmony export */ KM: function() { return /* binding */ getmember_works; },
|
|
|
|
|
@ -14799,18 +14832,18 @@ var ExportCourseWorkListShixuns = /*#__PURE__*/function () {
|
|
|
|
|
return _ref7.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportCourseWorkListScores = /*#__PURE__*/function () {
|
|
|
|
|
var ExportCourseWorkListExercise = /*#__PURE__*/function () {
|
|
|
|
|
var _ref8 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee8(params, type) {
|
|
|
|
|
var res;
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee8$(_context8) {
|
|
|
|
|
while (1) switch (_context8.prev = _context8.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context8.next = 2;
|
|
|
|
|
return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseWorkListScores */ .aP)(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
|
|
|
|
|
return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseWorkListExercise */ .ZL)(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
|
|
|
|
|
case 2:
|
|
|
|
|
res = _context8.sent;
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP.info('导出任务生成成功');
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP.info('导出任务生成成功!导出后文件保存时间为7天,请及时下载');
|
|
|
|
|
umi__WEBPACK_IMPORTED_MODULE_4__.history.push("/classrooms/".concat(params.coursesId, "/exportlist/").concat(type));
|
|
|
|
|
} else if (res.status === -3) {
|
|
|
|
|
(0,umi__WEBPACK_IMPORTED_MODULE_4__.getDvaApp)()._store.dispatch({
|
|
|
|
|
@ -14833,51 +14866,57 @@ var ExportCourseWorkListScores = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee8);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportCourseWorkListScores(_x9, _x10) {
|
|
|
|
|
return function ExportCourseWorkListExercise(_x9, _x10) {
|
|
|
|
|
return _ref8.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportCourseWorkListAppendix = /*#__PURE__*/(/* unused pure expression or super */ null && (function () {
|
|
|
|
|
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) {
|
|
|
|
|
var ExportCourseWorkListScores = /*#__PURE__*/function () {
|
|
|
|
|
var _ref9 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params, type) {
|
|
|
|
|
var res;
|
|
|
|
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) {
|
|
|
|
|
while (1) switch (_context9.prev = _context9.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
showLoading();
|
|
|
|
|
_context9.next = 3;
|
|
|
|
|
return exportCourseWorkListAppendix(_objectSpread({}, params));
|
|
|
|
|
case 3:
|
|
|
|
|
_context9.next = 2;
|
|
|
|
|
return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseWorkListScores */ .aP)(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
|
|
|
|
|
case 2:
|
|
|
|
|
res = _context9.sent;
|
|
|
|
|
if (!(res.status === 0)) {
|
|
|
|
|
_context9.next = 7;
|
|
|
|
|
break;
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP.info('导出任务生成成功');
|
|
|
|
|
umi__WEBPACK_IMPORTED_MODULE_4__.history.push("/classrooms/".concat(params.coursesId, "/exportlist/").concat(type));
|
|
|
|
|
} else if (res.status === -3) {
|
|
|
|
|
(0,umi__WEBPACK_IMPORTED_MODULE_4__.getDvaApp)()._store.dispatch({
|
|
|
|
|
type: 'classroomList/setActionTabs',
|
|
|
|
|
payload: {
|
|
|
|
|
key: '导出提醒'
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
umi__WEBPACK_IMPORTED_MODULE_4__.history.push("/classrooms/".concat(params.coursesId, "/exportlist/").concat(type));
|
|
|
|
|
}
|
|
|
|
|
_context9.next = 7;
|
|
|
|
|
return downLoadFileIframe('', setUrlQuery({
|
|
|
|
|
url: ENV.API_SERVER + "/api/homework_commons/".concat(params.categoryId, "/works_list.zip"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 7:
|
|
|
|
|
hideLoading();
|
|
|
|
|
case 8:
|
|
|
|
|
// else if(res.status === -1){
|
|
|
|
|
// history.push(`/classrooms/${params.coursesId}/exportlist/${type}`)
|
|
|
|
|
// };
|
|
|
|
|
// console.log(JSON.stringify(params))
|
|
|
|
|
// if(res.status === 0) await downLoadFileIframe('',setUrlQuery({url:ENV.API_SERVER + `/api/homework_commons/${params.categoryId}/works_list.xlsx`,query:params}))
|
|
|
|
|
// hideLoading();
|
|
|
|
|
case 4:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context9.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee9);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportCourseWorkListAppendix(_x11) {
|
|
|
|
|
return function ExportCourseWorkListScores(_x11, _x12) {
|
|
|
|
|
return _ref9.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}()));
|
|
|
|
|
var ExportPollsScores = /*#__PURE__*/function () {
|
|
|
|
|
var _ref10 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) {
|
|
|
|
|
}();
|
|
|
|
|
var ExportCourseWorkListAppendix = /*#__PURE__*/(/* unused pure expression or super */ null && (function () {
|
|
|
|
|
var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(params) {
|
|
|
|
|
var res;
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) {
|
|
|
|
|
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
|
|
|
while (1) switch (_context10.prev = _context10.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
showLoading();
|
|
|
|
|
_context10.next = 3;
|
|
|
|
|
return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportPollsScores */ .MJ)(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
|
|
|
|
|
return exportCourseWorkListAppendix(_objectSpread({}, params));
|
|
|
|
|
case 3:
|
|
|
|
|
res = _context10.sent;
|
|
|
|
|
if (!(res.status === 0)) {
|
|
|
|
|
@ -14885,8 +14924,8 @@ var ExportPollsScores = /*#__PURE__*/function () {
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
_context10.next = 7;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/polls/".concat(params.categoryId, "/commit_result.xlsx"),
|
|
|
|
|
return downLoadFileIframe('', setUrlQuery({
|
|
|
|
|
url: ENV.API_SERVER + "/api/homework_commons/".concat(params.categoryId, "/works_list.zip"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 7:
|
|
|
|
|
@ -14897,38 +14936,50 @@ var ExportPollsScores = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee10);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportPollsScores(_x12) {
|
|
|
|
|
return function ExportCourseWorkListAppendix(_x13) {
|
|
|
|
|
return _ref10.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportAttendance = /*#__PURE__*/function () {
|
|
|
|
|
}()));
|
|
|
|
|
var ExportPollsScores = /*#__PURE__*/function () {
|
|
|
|
|
var _ref11 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) {
|
|
|
|
|
var res;
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) {
|
|
|
|
|
while (1) switch (_context11.prev = _context11.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context11.next = 2;
|
|
|
|
|
showLoading();
|
|
|
|
|
_context11.next = 3;
|
|
|
|
|
return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportPollsScores */ .MJ)(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
|
|
|
|
|
case 3:
|
|
|
|
|
res = _context11.sent;
|
|
|
|
|
if (!(res.status === 0)) {
|
|
|
|
|
_context11.next = 7;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
_context11.next = 7;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params.coursesId, "/attendances/export_xlsx_data.xlsx"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/polls/".concat(params.categoryId, "/commit_result.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
case 7:
|
|
|
|
|
hideLoading();
|
|
|
|
|
case 8:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context11.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee11);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportAttendance(_x13) {
|
|
|
|
|
return function ExportPollsScores(_x14) {
|
|
|
|
|
return _ref11.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportVideoStudent = /*#__PURE__*/function () {
|
|
|
|
|
var ExportAttendance = /*#__PURE__*/function () {
|
|
|
|
|
var _ref12 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) {
|
|
|
|
|
while (1) switch (_context12.prev = _context12.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context12.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params.coursesId, "/video_study_statics.xlsx"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params.coursesId, "/attendances/export_xlsx_data.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -14937,18 +14988,18 @@ var ExportVideoStudent = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee12);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportVideoStudent(_x14) {
|
|
|
|
|
return function ExportAttendance(_x15) {
|
|
|
|
|
return _ref12.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportVideoStudy = /*#__PURE__*/function () {
|
|
|
|
|
var ExportVideoStudent = /*#__PURE__*/function () {
|
|
|
|
|
var _ref13 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) {
|
|
|
|
|
while (1) switch (_context13.prev = _context13.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context13.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params.coursesId, "/export_video_study.xlsx"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params.coursesId, "/video_study_statics.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -14957,18 +15008,18 @@ var ExportVideoStudy = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee13);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportVideoStudy(_x15) {
|
|
|
|
|
return function ExportVideoStudent(_x16) {
|
|
|
|
|
return _ref13.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportCourseStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
var ExportVideoStudy = /*#__PURE__*/function () {
|
|
|
|
|
var _ref14 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) {
|
|
|
|
|
while (1) switch (_context14.prev = _context14.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context14.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params.coursesId, "/export_course_students_info.xlsx"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params.coursesId, "/export_video_study.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -14977,18 +15028,18 @@ var ExportCourseStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee14);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportCourseStudentsInfo(_x16) {
|
|
|
|
|
return function ExportVideoStudy(_x17) {
|
|
|
|
|
return _ref14.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportCollegeStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
var ExportCourseStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
var _ref15 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) {
|
|
|
|
|
while (1) switch (_context15.prev = _context15.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context15.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/school_manages/students.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params.coursesId, "/export_course_students_info.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -14997,18 +15048,18 @@ var ExportCollegeStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee15);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportCollegeStudentsInfo(_x17) {
|
|
|
|
|
return function ExportCourseStudentsInfo(_x18) {
|
|
|
|
|
return _ref15.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportProblemset = /*#__PURE__*/function () {
|
|
|
|
|
var ExportCollegeStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
var _ref16 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) {
|
|
|
|
|
while (1) switch (_context16.prev = _context16.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context16.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/item_banks/export.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/school_manages/students.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15017,18 +15068,18 @@ var ExportProblemset = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee16);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportProblemset(_x18) {
|
|
|
|
|
return function ExportCollegeStudentsInfo(_x19) {
|
|
|
|
|
return _ref16.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var Exportcompetitions = /*#__PURE__*/function () {
|
|
|
|
|
var ExportProblemset = /*#__PURE__*/function () {
|
|
|
|
|
var _ref17 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) {
|
|
|
|
|
while (1) switch (_context17.prev = _context17.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context17.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/competitions/region_reports.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/item_banks/export.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15037,20 +15088,40 @@ var Exportcompetitions = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee17);
|
|
|
|
|
}));
|
|
|
|
|
return function Exportcompetitions(_x19) {
|
|
|
|
|
return function ExportProblemset(_x20) {
|
|
|
|
|
return _ref17.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportExerciseStudentScores = /*#__PURE__*/function () {
|
|
|
|
|
var Exportcompetitions = /*#__PURE__*/function () {
|
|
|
|
|
var _ref18 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) {
|
|
|
|
|
var res;
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) {
|
|
|
|
|
while (1) switch (_context18.prev = _context18.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context18.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/competitions/region_reports.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context18.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee18);
|
|
|
|
|
}));
|
|
|
|
|
return function Exportcompetitions(_x21) {
|
|
|
|
|
return _ref18.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportExerciseStudentScores = /*#__PURE__*/function () {
|
|
|
|
|
var _ref19 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) {
|
|
|
|
|
var res;
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) {
|
|
|
|
|
while (1) switch (_context19.prev = _context19.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context19.next = 2;
|
|
|
|
|
return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportExerciseStudentScores */ .Uy)(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params));
|
|
|
|
|
case 2:
|
|
|
|
|
res = _context18.sent;
|
|
|
|
|
res = _context19.sent;
|
|
|
|
|
if (res.status === 0) {
|
|
|
|
|
antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP.info('导出任务生成成功');
|
|
|
|
|
umi__WEBPACK_IMPORTED_MODULE_4__.history.push("/classrooms/".concat(params.coursesId, "/exportlist/exercise_score"));
|
|
|
|
|
@ -15070,66 +15141,44 @@ var ExportExerciseStudentScores = /*#__PURE__*/function () {
|
|
|
|
|
// if(res.status === 0) await downLoadFileIframe('',setUrlQuery({url:ENV.API_SERVER + `/api/exercises/${params.categoryId}/exercise_lists.xlsx`,query:params}))
|
|
|
|
|
// hideLoading();
|
|
|
|
|
case 4:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context18.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee18);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportExerciseStudentScores(_x20) {
|
|
|
|
|
return _ref18.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getDownFile = /*#__PURE__*/function () {
|
|
|
|
|
var _ref19 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) {
|
|
|
|
|
while (1) switch (_context19.prev = _context19.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
console.log('----------', '调用下载');
|
|
|
|
|
_context19.next = 3;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/export_records/".concat(params.id, ".xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 3:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context19.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee19);
|
|
|
|
|
}));
|
|
|
|
|
return function getDownFile(_x21) {
|
|
|
|
|
return function ExportExerciseStudentScores(_x22) {
|
|
|
|
|
return _ref19.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getecyears = /*#__PURE__*/function () {
|
|
|
|
|
var getDownFile = /*#__PURE__*/function () {
|
|
|
|
|
var _ref20 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) {
|
|
|
|
|
while (1) switch (_context20.prev = _context20.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context20.next = 2;
|
|
|
|
|
console.log('----------', '调用下载');
|
|
|
|
|
_context20.next = 3;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/ec_major_schools/0/ec_years.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/export_records/".concat(params.id, ".xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
case 3:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context20.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee20);
|
|
|
|
|
}));
|
|
|
|
|
return function getecyears(_x22) {
|
|
|
|
|
return function getDownFile(_x23) {
|
|
|
|
|
return _ref20.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportStudentanalysis = /*#__PURE__*/function () {
|
|
|
|
|
var getecyears = /*#__PURE__*/function () {
|
|
|
|
|
var _ref21 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) {
|
|
|
|
|
while (1) switch (_context21.prev = _context21.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context21.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/").concat(params.menuKey, "_statistic.xlsx?").concat(params.checkedList.map(function (item) {
|
|
|
|
|
return "course_group_id[]=".concat(item);
|
|
|
|
|
}).join('&')),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/ec_major_schools/0/ec_years.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15138,18 +15187,20 @@ var ExportStudentanalysis = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee21);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportStudentanalysis(_x23) {
|
|
|
|
|
return function getecyears(_x24) {
|
|
|
|
|
return _ref21.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getec_training_objectives = /*#__PURE__*/function () {
|
|
|
|
|
var ExportStudentanalysis = /*#__PURE__*/function () {
|
|
|
|
|
var _ref22 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) {
|
|
|
|
|
while (1) switch (_context22.prev = _context22.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context22.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/ec_years/".concat(params === null || params === void 0 ? void 0 : params.ec_year_id, "/ec_training_objectives.xlsx"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/").concat(params.menuKey, "_statistic.xlsx?").concat(params.checkedList.map(function (item) {
|
|
|
|
|
return "course_group_id[]=".concat(item);
|
|
|
|
|
}).join('&')),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15158,18 +15209,18 @@ var getec_training_objectives = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee22);
|
|
|
|
|
}));
|
|
|
|
|
return function getec_training_objectives(_x24) {
|
|
|
|
|
return function ExportStudentanalysis(_x25) {
|
|
|
|
|
return _ref22.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var get_ecs_attachment = /*#__PURE__*/function () {
|
|
|
|
|
var getec_training_objectives = /*#__PURE__*/function () {
|
|
|
|
|
var _ref23 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) {
|
|
|
|
|
while (1) switch (_context23.prev = _context23.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context23.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)(params === null || params === void 0 ? void 0 : params.name, (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/attachments/get_ecs_attachment.docx",
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/ec_years/".concat(params === null || params === void 0 ? void 0 : params.ec_year_id, "/ec_training_objectives.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15178,18 +15229,18 @@ var get_ecs_attachment = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee23);
|
|
|
|
|
}));
|
|
|
|
|
return function get_ecs_attachment(_x25) {
|
|
|
|
|
return function getec_training_objectives(_x26) {
|
|
|
|
|
return _ref23.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getec_courses = /*#__PURE__*/function () {
|
|
|
|
|
var get_ecs_attachment = /*#__PURE__*/function () {
|
|
|
|
|
var _ref24 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) {
|
|
|
|
|
while (1) switch (_context24.prev = _context24.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context24.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/ec_years/".concat(params === null || params === void 0 ? void 0 : params.ec_year_id, "/ec_courses.xlsx"),
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)(params === null || params === void 0 ? void 0 : params.name, (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/attachments/get_ecs_attachment.docx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15198,18 +15249,18 @@ var getec_courses = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee24);
|
|
|
|
|
}));
|
|
|
|
|
return function getec_courses(_x26) {
|
|
|
|
|
return function get_ecs_attachment(_x27) {
|
|
|
|
|
return _ref24.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getec_graduation_requirements = /*#__PURE__*/function () {
|
|
|
|
|
var getec_courses = /*#__PURE__*/function () {
|
|
|
|
|
var _ref25 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) {
|
|
|
|
|
while (1) switch (_context25.prev = _context25.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context25.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/ec_years/".concat(params === null || params === void 0 ? void 0 : params.ec_year_id, "/ec_graduation_requirements.xlsx"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/ec_years/".concat(params === null || params === void 0 ? void 0 : params.ec_year_id, "/ec_courses.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15218,18 +15269,18 @@ var getec_graduation_requirements = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee25);
|
|
|
|
|
}));
|
|
|
|
|
return function getec_graduation_requirements(_x27) {
|
|
|
|
|
return function getec_courses(_x28) {
|
|
|
|
|
return _ref25.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getrank_list = /*#__PURE__*/function () {
|
|
|
|
|
var getec_graduation_requirements = /*#__PURE__*/function () {
|
|
|
|
|
var _ref26 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) {
|
|
|
|
|
while (1) switch (_context26.prev = _context26.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context26.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/rank_list.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/ec_years/".concat(params === null || params === void 0 ? void 0 : params.ec_year_id, "/ec_graduation_requirements.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15238,18 +15289,18 @@ var getrank_list = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee26);
|
|
|
|
|
}));
|
|
|
|
|
return function getrank_list(_x28) {
|
|
|
|
|
return function getec_graduation_requirements(_x29) {
|
|
|
|
|
return _ref26.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getquestion_rank_list = /*#__PURE__*/function () {
|
|
|
|
|
var getrank_list = /*#__PURE__*/function () {
|
|
|
|
|
var _ref27 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee27(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee27$(_context27) {
|
|
|
|
|
while (1) switch (_context27.prev = _context27.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context27.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/question_rank_list.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/rank_list.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15258,20 +15309,18 @@ var getquestion_rank_list = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee27);
|
|
|
|
|
}));
|
|
|
|
|
return function getquestion_rank_list(_x29) {
|
|
|
|
|
return function getrank_list(_x30) {
|
|
|
|
|
return _ref27.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 试卷库--试卷详情--试卷导出
|
|
|
|
|
var exportPaperlibraryPaper = /*#__PURE__*/function () {
|
|
|
|
|
var getquestion_rank_list = /*#__PURE__*/function () {
|
|
|
|
|
var _ref28 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee28(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee28$(_context28) {
|
|
|
|
|
while (1) switch (_context28.prev = _context28.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context28.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/examination_banks/".concat(params.id, ".json"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/question_rank_list.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15280,20 +15329,20 @@ var exportPaperlibraryPaper = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee28);
|
|
|
|
|
}));
|
|
|
|
|
return function exportPaperlibraryPaper(_x30) {
|
|
|
|
|
return function getquestion_rank_list(_x31) {
|
|
|
|
|
return _ref28.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 教学课堂--试卷详情--试卷导出
|
|
|
|
|
var exportClassroomsPaper = /*#__PURE__*/function () {
|
|
|
|
|
// 试卷库--试卷详情--试卷导出
|
|
|
|
|
var exportPaperlibraryPaper = /*#__PURE__*/function () {
|
|
|
|
|
var _ref29 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee29(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee29$(_context29) {
|
|
|
|
|
while (1) switch (_context29.prev = _context29.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context29.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/exercises/".concat(params.categoryId, ".json"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/examination_banks/".concat(params.id, ".json"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15302,20 +15351,20 @@ var exportClassroomsPaper = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee29);
|
|
|
|
|
}));
|
|
|
|
|
return function exportClassroomsPaper(_x31) {
|
|
|
|
|
return function exportPaperlibraryPaper(_x32) {
|
|
|
|
|
return _ref29.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 导出问卷word文档
|
|
|
|
|
var exportCommitResultWord = /*#__PURE__*/function () {
|
|
|
|
|
// 教学课堂--试卷详情--试卷导出
|
|
|
|
|
var exportClassroomsPaper = /*#__PURE__*/function () {
|
|
|
|
|
var _ref30 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee30(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee30$(_context30) {
|
|
|
|
|
while (1) switch (_context30.prev = _context30.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context30.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/polls/".concat(params === null || params === void 0 ? void 0 : params.id, "/commit_result.json"),
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/exercises/".concat(params.categoryId, ".json"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15324,20 +15373,20 @@ var exportCommitResultWord = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee30);
|
|
|
|
|
}));
|
|
|
|
|
return function exportCommitResultWord(_x32) {
|
|
|
|
|
return function exportClassroomsPaper(_x33) {
|
|
|
|
|
return _ref30.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 导出问卷word文档
|
|
|
|
|
var exportTaskPass = /*#__PURE__*/function () {
|
|
|
|
|
var exportCommitResultWord = /*#__PURE__*/function () {
|
|
|
|
|
var _ref31 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee31(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee31$(_context31) {
|
|
|
|
|
while (1) switch (_context31.prev = _context31.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context31.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/paths/get_task_pass.json",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/polls/".concat(params === null || params === void 0 ? void 0 : params.id, "/commit_result.json"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15346,20 +15395,20 @@ var exportTaskPass = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee31);
|
|
|
|
|
}));
|
|
|
|
|
return function exportTaskPass(_x33) {
|
|
|
|
|
return function exportCommitResultWord(_x34) {
|
|
|
|
|
return _ref31.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 导出当前学生试卷
|
|
|
|
|
var exportUserExerciseDetail = /*#__PURE__*/function () {
|
|
|
|
|
var _ref32 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee32(params, title) {
|
|
|
|
|
// 导出问卷word文档
|
|
|
|
|
var exportTaskPass = /*#__PURE__*/function () {
|
|
|
|
|
var _ref32 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee32(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee32$(_context32) {
|
|
|
|
|
while (1) switch (_context32.prev = _context32.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context32.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)(title || '', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.exercise_id, "/consult_exercise.json"),
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/paths/get_task_pass.json",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15368,18 +15417,20 @@ var exportUserExerciseDetail = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee32);
|
|
|
|
|
}));
|
|
|
|
|
return function exportUserExerciseDetail(_x34, _x35) {
|
|
|
|
|
return function exportTaskPass(_x35) {
|
|
|
|
|
return _ref32.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getmember_works = /*#__PURE__*/function () {
|
|
|
|
|
var _ref33 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee33(params) {
|
|
|
|
|
|
|
|
|
|
// 导出当前学生试卷
|
|
|
|
|
var exportUserExerciseDetail = /*#__PURE__*/function () {
|
|
|
|
|
var _ref33 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee33(params, title) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee33$(_context33) {
|
|
|
|
|
while (1) switch (_context33.prev = _context33.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context33.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/competitions/".concat(params === null || params === void 0 ? void 0 : params.identifier, "/competition_commit_records/member_works.xlsx"),
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)(title || '', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/exercises/".concat(params === null || params === void 0 ? void 0 : params.exercise_id, "/consult_exercise.json"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -15388,10 +15439,30 @@ var getmember_works = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee33);
|
|
|
|
|
}));
|
|
|
|
|
return function getmember_works(_x36) {
|
|
|
|
|
return function exportUserExerciseDetail(_x36, _x37) {
|
|
|
|
|
return _ref33.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getmember_works = /*#__PURE__*/function () {
|
|
|
|
|
var _ref34 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee34(params) {
|
|
|
|
|
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee34$(_context34) {
|
|
|
|
|
while (1) switch (_context34.prev = _context34.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context34.next = 2;
|
|
|
|
|
return (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .downLoadFile */ .FH)('', (0,_util__WEBPACK_IMPORTED_MODULE_5__/* .setUrlQuery */ .NY)({
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/competitions/".concat(params === null || params === void 0 ? void 0 : params.identifier, "/competition_commit_records/member_works.xlsx"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context34.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee34);
|
|
|
|
|
}));
|
|
|
|
|
return function getmember_works(_x38) {
|
|
|
|
|
return _ref34.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|