webpackJsonp([27],{ /***/ 1654: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (immutable) */ __webpack_exports__["a"] = ImageLayerOfCommentHOC; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ImageLayer__ = __webpack_require__(343); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_educoder__ = __webpack_require__(5); var _createClass=function(){function defineProperties(target,props){for(var i=0;i0&&arguments[0]!==undefined?arguments[0]:{};return function wrap(WrappedComponent){return function(_Component){_inherits(Wrapper,_Component);function Wrapper(props){_classCallCheck(this,Wrapper);var _this=_possibleConstructorReturn(this,(Wrapper.__proto__||Object.getPrototypeOf(Wrapper)).call(this,props));_this.onDelegateClick=function(event){var imageSrc=event.target.src||event.target.getAttribute('src')||event.target.getAttribute('href');// 判断imageSrc是否是图片 var fileName=event.target.innerHTML.trim();if(Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["W" /* isImageExtension */])(imageSrc.trim())||Object(__WEBPACK_IMPORTED_MODULE_2_educoder__["W" /* isImageExtension */])(fileName)||event.target.tagName=='IMG'){// 非回复里的头像图片; 非emoticons if(imageSrc.indexOf('/images/avatars/User')===-1&&imageSrc.indexOf('kindeditor/plugins/emoticons')===-1){_this.setState({showImage:true,imageSrc:imageSrc});}event.stopPropagation();event.preventDefault&&event.preventDefault();event.originalEvent.preventDefault();// event.originalEvent.stopPropagation() // event.originalEvent.cancelBubble = true return false;}};_this.onImageLayerClose=function(){_this.setState({showImage:false,imageSrc:''});};_this.MdifHasAnchorJustScorll=function(){//mdhash滚动 var anchor=decodeURI(_this.props.location.hash).replace('#','');// 对应id的话, 滚动到相应位置 if(!!anchor){var anchorElement=document.getElementsByName(anchor);if(anchorElement){if(anchorElement.length!=0){anchorElement[anchorElement.length-1].scrollIntoView();}}}};_this.state={showImage:false,imageSrc:''};return _this;}_createClass(Wrapper,[{key:'componentDidMount',// jQuery._data( $('.newMain')[0], "events" ) value:function componentDidMount(){var _this2=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs['wrappedComponentRef']);// commentsDelegateParent #game_left_contents #tab_con_4 setTimeout(function(){$(options.parentSelector||".commentsDelegateParent").delegate(options.imgSelector||".J_Comment_Reply .comment_content img, .J_Comment_Reply .childrenCommentsView img","click",_this2.onDelegateClick);},1200);}},{key:'componentWillUnmount',value:function componentWillUnmount(){$(options.parentSelector||".commentsDelegateParent",'click',this.onDelegateClick);}},{key:'render',value:function render(){this.MdifHasAnchorJustScorll();return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_0_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1__ImageLayer__["a" /* default */],Object.assign({},this.state,{onImageLayerClose:this.onImageLayerClose})),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(WrappedComponent,Object.assign({},this.props,{ref:'wrappedComponentRef'})));}}]);return Wrapper;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);};} /***/ }), /***/ 784: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(0); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_educoder__ = __webpack_require__(5); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_react_router_dom__ = __webpack_require__(45); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_react_router__ = __webpack_require__(57); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_loadable__ = __webpack_require__(316); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_react_loadable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react_loadable__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__Loading__ = __webpack_require__(315); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_axios__ = __webpack_require__(12); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_axios___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_axios__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__tpm_TPMIndexHOC__ = __webpack_require__(317); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__common_CNotificationHOC__ = __webpack_require__(325); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__page_layers_ImageLayerOfCommentHOC__ = __webpack_require__(1654); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__css_Courses_css__ = __webpack_require__(303); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__css_Courses_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10__css_Courses_css__); var _createClass=function(){function defineProperties(target,props){for(var i=0;i import('./shixunHomework/Listofworksstudentone'), // loading: Loading, // }) //实训作业列表完成的 var Studenthascompleted=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(67).then(__webpack_require__.bind(null, 3069));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//实训作业提交总结 var CommitSummary=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(122).then(__webpack_require__.bind(null, 4366));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//实训作业设置 var Workquestionandanswer=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(68).then(__webpack_require__.bind(null, 2837));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//实训报告 var ShixunWorkReport=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(52).then(__webpack_require__.bind(null, 4370));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//实训查重 var ShixunStudentWork=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(71).then(__webpack_require__.bind(null, 3075));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//实训查重详情 var ShixunWorkDetails=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(54).then(__webpack_require__.bind(null, 4380));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//问卷 var Poll=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(127).then(__webpack_require__.bind(null, 2826));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//问卷新建 var PollNew=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(92).then(__webpack_require__.bind(null, 4382));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//问卷答题 var PollInfo=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(178).then(__webpack_require__.bind(null, 4383));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//问卷详情 var PollDetail=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(64).then(__webpack_require__.bind(null, 4384));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//试卷 var Exercise=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(91).then(__webpack_require__.bind(null, 2241));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});var Testpapersettinghomepage=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(60).then(__webpack_require__.bind(null, 4390));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});var ExerciseNew=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(96).then(__webpack_require__.bind(null, 4396));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});var ExerciseReviewAndAnswer=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(89).then(__webpack_require__.bind(null, 4397));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//学生列表 var Studentshavecompletedthelist=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(102).then(__webpack_require__.bind(null, 3082));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//教师列表 var TeacherList=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(66).then(__webpack_require__.bind(null, 2817));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//学生列表 var StudentsList=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(63).then(__webpack_require__.bind(null, 3058));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//普通作业 var CommonWork=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(190).then(__webpack_require__.bind(null, 4421));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});var GroupWork=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(189).then(__webpack_require__.bind(null, 4422));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});// // //分组作业 // const GroupWork= Loadable({ // loader: () => import('./busyWork/GroupWork'), // loading: Loading, // }) //毕设任务列表新建 var GraduationTaskseditApp=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(86).then(__webpack_require__.bind(null, 4423));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//毕设任务列表编辑 var GraduationTasksnewApp=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(85).then(__webpack_require__.bind(null, 4424));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//毕设任务列表设置 var GraduationTasksquestions=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(113).then(__webpack_require__.bind(null, 3104));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//毕设任务列表 var GraduationTaskssettinglist=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(65).then(__webpack_require__.bind(null, 4425));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//毕业任务设置 var GraduationTaskssetting=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(98).then(__webpack_require__.bind(null, 3106));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});// 评阅列表 var GraduationTasksappraise=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(104).then(__webpack_require__.bind(null, 4429));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//创建作品 var GraduationTasksSubmitnewApp=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(87).then(__webpack_require__.bind(null, 4433));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//修改作品 var GraduationTasksSubmiteditApp=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(88).then(__webpack_require__.bind(null, 4434));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});//排序 var Ordering=__WEBPACK_IMPORTED_MODULE_4_react_loadable___default()({loader:function loader(){return __webpack_require__.e/* import() */(137).then(__webpack_require__.bind(null, 4435));},loading:__WEBPACK_IMPORTED_MODULE_5__Loading__["a" /* default */]});var CoursesIndex=function(_Component){_inherits(CoursesIndex,_Component);function CoursesIndex(props){_classCallCheck(this,CoursesIndex);var _this=_possibleConstructorReturn(this,(CoursesIndex.__proto__||Object.getPrototypeOf(CoursesIndex)).call(this,props));_this.coursesidsfun=function(id,type){_this.setState({coursesids:id,coursesidtype:type});};_this.updataleftNav=function(){var query=_this.props.location.pathname;var isaloadtype=_this.state.isaloadtype;var types=isaloadtype===false?true:false;var type=query.split('/');var id=parseInt(type[2]);if(isNaN(id)){return;}var querys=_this.props.location.search;var dataqueryss={};try{var foqus=_this.foo(querys);if(JSON.stringify(foqus)==="{}"){_this.setState({dataquerys:{}});}else{_this.setState({dataquerys:foqus});dataqueryss=foqus;}}catch(e){_this.setState({dataquerys:{}});}// let id=this.props.match.params.coursesId; var url="/courses/"+id+"/left_banner.json";__WEBPACK_IMPORTED_MODULE_6_axios___default.a.get(url,{params:dataqueryss}).then(function(response){if(response!=undefined){if(response.data&&response.data){_this.setState({course_modules:response.data.course_modules,hidden_modules:response.data.hidden_modules,is_teacher:response.data.is_teacher,isaloadtype:types});_this.locationNav(response.data.course_modules);}}});};_this.foo=function(url){var json={};var regExp=/[\?\&](\w+)(=?)(\w*)/g;var arr;do{arr=regExp.exec(url);// console.log(arr); // arr = [完整的字符串, key, 等号或'', value或''] if(arr){var key=arr[1];var value=arr[3];// arr[2] === ''时, value = undefined if(!arr[2])value=undefined;json[key]=value;}}while(arr);return json;};_this.locationNav=function(list){if(list){var url=_this.props.location.pathname;var type=url.split('/');var filesId=parseInt(type[4]);// let urls=this.props.match.url var lists=list;lists.forEach(function(item,index){if(url===item.category_url){_this.setState({indexs:index,mainurl:item.category_url});_this.coursesidsfun(item.id,"node");}else{if(item.second_category!=undefined&&item.second_category.length!=0){item.second_category.forEach(function(iem,key){if(url===iem.second_category_url){if(parseInt(filesId)===iem.category_id||parseInt(filesId)===item.id){_this.setState({indexs:index,url:url,mainurl:item.category_url});}_this.coursesidsfun(item.id,"child");}});}}});}};_this.unlocationNavfun=function(val){_this.setState({indexs:val});};_this.state={coursesids:undefined,coursesidsfun:_this.coursesidsfun,updataleftNavfun:_this.updataleftNav,course_modules:undefined,hidden_modules:[],is_teacher:false,isaloadtype:true,coursesidtype:undefined,locationNavfun:_this.locationNav,unlocationNavfun:_this.unlocationNavfun};return _this;}_createClass(CoursesIndex,[{key:'componentDidMount',value:function componentDidMount(){var _this2=this;// this.updataleftNav() this.historyArray=[window.location.pathname];this.props.history.listen(function(location){_this2.historyArray.unshift(window.location.pathname);_this2.historyArray.length=2;//Do your stuff here });}//更新左边课堂导航 },{key:'render',// // 老师、管理员等 // isAdmin = () => { // return this.state.coursedata && this.state.coursedata.course_identity < 4 // } // // 学生 // isStudent = () => { // return this.state.coursedata && this.state.coursedata.course_identity === 4 // } // isAdminOrStudent = () => { // return this.state.coursedata && this.state.coursedata.course_identity <= 4 // } // // 非课堂成员 // isNotMember = () => { // return this.state.coursedata && this.state.coursedata.course_identity === 5 // } // isCourseidentity = () => { // // if(this.state.coursedata&&this.state.coursedata.course_identity < 4){ // return "isAdmin" // // 老师、管理员等 // }else if(this.state.coursedata&&this.state.coursedata.course_identity === 4){ // return "isStudent" // // 学生 // }else if(this.state.coursedata&&this.state.coursedata.course_identity === 5){ // return "isNotMember" // // 非课堂成员 // } // // } // componentDidMount(){ // // console.log(this.props.location.pathname) // let query=this.props.location.pathname; // const type = query.split('/'); // if (!type[2]) { // return; // } // let id=parseInt(type[2]) // // let url="/courses/"+id+"/top_banner.json" // axios.get(url).then((result)=>{ // if(result.status===200){ // let data=result.data; // this.setState({ // coursedata:data // }) // // // console.log(data) // } // }).catch((error)=>{ // console.log(error); // }) // } value:function render(){var _this3=this;var common={previousPathName:this.historyArray&&this.historyArray[1]// isAdmin: this.isAdmin, // isStudent: this.isStudent, // isAdminOrStudent: this.isAdminOrStudent, // isNotMember: this.isNotMember, // isCourseidentity:this.isCourseidentity // const commons = { // admind: this.props.user, // // isAdminOrStudent: this.isAdminOrStudent, // // // isNotMember: this.isNotMember, // // isCourseidentity:this.isCourseidentity // } // console.log("commonscommons") // console.log(commons) };return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["e" /* Switch */],this.props,__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/ordering/:ordering_type/:main_id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Ordering,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/file/:Id',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/files/:main_id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/boards/:boardId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/boards/:boardId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(BoardIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_topics/postwork/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduateTopicPostWorksNew,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_topics/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduateTopicNew,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_topics/:topicId/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduateTopicNew,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:course_id/graduation_topics/:graduation_topic_id/detail',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduationTopicsDetail,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_topics/:Id',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_tasks/:category_id/appraise',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduationTasksappraise,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_tasks/:category_id/works/:task_Id/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduationTasksSubmitnewApp,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_tasks/:category_id/works/:work_Id/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduationTasksSubmiteditApp,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_tasks/:category_id/detail/:task_Id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduationTaskssettinglist,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_tasks/:category_id/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduationTaskseditApp,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_tasks/:category_id/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GraduationTasksnewApp,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/graduation_tasks/:Id',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/teachers',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/students',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/course_groups/:course_group_id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/course_groups',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/common_homeworks/:category_id',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/group_homeworks/:category_id',exact:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/common_homeworks/',strict:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CommonWork,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/group_homeworks/',strict:true,render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(GroupWork,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/polls/:pollId/users/:login',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PollInfo,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/polls/:pollId/detail',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PollDetail,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/polls/:pollid/:news',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(PollNew,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/polls/:Id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/exercises/:Id/users/:userId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ExerciseReviewAndAnswer,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/exercises/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ExerciseNew,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{exact:true,path:'/courses/:coursesId/exercises/:Id/edit',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ExerciseNew,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/exercises/:Id/student_exercise_list',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Testpapersettinghomepage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/exercises/:Id/Studentshavecompletedthelist',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(Studentshavecompletedthelist,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/exercises/:Id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:homeworkid/review_detail/:userid',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunWorkDetails,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homework/:homeworkid/review_detail/:userid',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunWorkDetails,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:homeworkid/student_work',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homework/:homeworkid/student_work',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:homeworkid/shixun_work_report',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunWorkReport,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homework/:homeworkid/shixun_work_report',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunWorkReport,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:homeworkid/list',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homework/:homeworkid/list',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:homeworkid/Page',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:homeworkid/settings',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homework/:homeworkid/settings',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:id/commitsummary/:homeworkid',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CommitSummary,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homework/:id/commitsummary/:homeworkid',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CommitSummary,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:homeworkid/questions',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homework/:homeworkid/questions',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ShixunHomeworkPage,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/new',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(WrappedCoursesNewApp,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/news/:subjectid/newgold/:id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(WrappedCoursesNewAppGoldclass,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/newgolds/settings',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(WrappedCoursesNewAppGoldclass,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/settings',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(WrappedCoursesNewApp,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homework/:category_id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/shixun_homeworks/:main_id',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId/statistics',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses/:coursesId',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(ListPageIndex,Object.assign({},_this3.props,props,_this3.state,common));}}),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_router_dom__["d" /* Route */],{path:'/courses',render:function render(props){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(CoursesHome,Object.assign({},_this3.props,props,_this3.state,common));}}));}}]);return CoursesIndex;}(__WEBPACK_IMPORTED_MODULE_0_react__["Component"]);/* harmony default export */ __webpack_exports__["default"] = (Object(__WEBPACK_IMPORTED_MODULE_3_react_router__["b" /* withRouter */])(Object(__WEBPACK_IMPORTED_MODULE_9__page_layers_ImageLayerOfCommentHOC__["a" /* ImageLayerOfCommentHOC */])({imgSelector:'.imageLayerParent img, .imageLayerParent .imageTarget',parentSelector:'.newMain'})(Object(__WEBPACK_IMPORTED_MODULE_8__common_CNotificationHOC__["a" /* CNotificationHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_1_educoder__["w" /* SnackbarHOC */])()(Object(__WEBPACK_IMPORTED_MODULE_7__tpm_TPMIndexHOC__["a" /* TPMIndexHOC */])(CoursesIndex)))))); /***/ }) });