@ -3025,10 +3025,8 @@ function updateMoopCase(id, params) {
/* 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 */ MJ : function ( ) { return /* binding */ ExportCourseWorkListExerciseWord ; } ,
/* harmony export */ Ne : function ( ) { return /* binding */ getec _training _objectives ; } ,
/* harmony export */ ON : function ( ) { return /* binding */ exportPaperlibraryPaper ; } ,
/* harmony export */ Uj : function ( ) { return /* binding */ exportTaskPass ; } ,
@ -3390,154 +3388,118 @@ var ExportCourseWorkListScores = /*#__PURE__*/function () {
return _ref7 . apply ( this , arguments ) ;
} ;
} ( ) ;
var ExportCourseWorkList Exercise = /*#__PURE__*/ function ( ) {
var _ref8 = _ root_workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _ asyncToGenerator_js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _r oot_workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _r egeneratorRuntime_js _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default ( ) ( ) . mark ( function _callee8 ( params , type ) {
var ExportCourseWorkList Appendix = /*#__PURE__*/ ( /* unused pure expression or super */ null && ( function ( ) {
var _ref8 = _ asyncToGenerator( /*#__PURE__*/ _r egeneratorRuntime( ) . mark ( function _callee8 ( params ) {
var res ;
return _r oot_workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _r egeneratorRuntime_js _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default ( ) ( ) . wrap ( function _callee8$ ( _context8 ) {
return _r egeneratorRuntime( ) . wrap ( function _callee8$ ( _context8 ) {
while ( 1 ) switch ( _context8 . prev = _context8 . next ) {
case 0 :
_context8 . next = 2 ;
return ( 0 , _service _classrooms _ _WEBPACK _IMPORTED _MODULE _3 _ _ /* .exportCourseWorkListExercise */ . ZL ) ( _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _objectSpread2 _js _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( { } , params ) ) ;
case 2 :
showLoading ( ) ;
_context8 . next = 3 ;
return exportCourseWorkListAppendix ( _objectSpread ( { } , params ) ) ;
case 3 :
res = _context8 . sent ;
if ( res . status === 0 ) {
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 ( {
type : 'classroomList/setActionTabs' ,
payload : {
key : '导出提醒'
}
} ) ;
umi _ _WEBPACK _IMPORTED _MODULE _4 _ _ . history . push ( "/classrooms/" . concat ( params . coursesId , "/exportlist/" ) . concat ( type ) ) ;
if ( ! ( res . status === 0 ) ) {
_context8 . next = 7 ;
break ;
}
// 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 :
_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 :
case "end" :
return _context8 . stop ( ) ;
}
} , _callee8 ) ;
} ) ) ;
return function ExportCourseWorkList Exercise( _x9 , _x10 ) {
return function ExportCourseWorkList Appendix( _x9 ) {
return _ref8 . apply ( this , arguments ) ;
} ;
} ( ) ;
var Export CourseWorkListExerciseWord = /*#__PURE__*/ function ( ) {
var _ref9 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _regeneratorRuntime _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default ( ) ( ) . mark ( function _callee9 ( params , type ) {
} ( ) )) ;
var Export PollsScores = /*#__PURE__*/ function ( ) {
var _ref9 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _regeneratorRuntime _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default ( ) ( ) . mark ( function _callee9 ( params ) {
var res ;
return _root _workspace _ppte5yg23 _local _v9 _test5 _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 :
_context9 . next = 2 ;
return ( 0 , _service _classrooms _ _WEBPACK _IMPORTED _MODULE _3 _ _ /* .exportCourseWorkListExerciseWord */ . vV ) ( _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _objectSpread2 _js _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( { } , params ) ) ;
case 2 :
showLoading ( ) ;
_context9 . next = 3 ;
return ( 0 , _service _classrooms _ _WEBPACK _IMPORTED _MODULE _3 _ _ /* .exportPollsScores */ . MJ ) ( _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _objectSpread2 _js _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( { } , params ) ) ;
case 3 :
res = _context9 . sent ;
if ( res . status === 0 ) {
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 ( {
type : 'classroomList/setActionTabs' ,
payload : {
key : '导出提醒'
}
} ) ;
umi _ _WEBPACK _IMPORTED _MODULE _4 _ _ . history . push ( "/classrooms/" . concat ( params . coursesId , "/exportlist/" ) . concat ( type ) ) ;
if ( ! ( res . status === 0 ) ) {
_context9 . next = 7 ;
break ;
}
// 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 :
_context9 . next = 7 ;
return ( 0 , _util _ _WEBPACK _IMPORTED _MODULE _5 _ _ /* .downLoadFileIframe */ . QH ) ( '' , ( 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" ) ,
query : params
} ) ) ;
case 7 :
hideLoading ( ) ;
case 8 :
case "end" :
return _context9 . stop ( ) ;
}
} , _callee9 ) ;
} ) ) ;
return function Export CourseWorkListExerciseWord( _x11 , _x12 ) {
return function Export PollsScores( _x10 ) {
return _ref9 . apply ( this , arguments ) ;
} ;
} ( ) ;
var ExportCourseWorkListAppendix = /*#__PURE__*/ ( /* unused pure expression or super */ null && ( function ( ) {
var _ref10 = _asyncToGenerator ( /*#__PURE__*/ _regeneratorRuntime ( ) . mark ( function _callee10 ( params ) {
var res ;
return _regeneratorRuntime ( ) . wrap ( function _callee10$ ( _context10 ) {
var ExportAttendance = /*#__PURE__*/ function ( ) {
var _ref10 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _regeneratorRuntime _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default ( ) ( ) . mark ( function _callee10 ( params ) {
return _root _workspace _ppte5yg23 _local _v9 _test5 _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 :
showLoading ( ) ;
_context10 . next = 3 ;
return exportCourseWorkListAppendix ( _objectSpread ( { } , params ) ) ;
case 3 :
res = _context10 . sent ;
if ( ! ( res . status === 0 ) ) {
_context10 . next = 7 ;
break ;
}
_context10 . next = 7 ;
return downLoadFileIframe ( '' , setUrlQuery ( {
url : ENV . API _SERVER + "/api/homework_commons/" . concat ( params . categoryId , "/works_list.zip" ) ,
_context10 . 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 , "/attendances/export_xlsx_data.xlsx" ) ,
query : params
} ) ) ;
case 7 :
hideLoading ( ) ;
case 8 :
case 2 :
case "end" :
return _context10 . stop ( ) ;
}
} , _callee10 ) ;
} ) ) ;
return function Export CourseWorkListAppendix( _x13 ) {
return function ExportAttendance ( _x11 ) {
return _ref10 . apply ( this , arguments ) ;
} ;
} ( ) )) ;
var Export PollsScores = /*#__PURE__*/ function ( ) {
} ( ) ;
var Export VideoStudent = /*#__PURE__*/ function ( ) {
var _ref11 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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 :
showLoading ( ) ;
_context11 . next = 3 ;
return ( 0 , _service _classrooms _ _WEBPACK _IMPORTED _MODULE _3 _ _ /* .exportPollsScores */ . MJ ) ( _root _workspace _ppte5yg23 _local _v9 _test5 _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 _ _ /* .downLoadFileIframe */ . QH ) ( '' , ( 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" ) ,
_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" ) ,
query : params
} ) ) ;
case 7 :
hideLoading ( ) ;
case 8 :
case 2 :
case "end" :
return _context11 . stop ( ) ;
}
} , _callee11 ) ;
} ) ) ;
return function Export PollsScores( _x14 ) {
return function ExportVideoStudent ( _x12 ) {
return _ref11 . apply ( this , arguments ) ;
} ;
} ( ) ;
var Export Attendance = /*#__PURE__*/ function ( ) {
var Export VideoStudy = /*#__PURE__*/ function ( ) {
var _ref12 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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 , "/ attendances/export_xlsx_data .xlsx") ,
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/courses/" . concat ( params . coursesId , "/ export_video_study .xlsx") ,
query : params
} ) ) ;
case 2 :
@ -3546,18 +3508,18 @@ var ExportAttendance = /*#__PURE__*/function () {
}
} , _callee12 ) ;
} ) ) ;
return function Export Attendance( _x15 ) {
return function Export VideoStudy( _x13 ) {
return _ref12 . apply ( this , arguments ) ;
} ;
} ( ) ;
var Export VideoStudent = /*#__PURE__*/ function ( ) {
var Export CourseStudentsInfo = /*#__PURE__*/ function ( ) {
var _ref13 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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 , "/ video_study_statics .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 :
@ -3566,18 +3528,18 @@ var ExportVideoStudent = /*#__PURE__*/function () {
}
} , _callee13 ) ;
} ) ) ;
return function Export VideoStudent( _x16 ) {
return function Export CourseStudentsInfo( _x14 ) {
return _ref13 . apply ( this , arguments ) ;
} ;
} ( ) ;
var Export VideoStudy = /*#__PURE__*/ function ( ) {
var Export CollegeStudentsInfo = /*#__PURE__*/ function ( ) {
var _ref14 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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_video_study.xlsx" ) ,
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/ school_manages/students.xlsx" ,
query : params
} ) ) ;
case 2 :
@ -3586,18 +3548,18 @@ var ExportVideoStudy = /*#__PURE__*/function () {
}
} , _callee14 ) ;
} ) ) ;
return function Export VideoStudy( _x17 ) {
return function Export CollegeStudentsInfo( _x15 ) {
return _ref14 . apply ( this , arguments ) ;
} ;
} ( ) ;
var Export CourseStudentsInfo = /*#__PURE__*/ function ( ) {
var Export Problemset = /*#__PURE__*/ function ( ) {
var _ref15 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/ courses/". concat ( params . coursesId , "/export_course_students_info.xlsx" ) ,
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/ item_banks/export.xlsx" ,
query : params
} ) ) ;
case 2 :
@ -3606,18 +3568,18 @@ var ExportCourseStudentsInfo = /*#__PURE__*/function () {
}
} , _callee15 ) ;
} ) ) ;
return function Export CourseStudentsInfo( _x18 ) {
return function Export Problemset( _x16 ) {
return _ref15 . apply ( this , arguments ) ;
} ;
} ( ) ;
var Export CollegeStudentsInfo = /*#__PURE__*/ function ( ) {
var Export competitions = /*#__PURE__*/ function ( ) {
var _ref16 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/ school_manages/studen ts.xlsx",
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/ competitions/region_repor ts.xlsx",
query : params
} ) ) ;
case 2 :
@ -3626,117 +3588,119 @@ var ExportCollegeStudentsInfo = /*#__PURE__*/function () {
}
} , _callee16 ) ;
} ) ) ;
return function Export CollegeStudentsInfo( _x19 ) {
return function Export competitions( _x17 ) {
return _ref16 . apply ( this , arguments ) ;
} ;
} ( ) ;
var Export Problemset = /*#__PURE__*/ function ( ) {
var Export ExerciseStudentScores = /*#__PURE__*/ function ( ) {
var _ref17 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/item_banks/export.xlsx" ,
query : params
} ) ) ;
return ( 0 , _service _classrooms _ _WEBPACK _IMPORTED _MODULE _3 _ _ /* .exportExerciseStudentScores */ . Uy ) ( _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _objectSpread2 _js _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( { } , params ) ) ;
case 2 :
res = _context17 . 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" ) ) ;
} 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/exercise_score" ) ) ;
}
// else if(res.status === -1){
// history.push(`/classrooms/${params.coursesId}/exportlist/exercise_score`)
// };
// // https://test-newweb.educoder.net/api/exercises/4229/exercise_lists.xlsx?page=1&search=&limit=20&order=end_at&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a
// 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 ExportProblemset ( _x20 ) {
return function Export ExerciseStudentScores( _x18 ) {
return _ref17 . apply ( this , arguments ) ;
} ;
} ( ) ;
var Exportcompetitions = /*#__PURE__*/ function ( ) {
var getDownFile = /*#__PURE__*/ function ( ) {
var _ref18 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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 ;
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/competitions/region_reports.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 _context18 . stop ( ) ;
}
} , _callee18 ) ;
} ) ) ;
return function Exportcompetitions( _x21 ) {
return function getDownFile( _x19 ) {
return _ref18 . apply ( this , arguments ) ;
} ;
} ( ) ;
var ExportExerciseStudentScore s = /*#__PURE__*/ function ( ) {
var getecyear s = /*#__PURE__*/ function ( ) {
var _ref19 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _objectSpread2 _js _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) ( { } , params ) ) ;
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" ,
query : params
} ) ) ;
case 2 :
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" ) ) ;
} 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/exercise_score" ) ) ;
}
// else if(res.status === -1){
// history.push(`/classrooms/${params.coursesId}/exportlist/exercise_score`)
// };
// // https://test-newweb.educoder.net/api/exercises/4229/exercise_lists.xlsx?page=1&search=&limit=20&order=end_at&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a
// 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 _context19 . stop ( ) ;
}
} , _callee19 ) ;
} ) ) ;
return function ExportExerciseStudentScores( _x22 ) {
return function getecyears ( _x20 ) {
return _ref19 . apply ( this , arguments ) ;
} ;
} ( ) ;
var getDownFile = /*#__PURE__*/ function ( ) {
var ExportStudentanalysis = /*#__PURE__*/ function ( ) {
var _ref20 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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 :
console . log ( '----------' , '调用下载' ) ;
_context20 . next = 3 ;
_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/export_records/" . concat ( params . id , ".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 3 :
case 2 :
case "end" :
return _context20 . stop ( ) ;
}
} , _callee20 ) ;
} ) ) ;
return function getDownFile( _x23 ) {
return function ExportStudentanalysis( _x21 ) {
return _ref20 . apply ( this , arguments ) ;
} ;
} ( ) ;
var getec year s = /*#__PURE__*/ function ( ) {
var getec _training _objective s = /*#__PURE__*/ function ( ) {
var _ref21 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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_ major_schools/0/ec_years.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_training_objectives.xlsx" ) ,
query : params
} ) ) ;
case 2 :
@ -3745,20 +3709,18 @@ var getecyears = /*#__PURE__*/function () {
}
} , _callee21 ) ;
} ) ) ;
return function getec years( _x24 ) {
return function getec _training _objectives ( _x22 ) {
return _ref21 . apply ( this , arguments ) ;
} ;
} ( ) ;
var ExportStudentanalysis = /*#__PURE__*/ function ( ) {
var get_ecs _attachment = /*#__PURE__*/ function ( ) {
var _ref22 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/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 ( '&' ) ) ,
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 :
@ -3767,18 +3729,18 @@ var ExportStudentanalysis = /*#__PURE__*/function () {
}
} , _callee22 ) ;
} ) ) ;
return function ExportStudentanalysis( _x25 ) {
return function get_ecs _attachment ( _x23 ) {
return _ref22 . apply ( this , arguments ) ;
} ;
} ( ) ;
var getec _ training_objectiv es = /*#__PURE__*/ function ( ) {
var getec _ cours es = /*#__PURE__*/ function ( ) {
var _ref23 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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_ training_objectiv es.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_ cours es.xlsx") ,
query : params
} ) ) ;
case 2 :
@ -3787,18 +3749,18 @@ var getec_training_objectives = /*#__PURE__*/function () {
}
} , _callee23 ) ;
} ) ) ;
return function getec _ training_objectives ( _x26 ) {
return function getec _ courses( _x24 ) {
return _ref23 . apply ( this , arguments ) ;
} ;
} ( ) ;
var get _ecs _attachment = /*#__PURE__*/ function ( ) {
var get ec_graduation _requirements = /*#__PURE__*/ function ( ) {
var _ref24 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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 ) ( 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_graduation_requirements.xlsx" ) ,
query : params
} ) ) ;
case 2 :
@ -3807,18 +3769,18 @@ var get_ecs_attachment = /*#__PURE__*/function () {
}
} , _callee24 ) ;
} ) ) ;
return function get _ecs _attachment ( _x27 ) {
return function get ec_graduation _requirements ( _x25 ) {
return _ref24 . apply ( this , arguments ) ;
} ;
} ( ) ;
var get ec_courses = /*#__PURE__*/ function ( ) {
var get rank_list = /*#__PURE__*/ function ( ) {
var _ref25 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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_courses.xlsx" ) ,
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/ courses/rank_list.xlsx" ,
query : params
} ) ) ;
case 2 :
@ -3827,18 +3789,18 @@ var getec_courses = /*#__PURE__*/function () {
}
} , _callee25 ) ;
} ) ) ;
return function get ec_courses ( _x28 ) {
return function get rank_list ( _x26 ) {
return _ref25 . apply ( this , arguments ) ;
} ;
} ( ) ;
var get ec_graduation _requirements = /*#__PURE__*/ function ( ) {
var get question_rank _list = /*#__PURE__*/ function ( ) {
var _ref26 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/ 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/ courses/question_rank_list.xlsx" ,
query : params
} ) ) ;
case 2 :
@ -3847,18 +3809,20 @@ var getec_graduation_requirements = /*#__PURE__*/function () {
}
} , _callee26 ) ;
} ) ) ;
return function get ec_graduation _requirements ( _x29 ) {
return function get question_rank _list ( _x27 ) {
return _ref26 . apply ( this , arguments ) ;
} ;
} ( ) ;
var getrank _list = /*#__PURE__*/ function ( ) {
// 试卷库--试卷详情--试卷导出
var exportPaperlibraryPaper = /*#__PURE__*/ function ( ) {
var _ref27 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/rank_list.xlsx" ,
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/ examination_banks/". concat ( params . id , ".json" ) ,
query : params
} ) ) ;
case 2 :
@ -3867,18 +3831,20 @@ var getrank_list = /*#__PURE__*/function () {
}
} , _callee27 ) ;
} ) ) ;
return function getrank_list ( _x30 ) {
return function exportPaperlibraryPaper( _x28 ) {
return _ref27 . apply ( this , arguments ) ;
} ;
} ( ) ;
var getquestion _rank _list = /*#__PURE__*/ function ( ) {
var _ref28 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _regeneratorRuntime _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default ( ) ( ) . mark ( function _callee28 ( params ) {
// 导出当前学生试卷
var exportUserExerciseDetail = /*#__PURE__*/ function ( ) {
var _ref28 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _regeneratorRuntime _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default ( ) ( ) . mark ( function _callee28 ( params , title ) {
return _root _workspace _ppte5yg23 _local _v9 _test5 _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/ courses/question_rank_list.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 , "/user_exercise_detail.json" ) ,
query : params
} ) ) ;
case 2 :
@ -3887,20 +3853,20 @@ var getquestion_rank_list = /*#__PURE__*/function () {
}
} , _callee28 ) ;
} ) ) ;
return function getquestion_rank _list ( _x31 ) {
return function exportUserExerciseDetail( _x29 , _x30 ) {
return _ref28 . apply ( this , arguments ) ;
} ;
} ( ) ;
// 试卷库 --试卷详情--试卷导出
var export Paperlibrary Paper = /*#__PURE__*/ function ( ) {
// 教学课堂 --试卷详情--试卷导出
var export Classrooms Paper = /*#__PURE__*/ function ( ) {
var _ref29 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/ex amination_banks/". concat ( params . i d, ".json" ) ,
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/ex ercises/". concat ( params . categoryI d, ".json" ) ,
query : params
} ) ) ;
case 2 :
@ -3909,20 +3875,20 @@ var exportPaperlibraryPaper = /*#__PURE__*/function () {
}
} , _callee29 ) ;
} ) ) ;
return function export PaperlibraryPaper( _x32 ) {
return function export ClassroomsPaper( _x31 ) {
return _ref29 . apply ( this , arguments ) ;
} ;
} ( ) ;
// 导出 当前学生试卷
var export UserExerciseDetail = /*#__PURE__*/ function ( ) {
var _ref30 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _regeneratorRuntime _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default ( ) ( ) . mark ( function _callee30 ( params , title ) {
// 导出 问卷word文档
var export CommitResultWord = /*#__PURE__*/ function ( ) {
var _ref30 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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 ) ( title || '' , ( 0 , _util _ _WEBPACK _IMPORTED _MODULE _5 _ _ /* .setUrlQuery */ . NY ) ( {
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/ exercise s/". concat ( params === null || params === void 0 ? void 0 : params . exercise_id , "/user_exercise_detail .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/ poll s/". concat ( params === null || params === void 0 ? void 0 : params . id, "/commit_result .json") ,
query : params
} ) ) ;
case 2 :
@ -3931,20 +3897,20 @@ var exportUserExerciseDetail = /*#__PURE__*/function () {
}
} , _callee30 ) ;
} ) ) ;
return function export UserExerciseDetail( _x33 , _x34 ) {
return function export CommitResultWord( _x32 ) {
return _ref30 . apply ( this , arguments ) ;
} ;
} ( ) ;
// 教学课堂--试卷详情--试卷 导出
var export ClassroomsPaper = /*#__PURE__*/ function ( ) {
// 导出实训word
var export TaskPass = /*#__PURE__*/ function ( ) {
var _ref31 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/ exercises/". concat ( params . categoryId , ".json" ) ,
url : _env _ _WEBPACK _IMPORTED _MODULE _6 _ _ /* ["default"] */ . Z . API _SERVER + "/api/ paths/get_task_pass.json" ,
query : params
} ) ) ;
case 2 :
@ -3953,55 +3919,11 @@ var exportClassroomsPaper = /*#__PURE__*/function () {
}
} , _callee31 ) ;
} ) ) ;
return function export ClassroomsPaper( _x35 ) {
return function export TaskPass( _x33 ) {
return _ref31 . apply ( this , arguments ) ;
} ;
} ( ) ;
// 导出问卷word文档
var exportCommitResultWord = /*#__PURE__*/ function ( ) {
var _ref32 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/polls/" . concat ( params === null || params === void 0 ? void 0 : params . id , "/commit_result.json" ) ,
query : params
} ) ) ;
case 2 :
case "end" :
return _context32 . stop ( ) ;
}
} , _callee32 ) ;
} ) ) ;
return function exportCommitResultWord ( _x36 ) {
return _ref32 . apply ( this , arguments ) ;
} ;
} ( ) ;
// 导出实训word
var exportTaskPass = /*#__PURE__*/ function ( ) {
var _ref33 = _root _workspace _ppte5yg23 _local _v9 _test5 _node _modules _babel _runtime _7 _23 _6 _babel _runtime _helpers _asyncToGenerator _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( /*#__PURE__*/ _root _workspace _ppte5yg23 _local _v9 _test5 _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 _local _v9 _test5 _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/paths/get_task_pass.json" ,
query : params
} ) ) ;
case 2 :
case "end" :
return _context33 . stop ( ) ;
}
} , _callee33 ) ;
} ) ) ;
return function exportTaskPass ( _x37 ) {
return _ref33 . apply ( this , arguments ) ;
} ;
} ( ) ;
/***/ } ) ,
/***/ 1027 :