|
|
|
|
@ -11395,7 +11395,7 @@ var WorkList = function WorkList(_ref) {
|
|
|
|
|
return !!item;
|
|
|
|
|
});
|
|
|
|
|
var exportMenu = function exportMenu() {
|
|
|
|
|
var _workList$student_wor, _workList$student_wor2, _shixunHomeworks$head4;
|
|
|
|
|
var _workList$student_wor, _shixunHomeworks$head4;
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
@ -11403,20 +11403,10 @@ var WorkList = function WorkList(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: "\u5B66\u751F\u6210\u7EE9"
|
|
|
|
|
}, "1"), (0,authority/* isAdmin */.GJ)() && (workList === null || workList === void 0 || (_workList$student_wor = workList.student_works) === null || _workList$student_wor === void 0 ? void 0 : _workList$student_wor.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
onClick: function onClick(e) {
|
|
|
|
|
dispatch({
|
|
|
|
|
type: 'shixunHomeworks/setActionTabs',
|
|
|
|
|
payload: {
|
|
|
|
|
key: '导出实训报告',
|
|
|
|
|
type: 2
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// localStorage.setItem('dowolders','1')
|
|
|
|
|
},
|
|
|
|
|
to: "/classrooms/".concat(params === null || params === void 0 ? void 0 : params.coursesId, "/shixun_homework/").concat(params.categoryId, "/").concat(workList === null || workList === void 0 || (_workList$student_wor2 = workList.student_works) === null || _workList$student_wor2 === void 0 || (_workList$student_wor2 = _workList$student_wor2[0]) === null || _workList$student_wor2 === void 0 ? void 0 : _workList$student_wor2.id, "/comment"),
|
|
|
|
|
children: "\u5B9E\u8BAD\u62A5\u544A"
|
|
|
|
|
})
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
(0,utils_export/* ExportCourseWorkListShixuns */.jj)(JSON.parse(sessionStorage['all_student_works_params']), 'shixun_report');
|
|
|
|
|
},
|
|
|
|
|
children: "\u5B9E\u8BAD\u62A5\u544A"
|
|
|
|
|
}, "3"), (shixunHomeworks === null || shixunHomeworks === void 0 || (_shixunHomeworks$head4 = shixunHomeworks.headerInfo) === null || _shixunHomeworks$head4 === void 0 ? void 0 : _shixunHomeworks$head4.start_permanent) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
|
|
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee6() {
|
|
|
|
|
var res;
|
|
|
|
|
@ -16919,6 +16909,7 @@ var TrfList = function TrfList(_ref) {
|
|
|
|
|
/* harmony export */ iA: function() { return /* binding */ ExportCourseAndOther; },
|
|
|
|
|
/* harmony export */ j6: function() { return /* binding */ ExportCourseTotalScore; },
|
|
|
|
|
/* harmony export */ je: function() { return /* binding */ ExportExerciseStudentScores; },
|
|
|
|
|
/* harmony export */ jj: function() { return /* binding */ ExportCourseWorkListShixuns; },
|
|
|
|
|
/* harmony export */ kS: function() { return /* binding */ getquestion_rank_list; },
|
|
|
|
|
/* harmony export */ o6: function() { return /* binding */ ExportVideoStudent; },
|
|
|
|
|
/* harmony export */ pO: function() { return /* binding */ exportUserExerciseDetail; },
|
|
|
|
|
@ -17234,18 +17225,18 @@ var ExportCourseTotalScore = /*#__PURE__*/function () {
|
|
|
|
|
return _ref6.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportCourseWorkListScores = /*#__PURE__*/function () {
|
|
|
|
|
var ExportCourseWorkListShixuns = /*#__PURE__*/function () {
|
|
|
|
|
var _ref7 = _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 _callee7(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 _callee7$(_context7) {
|
|
|
|
|
while (1) switch (_context7.prev = _context7.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context7.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__/* .exportCourseWorkListShiXuns */ .o_)(_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 = _context7.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({
|
|
|
|
|
@ -17268,51 +17259,57 @@ var ExportCourseWorkListScores = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee7);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportCourseWorkListScores(_x7, _x8) {
|
|
|
|
|
return function ExportCourseWorkListShixuns(_x7, _x8) {
|
|
|
|
|
return _ref7.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportCourseWorkListAppendix = /*#__PURE__*/(/* unused pure expression or super */ null && (function () {
|
|
|
|
|
var _ref8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(params) {
|
|
|
|
|
var ExportCourseWorkListScores = /*#__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 _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
|
|
|
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:
|
|
|
|
|
showLoading();
|
|
|
|
|
_context8.next = 3;
|
|
|
|
|
return exportCourseWorkListAppendix(_objectSpread({}, params));
|
|
|
|
|
case 3:
|
|
|
|
|
_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));
|
|
|
|
|
case 2:
|
|
|
|
|
res = _context8.sent;
|
|
|
|
|
if (!(res.status === 0)) {
|
|
|
|
|
_context8.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));
|
|
|
|
|
}
|
|
|
|
|
_context8.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 _context8.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee8);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportCourseWorkListAppendix(_x9) {
|
|
|
|
|
return function ExportCourseWorkListScores(_x9, _x10) {
|
|
|
|
|
return _ref8.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}()));
|
|
|
|
|
var ExportPollsScores = /*#__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) {
|
|
|
|
|
}();
|
|
|
|
|
var ExportCourseWorkListAppendix = /*#__PURE__*/(/* unused pure expression or super */ null && (function () {
|
|
|
|
|
var _ref9 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(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 _callee9$(_context9) {
|
|
|
|
|
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
|
|
|
while (1) switch (_context9.prev = _context9.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
showLoading();
|
|
|
|
|
_context9.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 = _context9.sent;
|
|
|
|
|
if (!(res.status === 0)) {
|
|
|
|
|
@ -17320,8 +17317,8 @@ var ExportPollsScores = /*#__PURE__*/function () {
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
_context9.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:
|
|
|
|
|
@ -17332,38 +17329,50 @@ var ExportPollsScores = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee9);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportPollsScores(_x10) {
|
|
|
|
|
return function ExportCourseWorkListAppendix(_x11) {
|
|
|
|
|
return _ref9.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportAttendance = /*#__PURE__*/function () {
|
|
|
|
|
}()));
|
|
|
|
|
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 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) {
|
|
|
|
|
while (1) switch (_context10.prev = _context10.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context10.next = 2;
|
|
|
|
|
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));
|
|
|
|
|
case 3:
|
|
|
|
|
res = _context10.sent;
|
|
|
|
|
if (!(res.status === 0)) {
|
|
|
|
|
_context10.next = 7;
|
|
|
|
|
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/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 _context10.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee10);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportAttendance(_x11) {
|
|
|
|
|
return function ExportPollsScores(_x12) {
|
|
|
|
|
return _ref10.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportVideoStudent = /*#__PURE__*/function () {
|
|
|
|
|
var ExportAttendance = /*#__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) {
|
|
|
|
|
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;
|
|
|
|
|
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:
|
|
|
|
|
@ -17372,18 +17381,18 @@ var ExportVideoStudent = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee11);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportVideoStudent(_x12) {
|
|
|
|
|
return function ExportAttendance(_x13) {
|
|
|
|
|
return _ref11.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportVideoStudy = /*#__PURE__*/function () {
|
|
|
|
|
var ExportVideoStudent = /*#__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, "/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:
|
|
|
|
|
@ -17392,18 +17401,18 @@ var ExportVideoStudy = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee12);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportVideoStudy(_x13) {
|
|
|
|
|
return function ExportVideoStudent(_x14) {
|
|
|
|
|
return _ref12.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportCourseStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
var ExportVideoStudy = /*#__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_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:
|
|
|
|
|
@ -17412,18 +17421,18 @@ var ExportCourseStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee13);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportCourseStudentsInfo(_x14) {
|
|
|
|
|
return function ExportVideoStudy(_x15) {
|
|
|
|
|
return _ref13.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportCollegeStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
var ExportCourseStudentsInfo = /*#__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/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:
|
|
|
|
|
@ -17432,18 +17441,18 @@ var ExportCollegeStudentsInfo = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee14);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportCollegeStudentsInfo(_x15) {
|
|
|
|
|
return function ExportCourseStudentsInfo(_x16) {
|
|
|
|
|
return _ref14.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportProblemset = /*#__PURE__*/function () {
|
|
|
|
|
var ExportCollegeStudentsInfo = /*#__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/item_banks/export.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/school_manages/students.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -17452,18 +17461,18 @@ var ExportProblemset = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee15);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportProblemset(_x16) {
|
|
|
|
|
return function ExportCollegeStudentsInfo(_x17) {
|
|
|
|
|
return _ref15.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var Exportcompetitions = /*#__PURE__*/function () {
|
|
|
|
|
var ExportProblemset = /*#__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/competitions/region_reports.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/item_banks/export.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -17472,20 +17481,40 @@ var Exportcompetitions = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee16);
|
|
|
|
|
}));
|
|
|
|
|
return function Exportcompetitions(_x17) {
|
|
|
|
|
return function ExportProblemset(_x18) {
|
|
|
|
|
return _ref16.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportExerciseStudentScores = /*#__PURE__*/function () {
|
|
|
|
|
var Exportcompetitions = /*#__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) {
|
|
|
|
|
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 _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",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context17.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee17);
|
|
|
|
|
}));
|
|
|
|
|
return function Exportcompetitions(_x19) {
|
|
|
|
|
return _ref17.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportExerciseStudentScores = /*#__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,_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 = _context17.sent;
|
|
|
|
|
res = _context18.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"));
|
|
|
|
|
@ -17505,66 +17534,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 _context17.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee17);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportExerciseStudentScores(_x18) {
|
|
|
|
|
return _ref17.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getDownFile = /*#__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) {
|
|
|
|
|
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:
|
|
|
|
|
console.log('----------', '调用下载');
|
|
|
|
|
_context18.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 _context18.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee18);
|
|
|
|
|
}));
|
|
|
|
|
return function getDownFile(_x19) {
|
|
|
|
|
return function ExportExerciseStudentScores(_x20) {
|
|
|
|
|
return _ref18.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getecyears = /*#__PURE__*/function () {
|
|
|
|
|
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:
|
|
|
|
|
_context19.next = 2;
|
|
|
|
|
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/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 _context19.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee19);
|
|
|
|
|
}));
|
|
|
|
|
return function getecyears(_x20) {
|
|
|
|
|
return function getDownFile(_x21) {
|
|
|
|
|
return _ref19.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var ExportStudentanalysis = /*#__PURE__*/function () {
|
|
|
|
|
var getecyears = /*#__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;
|
|
|
|
|
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:
|
|
|
|
|
@ -17573,18 +17580,20 @@ var ExportStudentanalysis = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee20);
|
|
|
|
|
}));
|
|
|
|
|
return function ExportStudentanalysis(_x21) {
|
|
|
|
|
return function getecyears(_x22) {
|
|
|
|
|
return _ref20.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getec_training_objectives = /*#__PURE__*/function () {
|
|
|
|
|
var ExportStudentanalysis = /*#__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/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:
|
|
|
|
|
@ -17593,18 +17602,18 @@ var getec_training_objectives = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee21);
|
|
|
|
|
}));
|
|
|
|
|
return function getec_training_objectives(_x22) {
|
|
|
|
|
return function ExportStudentanalysis(_x23) {
|
|
|
|
|
return _ref21.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var get_ecs_attachment = /*#__PURE__*/function () {
|
|
|
|
|
var getec_training_objectives = /*#__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)(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:
|
|
|
|
|
@ -17613,18 +17622,18 @@ var get_ecs_attachment = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee22);
|
|
|
|
|
}));
|
|
|
|
|
return function get_ecs_attachment(_x23) {
|
|
|
|
|
return function getec_training_objectives(_x24) {
|
|
|
|
|
return _ref22.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getec_courses = /*#__PURE__*/function () {
|
|
|
|
|
var get_ecs_attachment = /*#__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)('', (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:
|
|
|
|
|
@ -17633,18 +17642,18 @@ var getec_courses = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee23);
|
|
|
|
|
}));
|
|
|
|
|
return function getec_courses(_x24) {
|
|
|
|
|
return function get_ecs_attachment(_x25) {
|
|
|
|
|
return _ref23.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getec_graduation_requirements = /*#__PURE__*/function () {
|
|
|
|
|
var getec_courses = /*#__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_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:
|
|
|
|
|
@ -17653,18 +17662,18 @@ var getec_graduation_requirements = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee24);
|
|
|
|
|
}));
|
|
|
|
|
return function getec_graduation_requirements(_x25) {
|
|
|
|
|
return function getec_courses(_x26) {
|
|
|
|
|
return _ref24.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getrank_list = /*#__PURE__*/function () {
|
|
|
|
|
var getec_graduation_requirements = /*#__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/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:
|
|
|
|
|
@ -17673,18 +17682,18 @@ var getrank_list = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee25);
|
|
|
|
|
}));
|
|
|
|
|
return function getrank_list(_x26) {
|
|
|
|
|
return function getec_graduation_requirements(_x27) {
|
|
|
|
|
return _ref25.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getquestion_rank_list = /*#__PURE__*/function () {
|
|
|
|
|
var getrank_list = /*#__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/question_rank_list.xlsx",
|
|
|
|
|
url: _env__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.API_SERVER + "/api/courses/rank_list.xlsx",
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
@ -17693,20 +17702,18 @@ var getquestion_rank_list = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee26);
|
|
|
|
|
}));
|
|
|
|
|
return function getquestion_rank_list(_x27) {
|
|
|
|
|
return function getrank_list(_x28) {
|
|
|
|
|
return _ref26.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 试卷库--试卷详情--试卷导出
|
|
|
|
|
var exportPaperlibraryPaper = /*#__PURE__*/function () {
|
|
|
|
|
var getquestion_rank_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/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:
|
|
|
|
|
@ -17715,20 +17722,20 @@ var exportPaperlibraryPaper = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee27);
|
|
|
|
|
}));
|
|
|
|
|
return function exportPaperlibraryPaper(_x28) {
|
|
|
|
|
return function getquestion_rank_list(_x29) {
|
|
|
|
|
return _ref27.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 教学课堂--试卷详情--试卷导出
|
|
|
|
|
var exportClassroomsPaper = /*#__PURE__*/function () {
|
|
|
|
|
// 试卷库--试卷详情--试卷导出
|
|
|
|
|
var exportPaperlibraryPaper = /*#__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/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:
|
|
|
|
|
@ -17737,20 +17744,20 @@ var exportClassroomsPaper = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee28);
|
|
|
|
|
}));
|
|
|
|
|
return function exportClassroomsPaper(_x29) {
|
|
|
|
|
return function exportPaperlibraryPaper(_x30) {
|
|
|
|
|
return _ref28.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 导出问卷word文档
|
|
|
|
|
var exportCommitResultWord = /*#__PURE__*/function () {
|
|
|
|
|
// 教学课堂--试卷详情--试卷导出
|
|
|
|
|
var exportClassroomsPaper = /*#__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/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:
|
|
|
|
|
@ -17759,20 +17766,20 @@ var exportCommitResultWord = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee29);
|
|
|
|
|
}));
|
|
|
|
|
return function exportCommitResultWord(_x30) {
|
|
|
|
|
return function exportClassroomsPaper(_x31) {
|
|
|
|
|
return _ref29.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 导出问卷word文档
|
|
|
|
|
var exportTaskPass = /*#__PURE__*/function () {
|
|
|
|
|
var exportCommitResultWord = /*#__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/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:
|
|
|
|
|
@ -17781,20 +17788,20 @@ var exportTaskPass = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee30);
|
|
|
|
|
}));
|
|
|
|
|
return function exportTaskPass(_x31) {
|
|
|
|
|
return function exportCommitResultWord(_x32) {
|
|
|
|
|
return _ref30.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
// 导出当前学生试卷
|
|
|
|
|
var exportUserExerciseDetail = /*#__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, title) {
|
|
|
|
|
// 导出问卷word文档
|
|
|
|
|
var exportTaskPass = /*#__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)(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:
|
|
|
|
|
@ -17803,18 +17810,20 @@ var exportUserExerciseDetail = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee31);
|
|
|
|
|
}));
|
|
|
|
|
return function exportUserExerciseDetail(_x32, _x33) {
|
|
|
|
|
return function exportTaskPass(_x33) {
|
|
|
|
|
return _ref31.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var getmember_works = /*#__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) {
|
|
|
|
|
|
|
|
|
|
// 导出当前学生试卷
|
|
|
|
|
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) {
|
|
|
|
|
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)('', (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:
|
|
|
|
|
@ -17823,10 +17832,30 @@ var getmember_works = /*#__PURE__*/function () {
|
|
|
|
|
}
|
|
|
|
|
}, _callee32);
|
|
|
|
|
}));
|
|
|
|
|
return function getmember_works(_x34) {
|
|
|
|
|
return function exportUserExerciseDetail(_x34, _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) {
|
|
|
|
|
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"),
|
|
|
|
|
query: params
|
|
|
|
|
}));
|
|
|
|
|
case 2:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context33.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee33);
|
|
|
|
|
}));
|
|
|
|
|
return function getmember_works(_x36) {
|
|
|
|
|
return _ref33.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
|