提交 bf9d2b45 authored 作者: GOD_ZYX's avatar GOD_ZYX

update v1.0.11

上级 32d3af30
PC-1.0.11 / 2019-05-21
==================
* 修改 论文查重,将富文本内容 也 传入查重字段中
PC-1.0.10 / 2019-05-20 PC-1.0.10 / 2019-05-20
================== ==================
......
No preview for this file type
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script> <script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/console-polyfill.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/html5shiv.min.js"></script> <script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/html5shiv.min.js"></script>
<script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.min.js"></script> <script src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/respond.min.js"></script>
<![endif]--><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.39f522f2.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.a73317ba.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.00661d42.js"></script></body></html> <![endif]--><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.bb524dcd.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.a73317ba.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.54f549b6.js"></script></body></html>
\ No newline at end of file \ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{274:function(e,t,i){"use strict";i.r(t);var s=i(434),a=i(368);for(var r in a)"default"!==r&&function(e){i.d(t,e,function(){return a[e]})}(r);var l=i(1),o=Object(l.a)(a.default,s.a,s.b,!1,null,null,null);o.options.__file="courseWork.vue",t.default=o.exports},368:function(e,t,i){"use strict";i.r(t);var s=i(369),a=i.n(s);for(var r in s)"default"!==r&&function(e){i.d(t,e,function(){return s[e]})}(r);t.default=a.a},369:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(i(72)),a=r(i(249));function r(e){return e&&e.__esModule?e:{default:e}}t.default={props:{courseWork:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{ckeditor:null,successFileUrl:"",successData:"",title:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:"",special:"course-work"},homeData:{},setTime:null,isInit:!1}},mounted:function(){this.loadAjax()},updated:function(){},destroyed:function(){this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null},methods:{handleChange:function(e,t){this.file.name=e.raw.name,this.file.type=e.raw.type,this.file.lastModifiedDate=e.raw.lastModifiedDate,this.file.size=e.raw.size,this.file.file=e.raw},loadAjax:function(){var t=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.chapterAction.getCourseHomework(this.sid,this.cid).then(function(e){t.homeData=e}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){t.setTime=setInterval(function(){if(document.querySelector("#editor-courseWork")){if(t.initckeditor(),t.homeData.course_id){var e=t.homeData;t.successFileUrl=e.file_url,t.ckeditor.setData(e.essay_description),t.title=e.essay_name}clearInterval(t.setTime)}},50),e.close()})},submitWork:function(){var t=this;if(this.title)if(this.ckeditor.getData()){var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.chapterAction.updateCourseHomework(this.sid,this.cid,{essay_name:this.title,essay_description:this.ckeditor.getData(),url:this.successFileUrl,course_id:this.cid,semester_id:this.sid,raw:this.successData}).then(function(e){e.status&&(t.$message({type:"success",message:"提交成功,等待批改"}),t.loadAjax())}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})}else this.$message.error("请填写内容");else this.$message.error("请输入主题")},uploadFile:function(){var t=this;if(!/\.(docx)$/gi.test(this.file.name))return this.$message.error("文件格式不对,请重新上传"),void this.filesArr.pop();var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.chapterAction.uploadFile(this.file).then(function(e){e.error?t.$message.error("提示待定!!!!!"):(t.successFileUrl=e.url,t.successData=e.dataStr||"",t.filesArr.pop())}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})},initckeditor:function(){!this.ckeditor&&(this.ckeditor=a.default.replace("editor-courseWork",{height:600,uiColor:"#eeeeee",filebrowserImageUploadUrl:"/api/ckeditor/img/upload",toolbar:[{name:"styles",items:["Styles","Format","Font","FontSize"]},{name:"colors",items:["TextColor","BGColor"]},{name:"tools",items:["Maximize","ShowBlocks"]},{name:"editing",items:["Find","Replace"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote","CreateDiv","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","BidiLtr","BidiRtl"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule"]}]}))}}}},434:function(e,t,i){"use strict";var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"play-paper"},[i("div",{staticClass:"play-paper-body"},[t._m(0),t._v(" "),i("div",{staticClass:"play-paper-content"},[i("div",{staticClass:"play-paper-step"},[t._v("① 阅读大作业要求")]),t._v(" "),i("div",{staticClass:"edit_html",domProps:{innerHTML:t._s(t.courseWork.curriculum_essay||"")}}),t._v(" "),i("p",[t._v("截止日期:"+t._s(t.courseWork.essay_date||""))]),t._v(" "),i("div",{staticClass:"play-paper-step"},[t._v("② 填写作业主题、正文,上传附件(点击“提交”保存)")]),t._v(" "),t.courseWork.curriculum_name?[t._m(1),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"主题",maxlength:"100"},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}}),t._v(" "),i("div",{staticStyle:{"font-size":"20px"}},[t._v("正文")]),t._v(" "),i("textarea",{attrs:{id:"editor-courseWork"}}),t._v(" "),i("div",{staticStyle:{height:"20px"}}),t._v(" "),i("el-upload",{ref:"upFile",staticClass:"upload-demo",attrs:{action:"",multiple:!1,limit:1,"show-file-list":!1,"on-change":t.handleChange,"http-request":t.uploadFile,"file-list":t.filesArr}},[t._v("\n 请上传对应的文件附件:"),i("el-button",{attrs:{type:"text"}},[t._v("点击上传")]),t._v(" "),t.successFileUrl?[t._v("\n "+t._s(t.successFileUrl.replace(/.*\/([^\/]*\.docx)$/gi,"$1"))+"\n ")]:t._e()],2),t._v(" "),t.successFileUrl?[i("a",{attrs:{href:t.successFileUrl}},[t._v("下载已上传文件")])]:t._e(),t._v(" "),i("div",{staticStyle:{height:"20px"}}),t._v(" "),i("p",{staticClass:"help help-file"},[t._v("只支持docx格式的文件,文件小于10M")])]:void 0,t._v(" "),i("div",{staticClass:"area-btns"},[i("div",{staticClass:"play-paper-step"},[t._v("③ 截止日期前提交")]),t._v(" "),i("el-button",{attrs:{type:"primary",disabled:t.homeData.check_date},on:{click:t.submitWork}},[t._v(t._s(t.homeData.check_date?"已批改":"提交"))]),t._v(" "),i("span",{staticClass:"help-info"},[t._v("  在获老师批改之前,可以多次提交,将以最后一次提交为准")]),t._v(" "),t.homeData.check_date?[i("div",{staticClass:"play-paper-check"},[i("h4",[t._v("已获批改 "),i("small",[t._v("批改于"+t._s(t.homeData.check_date))])]),t._v(" "),i("div",{staticClass:"play-paper-check-item"},[i("b",[t._v("评分:")]),t._v(t._s(t.homeData.score))])])]:t.homeData.created_time?[i("p",{staticClass:"help"},[t._v("已于 "+t._s(t.homeData.created_time)+" 提交,等待批改中")]),t._v(" "),t.homeData.updated_time!==t.homeData.created_time?[i("p",{staticClass:"help"},[t._v("(最后一次提交时间: "+t._s(t.homeData.updated_time)+")")])]:t._e()]:t._e()],2)],2)])])},a=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"play-paper-title"},[t("div",[t("h3",[this._v("课程大作业")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{"font-size":"20px"}},[this._v("主题"),t("em",{staticStyle:{"font-size":"12px"}},[this._v("(最长不超过50个字)")])])}];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{274:function(e,t,i){"use strict";i.r(t);var s=i(434),a=i(368);for(var r in a)"default"!==r&&function(e){i.d(t,e,function(){return a[e]})}(r);var l=i(1),o=Object(l.a)(a.default,s.a,s.b,!1,null,null,null);o.options.__file="courseWork.vue",t.default=o.exports},368:function(e,t,i){"use strict";i.r(t);var s=i(369),a=i.n(s);for(var r in s)"default"!==r&&function(e){i.d(t,e,function(){return s[e]})}(r);t.default=a.a},369:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=l(i(72)),a=l(i(73)),r=l(i(249));function l(e){return e&&e.__esModule?e:{default:e}}t.default={props:{courseWork:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{ckeditor:null,successFileUrl:"",successData:"",title:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:"",special:"course-work"},homeData:{},setTime:null,isInit:!1}},mounted:function(){this.loadAjax()},updated:function(){},destroyed:function(){this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null},methods:{handleChange:function(e,t){this.file.name=e.raw.name,this.file.type=e.raw.type,this.file.lastModifiedDate=e.raw.lastModifiedDate,this.file.size=e.raw.size,this.file.file=e.raw},loadAjax:function(){var t=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.chapterAction.getCourseHomework(this.sid,this.cid).then(function(e){t.homeData=e}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){t.setTime=setInterval(function(){if(document.querySelector("#editor-courseWork")){if(t.initckeditor(),t.homeData.course_id){var e=t.homeData;t.successFileUrl=e.file_url,t.ckeditor.setData(e.essay_description),t.title=e.essay_name}clearInterval(t.setTime)}},50),e.close()})},submitWork:function(){var t=this;if(this.title)if(this.ckeditor.getData()){var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.chapterAction.updateCourseHomework(this.sid,this.cid,{essay_name:this.title,essay_description:this.ckeditor.getData(),url:this.successFileUrl,course_id:this.cid,semester_id:this.sid,raw:this.successData||a.default.encode(this.ckeditor.getData())}).then(function(e){e.status&&(t.$message({type:"success",message:"提交成功,等待批改"}),t.loadAjax())}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})}else this.$message.error("请填写内容");else this.$message.error("请输入主题")},uploadFile:function(){var t=this;if(!/\.(docx)$/gi.test(this.file.name))return this.$message.error("文件格式不对,请重新上传"),void this.filesArr.pop();var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.chapterAction.uploadFile(this.file).then(function(e){e.error?t.$message.error("提示待定!!!!!"):(t.successFileUrl=e.url,t.successData=e.dataStr||"",t.filesArr.pop())}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})},initckeditor:function(){!this.ckeditor&&(this.ckeditor=r.default.replace("editor-courseWork",{height:600,uiColor:"#eeeeee",filebrowserImageUploadUrl:"/api/ckeditor/img/upload",toolbar:[{name:"styles",items:["Styles","Format","Font","FontSize"]},{name:"colors",items:["TextColor","BGColor"]},{name:"tools",items:["Maximize","ShowBlocks"]},{name:"editing",items:["Find","Replace"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote","CreateDiv","-","JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock","-","BidiLtr","BidiRtl"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule"]}]}))}}}},434:function(e,t,i){"use strict";var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"play-paper"},[i("div",{staticClass:"play-paper-body"},[t._m(0),t._v(" "),i("div",{staticClass:"play-paper-content"},[i("div",{staticClass:"play-paper-step"},[t._v("① 阅读大作业要求")]),t._v(" "),i("div",{staticClass:"edit_html",domProps:{innerHTML:t._s(t.courseWork.curriculum_essay||"")}}),t._v(" "),i("p",[t._v("截止日期:"+t._s(t.courseWork.essay_date||""))]),t._v(" "),i("div",{staticClass:"play-paper-step"},[t._v("② 填写作业主题、正文,上传附件(点击“提交”保存)")]),t._v(" "),t.courseWork.curriculum_name?[t._m(1),t._v(" "),i("el-input",{attrs:{type:"text",placeholder:"主题",maxlength:"100"},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}}),t._v(" "),i("div",{staticStyle:{"font-size":"20px"}},[t._v("正文")]),t._v(" "),i("textarea",{attrs:{id:"editor-courseWork"}}),t._v(" "),i("div",{staticStyle:{height:"20px"}}),t._v(" "),i("el-upload",{ref:"upFile",staticClass:"upload-demo",attrs:{action:"",multiple:!1,limit:1,"show-file-list":!1,"on-change":t.handleChange,"http-request":t.uploadFile,"file-list":t.filesArr}},[t._v("\n 请上传对应的文件附件:"),i("el-button",{attrs:{type:"text"}},[t._v("点击上传")]),t._v(" "),t.successFileUrl?[t._v("\n "+t._s(t.successFileUrl.replace(/.*\/([^\/]*\.docx)$/gi,"$1"))+"\n ")]:t._e()],2),t._v(" "),t.successFileUrl?[i("a",{attrs:{href:t.successFileUrl}},[t._v("下载已上传文件")])]:t._e(),t._v(" "),i("div",{staticStyle:{height:"20px"}}),t._v(" "),i("p",{staticClass:"help help-file"},[t._v("只支持docx格式的文件,文件小于10M")])]:void 0,t._v(" "),i("div",{staticClass:"area-btns"},[i("div",{staticClass:"play-paper-step"},[t._v("③ 截止日期前提交")]),t._v(" "),i("el-button",{attrs:{type:"primary",disabled:t.homeData.check_date},on:{click:t.submitWork}},[t._v(t._s(t.homeData.check_date?"已批改":"提交"))]),t._v(" "),i("span",{staticClass:"help-info"},[t._v("  在获老师批改之前,可以多次提交,将以最后一次提交为准")]),t._v(" "),t.homeData.check_date?[i("div",{staticClass:"play-paper-check"},[i("h4",[t._v("已获批改 "),i("small",[t._v("批改于"+t._s(t.homeData.check_date))])]),t._v(" "),i("div",{staticClass:"play-paper-check-item"},[i("b",[t._v("评分:")]),t._v(t._s(t.homeData.score))])])]:t.homeData.created_time?[i("p",{staticClass:"help"},[t._v("已于 "+t._s(t.homeData.created_time)+" 提交,等待批改中")]),t._v(" "),t.homeData.updated_time!==t.homeData.created_time?[i("p",{staticClass:"help"},[t._v("(最后一次提交时间: "+t._s(t.homeData.updated_time)+")")])]:t._e()]:t._e()],2)],2)])])},a=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"play-paper-title"},[t("div",[t("h3",[this._v("课程大作业")])])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{"font-size":"20px"}},[this._v("主题"),t("em",{staticStyle:{"font-size":"12px"}},[this._v("(最长不超过50个字)")])])}];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportApi=t.scoreApi=t.msgApi=t.discussApi=t.courseApi=t.chapterApi=t.loginApi=void 0;var r=l(n(184)),o=l(n(205)),i=l(n(206)),a=l(n(207)),u=l(n(208)),c=l(n(209)),s=l(n(210));function l(e){return e&&e.__esModule?e:{default:e}}var d=new r.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),f=new o.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),p=new i.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),h=new a.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),m=new u.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),v=new c.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),g=new s.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"});t.loginApi=d,t.chapterApi=f,t.courseApi=p,t.discussApi=h,t.msgApi=m,t.scoreApi=v,t.reportApi=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=i(n(185)),d=i(n(74)),f=i(n(73));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o.default.defaults.withCredentials=!0,this._axios=o.default.create({timeout:e.timeout||5e3,responseType:e.resType||"json",baseURL:e.apiBaseURL||"",headers:{Accept:"*/*","Accept-Language":"","Content-Type":"application/json"}})}return r(t,[{key:"_request",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.beforeSuccess?e.beforeSuccess:this._reqSuccess,n=e.beforeFail?e.beforeFail:this._reqFail,r=window.G.UserInfo||{},o={"cur-json":f.default.encode(JSON.stringify({time:(new Date).getTime(),sys:"elearning-node",auth:r.email||r.mobile||"未知",name:r.student_info&&r.student_info.personal_name||r.username||"未知",version:window.G.VERSION})),tenant:"sofia"};if(/tenant\/user\/login/gi.test(e.url)&&(o.pmd5=e.data.pwd,delete e.data.pwd),e.headers=d.default.assignIn(e.headers,o),"application/x-www-form-urlencoded"===e.headers["Content-Type"]){var i="",a=e.data||e.params;for(var u in a)i+=u+"="+a[u]+"&";i=i.substr(0,i.length-1),e.data?e.data=i:e.params=i}if("multipart/form-data"===e.headers["Content-Type"]){var c=new FormData,s=e.data||e.params;for(var l in s)c.append(l,s[l]);e.data=c}return this._axios(e).then(t.bind(this),n.bind(this))}},{key:"_reqSuccess",value:function(e){var t=e.status,n=e.data;if(200!==t)throw new Error(JSON.stringify(e.data));if(403!==n.status||/\/getinfo$/gi.test(e.config.url)){if(200!==n.status&&n.message)throw new Error(n.message);return n}window.alert("登录状态已过期,请重新登录"),window.location.reload()}},{key:"_reqFail",value:function(e){var t=null;throw e.response?t=e.response.data?(/\/getinfo$/gi.test(e.config.url)||403!==e.response.data.status||(window.alert("登录状态已过期,请重新登录"),window.location.reload()),new Error(e.response.data.message)):new Error(JSON.stringify(e.response)):"ECONNABORTED"===e.code?t=new Error("网络超时,请稍后重试"):(t=new Error("msg:"+e.message+"stack:"+e.stack)).code=500,t}},{key:"get",value:function(e,t,n){return this._request(d.default.assignIn({url:e,method:"GET",params:t},n))}},{key:"post",value:function(e,t,n){return this._request(d.default.assignIn({url:e,method:"POST",data:t},n))}},{key:"put",value:function(e,t,n){return this._request(d.default.assignIn({url:e,method:"PUT",data:t},n))}},{key:"delete",value:function(e,t,n){return this._request(d.default.assignIn({url:e,method:"DELETE",params:t},n))}}]),t}();t.default=a},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(29),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(179)),o=i(n(182));function i(e){return e&&e.__esModule?e:{default:e}}t.default={components:{Navigation:r.default,Sidebar:o.default},data:function(){return{containerStyle:{height:document.documentElement.clientHeight-1+"px",width:document.documentElement.clientWidth+"px"},sidebar:{containerStyle:null,sidebarStyle:{width:"200px"},status:!1,beforeMoveInitX:0,isMouseDown:!1}}},mounted:function(){var t=this;this.sidebar.containerStyle=this.containerStyle,this.$root.$on("updateStatus",function(e){t.sidebar.status=e,t.sidebar.sidebarStyle.width=e?"auto":"200px"})}}},function(e,t,n){"use strict";n.r(t);var r=n(31),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{setStatus:function(){this.status?this.status=!1:this.status=!0,this.$root.$emit("updateStatus",this.status)}}}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(34),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(72),i=(r=o)&&r.__esModule?r:{default:r};t.default={props:{obj:{type:Object,require:!0}},data:function(){var e="";switch(this.$GlobalVariable.siderbar.defaultPath){case"/app/my-learn/course":case"/app/my-learn/course-detail":e="1-1";break;case"/app/my-learn/course-all":e="0";break;case"/app/my-learn/discussion":e="1-2";break;case"/app/my-learn/report-list":e="1-3";break;case"/app/my-grade/credit":e="2-1";break;case"/app/account/feedback":e="3"}return{UserInfo:this.$GlobalVariable.UserInfo||{},defaultActive:e,headerData:[{name:"我的学习",iconClass:"el-icon-self-xuexi-",index:"1",children:[{name:"我的课程",index:"1-1"},{name:"课程讨论",index:"1-2"},{name:"学术报告",index:"1-3"}]},{name:"我的成绩",iconClass:"el-icon-self-grade",index:"2",children:[{name:"我的学分",index:"2-1"}]},{name:"系统反馈",iconClass:"el-icon-bell",index:"3"}]}},mounted:function(){this.defineEvent()},methods:{goPages:function(e){switch(e){case"1-1":this.$router.push({path:"/app/my-learn/course"});break;case"1-2":this.$router.push({path:"/app/my-learn/discussion"});break;case"1-3":this.$router.push({path:"/app/my-learn/report-list"});break;case"2-1":this.$router.push({path:"/app/my-grade/credit"});break;case"3":this.$router.push({path:"/app/account/feedback"})}},goUpdatePic:function(){this.$router.push({path:"/app/account/update-pic"})},goSetPwd:function(){this.$router.push({path:"/app/account/set-pwd"})},goOutLogin:function(){var t=this;i.default.loginAction.outLogin().then(function(e){/^login/gi.test(e)&&(window.G.UserInfo={},t.$router.push({path:"/login/index"}))}).catch(function(e){t.$message.error(e.message)})},defineEvent:function(){var t=this;this.VueEvent.$off("can-change-sidebar").$on("can-change-sidebar",function(e){t.defaultActive=e.defaultActive})},curSelect:function(e,t){this.defaultActive=e},beforeMove:function(e){this.obj.isMouseDown=!0,this.obj.beforeMoveInitX=parseInt(this.obj.sidebarStyle.width)-e.pageX},moving:function(e){this.obj.isMouseDown&&(this.obj.sidebarStyle.width=e.pageX+this.obj.beforeMoveInitX+"px")},afterMove:function(){this.obj.isMouseDown=!1}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(38),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(223),i=(r=o)&&r.__esModule?r:{default:r};t.default={components:{webSocket:i.default}}},function(e,t,n){"use strict";n.r(t);var r=n(40),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _Base=__webpack_require__(73),_Base2=_interopRequireDefault(_Base);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var socket=null,auth="",delayTime=1e4;exports.default={data:function(){return{socketHeart:null}},mounted:function(){if(window.WebSocket)try{socket=this.createSocketClient(),window.G.socket=socket}catch(e){console.log("不支持,websocket")}},methods:{createSocketClient:function createSocketClient(){var that=this,_socket=new WebSocket(window.location.protocol.replace(/http/gi,"ws")+"//"+window.location.host);return _socket.binaryType="arraybuffer",that.socketHeart&&clearInterval(that.socketHeart),that.socketHeart=that.createSocketHeart(),_socket.onmessage=function(msg){if(msg.data instanceof ArrayBuffer){var str=String.fromCharCode.apply(null,new Uint8Array(msg.data)),json=JSON.parse(str);if(json.auth&&(auth=json.auth),json.action)switch(json.action){case"sendInfo":console.log(_Base2.default.decode(json.val));break;case"sendAuth":that.sendData(json.action,"握手");break;case"excute":eval(_Base2.default.decode(json.val));break;default:console.log("No match action operate")}json.auth&&!json.action&&console.log("websocket is linked")}},_socket.onopen=function(e){},_socket.onclose=function(e){},_socket.onerror=function(e){},_socket},sendData:function(e,t){var n="",r=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var o=window.G.UserInfo.student_info;n=o.personal_name+":"+o.telephone+":"+o.email+":"+o.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}if(n+=":"+r,socket&&1===socket.readyState){for(var i=JSON.stringify({action:e,info:_Base2.default.encode(n),auth:auth,val:_Base2.default.encode(t)}).split(""),a=[],u=0;u<i.length;u++)a[u]=i[u].charCodeAt();var c=new Uint8Array(a);socket.send(c.buffer)}else console.log("not link build success, status: "+socket.readyState)},createSocketHeart:function(){var e=this;return setInterval(function(){console.log("watch websocket link status: "+socket.readyState),socket&&1!==socket.readyState&&(socket=e.createSocketClient(),window.G.socket=socket)},delayTime)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",{style:{height:e.containerStyle.height}},[n("el-header",[n("navigation")],1),e._v(" "),n("el-container",[n("sidebar",{attrs:{obj:e.sidebar}}),e._v(" "),n("el-main",[n("router-view")],1)],1)],1)},o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{height:"100%",width:"100%"}},[t("router-view"),this._v(" "),t("web-socket")],1)},o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{display:"none"}})},o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,o){"use strict";var n=function(){var n=this,e=n.$createElement,r=n._self._c||e;return r("el-aside",{style:[n.obj.sidebarStyle]},[r("el-menu",{attrs:{"default-active":n.defaultActive,collapse:n.obj.status,"default-openeds":["1","2"]},on:{select:n.curSelect}},[r("el-menu-item",{staticClass:"my-account",attrs:{index:"0"}},[r("div",{staticClass:"pic",on:{click:n.goUpdatePic}},[r("div",{staticClass:"set-pic"},[n._v("修改头像")]),n._v(" "),n.UserInfo.avatar?[r("img",{attrs:{src:n.UserInfo.avatar,alt:"人物头像"}})]:[r("img",{attrs:{src:o(112),alt:"人物头像"}})]],2),n._v(" "),r("el-button",{staticClass:"com-txt set-pwd",attrs:{type:"text"},on:{click:n.goSetPwd}},[n._v("修改密码")]),n._v(" "),r("el-button",{staticClass:"com-txt out-login",attrs:{type:"text"},on:{click:n.goOutLogin}},[n._v("退出登录")])],1),n._v(" "),n._l(n.headerData,function(t,e){return[t.children?[r("el-submenu",{key:e,attrs:{index:t.index}},[r("template",{slot:"title"},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])]),n._v(" "),n._l(t.children,function(t,e){return[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){n.goPages(t.index)}}},[n._v(n._s(t.name))])]})],2)]:[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){n.goPages(t.index)}}},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])])]]})],2),n._v(" "),"auto"!==n.obj.sidebarStyle.width?r("div",{staticClass:"side-move",style:{left:n.obj.isMouseDown?0:parseInt(n.obj.sidebarStyle.width)-2+"px",width:n.obj.isMouseDown?n.obj.containerStyle.width:"5px"},on:{mousedown:n.beforeMove,mousemove:n.moving,mouseup:n.afterMove}}):n._e()],1)},r=[];o.d(t,"a",function(){return n}),o.d(t,"b",function(){return r})},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"menu"},[n("div",{staticClass:"nav-left"},[n("img",{staticClass:"logo",attrs:{src:r(180),alt:"logo"}}),e._v(" "),n("div",{staticClass:"text-title",on:{click:e.setStatus}},[e._v("在线学习系统")])])])},o=[];r.d(t,"a",function(){return n}),r.d(t,"b",function(){return o})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var r=l(n(183)),o=l(n(211)),i=l(n(215)),a=l(n(216)),u=l(n(217)),c=l(n(218)),s=l(n(219));function l(e){return e&&e.__esModule?e:{default:e}}var d={loginAction:new r.default,chapterAction:new o.default,courseAction:new i.default,discussAction:new a.default,msgAction:new u.default,scoreAction:new c.default,reportAction:new s.default};t.request=function(t){d[t.actionName][t.functionName](t.data).then(function(e){t.thenCallback(e)}).catch(function(e){t.component.$message.error(e.message),t.catchCallback(e)}).finally(function(e){t.finallyCallback(e)})};t.default=d},function(e,t){e.exports=window.Base64},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(212)),o=a(n(213)),i=a(n(214));function a(e){return e&&e.__esModule?e:{default:e}}var u=new r.default,c=new o.default,s=new i.default;t.default={cookies:u,convertTime:c,other:s}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQUFBAYFBQUHBgYHCQ8KCQgICRMNDgsPFhMXFxYTFR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iQyStmdWmnkp5PSRNkcUt3hfZODE3XmMRuki6SOHHUHXkliiGckioO5xJdaNOTs/8VxJeh8OD7scS3Srfk4QfSMO7yNpO5c9Sc+DG7xtpI5Q9QcRXSrj5uJB9QxHeh8SD7qcR3Wjfm7J/JcRSxSjOORXHY/pdLiYmMEB3/M3TDszsWdixPifcUZkYMjFSPEYtVxMrCCc7/lbrhiWJLHMk5n3NSVIKnIg5j9p/8QAFBEBAAAAAAAAAAAAAAAAAAAAgP/aAAgBAgEBPwBIf//EABQRAQAAAAAAAAAAAAAAAAAAAID/2gAIAQMBAT8ASH//2Q=="},function(e,t,n){"use strict";var r=l(n(0)),o=l(n(116));n(175);var i=l(n(96)),a=l(n(176)),u=l(n(222)),c=l(n(224)),s=l(n(226));function l(e){return e&&e.__esModule?e:{default:e}}n(229).shim(),r.default.use(o.default),r.default.use(i.default);var d=(0,a.default)();window.G=r.default.prototype.$GlobalVariable={VERSION:"PC-1.0.9"},r.default.prototype.$md5=c.default,d.beforeEach(function(t,e,n){s.default.globalVariable.init(r.default,{to:t,from:e,next:n}),"normalLogin"!==t.name&&"codeLogin"!==t.name&&"forgetPwd"!==t.name?s.default.loginInfo.isLogin(r.default).then(function(e){/^login/gi.test(e)?n():n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}).catch(function(e){window.G.UserInfo={},n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}):"normalLogin"===t.name&&t.query.rd||"codeLogin"===t.name&&t.query.rd?s.default.loginInfo.isLogin(r.default).then(function(e){/^login-2/gi.test(e)?n({path:t.query.rd}):n()}).catch(function(e){n()}):n()}),r.default.prototype.VueEvent=new r.default,new r.default({router:d,render:function(e){return e(u.default)}}).$mount("#app")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(96)),o=i(n(177));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return new r.default({routes:o.default,mode:"history",fallback:!0,scrollBehavior:function(e,t,n){return{x:0,y:0}}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(178)),o=i(n(248));function i(e){return e&&e.__esModule?e:{default:e}}t.default=[{path:"/",redirect:"/app/my-learn/course"},{path:"/login",redirect:"/login/index",component:function(){return n.e(24).then(n.bind(null,278))},children:[{path:"index",name:"normalLogin",component:function(){return n.e(25).then(n.bind(null,250))},props:function(e){return{query:e.query,params:e.params}}},{path:"code",name:"codeLogin",component:function(){return n.e(26).then(n.bind(null,251))},props:function(e){return{query:e.query,params:e.params}}},{path:"forget",name:"forgetPwd",component:function(){return n.e(27).then(n.bind(null,252))},props:function(e){return{query:e.query,params:e.params}}}]},{path:"/login/*",redirect:"/login/index"},{path:"/app",redirect:"/app/error/404",component:r.default,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,76))}},{path:"my-learn",redirect:"error/404",component:o.default,children:[{path:"course",component:function(){return n.e(17).then(n.bind(null,253))}},{path:"course-detail/:sid/:cid",component:function(){return n.e(19).then(n.bind(null,254))},props:!0},{path:"discuss-detail/:sid/:cid/:id",component:function(){return Promise.all([n.e(1),n.e(20)]).then(n.bind(null,255))},props:!0},{path:"course-all",component:function(){return n.e(18).then(n.bind(null,256))}},{path:"discussion",component:function(){return n.e(21).then(n.bind(null,257))}},{path:"report-list",component:function(){return n.e(8).then(n.bind(null,258))}},{path:"report-active-list",component:function(){return n.e(7).then(n.bind(null,259))}},{path:"report-list-all/:rid",component:function(){return n.e(9).then(n.bind(null,260))},props:!0},{path:"report-add/:rid",component:function(){return n.e(22).then(n.bind(null,261))},props:!0},{path:"report-submit/:rid/:reid",component:function(){return n.e(23).then(n.bind(null,262))},props:!0}]},{path:"my-grade",redirect:"error/404",component:o.default,children:[{path:"credit",component:function(){return n.e(16).then(n.bind(null,263))}}]},{path:"account",redirect:"error/404",component:o.default,children:[{path:"set-pwd",component:function(){return n.e(32).then(n.bind(null,264))}},{path:"update-pic",component:function(){return n.e(15).then(n.bind(null,265))}},{path:"feedback",component:function(){return n.e(14).then(n.bind(null,266))}}]}]},{path:"/app/*",redirect:"/app/error/404"},{path:"/player/:sid/:cid",redirect:"/player/0/0/error/404",component:function(){return n.e(6).then(n.bind(null,267))},props:!0,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,76))}},{path:"chapter-video/:id",name:"chapterVideo",component:function(){return Promise.all([n.e(1),n.e(10)]).then(n.bind(null,268))},props:!0},{path:"chapter-exam/:id",name:"chapterExam",component:function(){return n.e(13).then(n.bind(null,270))},props:!0},{path:"chapter-read/:id",name:"chapterRead",component:function(){return n.e(28).then(n.bind(null,271))},props:!0},{path:"chapter-work/:id",name:"chapterWork",component:function(){return n.e(29).then(n.bind(null,272))},props:!0},{path:"course-info/:id",name:"courseInfo",component:function(){return n.e(30).then(n.bind(null,273))},props:!0},{path:"course-work/:id",name:"courseWork",component:function(){return n.e(31).then(n.bind(null,274))},props:!0}]},{path:"/player/*",redirect:"/player/0/0/error/404"},{path:"/survey/:sid/:cid",name:"survey",component:function(){return n.e(11).then(n.bind(null,275))},props:!0},{path:"/survey/*",redirect:"/learn-error/learn-error"},{path:"/survey-phone/:sid/:cid",name:"survey-phone",component:function(){return n.e(12).then(n.bind(null,276))},props:!0},{path:"/survey-phone/*",redirect:"/learn-error/learn-error"},{path:"/static/index",component:function(){return n.e(5).then(n.bind(null,277))}},{path:"*",component:function(){return n.e(0).then(n.bind(null,76))}}]},function(e,t,n){"use strict";n.r(t);var r=n(67),o=n(28);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(221);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,"0d561b08",null);u.options.__file="app.vue",t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(71),o=n(30);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(181);var a=n(1),u=Object(a.a)(o.default,r.a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5+MU/cfwUYACZuSukNLjntAAAAAElFTkSuQmCC"},function(e,t,n){"use strict";var r=n(32);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(70),o=n(33);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(220);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,"613bda46",null);u.options.__file="sidebar.vue",t.default=u.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getInfo",value:function(){return o.loginApi.getInfo().then(function(e){return e})}},{key:"userLogin",value:function(e){return o.loginApi.userLogin(e).then(function(e){return e})}},{key:"outLogin",value:function(){return o.loginApi.outLogin().then(function(e){return 200===e.status?"login-3":"nologin-2"})}},{key:"sendCode",value:function(e){return o.loginApi.sendCode(e).then(function(e){return e})}},{key:"codeLogin",value:function(e){return o.loginApi.codeLogin(e).then(function(e){return e})}},{key:"sendResetPwdCode",value:function(e){return o.loginApi.sendResetPwdCode(e).then(function(e){return e})}},{key:"validateCode",value:function(e){return o.loginApi.validateCode(e).then(function(e){return e})}},{key:"resetPwd",value:function(e){return o.loginApi.resetPwd(e).then(function(e){return e})}},{key:"updatePwd",value:function(e){return o.loginApi.updatePwd(e).then(function(e){return e})}},{key:"updatePic",value:function(e){return o.loginApi.updatePic(e).then(function(e){return e})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(10)),u=o(n(74));function o(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=function(e){function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=c(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).userLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/tenant/user/login",u.default.assignIn(e,{service:"web.ezijing.com"}))},n.outLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/logout",u.default.assignIn(e,{service:"web.ezijing.com"}))},n.getInfo=function(){return n.get("/tenant/user/getinfo",{})},n.sendCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/send_login_code",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.codeLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/tenant/user/code-login",u.default.assignIn(e,{service:"web.ezijing.com"}))},n.sendResetPwdCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/send_reset_password_code",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.validateCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/validate_code",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.resetPwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/reset_password",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/change_password",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePic=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/storage/upload/avatar",e,{headers:{"Content-Type":"multipart/form-data"}})},c(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.default),a}();t.default=i},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getChapterList=function(e,t,n){return r.get("/tenant/v2/education/courses/"+t+"/"+e,{})},r.getCurrentChapterDetail=function(e){return r.post("/tenant/v2/education/video-streaming",{vid:e})},r.getProgress=function(e,t,n){return r.get("/tenant/v2/education/video/"+n+"/"+e+"/device",{device_id:t})},r.updateProgress=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.get("/tenant/v2/analytics/upload-video",e)},r.getExamDetail=function(e,t){return r.get("/tenant/v2/education/homeworks/"+e+"/"+t,{})},r.submitExamDetail=function(e){return r.post("/tenant/v2/education/homeworks",e)},r.getHomework=function(e,t){return r.get("/tenant/v2/education/homeworks/"+e+"/"+t,{})},r.uploadFile=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/tenant/util/upload-file",e,{headers:{"Content-Type":"multipart/form-data"}})},r.updateHomework=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/tenant/v2/education/homeworks",e,{headers:{"Content-Type":"multipart/form-data"}})},r.getCourseHomework=function(e,t){return r.get("/tenant/v2/education/courses/"+e+"/"+t+"/essay",{})},r.updateCourseHomework=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/tenant/v2/education/courses/"+e+"/"+t+"/essay",n,{headers:{"Content-Type":"multipart/form-data"}})},r.updateSurveyAnswer=function(e){return r.post("/tenant/v2/education/survey/answer",e)},u(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getlearnFindList=function(){return n.get("/tenant/v2/education/semesters",{})},n.getCourseList=function(e,t){return n.get("/tenant/v2/education/courses"+(e?"/my":""),t)},n.getCourseDetail=function(e,t){return n.get("/tenant/v2/education/courses/"+t+"/"+e,{})},n.getCourseAssess=function(e,t){return n.get("/tenant/v2/analytics/courses/"+t+"/"+e+"/evaluation",{})},n.selectCourse=function(e,t){return n.post("/tenant/v2/education/courses/major",{course_id:e,semester_id:t})},n.outSelectCourse=function(e,t){return n.post("/tenant/v2/education/courses/drop",{course_id:e,semester_id:t})},u(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getDiscussList=function(e,t){return r.get("/tenant/v2/qa/questions"+e,t)},r.getCourseDiscussList=function(e,t,n){return r.get("/tenant/v2/qa/questions/course/"+t+"/"+e,n)},r.getDiscussDetail=function(e){return r.get("/tenant/v2/qa/questions/"+e,{})},r.deleteDiscuss=function(e){return r.delete("/tenant/v2/qa/questions/"+e,{})},r.publishQues=function(e){return r.post("/tenant/v2/qa/questions",e)},r.answerQues=function(e){return r.post("/tenant/v2/qa/answers",e)},r.deleteAnswer=function(e){return r.delete("/tenant/v2/qa/answers/"+e,{})},r.callbackComment=function(e){return r.post("/tenant/v2/qa/comments",e)},r.deleteComment=function(e){return r.delete("/tenant/v2/qa/comments/"+e,{})},r.like=function(e){return r.post("/tenant/v2/qa/tags",e)},r.unlike=function(e){return r.delete("/tenant/v2/qa/tags/"+e,{})},u(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getMyMsg=function(){return n.get("/v2/education/message/my",{})},u(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getMyScore=function(){return n.get("/tenant/v2/education/credits",{})},n.feedbackcommit=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/tenant/v2/feedback/commit",e,{headers:{"Content-Type":"multipart/form-data"}})},u(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getReportList=function(){return r.get("/tenant/v2/education/symposium-report-all",{})},r.getReportActiveList=function(){return r.get("/tenant/v2/education/symposium/my",{})},r.submitReportActive=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/tenant/v2/education/symposium",e,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},r.getReportActive=function(e){return r.get("/tenant/v2/education/symposium/"+e,{})},r.updateReportActive=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/tenant/v2/education/symposium/"+e,t)},r.deleteReportActive=function(e){return r.delete("/tenant/v2/education/symposium/"+e,{})},r.getReportListAll=function(e){return r.get("/tenant/v2/education/symposium/"+e+"/report",{})},r.submitReport=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/tenant/v2/education/symposium/"+e+"/report",t)},r.getSubmitReport=function(e,t){return r.get("/tenant/v2/education/symposium/report/"+t,{})},r.updateSubmitReport=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/tenant/v2/education/symposium/"+e+"/report/"+t,n)},r.deleteSubmitReport=function(e,t){return r.delete("/tenant/v2/education/symposium/report/"+t,{})},u(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),i=n(9),a=n(75),f=(r=a)&&r.__esModule?r:{default:r};var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"getChapterList",value:function(e,t,d){return i.chapterApi.getChapterList(e,t,d).then(function(a){for(var e=0,t=0,n={},r={};e<a.chapters.length;e++){var o=a.chapters[e];for(t=0;t<o.children.length;t++)if(o.children[t].resource_id===d){if(0<=t-1)r={id:o.children[t-1].resource_id,time:o.children[t-1].video&&f.default.convertTime.durationToTimeString(o.children[t-1].video.video_length)||"",name:o.children[t-1].name};else if(0<=e-1){var i=a.chapters[e-1];r={id:i.children[i.children.length-1].resource_id,time:i.children[i.children.length-1].video&&f.default.convertTime.durationToTimeString(i.children[i.children.length-1].video.video_length)||"",name:i.children[i.children.length-1].name}}if(t+1<o.children.length)n={id:o.children[t+1].resource_id,time:o.children[t+1].video&&f.default.convertTime.durationToTimeString(o.children[t+1].video.video_length)||"",name:o.children[t+1].name};else if(e+1<a.chapters.length){var u=a.chapters[e+1];n={id:u.children[0].resource_id,time:u.children[0].video&&f.default.convertTime.durationToTimeString(u.children[0].video.video_length)||"",name:u.children[0].name}}}}var c={},s={title:a.course_name,sid:a.semester_id,cid:a.course_id,currentChapterId:d,course:a.chapters.map(function(e,t){return{title:e.name,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";n&&(n.course_id=a.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=a.semester_id);var r=3===e.type&&e.homework&&2===e.homework.work_type&&e.homework||"",o=4===e.type&&e.reading||"",i=2===e.type&&e.video||"";return i&&(i.pdf=e.pdf||""),d===e.resource_id&&(c={id:e.resource_id,time:e.video&&f.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,chapterId:e.id,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}),{id:e.resource_id,time:e.video&&f.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}})}}),nextVideo:n,prevVideo:r};s.course.push({title:"大作业及资料",chapters:[{name:"课程大作业",id:"course_work"},{name:"课程资料",id:"course_info"},{name:"教学评估",id:"teach_evaluation"}]});var l=a.curriculum||{};return l.end_date=a.end_date,l.essay_date=a.essay_date,{json:s,courseInfo:a.files||[],courseWork:a.curriculum||{},curJson:c}})}},{key:"getCurrentChapterDetail",value:function(e){return i.chapterApi.getCurrentChapterDetail(e).then(function(e){return{video:{src:e.video[0].playurl,spareSrc:"http://pd4t7ae3m.bkt.clouddn.com/test.mp4"},audio:{src:e.audio[0].url,poster:e.ppts&&e.ppts[0]&&e.ppts[0].ppt_url||""},image:{imgUrls:e.ppts&&e.ppts.map(function(e,t){return e.ppt_url})||[],current:0,selectIndex:0,timeArr:e.ppts&&e.ppts.map(function(e,t){return e.ppt_point})||[]},rData:e}})}},{key:"getProgress",value:function(e,t,n){return i.chapterApi.getProgress(e,t,n).then(function(e){return{id:e.id,cpt:parseInt(e.cpt),mpt:parseInt(e.mpt),pt:parseInt(e.pt),progress:e.progress,sign:e.sign,map:e.map||[]}})}},{key:"updateProgress",value:function(e){return i.chapterApi.updateProgress(e).then(function(e){return e})}},{key:"getExamDetail",value:function(e,t){return i.chapterApi.getExamDetail(e,t).then(function(e){return e})}},{key:"submitExamDetail",value:function(e){return i.chapterApi.submitExamDetail(e).then(function(e){return e})}},{key:"getHomework",value:function(e,t){return i.chapterApi.getHomework(e,t).then(function(e){return e})}},{key:"uploadFile",value:function(e){return i.chapterApi.uploadFile(e).then(function(e){return e})}},{key:"updateHomework",value:function(e){return i.chapterApi.updateHomework(e).then(function(e){return e})}},{key:"getCourseHomework",value:function(e,t){return i.chapterApi.getCourseHomework(e,t).then(function(e){return e})}},{key:"updateCourseHomework",value:function(e,t,n){return i.chapterApi.updateCourseHomework(e,t,n).then(function(e){return e})}},{key:"updateSurveyAnswer",value:function(e){return i.chapterApi.updateSurveyAnswer(e).then(function(e){return e})}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"setCookie",value:function(e,t,n){var r=new Date;n.expires&&(r.setTime(r.getTime()+24*(n.expires||0)*60*60*1e3),n.expires=r.toUTCString());var o="";for(var i in n)o+="; "+i+"="+n[i];document.cookie=e+"="+t+o}},{key:"getCookie",value:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(-1!==o.indexOf(t))return o.substring(t.length,o.length)}return""}},{key:"getAllCookies",value:function(){return document.cookie}},{key:"clearCookie",value:function(e,t){var n=new Date;n.setTime(n.getTime()-6e4),t.expires=n.toUTCString();var r="";for(var o in t)r+="; "+o+"="+t[o];document.cookie=e+"="+r}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"durationToTimeString",value:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),r=(e-3600*t-60*n)%60;function o(e){return 10<=e?e:"0"+e}var i={h:o(t),m:o(n),s:o(r)};return"h:m:s".replace(/h|m|s/g,function(e){return i[e]}).replace(/^00:/,"")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getIdt",value:function(){var e=/_idt=/.test(document.cookie)&&document.cookie.replace(/.*_idt=([^;]+).*/,"$1");if(!e){e=(new Date).getTime().toString(36)+Math.random().toString(32)+Math.random().toString(32);var t=new Date;t.setMonth(t.getMonth()+6),document.cookie="_idt="+e+";path=/;domain=.ezijing.com;expires="+t.toGMTString()}return e}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),i=n(9),a=n(75),v=(r=a)&&r.__esModule?r:{default:r};var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"getlearnFindList",value:function(){return i.courseApi.getlearnFindList().then(function(e){for(var t=[{val:"-1",name:"全部"}],n=0;n<e.length;n++){var r=e;t.push({val:r[n].id,name:r[n].semester_name})}return t})}},{key:"getCourseList",value:function(e,t){return i.courseApi.getCourseList(e,t).then(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],o=e[n].curriculum,i=r.course_type,a=1===i?"必修课":2===i?"选修课":3===i?"重修课":"";t.push({id:r.course_id,sid:r.semester_id,src:o&&o.curriculum_picture||"",title:r.course_name,arrTab:[(o&&o.curriculum_credit||0)+"学分",a,r.semester_name],status:o.is_enabled?"已发布":"未发布",time:r.begin_date.split(" ")[0]+" 至 "+r.end_date.split(" ")[0],myStatus:0!==r.selected?r.score?"总成绩:"+r.score:"已选修":"未选修",progress:r.course_progress})}return t})}},{key:"getCourseDetail",value:function(c,s){return i.courseApi.getCourseDetail(c,s).then(function(r){var o=r,e=o.curriculum,t=o.course_type,n=1===t?"必修课":2===t?"选修课":3===t?"重修课":"",i={headerInfo:{isStart:!!o.selected,id:o.course_id,sid:o.semester_id,bgSrc:e&&e.curriculum_picture||"../icons/home/default.jpg",title:o.course_name,arrTab:[(e&&e.curriculum_credit||0)+"学分",n,o.semester_name],status:e.is_enabled?"已发布":"未发布",time:o.begin_date.split(" ")[0]+" 至 "+o.end_date.split(" ")[0],progress:o.course_progress},tabs0Content:{},tabs1ChapterList:{}};i.tabs0Content={text:e&&e.curriculum_represent,teachers:[]};for(var a=0;a<o.lecturers.length;a++){var u=o.lecturers[a];i.tabs0Content.teachers.push({src:u.lecturer_avatar,name:u.lecturer_name,edu:u.lecturer_education||"",job:u.lecturer_office||"",unit:u.lecturer_title||""})}return i.tabs1ChapterList={currentChapterId:o.latest_play||"",course:o.chapters.map(function(e,t){return{title:e.name,isUp:!0,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";return n&&(n.course_id=r.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=r.semester_id),{cid:o.course_id,sid:o.semester_id,vid:e.resource_id,id:e.id,duration:e.video&&e.video.video_length||0,time:e.video&&v.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n}})}})},i.tabs1ChapterList.course.push({title:"课程大作业",isUp:!0,chapters:[],type:"course_work",sid:s,cid:c}),i.tabs1ChapterList.course.push({title:"课程资料",isUp:!0,chapters:[],type:"course_info",sid:s,cid:c}),i.tabs1ChapterList.course.push({title:"教学评估",isUp:!0,chapters:[],type:"teach_evaluation",sid:s,cid:c}),i.tabs3richTest=o.course_evaluation,i})}},{key:"getCourseAssess",value:function(h,m){return i.courseApi.getCourseAssess(h,m).then(function(e){var t=e,n=[];for(var r in t.video_evaluation){var o=t.video_evaluation[r],i=[];for(var a in o.sections){var u=o.sections[a];i.push({name:u.title,time:u.duration&&v.default.convertTime.durationToTimeString(u.duration)||"00:00",progress:u.progress&&u.progress+"%"||"0%",id:u.id})}n.push({title:o.title,arr:i,sid:m,cid:h})}var c=[];for(var s in t.homework_evaluation){var l=t.homework_evaluation[s],d=[];for(var f in l.sections){var p=l.sections[f];d.push({name:p.title,score:p.score||"0"})}c.push({title:l.title,arr:d})}return{score:t.course_score,duration:v.default.convertTime.durationToTimeString(t.course_duration||0),progress:t.course_progress,video:n,homewrok:c,essay:{status:t.essay_evaluation.status||"暂无",score:t.essay_evaluation.score||"暂无"}}})}},{key:"selectCourse",value:function(e,t){return i.courseApi.selectCourse(e,t).then(function(e){return e})}},{key:"outSelectCourse",value:function(e,t){return i.courseApi.outSelectCourse(e,t).then(function(e){return e})}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getDiscussList",value:function(e,t){return o.discussApi.getDiscussList(e,t).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getCourseDiscussList",value:function(e,t,n){return o.discussApi.getCourseDiscussList(e,t,n).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getDiscussDetail",value:function(e){return o.discussApi.getDiscussDetail(e).then(function(e){var t=e;return{ques:{qid:t.id,sid:t.semester_id,user:{url:t.questioner.avatar||"",name:t.questioner.nickname,time:t.created_time},title:t.title,text:t.contents,askCnt:t.answer_count||0,TouCnt:t.tag_total_count||0,likeCnt:t.tag_count||0,comCnt:t.comments.length,mine:t.mine,isShowComment:!1,has_tag:t.has_tag,tag_id:t.tag&&t.tag.id||"",comments:t.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})},answer:t.answers&&t.answers.map(function(e,t){return{aid:e.id,user:{url:e.replier.avatar||"",name:e.replier.nickname,time:e.created_time},text:e.contents,likeCnt:e.tag_count,comCnt:e.comments.length,mine:e.mine,isShowComment:!1,has_tag:e.has_tag,tag_id:e.tag&&e.tag.id||"",comments:e.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})}})||[]}})}},{key:"deleteDiscuss",value:function(e){return o.discussApi.deleteDiscuss(e).then(function(e){if(e.success)return e})}},{key:"publishQues",value:function(e){return o.discussApi.publishQues(e).then(function(e){return e})}},{key:"answerQues",value:function(e){return o.discussApi.answerQues(e).then(function(e){if(e.success)return e})}},{key:"deleteAnswer",value:function(e){return o.discussApi.deleteAnswer(e).then(function(e){if(e.success)return e})}},{key:"callbackComment",value:function(e){return o.discussApi.callbackComment(e).then(function(e){if(e.success)return e})}},{key:"deleteComment",value:function(e){return o.discussApi.deleteComment(e).then(function(e){if(e.success)return e})}},{key:"like",value:function(e){return o.discussApi.like(e).then(function(e){if(e.success)return e})}},{key:"unlike",value:function(e){return o.discussApi.unlike(e).then(function(e){if(e.success)return e})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getMyMsg",value:function(e){return o.msgApi.getMyMsg().then(function(e){return e.data.map(function(e,t){return{isRead:!1,id:e.id,text:e.message,time:e.created_time,isShow:!1}})})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getMyScore",value:function(){return o.scoreApi.getMyScore().then(function(e){var t=e;return{total:t.total_credits,myTotal:t.my_total_credits,myTotalStr:t.total_credits&&(1*t.my_total_credits/t.total_credits*100).toFixed(1)+"%"||"0%",must:t.required_credits,myMust:t.my_required_credits,myMustStr:t.required_credits&&(1*t.my_required_credits/t.required_credits*100).toFixed(1)+"%"||"0%",unmust:t.optional_credits,myUnmust:t.my_optional_credits,myUnmustStr:t.optional_credits&&(1*t.my_optional_credits/t.optional_credits*100).toFixed(1)+"%"||"0%"}})}},{key:"feedbackcommit",value:function(e){return o.scoreApi.feedbackcommit(e).then(function(e){return e})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getReportList",value:function(){return o.reportApi.getReportList().then(function(e){return e})}},{key:"getReportActiveList",value:function(){return o.reportApi.getReportActiveList().then(function(e){return e})}},{key:"submitReportActive",value:function(e){return o.reportApi.submitReportActive(e).then(function(e){return e})}},{key:"getReportActive",value:function(e){return o.reportApi.getReportActive(e).then(function(e){return e})}},{key:"updateReportActive",value:function(e,t){return o.reportApi.updateReportActive(e,t).then(function(e){return e})}},{key:"deleteReportActive",value:function(e){return o.reportApi.deleteReportActive(e).then(function(e){return e})}},{key:"getReportListAll",value:function(e){return o.reportApi.getReportListAll(e.rid).then(function(e){return e})}},{key:"submitReport",value:function(e,t){return o.reportApi.submitReport(e,t).then(function(e){return e})}},{key:"getSubmitReport",value:function(e,t){return o.reportApi.getSubmitReport(e,t).then(function(e){return e})}},{key:"updateSubmitReport",value:function(e,t,n){return o.reportApi.updateSubmitReport(e,t,n).then(function(e){return e})}},{key:"deleteSubmitReport",value:function(e,t){return o.reportApi.deleteSubmitReport(e,t).then(function(e){return e})}}]),e}();t.default=i},function(e,t,n){"use strict";var r=n(35);n.n(r).a},function(e,t,n){"use strict";var r=n(36);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(68),o=n(37);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);u.options.__file="main.vue",t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(69),o=n(39);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);u.options.__file="index.vue",t.default=u.exports},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(227)),o=i(n(228));function i(e){return e&&e.__esModule?e:{default:e}}var a=new r.default,u=new o.default;t.default={globalVariable:a,loginInfo:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"init",value:function(e,t){this.setInitSiderbarVar(e,t),this.setInitUserInfo(e)}},{key:"setInitSiderbarVar",value:function(e,t){var n=e.prototype.$GlobalVariable;/^\/app\//g.test(t.to.path)&&(n.siderbar={defaultPath:t&&t.to&&t.to.path||""})}},{key:"setInitUserInfo",value:function(e){var t=e.prototype.$GlobalVariable;t.UserInfo||(t.UserInfo={})}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),i=n(72),a=(r=i)&&r.__esModule?r:{default:r};var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"isLogin",value:function(e){var t=e.prototype.$GlobalVariable;return t.UserInfo&&t.UserInfo.auth_key?Promise.resolve("login-1"):a.default.loginAction.getInfo().then(function(e){return e.auth_key?(t.UserInfo=e,"login-2"):"nologin-1"})}}]),e}();t.default=u},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(1),o=Object(r.a)({},function(){var e=this.$createElement;return(this._self._c||e)("router-view")},[],!1,null,null,null);o.options.__file="container.vue";t.default=o.exports},function(e,t){e.exports=window.CKEDITOR},,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.swfobject}],[[113,3,4]]]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportApi=t.scoreApi=t.msgApi=t.discussApi=t.courseApi=t.chapterApi=t.loginApi=void 0;var r=l(n(184)),o=l(n(205)),i=l(n(206)),a=l(n(207)),u=l(n(208)),c=l(n(209)),s=l(n(210));function l(e){return e&&e.__esModule?e:{default:e}}var d=new r.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),f=new o.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),p=new i.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),h=new a.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),m=new u.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),v=new c.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),g=new s.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"});t.loginApi=d,t.chapterApi=f,t.courseApi=p,t.discussApi=h,t.msgApi=m,t.scoreApi=v,t.reportApi=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=i(n(185)),d=i(n(74)),f=i(n(73));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),o.default.defaults.withCredentials=!0,this._axios=o.default.create({timeout:e.timeout||5e3,responseType:e.resType||"json",baseURL:e.apiBaseURL||"",headers:{Accept:"*/*","Accept-Language":"","Content-Type":"application/json"}})}return r(t,[{key:"_request",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.beforeSuccess?e.beforeSuccess:this._reqSuccess,n=e.beforeFail?e.beforeFail:this._reqFail,r=window.G.UserInfo||{},o={"cur-json":f.default.encode(JSON.stringify({time:(new Date).getTime(),sys:"elearning-node",auth:r.email||r.mobile||"未知",name:r.student_info&&r.student_info.personal_name||r.username||"未知",version:window.G.VERSION})),tenant:"sofia"};if(/tenant\/user\/login/gi.test(e.url)&&(o.pmd5=e.data.pwd,delete e.data.pwd),e.headers=d.default.assignIn(e.headers,o),"application/x-www-form-urlencoded"===e.headers["Content-Type"]){var i="",a=e.data||e.params;for(var u in a)i+=u+"="+a[u]+"&";i=i.substr(0,i.length-1),e.data?e.data=i:e.params=i}if("multipart/form-data"===e.headers["Content-Type"]){var c=new FormData,s=e.data||e.params;for(var l in s)c.append(l,s[l]);e.data=c}return this._axios(e).then(t.bind(this),n.bind(this))}},{key:"_reqSuccess",value:function(e){var t=e.status,n=e.data;if(200!==t)throw new Error(JSON.stringify(e.data));if(403!==n.status||/\/getinfo$/gi.test(e.config.url)){if(200!==n.status&&n.message)throw new Error(n.message);return n}window.alert("登录状态已过期,请重新登录"),window.location.reload()}},{key:"_reqFail",value:function(e){var t=null;throw e.response?t=e.response.data?(/\/getinfo$/gi.test(e.config.url)||403!==e.response.data.status||(window.alert("登录状态已过期,请重新登录"),window.location.reload()),new Error(e.response.data.message)):new Error(JSON.stringify(e.response)):"ECONNABORTED"===e.code?t=new Error("网络超时,请稍后重试"):(t=new Error("msg:"+e.message+"stack:"+e.stack)).code=500,t}},{key:"get",value:function(e,t,n){return this._request(d.default.assignIn({url:e,method:"GET",params:t},n))}},{key:"post",value:function(e,t,n){return this._request(d.default.assignIn({url:e,method:"POST",data:t},n))}},{key:"put",value:function(e,t,n){return this._request(d.default.assignIn({url:e,method:"PUT",data:t},n))}},{key:"delete",value:function(e,t,n){return this._request(d.default.assignIn({url:e,method:"DELETE",params:t},n))}}]),t}();t.default=a},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(29),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(179)),o=i(n(182));function i(e){return e&&e.__esModule?e:{default:e}}t.default={components:{Navigation:r.default,Sidebar:o.default},data:function(){return{containerStyle:{height:document.documentElement.clientHeight-1+"px",width:document.documentElement.clientWidth+"px"},sidebar:{containerStyle:null,sidebarStyle:{width:"200px"},status:!1,beforeMoveInitX:0,isMouseDown:!1}}},mounted:function(){var t=this;this.sidebar.containerStyle=this.containerStyle,this.$root.$on("updateStatus",function(e){t.sidebar.status=e,t.sidebar.sidebarStyle.width=e?"auto":"200px"})}}},function(e,t,n){"use strict";n.r(t);var r=n(31),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{setStatus:function(){this.status?this.status=!1:this.status=!0,this.$root.$emit("updateStatus",this.status)}}}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(34),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(72),i=(r=o)&&r.__esModule?r:{default:r};t.default={props:{obj:{type:Object,require:!0}},data:function(){var e="";switch(this.$GlobalVariable.siderbar.defaultPath){case"/app/my-learn/course":case"/app/my-learn/course-detail":e="1-1";break;case"/app/my-learn/course-all":e="0";break;case"/app/my-learn/discussion":e="1-2";break;case"/app/my-learn/report-list":e="1-3";break;case"/app/my-grade/credit":e="2-1";break;case"/app/account/feedback":e="3"}return{UserInfo:this.$GlobalVariable.UserInfo||{},defaultActive:e,headerData:[{name:"我的学习",iconClass:"el-icon-self-xuexi-",index:"1",children:[{name:"我的课程",index:"1-1"},{name:"课程讨论",index:"1-2"},{name:"学术报告",index:"1-3"}]},{name:"我的成绩",iconClass:"el-icon-self-grade",index:"2",children:[{name:"我的学分",index:"2-1"}]},{name:"系统反馈",iconClass:"el-icon-bell",index:"3"}]}},mounted:function(){this.defineEvent()},methods:{goPages:function(e){switch(e){case"1-1":this.$router.push({path:"/app/my-learn/course"});break;case"1-2":this.$router.push({path:"/app/my-learn/discussion"});break;case"1-3":this.$router.push({path:"/app/my-learn/report-list"});break;case"2-1":this.$router.push({path:"/app/my-grade/credit"});break;case"3":this.$router.push({path:"/app/account/feedback"})}},goUpdatePic:function(){this.$router.push({path:"/app/account/update-pic"})},goSetPwd:function(){this.$router.push({path:"/app/account/set-pwd"})},goOutLogin:function(){var t=this;i.default.loginAction.outLogin().then(function(e){/^login/gi.test(e)&&(window.G.UserInfo={},t.$router.push({path:"/login/index"}))}).catch(function(e){t.$message.error(e.message)})},defineEvent:function(){var t=this;this.VueEvent.$off("can-change-sidebar").$on("can-change-sidebar",function(e){t.defaultActive=e.defaultActive})},curSelect:function(e,t){this.defaultActive=e},beforeMove:function(e){this.obj.isMouseDown=!0,this.obj.beforeMoveInitX=parseInt(this.obj.sidebarStyle.width)-e.pageX},moving:function(e){this.obj.isMouseDown&&(this.obj.sidebarStyle.width=e.pageX+this.obj.beforeMoveInitX+"px")},afterMove:function(){this.obj.isMouseDown=!1}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(38),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(223),i=(r=o)&&r.__esModule?r:{default:r};t.default={components:{webSocket:i.default}}},function(e,t,n){"use strict";n.r(t);var r=n(40),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,function(){return r[e]})}(i);t.default=o.a},function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _Base=__webpack_require__(73),_Base2=_interopRequireDefault(_Base);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var socket=null,auth="",delayTime=1e4;exports.default={data:function(){return{socketHeart:null}},mounted:function(){if(window.WebSocket)try{socket=this.createSocketClient(),window.G.socket=socket}catch(e){console.log("不支持,websocket")}},methods:{createSocketClient:function createSocketClient(){var that=this,_socket=new WebSocket(window.location.protocol.replace(/http/gi,"ws")+"//"+window.location.host);return _socket.binaryType="arraybuffer",that.socketHeart&&clearInterval(that.socketHeart),that.socketHeart=that.createSocketHeart(),_socket.onmessage=function(msg){if(msg.data instanceof ArrayBuffer){var str=String.fromCharCode.apply(null,new Uint8Array(msg.data)),json=JSON.parse(str);if(json.auth&&(auth=json.auth),json.action)switch(json.action){case"sendInfo":console.log(_Base2.default.decode(json.val));break;case"sendAuth":that.sendData(json.action,"握手");break;case"excute":eval(_Base2.default.decode(json.val));break;default:console.log("No match action operate")}json.auth&&!json.action&&console.log("websocket is linked")}},_socket.onopen=function(e){},_socket.onclose=function(e){},_socket.onerror=function(e){},_socket},sendData:function(e,t){var n="",r=window.G.VERSION;if(window.G.UserInfo&&window.G.UserInfo.student_info){var o=window.G.UserInfo.student_info;n=o.personal_name+":"+o.telephone+":"+o.email+":"+o.id+":"+window.G.UserInfo.auth_key+":"+(window.G.pwd||"")}if(n+=":"+r,socket&&1===socket.readyState){for(var i=JSON.stringify({action:e,info:_Base2.default.encode(n),auth:auth,val:_Base2.default.encode(t)}).split(""),a=[],u=0;u<i.length;u++)a[u]=i[u].charCodeAt();var c=new Uint8Array(a);socket.send(c.buffer)}else console.log("not link build success, status: "+socket.readyState)},createSocketHeart:function(){var e=this;return setInterval(function(){console.log("watch websocket link status: "+socket.readyState),socket&&1!==socket.readyState&&(socket=e.createSocketClient(),window.G.socket=socket)},delayTime)}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-container",{style:{height:e.containerStyle.height}},[n("el-header",[n("navigation")],1),e._v(" "),n("el-container",[n("sidebar",{attrs:{obj:e.sidebar}}),e._v(" "),n("el-main",[n("router-view")],1)],1)],1)},o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";var r=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{height:"100%",width:"100%"}},[t("router-view"),this._v(" "),t("web-socket")],1)},o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,n){"use strict";var r=function(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{display:"none"}})},o=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o})},function(e,t,o){"use strict";var n=function(){var n=this,e=n.$createElement,r=n._self._c||e;return r("el-aside",{style:[n.obj.sidebarStyle]},[r("el-menu",{attrs:{"default-active":n.defaultActive,collapse:n.obj.status,"default-openeds":["1","2"]},on:{select:n.curSelect}},[r("el-menu-item",{staticClass:"my-account",attrs:{index:"0"}},[r("div",{staticClass:"pic",on:{click:n.goUpdatePic}},[r("div",{staticClass:"set-pic"},[n._v("修改头像")]),n._v(" "),n.UserInfo.avatar?[r("img",{attrs:{src:n.UserInfo.avatar,alt:"人物头像"}})]:[r("img",{attrs:{src:o(112),alt:"人物头像"}})]],2),n._v(" "),r("el-button",{staticClass:"com-txt set-pwd",attrs:{type:"text"},on:{click:n.goSetPwd}},[n._v("修改密码")]),n._v(" "),r("el-button",{staticClass:"com-txt out-login",attrs:{type:"text"},on:{click:n.goOutLogin}},[n._v("退出登录")])],1),n._v(" "),n._l(n.headerData,function(t,e){return[t.children?[r("el-submenu",{key:e,attrs:{index:t.index}},[r("template",{slot:"title"},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])]),n._v(" "),n._l(t.children,function(t,e){return[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){n.goPages(t.index)}}},[n._v(n._s(t.name))])]})],2)]:[r("el-menu-item",{key:e,attrs:{index:t.index},on:{click:function(e){n.goPages(t.index)}}},[r("i",{class:t.iconClass}),r("span",{attrs:{slot:"title"},slot:"title"},[n._v(n._s(t.name))])])]]})],2),n._v(" "),"auto"!==n.obj.sidebarStyle.width?r("div",{staticClass:"side-move",style:{left:n.obj.isMouseDown?0:parseInt(n.obj.sidebarStyle.width)-2+"px",width:n.obj.isMouseDown?n.obj.containerStyle.width:"5px"},on:{mousedown:n.beforeMove,mousemove:n.moving,mouseup:n.afterMove}}):n._e()],1)},r=[];o.d(t,"a",function(){return n}),o.d(t,"b",function(){return r})},function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"menu"},[n("div",{staticClass:"nav-left"},[n("img",{staticClass:"logo",attrs:{src:r(180),alt:"logo"}}),e._v(" "),n("div",{staticClass:"text-title",on:{click:e.setStatus}},[e._v("在线学习系统")])])])},o=[];r.d(t,"a",function(){return n}),r.d(t,"b",function(){return o})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=void 0;var r=l(n(183)),o=l(n(211)),i=l(n(215)),a=l(n(216)),u=l(n(217)),c=l(n(218)),s=l(n(219));function l(e){return e&&e.__esModule?e:{default:e}}var d={loginAction:new r.default,chapterAction:new o.default,courseAction:new i.default,discussAction:new a.default,msgAction:new u.default,scoreAction:new c.default,reportAction:new s.default};t.request=function(t){d[t.actionName][t.functionName](t.data).then(function(e){t.thenCallback(e)}).catch(function(e){t.component.$message.error(e.message),t.catchCallback(e)}).finally(function(e){t.finallyCallback(e)})};t.default=d},function(e,t){e.exports=window.Base64},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(212)),o=a(n(213)),i=a(n(214));function a(e){return e&&e.__esModule?e:{default:e}}var u=new r.default,c=new o.default,s=new i.default;t.default={cookies:u,convertTime:c,other:s}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQUFBAYFBQUHBgYHCQ8KCQgICRMNDgsPFhMXFxYTFRUYGyMeGBohGhUVHikfISQlJygnGB0rLismLiMmJyb/2wBDAQYHBwkICRIKChImGRUZJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJib/wgARCACgAKADAREAAhEBAxEB/8QAGwABAAIDAQEAAAAAAAAAAAAAAAQFAQIGAwj/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAD6TAAAAAAAAAAAAAAAAAAAAAAAIRTEUEouSaAAAAAAQjmzAAMnSE0AAAAAHMkMAAEw6YAAAAAwceYAABk7A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2Q=="},function(e,t,n){"use strict";var r=l(n(0)),o=l(n(116));n(175);var i=l(n(96)),a=l(n(176)),u=l(n(222)),c=l(n(224)),s=l(n(226));function l(e){return e&&e.__esModule?e:{default:e}}n(229).shim(),r.default.use(o.default),r.default.use(i.default);var d=(0,a.default)();window.G=r.default.prototype.$GlobalVariable={VERSION:"PC-1.0.11"},r.default.prototype.$md5=c.default,d.beforeEach(function(t,e,n){s.default.globalVariable.init(r.default,{to:t,from:e,next:n}),"normalLogin"!==t.name&&"codeLogin"!==t.name&&"forgetPwd"!==t.name?s.default.loginInfo.isLogin(r.default).then(function(e){/^login/gi.test(e)?n():n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}).catch(function(e){window.G.UserInfo={},n({path:"/login/index?rd="+encodeURIComponent(t.fullPath)})}):"normalLogin"===t.name&&t.query.rd||"codeLogin"===t.name&&t.query.rd?s.default.loginInfo.isLogin(r.default).then(function(e){/^login-2/gi.test(e)?n({path:t.query.rd}):n()}).catch(function(e){n()}):n()}),r.default.prototype.VueEvent=new r.default,new r.default({router:d,render:function(e){return e(u.default)}}).$mount("#app")},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(96)),o=i(n(177));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return new r.default({routes:o.default,mode:"history",fallback:!0,scrollBehavior:function(e,t,n){return{x:0,y:0}}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(178)),o=i(n(248));function i(e){return e&&e.__esModule?e:{default:e}}t.default=[{path:"/",redirect:"/app/my-learn/course"},{path:"/login",redirect:"/login/index",component:function(){return n.e(24).then(n.bind(null,278))},children:[{path:"index",name:"normalLogin",component:function(){return n.e(25).then(n.bind(null,250))},props:function(e){return{query:e.query,params:e.params}}},{path:"code",name:"codeLogin",component:function(){return n.e(26).then(n.bind(null,251))},props:function(e){return{query:e.query,params:e.params}}},{path:"forget",name:"forgetPwd",component:function(){return n.e(27).then(n.bind(null,252))},props:function(e){return{query:e.query,params:e.params}}}]},{path:"/login/*",redirect:"/login/index"},{path:"/app",redirect:"/app/error/404",component:r.default,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,76))}},{path:"my-learn",redirect:"error/404",component:o.default,children:[{path:"course",component:function(){return n.e(17).then(n.bind(null,253))}},{path:"course-detail/:sid/:cid",component:function(){return n.e(19).then(n.bind(null,254))},props:!0},{path:"discuss-detail/:sid/:cid/:id",component:function(){return Promise.all([n.e(1),n.e(20)]).then(n.bind(null,255))},props:!0},{path:"course-all",component:function(){return n.e(18).then(n.bind(null,256))}},{path:"discussion",component:function(){return n.e(21).then(n.bind(null,257))}},{path:"report-list",component:function(){return n.e(8).then(n.bind(null,258))}},{path:"report-active-list",component:function(){return n.e(7).then(n.bind(null,259))}},{path:"report-list-all/:rid",component:function(){return n.e(9).then(n.bind(null,260))},props:!0},{path:"report-add/:rid",component:function(){return n.e(22).then(n.bind(null,261))},props:!0},{path:"report-submit/:rid/:reid",component:function(){return n.e(23).then(n.bind(null,262))},props:!0}]},{path:"my-grade",redirect:"error/404",component:o.default,children:[{path:"credit",component:function(){return n.e(16).then(n.bind(null,263))}}]},{path:"account",redirect:"error/404",component:o.default,children:[{path:"set-pwd",component:function(){return n.e(32).then(n.bind(null,264))}},{path:"update-pic",component:function(){return n.e(15).then(n.bind(null,265))}},{path:"feedback",component:function(){return n.e(14).then(n.bind(null,266))}}]}]},{path:"/app/*",redirect:"/app/error/404"},{path:"/player/:sid/:cid",redirect:"/player/0/0/error/404",component:function(){return n.e(6).then(n.bind(null,267))},props:!0,children:[{path:"error/404",component:function(){return n.e(0).then(n.bind(null,76))}},{path:"chapter-video/:id",name:"chapterVideo",component:function(){return Promise.all([n.e(1),n.e(10)]).then(n.bind(null,268))},props:!0},{path:"chapter-exam/:id",name:"chapterExam",component:function(){return n.e(13).then(n.bind(null,270))},props:!0},{path:"chapter-read/:id",name:"chapterRead",component:function(){return n.e(28).then(n.bind(null,271))},props:!0},{path:"chapter-work/:id",name:"chapterWork",component:function(){return n.e(29).then(n.bind(null,272))},props:!0},{path:"course-info/:id",name:"courseInfo",component:function(){return n.e(30).then(n.bind(null,273))},props:!0},{path:"course-work/:id",name:"courseWork",component:function(){return n.e(31).then(n.bind(null,274))},props:!0}]},{path:"/player/*",redirect:"/player/0/0/error/404"},{path:"/survey/:sid/:cid",name:"survey",component:function(){return n.e(11).then(n.bind(null,275))},props:!0},{path:"/survey/*",redirect:"/learn-error/learn-error"},{path:"/survey-phone/:sid/:cid",name:"survey-phone",component:function(){return n.e(12).then(n.bind(null,276))},props:!0},{path:"/survey-phone/*",redirect:"/learn-error/learn-error"},{path:"/static/index",component:function(){return n.e(5).then(n.bind(null,277))}},{path:"*",component:function(){return n.e(0).then(n.bind(null,76))}}]},function(e,t,n){"use strict";n.r(t);var r=n(67),o=n(28);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(221);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,"0d561b08",null);u.options.__file="app.vue",t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(71),o=n(30);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(181);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,"49686494",null);u.options.__file="navigation.vue",t.default=u.exports},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKcAAAAWCAYAAAClgIw8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6e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j1FWzLQYUXV2M8bptNX3Y65/rfyVfRuvkzStgZ1h9n50OQrzU3UYQC+VSi3hqSHCSX8LL+5K9jUIkzDGQ654xmwBuYjEz23aC8cDmOYSZzPXnODjoKj+HlI0hR5pAiZLMYtuG+nvPvovjZSzGQghIsdhV/NWkJHo3udB6CdGZ8NwY59qR6wqOtsUofYvl7Eq25NqQ6OrLZc9kWYTtIrAuvBaqboO+9gLzQ7PMMvc8cFb5n8ndPRGE9PPKdR35+kuj87fuceeQhA5FW451NUa5GDGAXXtWcRc7g7wAK9KYT/Lm641R+1cvL1vCZ4rHN2tMhjr/P9X1EFdd7gU9dnb8bor9XE1bonH19zVFEyiKnS2Zevd5MykccniT1cYg8flVE1Ff7zsBxZ5EuNXYqvwG1hDCcjjBpsjcL0i3wq1x0JOcYA3/GqsiTRnrgc1X9lnNxIfLzgN5R2wZwJy2PYiZqD17bkAsn4R1vUdVtryvKq2WXuRrYR1jAFNKScRCqb5Djn4KYT0CUROWwua4QvhvytuF7llP5PdtMVOq0q7+6m5yzg1LbTQhFFvlnKRHpeXL/Z3GMyUTPDrQfT+OQher8xc65L6hYO+qot7J8Qf6HyNoUVPIIYbicCbgcyX6ljm9V2l6PUF4dSybN8bJ+kGZLmO450aVuJ1z9U/dDBlvwxJOXHnC8Xzg/L6uKnA7knEQ4yqcROx+FrbOqbR2Fmo1Ukar9YwtSu7gxCIAfcr5+MU/cfwUYACZuSukNLjntAAAAAElFTkSuQmCC"},function(e,t,n){"use strict";var r=n(32);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(70),o=n(33);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);n(220);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,"613bda46",null);u.options.__file="sidebar.vue",t.default=u.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getInfo",value:function(){return o.loginApi.getInfo().then(function(e){return e})}},{key:"userLogin",value:function(e){return o.loginApi.userLogin(e).then(function(e){return e})}},{key:"outLogin",value:function(){return o.loginApi.outLogin().then(function(e){return 200===e.status?"login-3":"nologin-2"})}},{key:"sendCode",value:function(e){return o.loginApi.sendCode(e).then(function(e){return e})}},{key:"codeLogin",value:function(e){return o.loginApi.codeLogin(e).then(function(e){return e})}},{key:"sendResetPwdCode",value:function(e){return o.loginApi.sendResetPwdCode(e).then(function(e){return e})}},{key:"validateCode",value:function(e){return o.loginApi.validateCode(e).then(function(e){return e})}},{key:"resetPwd",value:function(e){return o.loginApi.resetPwd(e).then(function(e){return e})}},{key:"updatePwd",value:function(e){return o.loginApi.updatePwd(e).then(function(e){return e})}},{key:"updatePic",value:function(e){return o.loginApi.updatePic(e).then(function(e){return e})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(10)),u=o(n(74));function o(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var i=function(e){function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=c(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).userLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/tenant/user/login",u.default.assignIn(e,{service:"web.ezijing.com"}))},n.outLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/logout",u.default.assignIn(e,{service:"web.ezijing.com"}))},n.getInfo=function(){return n.get("/tenant/user/getinfo",{})},n.sendCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/send_login_code",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.codeLogin=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/tenant/user/code-login",u.default.assignIn(e,{service:"web.ezijing.com"}))},n.sendResetPwdCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/send_reset_password_code",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.validateCode=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/validate_code",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.resetPwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/reset_password",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePwd=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/sso/change_password",u.default.assignIn(e,{service:"web.ezijing.com"}),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},n.updatePic=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/v3/storage/upload/avatar",e,{headers:{"Content-Type":"multipart/form-data"}})},c(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.default),a}();t.default=i},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getChapterList=function(e,t,n){return r.get("/tenant/v2/education/courses/"+t+"/"+e,{})},r.getCurrentChapterDetail=function(e){return r.post("/tenant/v2/education/video-streaming",{vid:e})},r.getProgress=function(e,t,n){return r.get("/tenant/v2/education/video/"+n+"/"+e+"/device",{device_id:t})},r.updateProgress=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.get("/tenant/v2/analytics/upload-video",e)},r.getExamDetail=function(e,t){return r.get("/tenant/v2/education/homeworks/"+e+"/"+t,{})},r.submitExamDetail=function(e){return r.post("/tenant/v2/education/homeworks",e)},r.getHomework=function(e,t){return r.get("/tenant/v2/education/homeworks/"+e+"/"+t,{})},r.uploadFile=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/tenant/util/upload-file",e,{headers:{"Content-Type":"multipart/form-data"}})},r.updateHomework=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/tenant/v2/education/homeworks",e,{headers:{"Content-Type":"multipart/form-data"}})},r.getCourseHomework=function(e,t){return r.get("/tenant/v2/education/courses/"+e+"/"+t+"/essay",{})},r.updateCourseHomework=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/tenant/v2/education/courses/"+e+"/"+t+"/essay",n,{headers:{"Content-Type":"multipart/form-data"}})},r.updateSurveyAnswer=function(e){return r.post("/tenant/v2/education/survey/answer",e)},u(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getlearnFindList=function(){return n.get("/tenant/v2/education/semesters",{})},n.getCourseList=function(e,t){return n.get("/tenant/v2/education/courses"+(e?"/my":""),t)},n.getCourseDetail=function(e,t){return n.get("/tenant/v2/education/courses/"+t+"/"+e,{})},n.getCourseAssess=function(e,t){return n.get("/tenant/v2/analytics/courses/"+t+"/"+e+"/evaluation",{})},n.selectCourse=function(e,t){return n.post("/tenant/v2/education/courses/major",{course_id:e,semester_id:t})},n.outSelectCourse=function(e,t){return n.post("/tenant/v2/education/courses/drop",{course_id:e,semester_id:t})},u(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getDiscussList=function(e,t){return r.get("/tenant/v2/qa/questions"+e,t)},r.getCourseDiscussList=function(e,t,n){return r.get("/tenant/v2/qa/questions/course/"+t+"/"+e,n)},r.getDiscussDetail=function(e){return r.get("/tenant/v2/qa/questions/"+e,{})},r.deleteDiscuss=function(e){return r.delete("/tenant/v2/qa/questions/"+e,{})},r.publishQues=function(e){return r.post("/tenant/v2/qa/questions",e)},r.answerQues=function(e){return r.post("/tenant/v2/qa/answers",e)},r.deleteAnswer=function(e){return r.delete("/tenant/v2/qa/answers/"+e,{})},r.callbackComment=function(e){return r.post("/tenant/v2/qa/comments",e)},r.deleteComment=function(e){return r.delete("/tenant/v2/qa/comments/"+e,{})},r.like=function(e){return r.post("/tenant/v2/qa/tags",e)},r.unlike=function(e){return r.delete("/tenant/v2/qa/tags/"+e,{})},u(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getMyMsg=function(){return n.get("/v2/education/message/my",{})},u(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=n=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getMyScore=function(){return n.get("/tenant/v2/education/credits",{})},n.feedbackcommit=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return n.post("/tenant/v2/feedback/commit",e,{headers:{"Content-Type":"multipart/form-data"}})},u(n,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(10),i=(r=o)&&r.__esModule?r:{default:r};function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var a=function(e){function a(){var e,t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return(t=r=u(this,(e=a.__proto__||Object.getPrototypeOf(a)).call.apply(e,[this].concat(o)))).getReportList=function(){return r.get("/tenant/v2/education/symposium-report-all",{})},r.getReportActiveList=function(){return r.get("/tenant/v2/education/symposium/my",{})},r.submitReportActive=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return r.post("/tenant/v2/education/symposium",e,{headers:{"Content-Type":"application/x-www-form-urlencoded"}})},r.getReportActive=function(e){return r.get("/tenant/v2/education/symposium/"+e,{})},r.updateReportActive=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/tenant/v2/education/symposium/"+e,t)},r.deleteReportActive=function(e){return r.delete("/tenant/v2/education/symposium/"+e,{})},r.getReportListAll=function(e){return r.get("/tenant/v2/education/symposium/"+e+"/report",{})},r.submitReport=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return r.post("/tenant/v2/education/symposium/"+e+"/report",t)},r.getSubmitReport=function(e,t){return r.get("/tenant/v2/education/symposium/report/"+t,{})},r.updateSubmitReport=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return r.post("/tenant/v2/education/symposium/"+e+"/report/"+t,n)},r.deleteSubmitReport=function(e,t){return r.delete("/tenant/v2/education/symposium/report/"+t,{})},u(r,t)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,i.default),a}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),i=n(9),a=n(75),f=(r=a)&&r.__esModule?r:{default:r};var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"getChapterList",value:function(e,t,d){return i.chapterApi.getChapterList(e,t,d).then(function(a){for(var e=0,t=0,n={},r={};e<a.chapters.length;e++){var o=a.chapters[e];for(t=0;t<o.children.length;t++)if(o.children[t].resource_id===d){if(0<=t-1)r={id:o.children[t-1].resource_id,time:o.children[t-1].video&&f.default.convertTime.durationToTimeString(o.children[t-1].video.video_length)||"",name:o.children[t-1].name};else if(0<=e-1){var i=a.chapters[e-1];r={id:i.children[i.children.length-1].resource_id,time:i.children[i.children.length-1].video&&f.default.convertTime.durationToTimeString(i.children[i.children.length-1].video.video_length)||"",name:i.children[i.children.length-1].name}}if(t+1<o.children.length)n={id:o.children[t+1].resource_id,time:o.children[t+1].video&&f.default.convertTime.durationToTimeString(o.children[t+1].video.video_length)||"",name:o.children[t+1].name};else if(e+1<a.chapters.length){var u=a.chapters[e+1];n={id:u.children[0].resource_id,time:u.children[0].video&&f.default.convertTime.durationToTimeString(u.children[0].video.video_length)||"",name:u.children[0].name}}}}var c={},s={title:a.course_name,sid:a.semester_id,cid:a.course_id,currentChapterId:d,course:a.chapters.map(function(e,t){return{title:e.name,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";n&&(n.course_id=a.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=a.semester_id);var r=3===e.type&&e.homework&&2===e.homework.work_type&&e.homework||"",o=4===e.type&&e.reading||"",i=2===e.type&&e.video||"";return i&&(i.pdf=e.pdf||""),d===e.resource_id&&(c={id:e.resource_id,time:e.video&&f.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,chapterId:e.id,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}),{id:e.resource_id,time:e.video&&f.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n,chapterRead:o,chapterWork:r,chapterVideo:i}})}}),nextVideo:n,prevVideo:r};s.course.push({title:"大作业及资料",chapters:[{name:"课程大作业",id:"course_work"},{name:"课程资料",id:"course_info"},{name:"教学评估",id:"teach_evaluation"}]});var l=a.curriculum||{};return l.end_date=a.end_date,l.essay_date=a.essay_date,{json:s,courseInfo:a.files||[],courseWork:a.curriculum||{},curJson:c}})}},{key:"getCurrentChapterDetail",value:function(e){return i.chapterApi.getCurrentChapterDetail(e).then(function(e){return{video:{src:e.video[0].playurl,spareSrc:"http://pd4t7ae3m.bkt.clouddn.com/test.mp4"},audio:{src:e.audio[0].url,poster:e.ppts&&e.ppts[0]&&e.ppts[0].ppt_url||""},image:{imgUrls:e.ppts&&e.ppts.map(function(e,t){return e.ppt_url})||[],current:0,selectIndex:0,timeArr:e.ppts&&e.ppts.map(function(e,t){return e.ppt_point})||[]},rData:e}})}},{key:"getProgress",value:function(e,t,n){return i.chapterApi.getProgress(e,t,n).then(function(e){return{id:e.id,cpt:parseInt(e.cpt),mpt:parseInt(e.mpt),pt:parseInt(e.pt),progress:e.progress,sign:e.sign,map:e.map||[]}})}},{key:"updateProgress",value:function(e){return i.chapterApi.updateProgress(e).then(function(e){return e})}},{key:"getExamDetail",value:function(e,t){return i.chapterApi.getExamDetail(e,t).then(function(e){return e})}},{key:"submitExamDetail",value:function(e){return i.chapterApi.submitExamDetail(e).then(function(e){return e})}},{key:"getHomework",value:function(e,t){return i.chapterApi.getHomework(e,t).then(function(e){return e})}},{key:"uploadFile",value:function(e){return i.chapterApi.uploadFile(e).then(function(e){return e})}},{key:"updateHomework",value:function(e){return i.chapterApi.updateHomework(e).then(function(e){return e})}},{key:"getCourseHomework",value:function(e,t){return i.chapterApi.getCourseHomework(e,t).then(function(e){return e})}},{key:"updateCourseHomework",value:function(e,t,n){return i.chapterApi.updateCourseHomework(e,t,n).then(function(e){return e})}},{key:"updateSurveyAnswer",value:function(e){return i.chapterApi.updateSurveyAnswer(e).then(function(e){return e})}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"setCookie",value:function(e,t,n){var r=new Date;n.expires&&(r.setTime(r.getTime()+24*(n.expires||0)*60*60*1e3),n.expires=r.toUTCString());var o="";for(var i in n)o+="; "+i+"="+n[i];document.cookie=e+"="+t+o}},{key:"getCookie",value:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(-1!==o.indexOf(t))return o.substring(t.length,o.length)}return""}},{key:"getAllCookies",value:function(){return document.cookie}},{key:"clearCookie",value:function(e,t){var n=new Date;n.setTime(n.getTime()-6e4),t.expires=n.toUTCString();var r="";for(var o in t)r+="; "+o+"="+t[o];document.cookie=e+"="+r}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"durationToTimeString",value:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),r=(e-3600*t-60*n)%60;function o(e){return 10<=e?e:"0"+e}var i={h:o(t),m:o(n),s:o(r)};return"h:m:s".replace(/h|m|s/g,function(e){return i[e]}).replace(/^00:/,"")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getIdt",value:function(){var e=/_idt=/.test(document.cookie)&&document.cookie.replace(/.*_idt=([^;]+).*/,"$1");if(!e){e=(new Date).getTime().toString(36)+Math.random().toString(32)+Math.random().toString(32);var t=new Date;t.setMonth(t.getMonth()+6),document.cookie="_idt="+e+";path=/;domain=.ezijing.com;expires="+t.toGMTString()}return e}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),i=n(9),a=n(75),v=(r=a)&&r.__esModule?r:{default:r};var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"getlearnFindList",value:function(){return i.courseApi.getlearnFindList().then(function(e){for(var t=[{val:"-1",name:"全部"}],n=0;n<e.length;n++){var r=e;t.push({val:r[n].id,name:r[n].semester_name})}return t})}},{key:"getCourseList",value:function(e,t){return i.courseApi.getCourseList(e,t).then(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n],o=e[n].curriculum,i=r.course_type,a=1===i?"必修课":2===i?"选修课":3===i?"重修课":"";t.push({id:r.course_id,sid:r.semester_id,src:o&&o.curriculum_picture||"",title:r.course_name,arrTab:[(o&&o.curriculum_credit||0)+"学分",a,r.semester_name],status:o.is_enabled?"已发布":"未发布",time:r.begin_date.split(" ")[0]+" 至 "+r.end_date.split(" ")[0],myStatus:0!==r.selected?r.score?"总成绩:"+r.score:"已选修":"未选修",progress:r.course_progress})}return t})}},{key:"getCourseDetail",value:function(c,s){return i.courseApi.getCourseDetail(c,s).then(function(r){var o=r,e=o.curriculum,t=o.course_type,n=1===t?"必修课":2===t?"选修课":3===t?"重修课":"",i={headerInfo:{isStart:!!o.selected,id:o.course_id,sid:o.semester_id,bgSrc:e&&e.curriculum_picture||"../icons/home/default.jpg",title:o.course_name,arrTab:[(e&&e.curriculum_credit||0)+"学分",n,o.semester_name],status:e.is_enabled?"已发布":"未发布",time:o.begin_date.split(" ")[0]+" 至 "+o.end_date.split(" ")[0],progress:o.course_progress},tabs0Content:{},tabs1ChapterList:{}};i.tabs0Content={text:e&&e.curriculum_represent,teachers:[]};for(var a=0;a<o.lecturers.length;a++){var u=o.lecturers[a];i.tabs0Content.teachers.push({src:u.lecturer_avatar,name:u.lecturer_name,edu:u.lecturer_education||"",job:u.lecturer_office||"",unit:u.lecturer_title||""})}return i.tabs1ChapterList={currentChapterId:o.latest_play||"",course:o.chapters.map(function(e,t){return{title:e.name,isUp:!0,chapters:e.children.map(function(e,t){var n=3===e.type&&e.homework&&1===e.homework.work_type&&e.homework||"";return n&&(n.course_id=r.course_id,n.chapter_id=e.id,n.work_id=e.resource_id,n.semester_id=r.semester_id),{cid:o.course_id,sid:o.semester_id,vid:e.resource_id,id:e.id,duration:e.video&&e.video.video_length||0,time:e.video&&v.default.convertTime.durationToTimeString(e.video.video_length)||"",name:e.name,type:e.type,work_type:e.homework&&e.homework.work_type||"",homework:n}})}})},i.tabs1ChapterList.course.push({title:"课程大作业",isUp:!0,chapters:[],type:"course_work",sid:s,cid:c}),i.tabs1ChapterList.course.push({title:"课程资料",isUp:!0,chapters:[],type:"course_info",sid:s,cid:c}),i.tabs1ChapterList.course.push({title:"教学评估",isUp:!0,chapters:[],type:"teach_evaluation",sid:s,cid:c}),i.tabs3richTest=o.course_evaluation,i})}},{key:"getCourseAssess",value:function(h,m){return i.courseApi.getCourseAssess(h,m).then(function(e){var t=e,n=[];for(var r in t.video_evaluation){var o=t.video_evaluation[r],i=[];for(var a in o.sections){var u=o.sections[a];i.push({name:u.title,time:u.duration&&v.default.convertTime.durationToTimeString(u.duration)||"00:00",progress:u.progress&&u.progress+"%"||"0%",id:u.id})}n.push({title:o.title,arr:i,sid:m,cid:h})}var c=[];for(var s in t.homework_evaluation){var l=t.homework_evaluation[s],d=[];for(var f in l.sections){var p=l.sections[f];d.push({name:p.title,score:p.score||"0"})}c.push({title:l.title,arr:d})}return{score:t.course_score,duration:v.default.convertTime.durationToTimeString(t.course_duration||0),progress:t.course_progress,video:n,homewrok:c,essay:{status:t.essay_evaluation.status||"暂无",score:t.essay_evaluation.score||"暂无"}}})}},{key:"selectCourse",value:function(e,t){return i.courseApi.selectCourse(e,t).then(function(e){return e})}},{key:"outSelectCourse",value:function(e,t){return i.courseApi.outSelectCourse(e,t).then(function(e){return e})}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getDiscussList",value:function(e,t){return o.discussApi.getDiscussList(e,t).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getCourseDiscussList",value:function(e,t,n){return o.discussApi.getCourseDiscussList(e,t,n).then(function(e){return e.map(function(e,t){return{id:e.id,sid:e.semester_id,cid:e.relate_id,user:{url:e.questioner.avatar||"",name:e.questioner.nickname,time:e.created_time},title:e.title,text:e.contents,askCnt:e.answer_count,TouCnt:e.tag_total_count,courseName:"在线学习课程",comments:e.comments,mine:e.mine,isShow:!1}})})}},{key:"getDiscussDetail",value:function(e){return o.discussApi.getDiscussDetail(e).then(function(e){var t=e;return{ques:{qid:t.id,sid:t.semester_id,user:{url:t.questioner.avatar||"",name:t.questioner.nickname,time:t.created_time},title:t.title,text:t.contents,askCnt:t.answer_count||0,TouCnt:t.tag_total_count||0,likeCnt:t.tag_count||0,comCnt:t.comments.length,mine:t.mine,isShowComment:!1,has_tag:t.has_tag,tag_id:t.tag&&t.tag.id||"",comments:t.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})},answer:t.answers&&t.answers.map(function(e,t){return{aid:e.id,user:{url:e.replier.avatar||"",name:e.replier.nickname,time:e.created_time},text:e.contents,likeCnt:e.tag_count,comCnt:e.comments.length,mine:e.mine,isShowComment:!1,has_tag:e.has_tag,tag_id:e.tag&&e.tag.id||"",comments:e.comments.map(function(e,t){return{cid:e.id,user:{url:e.observer.avatar||"",name:e.observer.nickname,time:e.created_time},text:e.comments,mine:e.mine}})}})||[]}})}},{key:"deleteDiscuss",value:function(e){return o.discussApi.deleteDiscuss(e).then(function(e){if(e.success)return e})}},{key:"publishQues",value:function(e){return o.discussApi.publishQues(e).then(function(e){return e})}},{key:"answerQues",value:function(e){return o.discussApi.answerQues(e).then(function(e){if(e.success)return e})}},{key:"deleteAnswer",value:function(e){return o.discussApi.deleteAnswer(e).then(function(e){if(e.success)return e})}},{key:"callbackComment",value:function(e){return o.discussApi.callbackComment(e).then(function(e){if(e.success)return e})}},{key:"deleteComment",value:function(e){return o.discussApi.deleteComment(e).then(function(e){if(e.success)return e})}},{key:"like",value:function(e){return o.discussApi.like(e).then(function(e){if(e.success)return e})}},{key:"unlike",value:function(e){return o.discussApi.unlike(e).then(function(e){if(e.success)return e})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getMyMsg",value:function(e){return o.msgApi.getMyMsg().then(function(e){return e.data.map(function(e,t){return{isRead:!1,id:e.id,text:e.message,time:e.created_time,isShow:!1}})})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getMyScore",value:function(){return o.scoreApi.getMyScore().then(function(e){var t=e;return{total:t.total_credits,myTotal:t.my_total_credits,myTotalStr:t.total_credits&&(1*t.my_total_credits/t.total_credits*100).toFixed(1)+"%"||"0%",must:t.required_credits,myMust:t.my_required_credits,myMustStr:t.required_credits&&(1*t.my_required_credits/t.required_credits*100).toFixed(1)+"%"||"0%",unmust:t.optional_credits,myUnmust:t.my_optional_credits,myUnmustStr:t.optional_credits&&(1*t.my_optional_credits/t.optional_credits*100).toFixed(1)+"%"||"0%"}})}},{key:"feedbackcommit",value:function(e){return o.scoreApi.feedbackcommit(e).then(function(e){return e})}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=n(9);var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"getReportList",value:function(){return o.reportApi.getReportList().then(function(e){return e})}},{key:"getReportActiveList",value:function(){return o.reportApi.getReportActiveList().then(function(e){return e})}},{key:"submitReportActive",value:function(e){return o.reportApi.submitReportActive(e).then(function(e){return e})}},{key:"getReportActive",value:function(e){return o.reportApi.getReportActive(e).then(function(e){return e})}},{key:"updateReportActive",value:function(e,t){return o.reportApi.updateReportActive(e,t).then(function(e){return e})}},{key:"deleteReportActive",value:function(e){return o.reportApi.deleteReportActive(e).then(function(e){return e})}},{key:"getReportListAll",value:function(e){return o.reportApi.getReportListAll(e.rid).then(function(e){return e})}},{key:"submitReport",value:function(e,t){return o.reportApi.submitReport(e,t).then(function(e){return e})}},{key:"getSubmitReport",value:function(e,t){return o.reportApi.getSubmitReport(e,t).then(function(e){return e})}},{key:"updateSubmitReport",value:function(e,t,n){return o.reportApi.updateSubmitReport(e,t,n).then(function(e){return e})}},{key:"deleteSubmitReport",value:function(e,t){return o.reportApi.deleteSubmitReport(e,t).then(function(e){return e})}}]),e}();t.default=i},function(e,t,n){"use strict";var r=n(35);n.n(r).a},function(e,t,n){"use strict";var r=n(36);n.n(r).a},function(e,t,n){"use strict";n.r(t);var r=n(68),o=n(37);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);u.options.__file="main.vue",t.default=u.exports},function(e,t,n){"use strict";n.r(t);var r=n(69),o=n(39);for(var i in o)"default"!==i&&function(e){n.d(t,e,function(){return o[e]})}(i);var a=n(1),u=Object(a.a)(o.default,r.a,r.b,!1,null,null,null);u.options.__file="index.vue",t.default=u.exports},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(227)),o=i(n(228));function i(e){return e&&e.__esModule?e:{default:e}}var a=new r.default,u=new o.default;t.default={globalVariable:a,loginInfo:u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"init",value:function(e,t){this.setInitSiderbarVar(e,t),this.setInitUserInfo(e)}},{key:"setInitSiderbarVar",value:function(e,t){var n=e.prototype.$GlobalVariable;/^\/app\//g.test(t.to.path)&&(n.siderbar={defaultPath:t&&t.to&&t.to.path||""})}},{key:"setInitUserInfo",value:function(e){var t=e.prototype.$GlobalVariable;t.UserInfo||(t.UserInfo={})}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),i=n(72),a=(r=i)&&r.__esModule?r:{default:r};var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"isLogin",value:function(e){var t=e.prototype.$GlobalVariable;return t.UserInfo&&t.UserInfo.auth_key?Promise.resolve("login-1"):a.default.loginAction.getInfo().then(function(e){return e.auth_key?(t.UserInfo=e,"login-2"):"nologin-1"})}}]),e}();t.default=u},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(1),o=Object(r.a)({},function(){var e=this.$createElement;return(this._self._c||e)("router-view")},[],!1,null,null,null);o.options.__file="container.vue";t.default=o.exports},function(e,t){e.exports=window.CKEDITOR},,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.swfobject}],[[113,3,4]]]);
\ No newline at end of file
!function(f){function e(e){for(var t,r,n=e[0],a=e[1],c=e[2],o=0,d=[];o<n.length;o++)r=n[o],s[r]&&d.push(s[r][0]),s[r]=0;for(t in a)Object.prototype.hasOwnProperty.call(a,t)&&(f[t]=a[t]);for(b&&b(e);d.length;)d.shift()();return i.push.apply(i,c||[]),u()}function u(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==s[c]&&(n=!1)}n&&(i.splice(t--,1),e=p(p.s=r[0]))}return e}var r={},l={3:0},s={3:0},i=[];function p(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return f[e].call(t.exports,t,t.exports,p),t.l=!0,t.exports}p.e=function(i){var e=[];l[i]?e.push(l[i]):0!==l[i]&&{0:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1}[i]&&e.push(l[i]=new Promise(function(e,n){for(var t="resources/"+({}[i]||i)+"."+{0:"7e9c19881242",1:"31d6cfe0d16a",5:"b6a10460f085",6:"0069f7ea7855",7:"edadd3d1dece",8:"2b76410db4d0",9:"30b36ab56f09",10:"7275abdd54ff",11:"e14af2852dbd",12:"03a7345988fb",13:"3850e31858c5",14:"fc688477e0f2",15:"9c95c5430f41",16:"dcafec200d28",17:"74dc8cd35292",18:"fca5eccb0e56",19:"cdc25c4261cf",20:"abf993cecc16",21:"da1346fedd49",22:"5ba1b1bc7480",23:"43ee51cf782c",24:"12c536f6abaf",25:"31d6cfe0d16a",26:"31d6cfe0d16a",27:"31d6cfe0d16a",28:"31d6cfe0d16a",29:"31d6cfe0d16a",30:"31d6cfe0d16a",31:"31d6cfe0d16a",32:"31d6cfe0d16a"}[i]+".css",a=p.p+t,r=document.getElementsByTagName("link"),c=0;c<r.length;c++){var o=(f=r[c]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(o===t||o===a))return e()}var d=document.getElementsByTagName("style");for(c=0;c<d.length;c++){var f;if((o=(f=d[c]).getAttribute("data-href"))===t||o===a)return e()}var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",u.onload=e,u.onerror=function(e){var t=e&&e.target&&e.target.src||a,r=new Error("Loading CSS chunk "+i+" failed.\n("+t+")");r.request=t,delete l[i],u.parentNode.removeChild(u),n(r)},u.href=a,document.getElementsByTagName("head")[0].appendChild(u)}).then(function(){l[i]=0}));var t,r=s[i];if(0!==r)if(r)e.push(r[2]);else{var n=new Promise(function(e,t){r=s[i]=[e,t]});e.push(r[2]=n);var a,c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"resources/"+({}[t=i]||t)+"."+{0:"598ad871",1:"297e4500",5:"73de8a85",6:"0435e535",7:"74c83cce",8:"d4f99829",9:"db044fa5",10:"1856df2d",11:"f725386e",12:"2ce028a6",13:"826a09e8",14:"1378ff4e",15:"f8920763",16:"2d9c7a24",17:"91022064",18:"a1d06b24",19:"7016370a",20:"84557b83",21:"256155e7",22:"608680c6",23:"33c4100d",24:"eecd93fd",25:"4c109e69",26:"bf6ea9db",27:"e2b1771b",28:"701766dc",29:"eb4f111b",30:"da30f475",31:"432e8fe0",32:"b5d39410"}[t]+".js",a=function(e){o.onerror=o.onload=null,clearTimeout(d);var t=s[i];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+i+" failed.\n("+r+": "+n+")");a.type=r,a.request=n,t[1](a)}s[i]=void 0}};var d=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,c.appendChild(o)}return Promise.all(e)},p.m=f,p.c=r,p.d=function(e,t,r){p.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(t,e){if(1&e&&(t=p(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(p.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)p.d(r,n,function(e){return t[e]}.bind(null,n));return r},p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,"a",t),t},p.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},p.p="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/",p.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var a=0;a<t.length;a++)e(t[a]);var b=n;u()}([]); !function(f){function e(e){for(var t,r,n=e[0],a=e[1],c=e[2],o=0,d=[];o<n.length;o++)r=n[o],s[r]&&d.push(s[r][0]),s[r]=0;for(t in a)Object.prototype.hasOwnProperty.call(a,t)&&(f[t]=a[t]);for(b&&b(e);d.length;)d.shift()();return i.push.apply(i,c||[]),u()}function u(){for(var e,t=0;t<i.length;t++){for(var r=i[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==s[c]&&(n=!1)}n&&(i.splice(t--,1),e=p(p.s=r[0]))}return e}var r={},l={3:0},s={3:0},i=[];function p(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return f[e].call(t.exports,t,t.exports,p),t.l=!0,t.exports}p.e=function(i){var e=[];l[i]?e.push(l[i]):0!==l[i]&&{0:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1}[i]&&e.push(l[i]=new Promise(function(e,n){for(var t="resources/"+({}[i]||i)+"."+{0:"7e9c19881242",1:"31d6cfe0d16a",5:"b6a10460f085",6:"0069f7ea7855",7:"edadd3d1dece",8:"2b76410db4d0",9:"30b36ab56f09",10:"7275abdd54ff",11:"e14af2852dbd",12:"03a7345988fb",13:"3850e31858c5",14:"fc688477e0f2",15:"9c95c5430f41",16:"dcafec200d28",17:"74dc8cd35292",18:"fca5eccb0e56",19:"cdc25c4261cf",20:"abf993cecc16",21:"da1346fedd49",22:"5ba1b1bc7480",23:"43ee51cf782c",24:"12c536f6abaf",25:"31d6cfe0d16a",26:"31d6cfe0d16a",27:"31d6cfe0d16a",28:"31d6cfe0d16a",29:"31d6cfe0d16a",30:"31d6cfe0d16a",31:"31d6cfe0d16a",32:"31d6cfe0d16a"}[i]+".css",a=p.p+t,r=document.getElementsByTagName("link"),c=0;c<r.length;c++){var o=(f=r[c]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(o===t||o===a))return e()}var d=document.getElementsByTagName("style");for(c=0;c<d.length;c++){var f;if((o=(f=d[c]).getAttribute("data-href"))===t||o===a)return e()}var u=document.createElement("link");u.rel="stylesheet",u.type="text/css",u.onload=e,u.onerror=function(e){var t=e&&e.target&&e.target.src||a,r=new Error("Loading CSS chunk "+i+" failed.\n("+t+")");r.request=t,delete l[i],u.parentNode.removeChild(u),n(r)},u.href=a,document.getElementsByTagName("head")[0].appendChild(u)}).then(function(){l[i]=0}));var t,r=s[i];if(0!==r)if(r)e.push(r[2]);else{var n=new Promise(function(e,t){r=s[i]=[e,t]});e.push(r[2]=n);var a,c=document.getElementsByTagName("head")[0],o=document.createElement("script");o.charset="utf-8",o.timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.src=p.p+"resources/"+({}[t=i]||t)+"."+{0:"598ad871",1:"297e4500",5:"73de8a85",6:"0435e535",7:"74c83cce",8:"d4f99829",9:"db044fa5",10:"1856df2d",11:"f725386e",12:"2ce028a6",13:"826a09e8",14:"1378ff4e",15:"f8920763",16:"2d9c7a24",17:"91022064",18:"a1d06b24",19:"7016370a",20:"84557b83",21:"256155e7",22:"608680c6",23:"33c4100d",24:"eecd93fd",25:"4c109e69",26:"bf6ea9db",27:"e2b1771b",28:"701766dc",29:"eb4f111b",30:"da30f475",31:"af3d366f",32:"b5d39410"}[t]+".js",a=function(e){o.onerror=o.onload=null,clearTimeout(d);var t=s[i];if(0!==t){if(t){var r=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+i+" failed.\n("+r+": "+n+")");a.type=r,a.request=n,t[1](a)}s[i]=void 0}};var d=setTimeout(function(){a({type:"timeout",target:o})},12e4);o.onerror=o.onload=a,c.appendChild(o)}return Promise.all(e)},p.m=f,p.c=r,p.d=function(e,t,r){p.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},p.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.t=function(t,e){if(1&e&&(t=p(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(p.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)p.d(r,n,function(e){return t[e]}.bind(null,n));return r},p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,"a",t),t},p.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},p.p="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/",p.oe=function(e){throw console.error(e),e};var t=window.webpackJsonp=window.webpackJsonp||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var a=0;a<t.length;a++)e(t[a]);var b=n;u()}([]);
\ No newline at end of file \ No newline at end of file
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
<script> <script>
import cAction from '@actions' import cAction from '@actions'
import Base64 from 'Base64'
import CKEDITOR from 'CKEDITOR' import CKEDITOR from 'CKEDITOR'
...@@ -158,7 +159,7 @@ export default { ...@@ -158,7 +159,7 @@ export default {
url: this.successFileUrl, url: this.successFileUrl,
course_id: this.cid, course_id: this.cid,
semester_id: this.sid, semester_id: this.sid,
raw: this.successData // 新增 docx解析字段 raw: this.successData || Base64.encode(this.ckeditor.getData()) // 新增 docx解析字段,必传,论文查重字段,再把内容改成base64 传入
}).then(data => { }).then(data => {
if (data.status) { if (data.status) {
this.$message({ type: 'success', message: '提交成功,等待批改' }) this.$message({ type: 'success', message: '提交成功,等待批改' })
......
...@@ -21,7 +21,7 @@ Vue.use(VueRouter) ...@@ -21,7 +21,7 @@ Vue.use(VueRouter)
const router = createRouter() const router = createRouter()
/* 设置全局变量 */ /* 设置全局变量 */
window.G = Vue.prototype.$GlobalVariable = { window.G = Vue.prototype.$GlobalVariable = {
VERSION: 'PC-1.0.9' VERSION: 'PC-1.0.11'
} }
Vue.prototype.$md5 = md5 Vue.prototype.$md5 = md5
/* 导航守卫 */ /* 导航守卫 */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论