提交 81a42c74 authored 作者: GOD_ZYX's avatar GOD_ZYX

1.0.9

上级 9e7602bd
PC-1.0.8 / 2019-05-0
PC-1.0.9 / 2019-05-15
==================
* 新增 教学评估 功能 只有 选修课 没有
* 修改 学分统计
* 只有 选修课 文案修改 :`课程考核:该门课程总得分=课堂表现得分*20%+视频观看得分40%+课程测试40%。 不用提交大作业。 满分100分,80分及格`
* 新增 重做 功能 只有 选修课 存在
PC-1.0.8 / 2019-05-10
==================
* 修改 退出登录时,清空 UserInfo 对象
......
No preview for this file type
<!DOCTYPE html><html lang="zh-cn"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="origin" name="referrer"><title>紫荆教育MBA学习系统</title><meta name="viewport" id="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no"><link rel="shortcut icon" href="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/favicon.ico"><link href="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.49fcda9199c7.css" rel="stylesheet"></head><body><div id="app"></div><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-shim.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-sham.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/ckeditor/ckeditor.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/videoJs/videoJs.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/convertString/base64-new.js"></script><!--[if lt IE 9]>
<!DOCTYPE html><html lang="zh-cn"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="origin" name="referrer"><title>紫荆教育MBA学习系统</title><meta name="viewport" id="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no"><link rel="shortcut icon" href="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/favicon.ico"><link href="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.ad76d21fde69.css" rel="stylesheet"></head><body><div id="app"></div><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-shim.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/compatible/es5-sham.min.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/ckeditor/ckeditor.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/videoJs/videoJs.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/static/convertString/base64-new.js"></script><!--[if lt IE 9]>
<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/respond.min.js"></script>
<![endif]--><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.bd75d82f.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.0ec25a95.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.1e1a96fb.js"></script></body></html>
\ No newline at end of file
<![endif]--><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/manifest.4aa520f5.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/vendor.95f635f7.js"></script><script type="text/javascript" src="https://zws-imgs-pub.ezijing.com/static/build/learn-mba/resources/app.471589ea.js"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{297:function(t,n,e){"use strict";e.r(n);var r=e(298),i=e.n(r);for(var u in r)"default"!==u&&function(t){e.d(n,t,function(){return r[t]})}(u);n.default=i.a},298:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={mounted:function(){},methods:{goIndex:function(){this.$router.push({path:"/"})},goPrev:function(){this.$router.go(-1)}}}},299:function(t,n,e){},381:function(t,n,e){t.exports=e.p+"resources/404.833f757e.png"},382:function(t,n,e){"use strict";var r=e(299);e.n(r).a},433:function(t,n,r){"use strict";var e=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"err-container"},[e("img",{staticClass:"error-404",attrs:{src:r(381),alt:"页面未找到"}}),t._v(" "),e("div",{staticClass:"tit"},[t._v("很抱歉,您访问的页面已经断开...")]),t._v(" "),e("div",{staticStyle:{height:"20px",width:"100%"}}),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.goIndex}},[t._v("返回首页")]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.goPrev}},[t._v("返回上一页")]),t._v(" "),e("div",{staticStyle:{height:"50px",width:"100%"}})],1)},i=[];r.d(n,"a",function(){return e}),r.d(n,"b",function(){return i})},76:function(t,n,e){"use strict";e.r(n);var r=e(433),i=e(297);for(var u in i)"default"!==u&&function(t){e.d(n,t,function(){return i[t]})}(u);e(382);var o=e(1),c=Object(o.a)(i.default,r.a,r.b,!1,null,"18f15c86",null);c.options.__file="404.vue",n.default=c.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{299:function(t,n,e){"use strict";e.r(n);var r=e(300),i=e.n(r);for(var u in r)"default"!==u&&function(t){e.d(n,t,function(){return r[t]})}(u);n.default=i.a},300:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={mounted:function(){},methods:{goIndex:function(){this.$router.push({path:"/"})},goPrev:function(){this.$router.go(-1)}}}},301:function(t,n,e){},390:function(t,n,e){t.exports=e.p+"resources/404.833f757e.png"},391:function(t,n,e){"use strict";var r=e(301);e.n(r).a},444:function(t,n,r){"use strict";var e=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"err-container"},[e("img",{staticClass:"error-404",attrs:{src:r(390),alt:"页面未找到"}}),t._v(" "),e("div",{staticClass:"tit"},[t._v("很抱歉,您访问的页面已经断开...")]),t._v(" "),e("div",{staticStyle:{height:"20px",width:"100%"}}),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.goIndex}},[t._v("返回首页")]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.goPrev}},[t._v("返回上一页")]),t._v(" "),e("div",{staticStyle:{height:"50px",width:"100%"}})],1)},i=[];r.d(n,"a",function(){return e}),r.d(n,"b",function(){return i})},76:function(t,n,e){"use strict";e.r(n);var r=e(444),i=e(299);for(var u in i)"default"!==u&&function(t){e.d(n,t,function(){return i[t]})}(u);e(391);var o=e(1),c=Object(o.a)(i.default,r.a,r.b,!1,null,"18f15c86",null);c.options.__file="404.vue",n.default=c.exports}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{377:function(Gt,Yt,e){var Jt;
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{386:function(Gt,Yt,e){var Jt;
/*!
* jQuery JavaScript Library v3.3.1
* https://jquery.com/
......
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{268:function(e,t,i){"use strict";i.r(t);var s=i(442),a=i(350);for(var n in a)"default"!==n&&function(e){i.d(t,e,function(){return a[e]})}(n);var r=i(1),o=Object(r.a)(a.default,s.a,s.b,!1,null,null,null);o.options.__file="chapterVideo.vue",t.default=o.exports},350:function(e,t,i){"use strict";i.r(t);var s=i(351),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,function(){return s[e]})}(n);t.default=a.a},351:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(i(401)),a=n(i(403)),p=n(i(74));function n(e){return e&&e.__esModule?e:{default:e}}var r=1e4;t.default={components:{eVideo:s.default,ePpt:a.default},props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterVideo:{type:Object,require:!1},ppts:{type:Array,require:!1,default:[]},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{state:{pptIndex:0,pptBoxOnly:!1,pptBoxShow:!1,skipBegin:/skip=1/.test(document.cookie),calculatedSize:!1},videoFlash:{lastTime:null,speed:1,isSeek:!1,isFinish:!1,queueFrames:[],mapFrames:[],videoWidth:550,videoHeight:360,username:window.G.UserInfo&&window.G.UserInfo.username||""},resizeVideo:null,hearBeat:null,_rProgress:{},isPlaying:!1}},mounted:function(){var e=this.getCalculateSize();e.video.w&&(this.videoFlash.videoWidth=e.video.w,this.videoFlash.videoHeight=e.video.h),this.resizeVideo||(this.resizeVideo=p.default.debounce(this.jdugeSize.bind(this),200)),setTimeout(this.jdugeSize,300),window.addEventListener("resize",this.resizeVideo),this.createHeartTime(r)},destroyed:function(){window.removeEventListener("resize",this.resizeVideo),this.destroyHeartTime(),this.hearBeatFunc(r)},watch:{id:{handler:function(){this.id&&(this.state.pptBoxShow=!1,this.state.pptBoxOnly=!1,this._rProgress={},setTimeout(this.jdugeSize,0))}}},methods:{togglePptBox:function(){this.state.pptBoxShow=!this.state.pptBoxShow,this.state.pptBoxOnly=!1,setTimeout(this.jdugeSize,0)},togglePptBoxOnly:function(){this.state.pptBoxOnly=!this.state.pptBoxOnly,setTimeout(this.jdugeSize,0)},toggleSkipBegin:function(){var e=!this.state.skipBegin,t=new Date;t.setMonth(t.getMonth()+1),document.cookie="skip="+ +e+";path=/;domain=.ezijing.com;expires="+t.toGMTString(),e&&this.$refs.video&&this.$refs.video.skipBegin(),this.state.skipBegin=e},onVideoTimeChange:function(e){var t=e.time;this.videoFlash.speed=parseFloat(e.quality.split(" ")[1]||1),this.videoFlash.isSeek=e.isSeek,this.videoFlash.lastTime!==t&&(this.videoFlash.lastTime=t,this.isPlaying=!0,e.isSeek||this.videoFlash.queueFrames.push(t),this.setPptIndexByTime(t),this.$emit("handlePlayTime",t))},onVideoPlayFinish:function(e){if(this.chapterVideo){if(this._rProgress&&this._rProgress.id);else{this._rProgress=p.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,s=0;s<i;s++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}this._rProgress.pt+10*this.videoFlash.speed>=e.time&&(this.isPlaying=!0,this.hearBeatFunc(r))}},setPptIndexByTime:function(e){for(var t=this.ppts||[],i=0;i<t.length&&!(e<t[i].ppt_point);i++);this.state.pptIndex!==i-1&&(this.state.pptIndex=i-1)},setVideoTime:function(e){this.$refs.video&&this.$refs.video.setTimeTo(e)},jdugeSize:function(){var e=this.$refs.box,t=this.getCalculateSize(),i=0,s=0;this.state.pptBoxOnly?(s=t.ppt.w,i=t.ppt.h,this.$refs.ppt&&this.$refs.ppt.setSize(s,i)):this.state.pptBoxShow?(this.$refs.ppt&&this.$refs.ppt.setSize(t.ppt.w,t.ppt.h),this.$refs.video&&this.$refs.video.setSize(t.video.w,t.video.h),s=t.ppt.w+t.video.w,i=t.video.h):(s=t.video.w,i=t.video.h,this.$refs.video&&this.$refs.video.setSize(s,i)),this.state.calculatedSize=!0,e.style.paddingLeft=(t.space.w-s)/2+15+"px",e.style.paddingTop=(t.space.h-i)/2+10+"px"},getCalculateSize:function(){var e=this.$refs.container,t=e.offsetWidth-30,i=e.offsetHeight-53-20,s=550/363,a=336/236,n={space:{w:t,h:i},video:{w:0,h:0},ppt:{w:0,h:0}};if(this.state.pptBoxOnly)n.ppt.w=t<i*a?t:i*a,n.ppt.h=i<t/a?i:t/a;else if(this.state.pptBoxShow){var r=t/2,o=r<i*s?r:i*s,l=i<r/s?i:r/s,p=l,d=p*a;n.video.w=o,n.video.h=l,n.ppt.w=d,n.ppt.h=p}else n.video.w=t<i*s?t:i*s,n.video.h=i<t/s?i:t/s;return n},hearBeatFunc:function(e){if(this.chapterVideo&&this.isPlaying){if(this._rProgress&&this._rProgress.id);else{this._rProgress=p.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,s=0;s<i;s++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}var a=this._rProgress,n=this.videoFlash.lastTime,r=this.videoFlash.speed,o=this.videoFlash.isSeek,l=this.videoFlash.queueFrames;0===a.cpt&&0===a.mpt&&0===a.pt&&/skip=1/.test(document.cookie)&&(a.pt=7),o||(a.pt+=e/1e3*r,a.cpt=n,a.mpt=n>a.mpt?n:a.mpt,a.ps=l,this.$emit("updateProgress",this._rProgress)),this.isPlaying=!1}},createHeartTime:function(e){var t=this,i=e||1e4;this.destroyHeartTime(),this.hearBeat=setInterval(function(){t.hearBeatFunc(i)},i)},destroyHeartTime:function(){this.hearBeat&&clearInterval(this.hearBeat)}}}},352:function(e,t,i){"use strict";i.r(t);var s=i(353),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,function(){return s[e]})}(n);t.default=a.a},353:function(e,n,r){"use strict";(function(s){Object.defineProperty(n,"__esModule",{value:!0});var e,t=r(269),p=(e=t)&&e.__esModule?e:{default:e};var a="playerWrap",i=0;n.default={props:{lastTime:{type:Number,require:!1},videoId:{type:String,require:!1},width:{type:Number,require:!1},height:{type:Number,require:!1},username:{type:String,require:!1},videoSrt:{type:String,require:!1},autoPlay:{type:Boolean,require:!1,default:!0},chapterVideo:{type:Object,require:!1}},mounted:function(){this.definWindowFun()},watch:{videoId:{handler:function(){this.videoId&&(i=this.lastTime||0,this.renderPlayer("player",this.videoId,this.autoPlay,this.videoSrt,this.username,this.width,this.height))}}},methods:{definWindowFun:function(){var t=this;window._playerStart=function(){/skip=1/.test(document.cookie)?t.getPlayer().callAction("setCurrentTime",Math.max(i,7)):i&&t.getPlayer().callAction("setCurrentTime",i)},window._playerIng=function(e){s("#"+a).trigger("player.time",{time:e,quality:t.getPlayer().callAction("getQuality"),isSeek:!1})},window._playerSeek=function(){s("#"+a).trigger("player.seek",{time:t.getPlayer().callAction("getCurrentTime"),quality:t.getPlayer().callAction("getQuality"),isSeek:!0})},window._playerFinish=function(){t.$emit("handlePlayfinish",{time:t.getPlayer().callAction("getDuration")})},window._playerCallback=function(){var e=t.getPlayer();e&&(e.callAction("register","onCanplay","_playerStart"),e.callAction("register","onPlaying","_playerIng"),e.callAction("register","onSeekComplete","_playerSeek"),e.callAction("register","onEnded","_playerFinish"))}},renderPlayer:function(e,t,i,s,a,n,r){var o={autoStart:i=void 0===i?1:i-0,vid:t,isShowSpeeder:1,videoType:1,callback:"_playerCallback"};s&&(o.srtUrl=s),a&&(o.username=a);var l={id:e,name:e,align:"middle",wmode:"opaque"};p.default.embedSWF("/static/videoJs/swf/Player1705192.swf",e,parseInt(n),parseInt(r),"11.1.0","playerProductInstall.swf",o,{quality:"high",bgcolor:"#000000",allowscriptaccess:"always",allowfullscreen:"true"},l),this.listenPlayerEvents()},listenPlayerEvents:function(){var i=this;s("#"+a).off("player.time player.seek").on("player.time player.seek",function(e,t){i.$emit("handlePlayTime",t)})},getPlayer:function(){return document.getElementById("player")},getTime:function(){var e=this.getPlayer();return e?e.callAction("getCurrentTime"):0},setTimeTo:function(e){var t=this.getPlayer();t&&t.callAction("setCurrentTime",e+2)},skipBegin:function(){var e=this.getPlayer();e&&e.callAction("getCurrentTime")<7&&e.callAction("setCurrentTime",7)},setSize:function(e,t){var i=this.getPlayer();i&&(i.width=e,i.height=t)}}}}).call(this,r(377))},354:function(e,t,i){},355:function(e,t,i){"use strict";i.r(t);var s=i(356),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,function(){return s[e]})}(n);t.default=a.a},356:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{ppts:{type:Array,require:!1},currentIndex:{type:Number,require:!1,default:0}},data:function(){return{state:{index:this.currentIndex,sync:!0}}},watch:{currentIndex:{handler:function(){this.state.sync&&(this.state.index=this.currentIndex)}}},methods:{gotoIndex:function(e){this.state.index=e},getIndex:function(e){return Math.min(this.ppts.length-1,Math.max(0,e))},prev:function(e){this.state.index=this.getIndex(this.state.index-1),this.state.sync=!1},next:function(e){this.state.index=this.getIndex(this.state.index+1),this.state.sync=!1},onToggleSync:function(e){this.state.sync=!this.state.sync,this.state.index=this.state.sync?this.currentIndex:this.state.index},onSetVideoTime:function(e){this.$emit("onVideoSyncTime",this.ppts[this.state.index].ppt_point)},setSize:function(e,t){this.$refs.wrap.style.width=e+"px",this.$refs.wrap.style.height=t+"px",this.$refs.preview.style.lineHeight=t-44+"px"}}}},401:function(e,t,i){"use strict";i.r(t);var s=i(441),a=i(352);for(var n in a)"default"!==n&&function(e){i.d(t,e,function(){return a[e]})}(n);i(402);var r=i(1),o=Object(r.a)(a.default,s.a,s.b,!1,null,"dced0884",null);o.options.__file="video.vue",t.default=o.exports},402:function(e,t,i){"use strict";var s=i(354);i.n(s).a},403:function(e,t,i){"use strict";i.r(t);var s=i(438),a=i(355);for(var n in a)"default"!==n&&function(e){i.d(t,e,function(){return a[e]})}(n);var r=i(1),o=Object(r.a)(a.default,s.a,s.b,!1,null,null,null);o.options.__file="ppt.vue",t.default=o.exports},438:function(e,t,i){"use strict";var s=function(){var e=this,t=this,i=t.$createElement,s=t._self._c||i;return s("div",{ref:"wrap",staticClass:"play-ppt"},[t.ppts.length?[s("div",{ref:"preview",staticClass:"play-preview"},[t.ppts[t.state.index]&&t.ppts[t.state.index].ppt_url?[s("img",{staticClass:"play-ppt-img",staticStyle:{"vertical-align":"middle"},attrs:{src:t.ppts[t.state.index].ppt_url}})]:t._e()],2),t._v(" "),s("div",{staticClass:"play-controls cl"},[s("div",{staticStyle:{float:"left"}},[0<=t.state.index?[s("a",{staticStyle:{margin:"0 20px 0 0",color:"#fff"},attrs:{href:"#"},on:{click:t.prev}},[s("i",{staticClass:"el-icon-arrow-left"})])]:t._e(),t._v(" "),t.state.index+1<t.ppts.length?[s("a",{attrs:{href:"#"},on:{click:t.next}},[s("i",{staticClass:"el-icon-arrow-right",staticStyle:{color:"#fff"}})])]:t._e()],2),t._v(" "),s("div",{staticClass:"play-page"},[s("span",{staticClass:"play-now"},[t._v(t._s(t.state.index+1))]),t._v("\n /\n "),s("span",{staticClass:"play-total"},[t._v(t._s(t.ppts.length))]),t._v("页\n ")]),t._v(" "),s("div",{staticClass:"play-amazing"},[s("i",{class:["el-icon-self-xuexiao",t.state.sync?"active":""],on:{click:t.onToggleSync}}),t._v(" "),s("i",{staticClass:"el-icon-self-quanping",on:{click:function(){e.$emit("onPptOnly")}}}),t._v(" "),s("i",{staticClass:"el-icon-self-shipin",on:{click:t.onSetVideoTime}}),t._v(" "),s("i",{staticClass:"el-icon-self-guanbi",on:{click:function(){e.$emit("onClose")}}})])])]:t._e()],2)},a=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return a})},441:function(e,t,i){"use strict";var s=function(){var e=this.$createElement;this._self._c;return this._m(0)},a=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"playerWrap"}},[t("div",{attrs:{id:"player"}},[t("p",[this._v("您还没有安装flash播放器,请 "),t("a",{attrs:{href:"http://www.adobe.com/go/getflash",target:"_blank"}},[this._v("点击这里安装")])])])])}];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return a})},442:function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"container",staticClass:"play-content-video"},[i("div",{ref:"box",staticClass:"play-center"},[e.chapterVideo?[i("div",{class:["play-video",e.state.pptBoxOnly?"play-video-hide":"",e.state.calculatedSize?"":"play-video-init-center"]},[i("e-video",{ref:"video",attrs:{lastTime:parseFloat(e.chapterVideo.progress&&e.chapterVideo.progress.pt||0),width:e.videoFlash.videoWidth,height:e.videoFlash.videoHeight,username:e.videoFlash.username,videoId:e.chapterVideo.video_origionalID,videoSrt:e.chapterVideo.video_subtitle||"",chapterVideo:e.chapterVideo},on:{handlePlayTime:e.onVideoTimeChange,handlePlayfinish:e.onVideoPlayFinish}})],1),e._v(" "),i("div",{class:["play-jiangyi",e.state.pptBoxShow?"":"hide"]},[e.ppts.length?[i("e-ppt",{ref:"ppt",attrs:{ppts:e.ppts,currentIndex:e.state.pptIndex},on:{onVideoSyncTime:e.setVideoTime,onPptOnly:e.togglePptBoxOnly,onClose:e.togglePptBox}})]:e._e()],2)]:[i("p",[e._v("课程视频数据不存在")])]],2),e._v(" "),i("div",{staticClass:"play-footer"},[i("div",{staticClass:"fl"}),e._v(" "),i("div",{staticClass:"fr"},[e.chapterVideo.pdf?[i("em",{staticClass:"play-state play-state-ppt"},[i("a",{attrs:{href:e.chapterVideo.pdf,target:"_blank"}},[e._v("下载PPT")])])]:e._e(),e._v(" "),e.ppts.length?[i("em",{class:["play-state","play-state-ppt"+(e.state.pptBoxShow?"-active":"")],on:{click:e.togglePptBox}},[e._v("同步显示PPT")])]:e._e(),e._v(" "),i("em",{class:["play-state","play-state-check"+(e.state.skipBegin?"-active":"")],on:{click:e.toggleSkipBegin}},[e._v("始终跳过片头")])],2)])])},a=[];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([[10],{268:function(e,t,i){"use strict";i.r(t);var s=i(426),a=i(352);for(var n in a)"default"!==n&&function(e){i.d(t,e,function(){return a[e]})}(n);var r=i(1),o=Object(r.a)(a.default,s.a,s.b,!1,null,null,null);o.options.__file="chapterVideo.vue",t.default=o.exports},352:function(e,t,i){"use strict";i.r(t);var s=i(353),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,function(){return s[e]})}(n);t.default=a.a},353:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(i(410)),a=n(i(412)),p=n(i(73));function n(e){return e&&e.__esModule?e:{default:e}}var r=1e4;t.default={components:{eVideo:s.default,ePpt:a.default},props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterVideo:{type:Object,require:!1},ppts:{type:Array,require:!1,default:[]},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{state:{pptIndex:0,pptBoxOnly:!1,pptBoxShow:!1,skipBegin:/skip=1/.test(document.cookie),calculatedSize:!1},videoFlash:{lastTime:null,speed:1,isSeek:!1,isFinish:!1,queueFrames:[],mapFrames:[],videoWidth:550,videoHeight:360,username:window.G.UserInfo&&window.G.UserInfo.username||""},resizeVideo:null,hearBeat:null,_rProgress:{},isPlaying:!1}},mounted:function(){var e=this.getCalculateSize();e.video.w&&(this.videoFlash.videoWidth=e.video.w,this.videoFlash.videoHeight=e.video.h),this.resizeVideo||(this.resizeVideo=p.default.debounce(this.jdugeSize.bind(this),200)),setTimeout(this.jdugeSize,300),window.addEventListener("resize",this.resizeVideo),this.createHeartTime(r)},destroyed:function(){window.removeEventListener("resize",this.resizeVideo),this.destroyHeartTime(),this.hearBeatFunc(r)},watch:{id:{handler:function(){this.id&&(this.state.pptBoxShow=!1,this.state.pptBoxOnly=!1,this._rProgress={},setTimeout(this.jdugeSize,0))}}},methods:{togglePptBox:function(){this.state.pptBoxShow=!this.state.pptBoxShow,this.state.pptBoxOnly=!1,setTimeout(this.jdugeSize,0)},togglePptBoxOnly:function(){this.state.pptBoxOnly=!this.state.pptBoxOnly,setTimeout(this.jdugeSize,0)},toggleSkipBegin:function(){var e=!this.state.skipBegin,t=new Date;t.setMonth(t.getMonth()+1),document.cookie="skip="+ +e+";path=/;domain=.ezijing.com;expires="+t.toGMTString(),e&&this.$refs.video&&this.$refs.video.skipBegin(),this.state.skipBegin=e},onVideoTimeChange:function(e){var t=e.time;this.videoFlash.speed=parseFloat(e.quality.split(" ")[1]||1),this.videoFlash.isSeek=e.isSeek,this.videoFlash.lastTime!==t&&(this.videoFlash.lastTime=t,this.isPlaying=!0,e.isSeek||this.videoFlash.queueFrames.push(t),this.setPptIndexByTime(t),this.$emit("handlePlayTime",t))},onVideoPlayFinish:function(e){if(this.chapterVideo){if(this._rProgress&&this._rProgress.id);else{this._rProgress=p.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,s=0;s<i;s++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}this._rProgress.pt+10*this.videoFlash.speed>=e.time&&(this.isPlaying=!0,this.hearBeatFunc(r))}},setPptIndexByTime:function(e){for(var t=this.ppts||[],i=0;i<t.length&&!(e<t[i].ppt_point);i++);this.state.pptIndex!==i-1&&(this.state.pptIndex=i-1)},setVideoTime:function(e){this.$refs.video&&this.$refs.video.setTimeTo(e)},jdugeSize:function(){var e=this.$refs.box,t=this.getCalculateSize(),i=0,s=0;this.state.pptBoxOnly?(s=t.ppt.w,i=t.ppt.h,this.$refs.ppt&&this.$refs.ppt.setSize(s,i)):this.state.pptBoxShow?(this.$refs.ppt&&this.$refs.ppt.setSize(t.ppt.w,t.ppt.h),this.$refs.video&&this.$refs.video.setSize(t.video.w,t.video.h),s=t.ppt.w+t.video.w,i=t.video.h):(s=t.video.w,i=t.video.h,this.$refs.video&&this.$refs.video.setSize(s,i)),this.state.calculatedSize=!0,e.style.paddingLeft=(t.space.w-s)/2+15+"px",e.style.paddingTop=(t.space.h-i)/2+10+"px"},getCalculateSize:function(){var e=this.$refs.container,t=e.offsetWidth-30,i=e.offsetHeight-53-20,s=550/363,a=336/236,n={space:{w:t,h:i},video:{w:0,h:0},ppt:{w:0,h:0}};if(this.state.pptBoxOnly)n.ppt.w=t<i*a?t:i*a,n.ppt.h=i<t/a?i:t/a;else if(this.state.pptBoxShow){var r=t/2,o=r<i*s?r:i*s,l=i<r/s?i:r/s,p=l,d=p*a;n.video.w=o,n.video.h=l,n.ppt.w=d,n.ppt.h=p}else n.video.w=t<i*s?t:i*s,n.video.h=i<t/s?i:t/s;return n},hearBeatFunc:function(e){if(this.chapterVideo&&this.isPlaying){if(this._rProgress&&this._rProgress.id);else{this._rProgress=p.default.assignIn({},this.chapterVideo.progress);for(var t=[],i=this.chapterVideo.video_length||1,s=0;s<i;s++)t.push(0);this.videoFlash.mapFrames=this._rProgress.map.length?this._rProgress.map:t,this._rProgress.map=this.videoFlash.mapFrames}var a=this._rProgress,n=this.videoFlash.lastTime,r=this.videoFlash.speed,o=this.videoFlash.isSeek,l=this.videoFlash.queueFrames;0===a.cpt&&0===a.mpt&&0===a.pt&&/skip=1/.test(document.cookie)&&(a.pt=7),o||(a.pt+=e/1e3*r,a.cpt=n,a.mpt=n>a.mpt?n:a.mpt,a.ps=l,this.$emit("updateProgress",this._rProgress)),this.isPlaying=!1}},createHeartTime:function(e){var t=this,i=e||1e4;this.destroyHeartTime(),this.hearBeat=setInterval(function(){t.hearBeatFunc(i)},i)},destroyHeartTime:function(){this.hearBeat&&clearInterval(this.hearBeat)}}}},354:function(e,t,i){"use strict";i.r(t);var s=i(355),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,function(){return s[e]})}(n);t.default=a.a},355:function(e,n,r){"use strict";(function(s){Object.defineProperty(n,"__esModule",{value:!0});var e,t=r(269),p=(e=t)&&e.__esModule?e:{default:e};var a="playerWrap",i=0;n.default={props:{lastTime:{type:Number,require:!1},videoId:{type:String,require:!1},width:{type:Number,require:!1},height:{type:Number,require:!1},username:{type:String,require:!1},videoSrt:{type:String,require:!1},autoPlay:{type:Boolean,require:!1,default:!0},chapterVideo:{type:Object,require:!1}},mounted:function(){this.definWindowFun()},watch:{videoId:{handler:function(){this.videoId&&(i=this.lastTime||0,this.renderPlayer("player",this.videoId,this.autoPlay,this.videoSrt,this.username,this.width,this.height))}}},methods:{definWindowFun:function(){var t=this;window._playerStart=function(){/skip=1/.test(document.cookie)?t.getPlayer().callAction("setCurrentTime",Math.max(i,7)):i&&t.getPlayer().callAction("setCurrentTime",i)},window._playerIng=function(e){s("#"+a).trigger("player.time",{time:e,quality:t.getPlayer().callAction("getQuality"),isSeek:!1})},window._playerSeek=function(){s("#"+a).trigger("player.seek",{time:t.getPlayer().callAction("getCurrentTime"),quality:t.getPlayer().callAction("getQuality"),isSeek:!0})},window._playerFinish=function(){t.$emit("handlePlayfinish",{time:t.getPlayer().callAction("getDuration")})},window._playerCallback=function(){var e=t.getPlayer();e&&(e.callAction("register","onCanplay","_playerStart"),e.callAction("register","onPlaying","_playerIng"),e.callAction("register","onSeekComplete","_playerSeek"),e.callAction("register","onEnded","_playerFinish"))}},renderPlayer:function(e,t,i,s,a,n,r){var o={autoStart:i=void 0===i?1:i-0,vid:t,isShowSpeeder:1,videoType:1,callback:"_playerCallback"};s&&(o.srtUrl=s),a&&(o.username=a);var l={id:e,name:e,align:"middle",wmode:"opaque"};p.default.embedSWF("/static/videoJs/swf/Player1705192.swf",e,parseInt(n),parseInt(r),"11.1.0","playerProductInstall.swf",o,{quality:"high",bgcolor:"#000000",allowscriptaccess:"always",allowfullscreen:"true"},l),this.listenPlayerEvents()},listenPlayerEvents:function(){var i=this;s("#"+a).off("player.time player.seek").on("player.time player.seek",function(e,t){i.$emit("handlePlayTime",t)})},getPlayer:function(){return document.getElementById("player")},getTime:function(){var e=this.getPlayer();return e?e.callAction("getCurrentTime"):0},setTimeTo:function(e){var t=this.getPlayer();t&&t.callAction("setCurrentTime",e+2)},skipBegin:function(){var e=this.getPlayer();e&&e.callAction("getCurrentTime")<7&&e.callAction("setCurrentTime",7)},setSize:function(e,t){var i=this.getPlayer();i&&(i.width=e,i.height=t)}}}}).call(this,r(386))},356:function(e,t,i){},357:function(e,t,i){"use strict";i.r(t);var s=i(358),a=i.n(s);for(var n in s)"default"!==n&&function(e){i.d(t,e,function(){return s[e]})}(n);t.default=a.a},358:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{ppts:{type:Array,require:!1},currentIndex:{type:Number,require:!1,default:0}},data:function(){return{state:{index:this.currentIndex,sync:!0}}},watch:{currentIndex:{handler:function(){this.state.sync&&(this.state.index=this.currentIndex)}}},methods:{gotoIndex:function(e){this.state.index=e},getIndex:function(e){return Math.min(this.ppts.length-1,Math.max(0,e))},prev:function(e){this.state.index=this.getIndex(this.state.index-1),this.state.sync=!1},next:function(e){this.state.index=this.getIndex(this.state.index+1),this.state.sync=!1},onToggleSync:function(e){this.state.sync=!this.state.sync,this.state.index=this.state.sync?this.currentIndex:this.state.index},onSetVideoTime:function(e){this.$emit("onVideoSyncTime",this.ppts[this.state.index].ppt_point)},setSize:function(e,t){this.$refs.wrap.style.width=e+"px",this.$refs.wrap.style.height=t+"px",this.$refs.preview.style.lineHeight=t-44+"px"}}}},410:function(e,t,i){"use strict";i.r(t);var s=i(450),a=i(354);for(var n in a)"default"!==n&&function(e){i.d(t,e,function(){return a[e]})}(n);i(411);var r=i(1),o=Object(r.a)(a.default,s.a,s.b,!1,null,"dced0884",null);o.options.__file="video.vue",t.default=o.exports},411:function(e,t,i){"use strict";var s=i(356);i.n(s).a},412:function(e,t,i){"use strict";i.r(t);var s=i(451),a=i(357);for(var n in a)"default"!==n&&function(e){i.d(t,e,function(){return a[e]})}(n);var r=i(1),o=Object(r.a)(a.default,s.a,s.b,!1,null,null,null);o.options.__file="ppt.vue",t.default=o.exports},426:function(e,t,i){"use strict";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"container",staticClass:"play-content-video"},[i("div",{ref:"box",staticClass:"play-center"},[e.chapterVideo?[i("div",{class:["play-video",e.state.pptBoxOnly?"play-video-hide":"",e.state.calculatedSize?"":"play-video-init-center"]},[i("e-video",{ref:"video",attrs:{lastTime:parseFloat(e.chapterVideo.progress&&e.chapterVideo.progress.pt||0),width:e.videoFlash.videoWidth,height:e.videoFlash.videoHeight,username:e.videoFlash.username,videoId:e.chapterVideo.video_origionalID,videoSrt:e.chapterVideo.video_subtitle||"",chapterVideo:e.chapterVideo},on:{handlePlayTime:e.onVideoTimeChange,handlePlayfinish:e.onVideoPlayFinish}})],1),e._v(" "),i("div",{class:["play-jiangyi",e.state.pptBoxShow?"":"hide"]},[e.ppts.length?[i("e-ppt",{ref:"ppt",attrs:{ppts:e.ppts,currentIndex:e.state.pptIndex},on:{onVideoSyncTime:e.setVideoTime,onPptOnly:e.togglePptBoxOnly,onClose:e.togglePptBox}})]:e._e()],2)]:[i("p",[e._v("课程视频数据不存在")])]],2),e._v(" "),i("div",{staticClass:"play-footer"},[i("div",{staticClass:"fl"}),e._v(" "),i("div",{staticClass:"fr"},[e.chapterVideo.pdf?[i("em",{staticClass:"play-state play-state-ppt"},[i("a",{attrs:{href:e.chapterVideo.pdf,target:"_blank"}},[e._v("下载PPT")])])]:e._e(),e._v(" "),e.ppts.length?[i("em",{class:["play-state","play-state-ppt"+(e.state.pptBoxShow?"-active":"")],on:{click:e.togglePptBox}},[e._v("同步显示PPT")])]:e._e(),e._v(" "),i("em",{class:["play-state","play-state-check"+(e.state.skipBegin?"-active":"")],on:{click:e.toggleSkipBegin}},[e._v("始终跳过片头")])],2)])])},a=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return a})},450:function(e,t,i){"use strict";var s=function(){var e=this.$createElement;this._self._c;return this._m(0)},a=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"playerWrap"}},[t("div",{attrs:{id:"player"}},[t("p",[this._v("您还没有安装flash播放器,请 "),t("a",{attrs:{href:"http://www.adobe.com/go/getflash",target:"_blank"}},[this._v("点击这里安装")])])])])}];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return a})},451:function(e,t,i){"use strict";var s=function(){var e=this,t=this,i=t.$createElement,s=t._self._c||i;return s("div",{ref:"wrap",staticClass:"play-ppt"},[t.ppts.length?[s("div",{ref:"preview",staticClass:"play-preview"},[t.ppts[t.state.index]&&t.ppts[t.state.index].ppt_url?[s("img",{staticClass:"play-ppt-img",staticStyle:{"vertical-align":"middle"},attrs:{src:t.ppts[t.state.index].ppt_url}})]:t._e()],2),t._v(" "),s("div",{staticClass:"play-controls cl"},[s("div",{staticStyle:{float:"left"}},[0<=t.state.index?[s("a",{staticStyle:{margin:"0 20px 0 0",color:"#fff"},attrs:{href:"#"},on:{click:t.prev}},[s("i",{staticClass:"el-icon-arrow-left"})])]:t._e(),t._v(" "),t.state.index+1<t.ppts.length?[s("a",{attrs:{href:"#"},on:{click:t.next}},[s("i",{staticClass:"el-icon-arrow-right",staticStyle:{color:"#fff"}})])]:t._e()],2),t._v(" "),s("div",{staticClass:"play-page"},[s("span",{staticClass:"play-now"},[t._v(t._s(t.state.index+1))]),t._v("\n /\n "),s("span",{staticClass:"play-total"},[t._v(t._s(t.ppts.length))]),t._v("页\n ")]),t._v(" "),s("div",{staticClass:"play-amazing"},[s("i",{class:["el-icon-self-xuexiao",t.state.sync?"active":""],on:{click:t.onToggleSync}}),t._v(" "),s("i",{staticClass:"el-icon-self-quanping",on:{click:function(){e.$emit("onPptOnly")}}}),t._v(" "),s("i",{staticClass:"el-icon-self-shipin",on:{click:t.onSetVideoTime}}),t._v(" "),s("i",{staticClass:"el-icon-self-guanbi",on:{click:function(){e.$emit("onClose")}}})])])]:t._e()],2)},a=[];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([[11],{275:function(t,e,i){"use strict";i.r(e);var s=i(433),a=i(370);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);i(414);var r=i(1),n=Object(r.a)(a.default,s.a,s.b,!1,null,"e0754e8c",null);n.options.__file="survey.vue",e.default=n.exports},370:function(t,e,i){"use strict";i.r(e);var s=i(371),a=i.n(s);for(var o in s)"default"!==o&&function(t){i.d(e,t,function(){return s[t]})}(o);e.default=a.a},371:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a(i(372)),r=a(i(72)),n=a(i(74)),s=a(i(73));function a(t){return t&&t.__esModule?t:{default:t}}e.default={props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){var t=JSON.parse(window.localStorage.getItem("headerInfo")||"{}");return{dataQuestion:s.default.cloneDeep(o.default.question),headerInfo:t,exam:{id:"",semester_id:"",title:"",score:"",work_contents:"",group:[]},param:{semester_id:"",course_id:"",raw:""},count:0,startTime:"",setTime:null,radioCur:"",checkCur:"",curPage:1,selectId:"",progress:"",total:7,lastPage:!1}},mounted:function(){var t=window.localStorage.getItem("quesLocal"+this.sid+this.cid),e=window.localStorage.getItem("quesPage"+this.sid+this.cid),i=window.localStorage.getItem("quesSelectId"+this.sid+this.cid);t&&(o.default.question=JSON.parse(t),this.curPage=e,this.selectId=i),this.loadQuestion()},destroyed:function(){o.default.question=this.dataQuestion},methods:{goSubmit:function(){for(var e=this,t=0;t<o.default.question.length;t++){var i=o.default.question[t];if(3===i.type)for(var s=0;s<i.arr.length;s++)if(0===i.arr[s].star)return void this.$message.error("尚有内容未填写,请填写完整每一项");if(4===i.type&&""===i.area)return void this.$message.error("尚有内容未填写,请填写完整每一项")}var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});r.default.chapterAction.updateSurveyAnswer({semester_id:this.sid,course_id:this.cid,contents:n.default.encode(JSON.stringify(o.default.question))}).then(function(t){e.$message.success("感谢你的宝贵意见。"),window.localStorage.removeItem("quesLocal"+e.sid+e.cid),window.localStorage.removeItem("quesPage"+e.sid+e.cid),window.localStorage.removeItem("quesSelectId"+e.sid+e.cid),a.close(),setTimeout(function(){e.$router.push({path:"/app/my-learn/course-detail/"+e.sid+"/"+e.cid})},2e3)}).catch(function(t){window.localStorage.setItem("quesLocal"+e.sid+e.cid,JSON.stringify(o.default.question)),window.localStorage.setItem("quesPage"+e.sid+e.cid,e.curPage),window.localStorage.setItem("quesSelectId"+e.sid+e.cid,e.selectId),e.$message.error("提交失败,请稍后刷新重试"),a.close()})},loadQuestion:function(){this.exam.group=[];for(var t=0;t<o.default.question.length;t++){var e=new RegExp("^\\d+-"+this.curPage,"gi");console.log(e,o.default.question[t].id),e.test(o.default.question[t].id)&&(this.exam.group.push(o.default.question[t]),o.default.question[t].submit?this.lastPage=!0:this.lastPage=!1)}this.progress=(this.curPage-1)/this.total*100+"%"},nextPage:function(){for(var t=0;t<this.exam.group.length;t++)if(!this.exam.group[t].flag)return void this.$message.error("本页尚有题目未填写");this.curPage++,this.loadQuestion(),window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(o.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},prevPage:function(){this.curPage--,this.loadQuestion()},radioClick:function(t){this.radioCur=t.currentTarget.dataset.index},radioChange:function(t){for(var e=this.radioCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;i[s].selected=1,this.exam.group[e].flag=!0},checkboxClick:function(t){this.checkboxCur=t.currentTarget.dataset.index},checkboxChange:function(t){for(var e=this.checkboxCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;for(var o=0;o<s.length;o++)i[s[o]].selected=1;s.length?this.exam.group[e].flag=!0:this.exam.group[e].flag=!1},hoverStar:function(t,e,i){},setStar:function(t,e,i){this.exam.group[t].arr[i].star=e,window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(o.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},leaveSave:function(){window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(o.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)}}}},372:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={question:[{id:"1-1-1",type:3,title:"教学评价:",arr:[{id:"1-1-1-1",option:"教师授课语言的准确度、精练和生动性",star:0},{id:"2-1-1-1",option:"教师授课思路的清晰和连贯性",star:0},{id:"3-1-1-1",option:"老师准备的教学工具是否到位",star:0},{id:"4-1-1-1",option:"老师的专业知识和能力",star:0},{id:"5-1-1-1",option:"对老师教学的整体评价",star:0}]},{id:"2-1-2",type:3,title:"课程内容评价:",arr:[{id:"1-2-1-2",option:"学到了有用的概念或工具",star:0},{id:"2-2-1-2",option:"内容逻辑清晰,重点突出",star:0},{id:"3-2-1-2",option:"课程安排的教学进度",star:0},{id:"4-2-1-2",option:"能够提升理论高度/拓展思维",star:0},{id:"5-2-1-2",option:"对课程的整体评价",star:0}]},{id:"3-1-3",type:3,title:"教务评价:",arr:[{id:"1-3-1-3",option:"班主任老师的带班能力(对班级的管理、对学生学习的督促以及解决学生问题的能力等)",star:0},{id:"2-3-1-3",option:"班主任老师的专业度(对课程的了解、对学生的了解和解答问题的专业性)",star:0},{id:"3-3-1-3",option:"班主任老师的总体满意度",star:0}]},{id:"4-1-4",type:4,title:"对于本次课程,您的收获是什么?",arr:[],area:""},{id:"5-1-5",type:4,title:"对于本次课程,您对老师的教学有什么好的建议?",arr:[],area:""},{id:"6-1-6",type:4,title:"对于本次课程,您对课程安排有什么好的建议?",arr:[],area:""},{id:"7-1-7",type:4,title:"对于本次课程,您对教务管理、班级管理方面有什么建议?",arr:[],area:"",submit:!0}]}},373:function(t,e,i){},414:function(t,e,i){"use strict";var s=i(373);i.n(s).a},433:function(t,e,i){"use strict";var s=function(){var a=this,t=a.$createElement,o=a._self._c||t;return o("div",{staticClass:"survey-container"},[o("div",{staticClass:"header"},[o("div",{staticClass:"title"},[a._v("索菲亚MBA课程教学服务评估表")]),a._v(" "),o("div",{staticClass:"sub-title"},[a._v("您好!为保证我们能够为您提供更优质的课程,提高教学质量及服务,请您对此次课程提出宝贵的意见和建议。感谢您对我们工作的支持!(请您选择星级,选中1颗星为1分,最高5颗星)。请用1(低)到5(高)为每一项打分,并加上任何您想写的评论。")]),a._v(" "),o("div",{staticClass:"sub-left"},[a._v("课程名称:"+a._s(a.headerInfo.title)+"\n ")])]),a._v(" "),o("div",{staticClass:"progress"},[o("div",{staticClass:"cur-progress",style:{width:a.progress}})]),a._v(" "),o("div",{staticClass:"exam-box"},[a._l(a.exam.group,function(i,s){return[1===i.type?[o("div",{key:s,staticClass:"q-group",attrs:{"data-index":s},on:{click:a.radioClick}},[o("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),o("el-radio-group",{staticClass:"radio-group",on:{change:a.radioChange},model:{value:i.sel,callback:function(t){a.$set(i,"sel",t)},expression:"item.sel"}},[a._l(i.arr,function(e,t){return[o("el-radio",{key:t,class:["radio"],attrs:{label:t,disabled:!!i.cur}},[a._v(a._s(e.option))]),a._v(" "),void 0!==e.txt&&e.selected?[o("el-input",{key:e.id,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){a.$set(e,"txt",t)},expression:"item1.txt"}})]:a._e()]})],2)],1)]:a._e(),a._v(" "),2===i.type?[o("div",{key:s,staticClass:"q-group",attrs:{"data-index":s},on:{click:a.checkboxClick}},[o("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),o("el-checkbox-group",{staticClass:"checkbox-group",on:{change:a.checkboxChange},model:{value:i.arrSel,callback:function(t){a.$set(i,"arrSel",t)},expression:"item.arrSel"}},[a._l(i.arr,function(e,t){return[o("el-checkbox",{key:e.id,class:["checkbox"],attrs:{label:t,disabled:!!i.cur}},[a._v(a._s(e.option))]),a._v(" "),void 0!==e.txt&&e.selected?[o("el-input",{key:t,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){a.$set(e,"txt",t)},expression:"item1.txt"}})]:a._e()]})],2)],1)]:a._e(),a._v(" "),3===i.type||4===i.type?[o("div",{key:s,staticClass:"q-group"},[o("div",{staticClass:"q-item"},[a._v(a._s(i.title))]),a._v(" "),a._l(i.arr,function(t,e){return[o("div",{key:t.id,staticClass:"star-item"},[o("div",{staticClass:"left-txt"},[a._v(a._s(t.option))]),a._v(" "),void 0!==t.star?[o("div",{staticClass:"right-stars"},[o("i",{class:["icon",1<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){a.setStar(s,1,e)},mouseenter:function(t){a.hoverStar(s,1,e)}}}),a._v(" "),o("i",{class:["icon",2<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){a.setStar(s,2,e)},mouseenter:function(t){a.hoverStar(s,2,e)}}}),a._v(" "),o("i",{class:["icon",3<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){a.setStar(s,3,e)},mouseenter:function(t){a.hoverStar(s,3,e)}}}),a._v(" "),o("i",{class:["icon",4<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){a.setStar(s,4,e)},mouseenter:function(t){a.hoverStar(s,4,e)}}}),a._v(" "),o("i",{class:["icon",5===t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){a.setStar(s,5,e)},mouseenter:function(t){a.hoverStar(s,5,e)}}})])]:a._e()],2)]}),a._v(" "),o("div",{staticStyle:{width:"100%",height:"20px"}}),a._v(" "),void 0!==i.area?[o("el-input",{attrs:{type:"textarea",rows:4,placeholder:"还有哪些需要改进的方面"},on:{blur:a.leaveSave},model:{value:i.area,callback:function(t){a.$set(i,"area",t)},expression:"item.area"}})]:a._e()],2)]:a._e()]}),a._v(" "),o("div",{staticClass:"bottom"},[a._v("如果您在紫荆MBA学位课程的收获比较大,我们会非常感谢您帮助我们推荐和您一样优秀的学员加入到MBA的大家庭,具体请联系您所在班的班主任。")]),a._v(" "),o("div",{class:["btn",1<this.curPage?"":"none"],on:{click:a.prevPage}},[a._v("上一页")]),a._v(" "),a.lastPage?[o("div",{staticClass:"btn",on:{click:a.goSubmit}},[a._v("提交")])]:[o("div",{staticClass:"btn",on:{click:a.nextPage}},[a._v("下一页")])]],2)])},a=[];i.d(e,"a",function(){return s}),i.d(e,"b",function(){return a})}}]);
\ No newline at end of file
.checkbox-group,.radio-group{float:left;width:100%}.checkbox-group .checkbox,.radio-group .radio{display:block;margin-left:0;font-size:20px;line-height:2}.checkbox-group .checkbox .el-checkbox__label,.radio-group .radio .el-radio__label{font-size:20px;font-weight:400;color:#313131}.checkbox-group .checkbox.is-checked .el-checkbox__label,.radio-group .radio.is-checked .el-radio__label{color:#a98c58}.radio-group .radio .el-radio__input{float:left;margin:10px 0 0 5px;vertical-align:text-top}.radio-group .radio .el-radio__input .el-radio__inner{width:20px;height:20px;border-color:#313131}.radio-group .radio .el-radio__input.is-checked .el-radio__inner{background:transparent;border-color:#a98c58}.radio-group .radio .el-radio__input.is-checked .el-radio__inner:after{width:9px;height:9px;background:#a98c58}.checkbox-group .checkbox .el-checkbox__input{float:left;margin:10px 0 0 5px;vertical-align:text-top}.checkbox-group .checkbox .el-checkbox__input .el-checkbox__inner{width:20px;height:20px;border-color:#313131}.checkbox-group .checkbox .el-checkbox__input.is-checked .el-checkbox__inner{background:transparent;border-color:#a98c58}.checkbox-group .checkbox .el-checkbox__input.is-checked .el-checkbox__inner:after{top:2px;left:5px;border-width:2px;width:5px;height:9px;border-color:#a98c58}.survey-container[data-v-e0754e8c]{display:block;max-width:900px;margin:0 auto}.survey-container .bottom[data-v-e0754e8c]{float:left;margin-top:20px;font-size:20px;text-align:justify}.survey-container .header[data-v-e0754e8c]{padding:20px;background:#fff;width:100%}.survey-container .header .title[data-v-e0754e8c]{font-size:30px;text-align:center;margin-bottom:10px}.survey-container .header .sub-title[data-v-e0754e8c]{padding:0 30px;text-indent:40px;font-size:16px;text-align:justify;margin-bottom:20px}.survey-container .header .sub-left[data-v-e0754e8c]{font-size:20px;padding-left:30px}.survey-container .header .sub-left .sub-right[data-v-e0754e8c]{float:right}.survey-container .header img[data-v-e0754e8c]{display:block;width:100%}.survey-container .progress[data-v-e0754e8c]{width:100%;height:6px;background:#b5b5b5}.survey-container .progress .cur-progress[data-v-e0754e8c]{display:block;height:100%;background:#ebbb14}.survey-container .exam-box[data-v-e0754e8c]{padding:55px 8.7% 100px;background:#fff;overflow:hidden}.survey-container .exam-box .q-group[data-v-e0754e8c]{padding:20px 0 10px;font-size:20px;color:#313131;border-bottom:1px dashed #dcdcdc;overflow:hidden}.survey-container .exam-box .q-group .q-item[data-v-e0754e8c]{display:block;font-weight:700;margin-bottom:10px}.survey-container .exam-box .q-group .star-item[data-v-e0754e8c]{line-height:2;overflow:hidden}.survey-container .exam-box .q-group .star-item .left-txt[data-v-e0754e8c]{float:left;width:70%}.survey-container .exam-box .q-group .star-item .right-stars[data-v-e0754e8c]{float:right}.survey-container .exam-box .q-group .star-item .right-stars .icon[data-v-e0754e8c]{font-size:24px;cursor:pointer}.survey-container .exam-box .q-group .star-item .right-stars .icon.el-icon-self-star_full[data-v-e0754e8c]{color:#a98c58}.survey-container .exam-box .q-group[data-v-e0754e8c]:last-child{border-bottom:none}.survey-container .exam-box .btn[data-v-e0754e8c]{float:left;width:150px;height:42px;margin-top:50px;margin-right:25px;text-align:center;font-size:18px;line-height:42px;color:#eedfb1;background:#b01b3c;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;cursor:pointer}.survey-container .exam-box .btn.none[data-v-e0754e8c]{display:none}
\ No newline at end of file
.checkbox-group,.radio-group{float:left;width:100%}.checkbox-group .checkbox,.radio-group .radio{display:block;margin-left:0;font-size:20px;line-height:2}.checkbox-group .checkbox .el-checkbox__label,.radio-group .radio .el-radio__label{font-size:20px;font-weight:400;color:#313131}.checkbox-group .checkbox.is-checked .el-checkbox__label,.radio-group .radio.is-checked .el-radio__label{color:#a98c58}.radio-group .radio .el-radio__input{float:left;margin:10px 0 0 5px;vertical-align:text-top}.radio-group .radio .el-radio__input .el-radio__inner{width:20px;height:20px;border-color:#313131}.radio-group .radio .el-radio__input.is-checked .el-radio__inner{background:transparent;border-color:#a98c58}.radio-group .radio .el-radio__input.is-checked .el-radio__inner:after{width:9px;height:9px;background:#a98c58}.checkbox-group .checkbox .el-checkbox__input{float:left;margin:10px 0 0 5px;vertical-align:text-top}.checkbox-group .checkbox .el-checkbox__input .el-checkbox__inner{width:20px;height:20px;border-color:#313131}.checkbox-group .checkbox .el-checkbox__input.is-checked .el-checkbox__inner{background:transparent;border-color:#a98c58}.checkbox-group .checkbox .el-checkbox__input.is-checked .el-checkbox__inner:after{top:2px;left:5px;border-width:2px;width:5px;height:9px;border-color:#a98c58}.survey-container[data-v-78a03780]{display:block;max-width:640px;height:100%;margin:0 auto;background:#fff}.survey-container .header[data-v-78a03780]{font-size:20px;text-align:center;padding:20px;background:#fff;width:100%}.survey-container .header img[data-v-78a03780]{display:block;width:100%}.survey-container .progress[data-v-78a03780]{width:100%;height:6px;background:#b5b5b5}.survey-container .progress .cur-progress[data-v-78a03780]{display:block;height:100%;background:#ebbb14}.survey-container .exam-box[data-v-78a03780]{position:relative;padding:20px 20px 70px;background:#fff;overflow:hidden}.survey-container .exam-box .q-group[data-v-78a03780]{padding:0;font-size:20px;color:#313131;overflow:hidden}.survey-container .exam-box .q-group .q-item[data-v-78a03780]{display:block;font-weight:700;margin-bottom:10px}.survey-container .exam-box .q-group .star-item[data-v-78a03780]{line-height:2;overflow:hidden}.survey-container .exam-box .q-group .star-item .left-txt[data-v-78a03780]{float:left;width:58%;font-size:18px;line-height:40px}.survey-container .exam-box .q-group .star-item .right-stars[data-v-78a03780]{float:right}.survey-container .exam-box .q-group .star-item .right-stars .icon[data-v-78a03780]{font-size:18px;cursor:pointer}.survey-container .exam-box .q-group .star-item .right-stars .icon.el-icon-self-star_full[data-v-78a03780]{color:#a98c58}.survey-container .exam-box .q-group[data-v-78a03780]:last-child{border-bottom:none}.survey-container .exam-box .btns-fix[data-v-78a03780]{position:fixed;left:0;bottom:0;width:100%}.survey-container .exam-box .btns-fix .btn[data-v-78a03780]{float:left;width:100%;height:50px;text-align:center;font-size:18px;line-height:50px;color:#eedfb1;background:#b01b3c;cursor:pointer}.survey-container .exam-box .btns-fix .btn.none[data-v-78a03780]{display:none}.survey-container .exam-box .btns-fix .btn.two[data-v-78a03780]{width:50%}.survey-container .exam-box .btns-fix .btn.c-btn[data-v-78a03780]{background:#b5b5b5;color:#fff}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{276:function(t,e,i){"use strict";i.r(e);var s=i(431),a=i(374);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);i(415);var r=i(1),n=Object(r.a)(a.default,s.a,s.b,!1,null,"78a03780",null);n.options.__file="surveyPhone.vue",e.default=n.exports},372:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={question:[{id:"1-1-1",type:3,title:"教学评价:",arr:[{id:"1-1-1-1",option:"教师授课语言的准确度、精练和生动性",star:0},{id:"2-1-1-1",option:"教师授课思路的清晰和连贯性",star:0},{id:"3-1-1-1",option:"老师准备的教学工具是否到位",star:0},{id:"4-1-1-1",option:"老师的专业知识和能力",star:0},{id:"5-1-1-1",option:"对老师教学的整体评价",star:0}]},{id:"2-1-2",type:3,title:"课程内容评价:",arr:[{id:"1-2-1-2",option:"学到了有用的概念或工具",star:0},{id:"2-2-1-2",option:"内容逻辑清晰,重点突出",star:0},{id:"3-2-1-2",option:"课程安排的教学进度",star:0},{id:"4-2-1-2",option:"能够提升理论高度/拓展思维",star:0},{id:"5-2-1-2",option:"对课程的整体评价",star:0}]},{id:"3-1-3",type:3,title:"教务评价:",arr:[{id:"1-3-1-3",option:"班主任老师的带班能力(对班级的管理、对学生学习的督促以及解决学生问题的能力等)",star:0},{id:"2-3-1-3",option:"班主任老师的专业度(对课程的了解、对学生的了解和解答问题的专业性)",star:0},{id:"3-3-1-3",option:"班主任老师的总体满意度",star:0}]},{id:"4-1-4",type:4,title:"对于本次课程,您的收获是什么?",arr:[],area:""},{id:"5-1-5",type:4,title:"对于本次课程,您对老师的教学有什么好的建议?",arr:[],area:""},{id:"6-1-6",type:4,title:"对于本次课程,您对课程安排有什么好的建议?",arr:[],area:""},{id:"7-1-7",type:4,title:"对于本次课程,您对教务管理、班级管理方面有什么建议?",arr:[],area:"",submit:!0}]}},374:function(t,e,i){"use strict";i.r(e);var s=i(375),a=i.n(s);for(var o in s)"default"!==o&&function(t){i.d(e,t,function(){return s[t]})}(o);e.default=a.a},375:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n(i(372)),a=n(i(72)),o=n(i(74)),r=n(i(73));function n(t){return t&&t.__esModule?t:{default:t}}e.default={props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){var t=JSON.parse(window.localStorage.getItem("headerInfo")||"{}");return{dataQuestion:r.default.assignIn({},s.default.question),headerInfo:t,exam:{id:"",semester_id:"",title:"",score:"",work_contents:"",group:[]},param:{semester_id:"",course_id:"",raw:""},count:0,startTime:"",setTime:null,radioCur:"",checkCur:"",curPage:1,selectId:"",progress:"",total:7,lastPage:!1}},mounted:function(){var t=window.localStorage.getItem("quesLocal"+this.sid+this.cid),e=window.localStorage.getItem("quesPage"+this.sid+this.cid),i=window.localStorage.getItem("quesSelectId"+this.sid+this.cid);t&&(s.default.question=JSON.parse(t),this.curPage=e,this.selectId=i),this.loadQuestion()},destroyed:function(){s.default.question=this.dataQuestion},methods:{goSubmit:function(){var e=this,i=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});a.default.chapterAction.updateSurveyAnswer({semester_id:this.sid,course_id:this.cid,raw:o.default.encode(JSON.stringify(s.default.question))}).then(function(t){t.id&&e.$router.push({path:"/result/"+e.iphone+"/"+encodeURIComponent(e.email)+"/"+t.id}),window.localStorage.removeItem("quesLocal"+e.sid+e.cid),window.localStorage.removeItem("quesPage"+e.sid+e.cid),window.localStorage.removeItem("quesSelectId"+e.sid+e.cid),i.close()}).catch(function(t){window.localStorage.setItem("quesLocal"+e.sid+e.cid,JSON.stringify(s.default.question)),window.localStorage.setItem("quesPage"+e.sid+e.cid,e.curPage),window.localStorage.setItem("quesSelectId"+e.sid+e.cid,e.selectId),e.$message.error("提交失败,请稍后刷新重试"),i.close()})},loadQuestion:function(){this.exam.group=[];for(var t=0;t<s.default.question.length;t++){new RegExp("$\\d+-"+this.curPage,"gi").test(s.default.question[t].id)&&(this.exam.group.push(s.default.question[t]),s.default.question[t].submit?this.lastPage=!0:this.lastPage=!1)}this.progress=(this.curPage-1)/this.total*100+"%"},nextPage:function(){for(var t=0;t<this.exam.group.length;t++)if(!this.exam.group[t].flag)return void this.$message.error("本页尚有题目未填写");4===this.curPage&&(this.exam.group[0].arr[3].selected?this.selectId="4-4":this.selectId="4-1"),this.curPage++,this.loadQuestion(),window.localStorage.setItem("quesLocal"+this.sid+this.cid,JSON.stringify(s.default.question)),window.localStorage.setItem("quesPage"+this.sid+this.cid,this.curPage),window.localStorage.setItem("quesSelectId"+this.sid+this.cid,this.selectId)},prevPage:function(){this.curPage--,this.curPage<=4&&(this.selectId=""),this.loadQuestion()},radioClick:function(t){this.radioCur=t.currentTarget.dataset.index},radioChange:function(t){for(var e=this.radioCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;i[s].selected=1,this.exam.group[e].flag=!0},checkboxClick:function(t){this.checkboxCur=t.currentTarget.dataset.index},checkboxChange:function(t){for(var e=this.checkboxCur,i=this.exam.group[e].arr,s=t,a=0;a<i.length;a++)i[a].selected=0;for(var o=0;o<s.length;o++)i[s[o]].selected=1;s.length?this.exam.group[e].flag=!0:this.exam.group[e].flag=!1},hoverStar:function(t,e){},setStar:function(t,e){this.exam.group[0].arr[e].star=t}}}},376:function(t,e,i){},415:function(t,e,i){"use strict";var s=i(376);i.n(s).a},431:function(t,e,i){"use strict";var s=function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("div",{staticClass:"survey-container"},[a("div",{staticClass:"header"},[s._v("\n "+s._s(s.headerInfo.title)+"(课程评估)\n ")]),s._v(" "),a("div",{staticClass:"progress"},[a("div",{staticClass:"cur-progress",style:{width:s.progress}})]),s._v(" "),a("div",{staticClass:"exam-box"},[s._l(s.exam.group,function(i,t){return[1===i.type?[a("div",{key:t,staticClass:"q-group",attrs:{"data-index":t},on:{click:s.radioClick}},[a("div",{staticClass:"q-item"},[s._v(s._s(i.title))]),s._v(" "),a("el-radio-group",{staticClass:"radio-group",on:{change:s.radioChange},model:{value:i.sel,callback:function(t){s.$set(i,"sel",t)},expression:"item.sel"}},[s._l(i.arr,function(e,t){return[a("el-radio",{key:t,class:["radio"],attrs:{label:t,disabled:!!i.cur}},[s._v(s._s(e.option))]),s._v(" "),void 0!==e.txt&&e.selected?[a("el-input",{key:e.id,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){s.$set(e,"txt",t)},expression:"item1.txt"}})]:s._e()]})],2)],1)]:s._e(),s._v(" "),2===i.type?[a("div",{key:t,staticClass:"q-group",attrs:{"data-index":t},on:{click:s.checkboxClick}},[a("div",{staticClass:"q-item"},[s._v(s._s(i.title))]),s._v(" "),a("el-checkbox-group",{staticClass:"checkbox-group",on:{change:s.checkboxChange},model:{value:i.arrSel,callback:function(t){s.$set(i,"arrSel",t)},expression:"item.arrSel"}},[s._l(i.arr,function(e,t){return[a("el-checkbox",{key:e.id,class:["checkbox"],attrs:{label:t,disabled:!!i.cur}},[s._v(s._s(e.option))]),s._v(" "),void 0!==e.txt&&e.selected?[a("el-input",{key:t,attrs:{placeholder:"请说明"},model:{value:e.txt,callback:function(t){s.$set(e,"txt",t)},expression:"item1.txt"}})]:s._e()]})],2)],1)]:s._e(),s._v(" "),3===i.type?[a("div",{key:t,staticClass:"q-group"},[a("div",{staticClass:"q-item"},[s._v(s._s(i.title))]),s._v(" "),s._l(i.arr,function(t,e){return[a("div",{key:t.id,staticClass:"star-item"},[a("div",{staticClass:"left-txt"},[s._v(s._s(t.option))]),s._v(" "),void 0!==t.star?[a("div",{staticClass:"right-stars"},[a("i",{class:["icon",1<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){s.setStar(1,e)},mouseenter:function(t){s.hoverStar(1,e)}}}),s._v(" "),a("i",{class:["icon",2<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){s.setStar(2,e)},mouseenter:function(t){s.hoverStar(2,e)}}}),s._v(" "),a("i",{class:["icon",3<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){s.setStar(3,e)},mouseenter:function(t){s.hoverStar(3,e)}}}),s._v(" "),a("i",{class:["icon",4<=t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){s.setStar(4,e)},mouseenter:function(t){s.hoverStar(4,e)}}}),s._v(" "),a("i",{class:["icon",5===t.star?"el-icon-self-star_full":"el-icon-self-wujiaoxing"],on:{click:function(t){s.setStar(5,e)},mouseenter:function(t){s.hoverStar(5,e)}}})])]:s._e()],2)]}),s._v(" "),a("div",{staticStyle:{width:"100%",height:"20px"}}),s._v(" "),a("el-input",{attrs:{type:"textarea",rows:4,placeholder:"还有哪些需要改进的方面"},model:{value:i.textarea,callback:function(t){s.$set(i,"textarea",t)},expression:"item.textarea"}})],2)]:s._e()]}),s._v(" "),a("div",{staticClass:"btns-fix"},[a("div",{class:["btn",1<this.curPage?"two c-btn":"none"],on:{click:s.prevPage}},[s._v("上一页")]),s._v(" "),s.lastPage?[a("div",{class:["btn",this.lastPage?"two":""],on:{click:s.goSubmit}},[s._v("提交")])]:[a("div",{class:["btn",1<this.curPage?"two":""],on:{click:s.nextPage}},[s._v("下一页")])]],2)],2)])},a=[];i.d(e,"a",function(){return s}),i.d(e,"b",function(){return a})}}]);
\ No newline at end of file
.play .exam[data-v-7d91040c]{padding:0}.play .exam .topic[data-v-7d91040c]{display:inline-block;margin-bottom:.1rem}.play .exam .topic .tit[data-v-7d91040c]{margin:0 auto;padding:0 .2rem;text-align:center;font-size:.24rem;color:#313131;background:#fff;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.play .exam .topic .cur[data-v-7d91040c]{text-align:center;font-size:.18rem;color:#313131;line-height:.4rem}.play .exam .q-group[data-v-7d91040c]{padding:.1rem;border-bottom:1px solid hsla(0,0%,78.8%,.48);overflow:hidden}.play .exam .q-group .q-num[data-v-7d91040c]{float:left;margin-right:.1rem;font-size:.16rem;color:#676a6c}.play .exam .q-group .q-title[data-v-7d91040c]{float:left;width:90%;font-size:.16rem;color:#676a6c;text-align:justify}.play .exam .q-group .q-type[data-v-7d91040c]{float:right;font-size:.16rem;color:#676a6c}.play .exam .q-group .radio-group[data-v-7d91040c]{float:left;margin-top:.1rem;width:100%}.play .exam .q-group .radio-group .radio[data-v-7d91040c]{display:block;font-size:.18rem;color:#3f3b3a;line-height:.3rem;margin-bottom:.1rem}.play .exam .q-group .checkbox-group[data-v-7d91040c]{float:left;margin-top:.1rem;width:100%}.play .exam .q-group .checkbox-group .checkbox[data-v-7d91040c]{display:block;font-size:.18rem;color:#3f3b3a;line-height:.3rem;margin-bottom:.1rem}.play .exam .q-group .checkbox-group .checkbox.error[data-v-7d91040c],.play .exam .q-group .radio-group .radio.error[data-v-7d91040c]{color:#d80000}.play .exam .q-group .checkbox-group .checkbox.success[data-v-7d91040c],.play .exam .q-group .radio-group .radio.success[data-v-7d91040c]{color:#090}.play .exam .q-group .result[data-v-7d91040c]{float:right;font-size:.18rem;color:#3f3b3a;margin-right:0}.play .exam .q-group .result .stu[data-v-7d91040c]{display:inline-block}.play .exam .q-group .result .stu.error[data-v-7d91040c]{color:#d80000}.play .exam .q-group .result .stu.success[data-v-7d91040c]{color:#090}.play .exam .q-group[data-v-7d91040c]:last-child{border-bottom:none}.play .exam .btn[data-v-7d91040c]{margin:.2rem auto;width:60%;height:.5rem;line-height:.5rem;font-size:.16rem;text-align:center;font-weight:300;color:#fff;-webkit-border-radius:.1rem;-moz-border-radius:.1rem;border-radius:.1rem;background:#b49441;cursor:pointer}.play .exam .btn.on[data-v-7d91040c]{opacity:.5}.play .exam .care[data-v-7d91040c]{font-size:.16rem;color:#d80000;text-align:center}
\ No newline at end of file
.play .exam[data-v-2f385216]{padding:0}.play .exam .topic[data-v-2f385216]{display:inline-block;margin-bottom:.1rem}.play .exam .topic .tit[data-v-2f385216]{margin:0 auto;padding:0 .2rem;text-align:center;font-size:.24rem;color:#313131;background:#fff;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.play .exam .topic .cur[data-v-2f385216]{text-align:center;font-size:.18rem;color:#313131;line-height:.4rem}.play .exam .q-group[data-v-2f385216]{padding:.1rem;border-bottom:1px solid hsla(0,0%,78.8%,.48);overflow:hidden}.play .exam .q-group .q-num[data-v-2f385216]{float:left;margin-right:.1rem;font-size:.16rem;color:#676a6c}.play .exam .q-group .q-title[data-v-2f385216]{float:left;width:90%;font-size:.16rem;color:#676a6c;text-align:justify}.play .exam .q-group .q-type[data-v-2f385216]{float:right;font-size:.16rem;color:#676a6c}.play .exam .q-group .radio-group[data-v-2f385216]{float:left;margin-top:.1rem;width:100%}.play .exam .q-group .radio-group .radio[data-v-2f385216]{display:block;font-size:.18rem;color:#3f3b3a;line-height:.3rem;margin-bottom:.1rem}.play .exam .q-group .checkbox-group[data-v-2f385216]{float:left;margin-top:.1rem;width:100%}.play .exam .q-group .checkbox-group .checkbox[data-v-2f385216]{display:block;font-size:.18rem;color:#3f3b3a;line-height:.3rem;margin-bottom:.1rem}.play .exam .q-group .checkbox-group .checkbox.error[data-v-2f385216],.play .exam .q-group .radio-group .radio.error[data-v-2f385216]{color:#d80000}.play .exam .q-group .checkbox-group .checkbox.success[data-v-2f385216],.play .exam .q-group .radio-group .radio.success[data-v-2f385216]{color:#090}.play .exam .q-group .result[data-v-2f385216]{float:right;font-size:.18rem;color:#3f3b3a;margin-right:0}.play .exam .q-group .result .stu[data-v-2f385216]{display:inline-block}.play .exam .q-group .result .stu.error[data-v-2f385216]{color:#d80000}.play .exam .q-group .result .stu.success[data-v-2f385216]{color:#090}.play .exam .q-group[data-v-2f385216]:last-child{border-bottom:none}.play .exam .btn[data-v-2f385216]{margin:.2rem auto;width:60%;height:.5rem;line-height:.5rem;font-size:.16rem;text-align:center;font-weight:300;color:#fff;-webkit-border-radius:.1rem;-moz-border-radius:.1rem;border-radius:.1rem;background:#b49441;cursor:pointer}.play .exam .btn.on[data-v-2f385216]{opacity:.5}.play .exam .care[data-v-2f385216]{font-size:.16rem;color:#d80000;text-align:center}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{270:function(e,t,r){"use strict";r.r(t);var s=r(430),a=r(357);for(var i in a)"default"!==i&&function(e){r.d(t,e,function(){return a[e]})}(i);r(404);var c=r(1),o=Object(c.a)(a.default,s.a,s.b,!1,null,"7d91040c",null);o.options.__file="chapterExam.vue",t.default=o.exports},357:function(e,t,r){"use strict";r.r(t);var s=r(358),a=r.n(s);for(var i in s)"default"!==i&&function(e){r.d(t,e,function(){return s[e]})}(i);t.default=a.a},358:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s,a=r(72),h=(s=a)&&s.__esModule?s:{default:s};t.default={props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterExam:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{exam:{},param:{course_id:"",chapter_id:"",work_id:"",semester_id:"",work_contents:"",duration:0,score:0},startTime:"",recordAll:[],setTime:null,radioCur:"",checkCur:""}},mounted:function(){this.loadAjax()},methods:{arrRandomSort:function(e){var t=null;t=e.shift(),e.push(t),t=e.shift(),e.push(t),t=e.shift(),e.push(t)},unArrRandomSort:function(e){var t=null;t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t)},updateData:function(d){return this.param={course_id:d.course_id,chapter_id:d.chapter_id,work_id:d.work_id,semester_id:d.semester_id,work_contents:"",duration:0,score:0},this.startTime=(new Date).getTime(),this.arrRandomSort(d.questions),{id:d.id,semester_id:d.semester_id,title:d.work_title,score:d.score||(0===d.score?"0":""),work_contents:d.work_contents||"",group:d.questions.map(function(e,t){var r="",s="",a=0,i=JSON.parse(e.question_options);i.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,"}});var c="";if(d.work_contents){for(var o=JSON.parse(d.work_contents),n=0;n<o.length;n++)if(o[n].question_id===e.id){i=o[n].options,a=o[n].is_correct;break}if(1===e.question_type)for(var u=0;u<i.length;u++)if(i[u].selected){switch(c=u){case 0:s="A,";break;case 1:s="B,";break;case 2:s="C,";break;case 3:s="D,";break;case 4:s="E,";break;case 5:s="F,"}break}if(2===e.question_type)for(var l=0;l<i.length;l++)if(i[l].selected)switch(l){case 0:s+="A,";break;case 1:s+="B,";break;case 2:s+="C,";break;case 3:s+="D,";break;case 4:s+="E,";break;case 5:s+="F,"}}return{id:e.id,type:e.question_type,title:e.question_content,arr:i,cur:d.work_contents&&r.substr(0,r.length-1)||"",arrSel:[],sel:c,stuAnswer:s.substr(0,s.length-1),is_correct:a}})}},updateData1:function(e){this.exam.id=e.id,this.exam.semester_id=e.semester_id,this.exam.title=e.work_title,this.exam.score=e.score||"0",this.exam.work_contents=e.work_contents||"",this.arrRandomSort(e.questions);for(var t=0;t<this.exam.group.length;t++){var r="",s="",a=0,i=e.questions[t],c=JSON.parse(i.question_options);c.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,"}});var o="";if(e.work_contents){for(var n=JSON.parse(e.work_contents),u=0;u<n.length;u++)if(n[u].question_id===i.id){c=n[u].options,a=n[u].is_correct;break}if(1===i.question_type)for(var l=0;l<c.length;l++)if(c[l].selected){switch(o=l){case 0:s="A,";break;case 1:s="B,";break;case 2:s="C,";break;case 3:s="D,";break;case 4:s="E,";break;case 5:s="F,"}break}if(2===i.question_type)for(var d=0;d<c.length;d++)if(c[d].selected)switch(d){case 0:s+="A,";break;case 1:s+="B,";break;case 2:s+="C,";break;case 3:s+="D,";break;case 4:s+="E,";break;case 5:s+="F,"}}this.exam.group[t].id=i.id,this.exam.group[t].type=i.question_type,this.exam.group[t].title=i.question_content,this.exam.group[t].cur=e.work_contents&&r.substr(0,r.length-1)||"",this.exam.group[t].arrSel=[],this.exam.group[t].sel=o,this.exam.group[t].stuAnswer=s.substr(0,s.length-1),this.exam.group[t].is_correct=a;for(var h=this.exam.group[t].arr,p=0;p<h.length;p++)h[p].selected=c[p].selected,h[p].id=h[p].id+"1"}},loadAjax:function(){var r=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getExamDetail(this.sid,this.id).then(function(e){var t=e.homework;r.exam=t?(t.score=e.score,t.work_contents=e.work_contents,r.updateData(t)):{}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),e.close()})},radioClick:function(e){this.radioCur=e.currentTarget.dataset.index},radioChange:function(e){for(var t=this.radioCur,r=this.exam.group[t].arr,s=e,a=0;a<r.length;a++)r[a].selected=0;r[s].selected=1,this.exam.group[t].arr=r,this.recordAll.push(t)},checkboxClick:function(e){this.checkboxCur=e.currentTarget.dataset.index},checkboxChange:function(e){for(var r=this.checkboxCur,t=this.exam.group[r].arr,s=e,a=0;a<t.length;a++)t[a].selected=0;for(var i=0;i<s.length;i++)t[s[i]].selected=1;this.exam.group[r].arr=t,s.length?this.recordAll.push(r):this.recordAll=this.recordAll.filter(function(e,t){return e!==r})},submitExam:function(e){var r=this;if(e.currentTarget.dataset.submit)this.$message.error("已做过,不能再提交");else{this.param.duration=Math.floor(((new Date).getTime()-this.startTime)/1e3);for(var t=this.exam.group,s=t.length,a=[],i=0,c=0,o=0;o<s;o++){for(var n=0;n<this.recordAll.length&&this.recordAll[n]!==o+"";n++);if(n===this.recordAll.length)return void this.$message.error("还有题目未做,不能提交")}for(var u=0;u<t.length;u++){if(c=0,1===t[u].type&&t[u].arr.forEach(function(e,t){e.checked&&e.selected&&(i+=c=1)}),2===t[u].type){var l=!0;t[u].arr.forEach(function(e,t){e.checked!==!!e.selected&&(l=!1)}),l&&(i+=c=1)}a.push({question_id:t[u].id,is_correct:c,options:t[u].arr})}this.unArrRandomSort(a),this.param.work_contents=JSON.stringify(a),this.param.score=(i/s*100).toFixed(1);var d=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.submitExamDetail(this.param).then(function(e){e.status?h.default.chapterAction.getExamDetail(r.sid,r.id).then(function(e){var t=e.homework;t&&(t.score=e.score,t.work_contents=e.work_contents,r.updateData1(t))}).catch(function(e){r.$message.error(e.message)}):r.$message.error(e.data.error)}).catch(function(e){r.$message.error(e.message)}).finally(function(){d.close()})}}},watch:{id:{handler:function(){this.loadAjax()}}}}},359:function(e,t,r){},404:function(e,t,r){"use strict";var s=r(359);r.n(s).a},430:function(e,t,r){"use strict";var s=function(){var s=this,e=s.$createElement,a=s._self._c||e;return a("div",{staticClass:"play-paper"},[a("div",{staticClass:"play-paper-body"},[a("div",{staticClass:"play-paper-title"},[a("div",[a("h3",[s._v(s._s(s.chapterName))])])]),s._v(" "),a("div",{staticClass:"play-paper-content play-chapter-exam"},[this.exam.id?[a("div",{staticClass:"exam"},[a("div",{staticStyle:{"text-align":"center"}},[a("div",{staticClass:"topic"},[s.exam.score?[a("div",{staticClass:"cur"},[s._v("正确率:"+s._s(s.exam.score)+"%")])]:s._e()],2)]),s._v(" "),a("div",{},[s._l(s.exam.group,function(r,e){return[1==r.type?[a("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:s.radioClick}},[a("div",{staticClass:"q-num"},[s._v(s._s(e+1)+".")]),a("div",{staticClass:"q-title",domProps:{innerHTML:s._s(r.title)}}),a("div",{staticClass:"q-type"},[s._v("(单选题)")]),s._v(" "),a("el-radio-group",{staticClass:"radio-group",on:{change:s.radioChange},model:{value:r.sel,callback:function(e){s.$set(r,"sel",e)},expression:"item.sel"}},[s._l(r.arr,function(e,t){return[a("el-radio",{key:t,class:["radio",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,disabled:!!r.cur}},[s._v(s._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":"G")+". "+s._s(e.option))])]})],2),s._v(" "),r.cur?[a("div",{staticClass:"result"},[s._v("学生答案:"),a("div",{class:["stu",r.is_correct?"success":"error"]},[s._v(s._s(r.stuAnswer))]),s._v("    正确答案:"+s._s(r.cur))])]:s._e()],2)]:s._e(),s._v(" "),2==r.type?[a("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:s.checkboxClick}},[a("div",{staticClass:"q-num"},[s._v(s._s(e+1)+".")]),a("div",{staticClass:"q-title",domProps:{innerHTML:s._s(r.title)}}),a("div",{staticClass:"q-type"},[s._v("(多选题)")]),s._v(" "),a("el-checkbox-group",{staticClass:"checkbox-group",on:{change:s.checkboxChange},model:{value:r.arrSel,callback:function(e){s.$set(r,"arrSel",e)},expression:"item.arrSel"}},[s._l(r.arr,function(e,t){return[a("el-checkbox",{key:e.id,class:["checkbox",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,checked:!!e.selected,disabled:!!r.cur}},[s._v(s._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":"G")+". "+s._s(e.option))])]})],2),s._v(" "),r.cur?[a("div",{staticClass:"result"},[s._v("学生答案:"),a("div",{class:["stu",r.is_correct?"success":"error"]},[s._v(s._s(r.stuAnswer))]),s._v("    正确答案:"+s._s(r.cur))])]:s._e()],2)]:s._e()]})],2),s._v(" "),a("div",{class:["btn",s.exam.work_contents&&"on"],attrs:{"data-submit":!!s.exam.work_contents},on:{click:s.submitExam}},[s._v(s._s(s.exam.work_contents?"已提交":"提交"))]),s._v(" "),a("div",{staticClass:"care"},[s._v("(注意:测试只有一次提交机会)")])])]:s._e()],2)])])},a=[];r.d(t,"a",function(){return s}),r.d(t,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{270:function(e,t,r){"use strict";r.r(t);var s=r(425),a=r(359);for(var i in a)"default"!==i&&function(e){r.d(t,e,function(){return a[e]})}(i);r(413);var c=r(1),o=Object(c.a)(a.default,s.a,s.b,!1,null,"2f385216",null);o.options.__file="chapterExam.vue",t.default=o.exports},359:function(e,t,r){"use strict";r.r(t);var s=r(360),a=r.n(s);for(var i in s)"default"!==i&&function(e){r.d(t,e,function(){return s[e]})}(i);t.default=a.a},360:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s,a=r(72),h=(s=a)&&s.__esModule?s:{default:s};t.default={props:{chapterId:{type:String,require:!1},chapterName:{type:String,require:!1},chapterExam:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{exam:{},param:{course_id:"",chapter_id:"",work_id:"",semester_id:"",work_contents:"",duration:0,score:0},startTime:"",recordAll:[],setTime:null,radioCur:"",checkCur:""}},mounted:function(){this.loadAjax()},methods:{arrRandomSort:function(e){var t=null;t=e.shift(),e.push(t),t=e.shift(),e.push(t),t=e.shift(),e.push(t)},unArrRandomSort:function(e){var t=null;t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t),t=e.pop(),e.unshift(t)},updateData:function(l){return this.param={course_id:l.course_id,chapter_id:l.chapter_id,work_id:l.work_id,semester_id:l.semester_id,work_contents:"",duration:0,score:0},this.startTime=(new Date).getTime(),this.arrRandomSort(l.questions),{id:l.id,semester_id:l.semester_id,title:l.work_title,score:l.score||(0===l.score?"0":""),work_contents:l.work_contents||"",group:l.questions.map(function(e,t){var r="",s="",a=0,i=JSON.parse(e.question_options);i.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,"}});var c="";if(l.work_contents){for(var o=JSON.parse(l.work_contents),n=0;n<o.length;n++)if(o[n].question_id===e.id){i=o[n].options,a=o[n].is_correct;break}if(1===e.question_type)for(var u=0;u<i.length;u++)if(i[u].selected){switch(c=u){case 0:s="A,";break;case 1:s="B,";break;case 2:s="C,";break;case 3:s="D,";break;case 4:s="E,";break;case 5:s="F,"}break}if(2===e.question_type)for(var d=0;d<i.length;d++)if(i[d].selected)switch(d){case 0:s+="A,";break;case 1:s+="B,";break;case 2:s+="C,";break;case 3:s+="D,";break;case 4:s+="E,";break;case 5:s+="F,"}}return{id:e.id,type:e.question_type,title:e.question_content,arr:i,cur:l.work_contents&&r.substr(0,r.length-1)||"",arrSel:[],sel:c,stuAnswer:s.substr(0,s.length-1),is_correct:a}})}},updateData1:function(e){this.exam.id=e.id,this.exam.semester_id=e.semester_id,this.exam.title=e.work_title,this.exam.score=e.score||"0",this.exam.work_contents=e.work_contents||"",this.arrRandomSort(e.questions);for(var t=0;t<this.exam.group.length;t++){var r="",s="",a=0,i=e.questions[t],c=JSON.parse(i.question_options);c.forEach(function(e,t){if(e.checked)switch(t){case 0:r+="A,";break;case 1:r+="B,";break;case 2:r+="C,";break;case 3:r+="D,";break;case 4:r+="E,";break;case 5:r+="F,"}});var o="";if(e.work_contents){for(var n=JSON.parse(e.work_contents),u=0;u<n.length;u++)if(n[u].question_id===i.id){c=n[u].options,a=n[u].is_correct;break}if(1===i.question_type)for(var d=0;d<c.length;d++)if(c[d].selected){switch(o=d){case 0:s="A,";break;case 1:s="B,";break;case 2:s="C,";break;case 3:s="D,";break;case 4:s="E,";break;case 5:s="F,"}break}if(2===i.question_type)for(var l=0;l<c.length;l++)if(c[l].selected)switch(l){case 0:s+="A,";break;case 1:s+="B,";break;case 2:s+="C,";break;case 3:s+="D,";break;case 4:s+="E,";break;case 5:s+="F,"}}this.exam.group[t].id=i.id,this.exam.group[t].type=i.question_type,this.exam.group[t].title=i.question_content,this.exam.group[t].cur=e.work_contents&&r.substr(0,r.length-1)||"",this.exam.group[t].arrSel=[],this.exam.group[t].sel=o,this.exam.group[t].stuAnswer=s.substr(0,s.length-1),this.exam.group[t].is_correct=a;for(var h=this.exam.group[t].arr,p=0;p<h.length;p++)h[p].selected=c[p].selected,h[p].id=h[p].id+"1"}},loadAjax:function(){var r=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getExamDetail(this.sid,this.id).then(function(e){var t=e.homework;r.exam=t?(t.score=e.score,t.work_contents=e.work_contents,r.updateData(t)):{}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),e.close()})},radioClick:function(e){this.radioCur=e.currentTarget.dataset.index},radioChange:function(e){for(var t=this.radioCur,r=this.exam.group[t].arr,s=e,a=0;a<r.length;a++)r[a].selected=0;r[s].selected=1,this.exam.group[t].arr=r,this.recordAll.push(t)},checkboxClick:function(e){this.checkboxCur=e.currentTarget.dataset.index},checkboxChange:function(e){for(var r=this.checkboxCur,t=this.exam.group[r].arr,s=e,a=0;a<t.length;a++)t[a].selected=0;for(var i=0;i<s.length;i++)t[s[i]].selected=1;this.exam.group[r].arr=t,s.length?this.recordAll.push(r):this.recordAll=this.recordAll.filter(function(e,t){return e!==r})},submitExam:function(e){var r=this;if(e.currentTarget.dataset.submit)this.$message.error("已做过,不能再提交");else{this.param.duration=Math.floor(((new Date).getTime()-this.startTime)/1e3);for(var t=this.exam.group,s=t.length,a=[],i=0,c=0,o=0;o<s;o++){for(var n=0;n<this.recordAll.length&&this.recordAll[n]!==o+"";n++);if(n===this.recordAll.length)return void this.$message.error("还有题目未做,不能提交")}for(var u=0;u<t.length;u++){if(c=0,1===t[u].type&&t[u].arr.forEach(function(e,t){e.checked&&e.selected&&(i+=c=1)}),2===t[u].type){var d=!0;t[u].arr.forEach(function(e,t){e.checked!==!!e.selected&&(d=!1)}),d&&(i+=c=1)}a.push({question_id:t[u].id,is_correct:c,options:t[u].arr})}this.unArrRandomSort(a),this.param.work_contents=JSON.stringify(a),this.param.score=(i/s*100).toFixed(1);var l=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.submitExamDetail(this.param).then(function(e){e.status?h.default.chapterAction.getExamDetail(r.sid,r.id).then(function(e){var t=e.homework;t&&(t.score=e.score,t.work_contents=e.work_contents,r.updateData1(t))}).catch(function(e){r.$message.error(e.message)}):r.$message.error(e.data.error)}).catch(function(e){r.$message.error(e.message)}).finally(function(){l.close()})}},_SubmitMouseLeftDown:function(){var t=this.repeatExam.bind(this,!1);document.addEventListener("keydown",t,!1);document.addEventListener("mouseup",function e(){document.removeEventListener("keydown",t),document.removeEventListener("mouseup",e)},!1)},repeatExam:function(e,t){var r=this,s=t;if(70===e.keyCode&&(s=!0),s){var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});h.default.chapterAction.getExamDetail(this.sid,this.id).then(function(e){r.exam={}}).catch(function(e){r.$message.error(e.message)}).finally(function(){r.setTime=setInterval(function(){r.chapterExam.work_id&&r.chapterExam.work_id===r.id&&(r.exam.id||(r.exam=r.updateData(r.chapterExam),document.querySelector(".play-paper").scrollTop=0),clearInterval(r.setTime))},50),a.close()})}}},watch:{id:{handler:function(){this.loadAjax()}}}}},361:function(e,t,r){},413:function(e,t,r){"use strict";var s=r(361);r.n(s).a},425:function(e,t,r){"use strict";var s=function(){var s=this,e=s.$createElement,a=s._self._c||e;return a("div",{staticClass:"play-paper"},[a("div",{staticClass:"play-paper-body"},[a("div",{staticClass:"play-paper-title"},[a("div",[a("h3",[s._v(s._s(s.chapterName))])])]),s._v(" "),a("div",{staticClass:"play-paper-content play-chapter-exam"},[this.exam.id?[a("div",{staticClass:"exam"},[a("div",{staticStyle:{"text-align":"center"}},[a("div",{staticClass:"topic"},[s.exam.score?[a("div",{staticClass:"cur"},[s._v("正确率:"+s._s(s.exam.score)+"%")])]:s._e()],2)]),s._v(" "),a("div",{},[s._l(s.exam.group,function(r,e){return[1==r.type?[a("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:s.radioClick}},[a("div",{staticClass:"q-num"},[s._v(s._s(e+1)+".")]),a("div",{staticClass:"q-title",domProps:{innerHTML:s._s(r.title)}}),a("div",{staticClass:"q-type"},[s._v("(单选题)")]),s._v(" "),a("el-radio-group",{staticClass:"radio-group",on:{change:s.radioChange},model:{value:r.sel,callback:function(e){s.$set(r,"sel",e)},expression:"item.sel"}},[s._l(r.arr,function(e,t){return[a("el-radio",{key:t,class:["radio",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,disabled:!!r.cur}},[s._v(s._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":"G")+". "+s._s(e.option))])]})],2),s._v(" "),r.cur?[a("div",{staticClass:"result"},[s._v("学生答案:"),a("div",{class:["stu",r.is_correct?"success":"error"]},[s._v(s._s(r.stuAnswer))]),s._v("    正确答案:"+s._s(r.cur))])]:s._e()],2)]:s._e(),s._v(" "),2==r.type?[a("div",{key:e,staticClass:"q-group",attrs:{"data-index":e},on:{click:s.checkboxClick}},[a("div",{staticClass:"q-num"},[s._v(s._s(e+1)+".")]),a("div",{staticClass:"q-title",domProps:{innerHTML:s._s(r.title)}}),a("div",{staticClass:"q-type"},[s._v("(多选题)")]),s._v(" "),a("el-checkbox-group",{staticClass:"checkbox-group",on:{change:s.checkboxChange},model:{value:r.arrSel,callback:function(e){s.$set(r,"arrSel",e)},expression:"item.arrSel"}},[s._l(r.arr,function(e,t){return[a("el-checkbox",{key:e.id,class:["checkbox",r.cur&&e.checked&&"success",r.cur&&!e.checked&&e.selected&&"error"],attrs:{label:t,checked:!!e.selected,disabled:!!r.cur}},[s._v(s._s(0==t?"A":1==t?"B":2==t?"C":3==t?"D":4==t?"E":5==t?"F":"G")+". "+s._s(e.option))])]})],2),s._v(" "),r.cur?[a("div",{staticClass:"result"},[s._v("学生答案:"),a("div",{class:["stu",r.is_correct?"success":"error"]},[s._v(s._s(r.stuAnswer))]),s._v("    正确答案:"+s._s(r.cur))])]:s._e()],2)]:s._e()]})],2),s._v(" "),a("div",{class:["btn",s.exam.work_contents&&"on"],attrs:{"data-submit":!!s.exam.work_contents},on:{click:s.submitExam,mousedown:function(e){s._SubmitMouseLeftDown()}}},[s._v(s._s(s.exam.work_contents?"已提交":"提交"))]),s._v(" "),a("div",{staticClass:"care"},[s._v("(注意:测试只有一次提交机会)")])])]:s._e()],2)])])},a=[];r.d(t,"a",function(){return s}),r.d(t,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{266:function(e,t,i){"use strict";i.r(t);var s=i(415),l=i(338);for(var r in l)"default"!==r&&function(e){i.d(t,e,function(){return l[e]})}(r);i(395);var a=i(1),n=Object(a.a)(l.default,s.a,s.b,!1,null,"7ebc5ce1",null);n.options.__file="feedback.vue",t.default=n.exports},338:function(e,t,i){"use strict";i.r(t);var s=i(339),l=i.n(s);for(var r in s)"default"!==r&&function(e){i.d(t,e,function(){return s[e]})}(r);t.default=l.a},339:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(i(72)),l=r(i(249));function r(e){return e&&e.__esModule?e:{default:e}}t.default={components:{},data:function(){return{ckeditor:null,setApply:{name:"",content:""},applyRules:{name:[{required:!0,message:"问题描述不能为空",trigger:"blur"}]},successFileUrl:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:""}}},mounted:function(){this.initckeditor()},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},uploadFile:function(){var t=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.chapterAction.uploadFile(this.file).then(function(e){t.successFileUrl=e.url,t.filesArr.pop()}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})},onApplyFrom:function(){var i=this;this.$refs.setApplyForm.validate(function(e){if(!e)return i.$message.error("请检查输入项,确认无误后,重新提交"),!1;var t=i.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.scoreAction.feedbackcommit({title:i.setApply.name,contents:i.ckeditor.getData(),attachments:JSON.stringify([{name:i.file.name,url:i.successFileUrl}])}).then(function(e){e.success&&(i.$message({type:"success",message:"提交成功,等待反馈"}),i.ckeditor.setData(""),i.$refs.setApplyForm.resetFields())}).catch(function(e){i.filesArr.pop(),i.$message.error(e.message)}).finally(function(){t.close()})})},initckeditor:function(){!this.ckeditor&&(this.ckeditor=l.default.replace("editor",{height:300,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"]}]}))}}}},340:function(e,t,i){},395:function(e,t,i){"use strict";var s=i(340);i.n(s).a},415:function(e,t,i){"use strict";var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"con-title"},[t._v("系统反馈")]),t._v(" "),i("div",{staticClass:"con-box"},[i("el-row",{attrs:{type:"flex",justify:"center"}},[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[i("el-form",{ref:"setApplyForm",attrs:{model:t.setApply,rules:t.applyRules}},[i("el-form-item",{attrs:{label:"问题描述",prop:"name"}},[i("el-input",{attrs:{placeholder:"请输入问题描述",type:"text"},model:{value:t.setApply.name,callback:function(e){t.$set(t.setApply,"name",e)},expression:"setApply.name"}})],1),t._v(" "),i("div",{staticStyle:{width:"100%",height:"10px"}}),t._v(" "),i("div",{staticClass:"label",staticStyle:{"font-size":"14px","line-height":"2"}},[t._v("问题详情:")]),t._v(" "),i("textarea",{attrs:{id:"editor"}}),t._v(" "),i("el-form-item",{attrs:{label:"附 件",prop:"file"}},[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}},[i("el-button",{attrs:{size:"small",type:"primary"}},[t._v("点击上传")]),t._v(" "),i("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("(可以上传 word、ppt、png、jpg、zip、rar等资源,多文件请先压缩打包成一个文件后,再上传)")]),t._v(" "),t.successFileUrl?[t._v("\n "+t._s(t.successFileUrl.replace(/.*\/([^\/]*\.[^.]+)$/gi,"$1"))+"\n ")]:t._e()],2),t._v(" "),t.successFileUrl?[i("a",{attrs:{href:t.successFileUrl}},[t._v("下载已上传附件")])]:t._e()],2),t._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:t.onApplyFrom}},[t._v("提交")])],1)],1)],1)],1)],1)])},l=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return l})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{266:function(e,t,i){"use strict";i.r(t);var s=i(429),l=i(340);for(var r in l)"default"!==r&&function(e){i.d(t,e,function(){return l[e]})}(r);i(404);var a=i(1),n=Object(a.a)(l.default,s.a,s.b,!1,null,"7ebc5ce1",null);n.options.__file="feedback.vue",t.default=n.exports},340:function(e,t,i){"use strict";i.r(t);var s=i(341),l=i.n(s);for(var r in s)"default"!==r&&function(e){i.d(t,e,function(){return s[e]})}(r);t.default=l.a},341:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(i(72)),l=r(i(249));function r(e){return e&&e.__esModule?e:{default:e}}t.default={components:{},data:function(){return{ckeditor:null,setApply:{name:"",content:""},applyRules:{name:[{required:!0,message:"问题描述不能为空",trigger:"blur"}]},successFileUrl:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:""}}},mounted:function(){this.initckeditor()},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},uploadFile:function(){var t=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.chapterAction.uploadFile(this.file).then(function(e){t.successFileUrl=e.url,t.filesArr.pop()}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})},onApplyFrom:function(){var i=this;this.$refs.setApplyForm.validate(function(e){if(!e)return i.$message.error("请检查输入项,确认无误后,重新提交"),!1;var t=i.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});s.default.scoreAction.feedbackcommit({title:i.setApply.name,contents:i.ckeditor.getData(),attachments:JSON.stringify([{name:i.file.name,url:i.successFileUrl}])}).then(function(e){e.success&&(i.$message({type:"success",message:"提交成功,等待反馈"}),i.ckeditor.setData(""),i.$refs.setApplyForm.resetFields())}).catch(function(e){i.filesArr.pop(),i.$message.error(e.message)}).finally(function(){t.close()})})},initckeditor:function(){!this.ckeditor&&(this.ckeditor=l.default.replace("editor",{height:300,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"]}]}))}}}},342:function(e,t,i){},404:function(e,t,i){"use strict";var s=i(342);i.n(s).a},429:function(e,t,i){"use strict";var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"con-title"},[t._v("系统反馈")]),t._v(" "),i("div",{staticClass:"con-box"},[i("el-row",{attrs:{type:"flex",justify:"center"}},[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[i("el-form",{ref:"setApplyForm",attrs:{model:t.setApply,rules:t.applyRules}},[i("el-form-item",{attrs:{label:"问题描述",prop:"name"}},[i("el-input",{attrs:{placeholder:"请输入问题描述",type:"text"},model:{value:t.setApply.name,callback:function(e){t.$set(t.setApply,"name",e)},expression:"setApply.name"}})],1),t._v(" "),i("div",{staticStyle:{width:"100%",height:"10px"}}),t._v(" "),i("div",{staticClass:"label",staticStyle:{"font-size":"14px","line-height":"2"}},[t._v("问题详情:")]),t._v(" "),i("textarea",{attrs:{id:"editor"}}),t._v(" "),i("el-form-item",{attrs:{label:"附 件",prop:"file"}},[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}},[i("el-button",{attrs:{size:"small",type:"primary"}},[t._v("点击上传")]),t._v(" "),i("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("(可以上传 word、ppt、png、jpg、zip、rar等资源,多文件请先压缩打包成一个文件后,再上传)")]),t._v(" "),t.successFileUrl?[t._v("\n "+t._s(t.successFileUrl.replace(/.*\/([^\/]*\.[^.]+)$/gi,"$1"))+"\n ")]:t._e()],2),t._v(" "),t.successFileUrl?[i("a",{attrs:{href:t.successFileUrl}},[t._v("下载已上传附件")])]:t._e()],2),t._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:t.onApplyFrom}},[t._v("提交")])],1)],1)],1)],1)],1)])},l=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return l})}}]);
\ No newline at end of file
.compulsory-core[data-v-4cee1196],.elective-core[data-v-4cee1196],.total-core[data-v-4cee1196]{margin-top:.1rem;font-size:16px;line-height:36px}.compulsory-core .title[data-v-4cee1196],.elective-core .title[data-v-4cee1196],.total-core .title[data-v-4cee1196]{float:left;margin-left:10px}.compulsory-core .core[data-v-4cee1196],.elective-core .core[data-v-4cee1196],.total-core .core[data-v-4cee1196]{float:right;margin-right:10px;font-size:12px}.color-box[data-v-4cee1196]{padding:.1rem 0 .2rem;text-align:right}.color-box .color[data-v-4cee1196]{display:inline-block;vertical-align:text-bottom;width:14px;height:14px}.color-box .txt[data-v-4cee1196]{display:inline-block;padding:0 .2rem 0 .1rem;font-size:14px;line-height:36px}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{265:function(t,i,e){"use strict";e.r(i);var a=e(416),s=e(335);for(var n in s)"default"!==n&&function(t){e.d(i,t,function(){return s[t]})}(n);e(394);var l=e(1),r=Object(l.a)(s.default,a.a,a.b,!1,null,"6e3d1ad2",null);r.options.__file="updatePic.vue",i.default=r.exports},335:function(t,i,e){"use strict";e.r(i);var a=e(336),s=e.n(a);for(var n in a)"default"!==n&&function(t){e.d(i,t,function(){return a[t]})}(n);i.default=s.a},336:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=e(72);i.default={components:{},data:function(){var t=this.$GlobalVariable.UserInfo;return{imgUrl:t.avatar||"",user:{student_no:t.student_info.sno,student_name:t.student_info.personal_name,student_id:t.student_info.id,sso_id:t.id},file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",avatar:""},filesArr:[]}},methods:{handleChange:function(t,i){this.file.name=t.raw.name,this.file.type=t.raw.type,this.file.lastModifiedDate=t.raw.lastModifiedDate,this.file.size=t.raw.size,this.file.avatar=t.raw},uploadFile:function(){var i=this;if(!/\.(jpg|jpeg|gif|png|bmp)$/gi.test(this.file.name))return this.$message.error("文件格式不对,请重新上传"),void this.filesArr.pop();var t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});(0,a.request)({component:this,actionName:"loginAction",functionName:"updatePic",data:this.file,thenCallback:function(t){i.imgUrl=t.avatar,i.$GlobalVariable.UserInfo.avatar=t.avatar,i.filesArr.pop()},catchCallback:function(){i.filesArr.pop()},finallyCallback:function(){t.close()}})}}}},337:function(t,i,e){},394:function(t,i,e){"use strict";var a=e(337);e.n(a).a},416:function(t,i,e){"use strict";var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("div",{staticClass:"con-title"},[t._v("修改头像")]),t._v(" "),e("div",{staticClass:"con-box"},[e("el-row",{attrs:{justify:"center"}},[e("el-col",{attrs:{xs:24,sm:9,md:8,lg:7,xl:6}},[e("div",{staticClass:"pic-show"},[e("img",{attrs:{src:t.imgUrl,alt:""}})])]),t._v(" "),e("el-col",{attrs:{xs:24,sm:15,md:16,lg:17,xl:18}},[e("div",{staticClass:"info"},[t._v("学员姓名:"),e("b",[t._v(t._s(t.user.student_name))])]),t._v(" "),e("div",{staticClass:"info"},[t._v("学员学号:"+t._s(t.user.student_no))]),t._v(" "),e("div",{staticClass:"info",staticStyle:{display:"none"}},[t._v("学员sid:"+t._s(t.user.student_id))]),t._v(" "),e("div",{staticClass:"info",staticStyle:{display:"none"}},[t._v("学员sso_id:"+t._s(t.user.sso_id))]),t._v(" "),e("div",{staticClass:"info"},[t._v("支持jpg、gif、png或bmp格式的图片,建议文件小于5M")]),t._v(" "),e("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}},[e("el-button",{attrs:{type:"primary"}},[t._v("点击上传")])],1)],1)],1)],1)])},s=[];e.d(i,"a",function(){return a}),e.d(i,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{265:function(t,i,e){"use strict";e.r(i);var a=e(430),s=e(337);for(var n in s)"default"!==n&&function(t){e.d(i,t,function(){return s[t]})}(n);e(403);var l=e(1),r=Object(l.a)(s.default,a.a,a.b,!1,null,"6e3d1ad2",null);r.options.__file="updatePic.vue",i.default=r.exports},337:function(t,i,e){"use strict";e.r(i);var a=e(338),s=e.n(a);for(var n in a)"default"!==n&&function(t){e.d(i,t,function(){return a[t]})}(n);i.default=s.a},338:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a=e(72);i.default={components:{},data:function(){var t=this.$GlobalVariable.UserInfo;return{imgUrl:t.avatar||"",user:{student_no:t.student_info.sno,student_name:t.student_info.personal_name,student_id:t.student_info.id,sso_id:t.id},file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",avatar:""},filesArr:[]}},methods:{handleChange:function(t,i){this.file.name=t.raw.name,this.file.type=t.raw.type,this.file.lastModifiedDate=t.raw.lastModifiedDate,this.file.size=t.raw.size,this.file.avatar=t.raw},uploadFile:function(){var i=this;if(!/\.(jpg|jpeg|gif|png|bmp)$/gi.test(this.file.name))return this.$message.error("文件格式不对,请重新上传"),void this.filesArr.pop();var t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});(0,a.request)({component:this,actionName:"loginAction",functionName:"updatePic",data:this.file,thenCallback:function(t){i.imgUrl=t.avatar,i.$GlobalVariable.UserInfo.avatar=t.avatar,i.filesArr.pop()},catchCallback:function(){i.filesArr.pop()},finallyCallback:function(){t.close()}})}}}},339:function(t,i,e){},403:function(t,i,e){"use strict";var a=e(339);e.n(a).a},430:function(t,i,e){"use strict";var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("div",{staticClass:"con-title"},[t._v("修改头像")]),t._v(" "),e("div",{staticClass:"con-box"},[e("el-row",{attrs:{justify:"center"}},[e("el-col",{attrs:{xs:24,sm:9,md:8,lg:7,xl:6}},[e("div",{staticClass:"pic-show"},[e("img",{attrs:{src:t.imgUrl,alt:""}})])]),t._v(" "),e("el-col",{attrs:{xs:24,sm:15,md:16,lg:17,xl:18}},[e("div",{staticClass:"info"},[t._v("学员姓名:"),e("b",[t._v(t._s(t.user.student_name))])]),t._v(" "),e("div",{staticClass:"info"},[t._v("学员学号:"+t._s(t.user.student_no))]),t._v(" "),e("div",{staticClass:"info",staticStyle:{display:"none"}},[t._v("学员sid:"+t._s(t.user.student_id))]),t._v(" "),e("div",{staticClass:"info",staticStyle:{display:"none"}},[t._v("学员sso_id:"+t._s(t.user.sso_id))]),t._v(" "),e("div",{staticClass:"info"},[t._v("支持jpg、gif、png或bmp格式的图片,建议文件小于5M")]),t._v(" "),e("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}},[e("el-button",{attrs:{type:"primary"}},[t._v("点击上传")])],1)],1)],1)],1)])},s=[];e.d(i,"a",function(){return a}),e.d(i,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{263:function(t,s,c){"use strict";c.r(s);var a=c(419),e=c(330);for(var o in e)"default"!==o&&function(t){c.d(s,t,function(){return e[t]})}(o);c(393);var r=c(1),i=Object(r.a)(e.default,a.a,a.b,!1,null,"4cee1196",null);i.options.__file="credit.vue",s.default=i.exports},330:function(t,s,c){"use strict";c.r(s);var a=c(331),e=c.n(a);for(var o in a)"default"!==o&&function(t){c.d(s,t,function(){return a[t]})}(o);s.default=e.a},331:function(t,s,c){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=c(72);s.default={components:{},data:function(){return{score:{total:0,myTotal:0,myTotalStr:"0%",must:0,myMust:0,myMustStr:"0%",unmust:0,myUnmust:0,myUnmustStr:"0%"}}},mounted:function(){var s=this;(0,a.request)({component:this,actionName:"scoreAction",functionName:"getMyScore",data:{},thenCallback:function(t){s.score=t},catchCallback:function(){},finallyCallback:function(){}})}}},332:function(t,s,c){},393:function(t,s,c){"use strict";var a=c(332);c.n(a).a},419:function(t,s,c){"use strict";var a=function(){var t=this,s=t.$createElement,c=t._self._c||s;return c("div",[c("div",{staticClass:"con-title"},[t._v("我的学分")]),t._v(" "),c("div",{staticClass:"con-box"},[c("div",{staticClass:"total-core"},[c("div",{staticClass:"title"},[t._v("总计学分")]),t._v(" "),c("div",{staticClass:"core"},[t._v(t._s(t.score.total))]),t._v(" "),c("el-progress",{attrs:{"text-inside":!0,"stroke-width":30,percentage:Math.floor(t.score.myTotal/t.score.total)||0,color:"#df9d75"}})],1),t._v(" "),c("el-row",{attrs:{gutter:20}},[c("el-col",{attrs:{xs:24,sm:12,md:12,lg:12,xl:12}},[c("div",{staticClass:"compulsory-core"},[c("div",{staticClass:"title"},[t._v("必修学分")]),t._v(" "),c("div",{staticClass:"core"},[t._v(t._s(t.score.must+1))]),t._v(" "),c("el-progress",{attrs:{"text-inside":!0,"stroke-width":30,percentage:Math.floor(t.score.myMust/t.score.must)||0,color:"#8ca4cf"}})],1)])],1),t._v(" "),t._m(0)],1)])},e=[function(){var t=this,s=t.$createElement,c=t._self._c||s;return c("div",{staticClass:"color-box"},[c("div",{staticClass:"color",staticStyle:{background:"#8ca4cf"}}),c("div",{staticClass:"txt"},[t._v("必修学分")]),t._v(" "),c("div",{staticClass:"color",staticStyle:{background:"#66c6bd"}}),c("div",{staticClass:"txt"},[t._v("选修学分")]),t._v(" "),c("div",{staticClass:"color",staticStyle:{background:"#df9d75"}}),c("div",{staticClass:"txt"},[t._v("总学分")])])}];c.d(s,"a",function(){return a}),c.d(s,"b",function(){return e})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{263:function(t,s,c){"use strict";c.r(s);var e=c(435),a=c(332);for(var o in a)"default"!==o&&function(t){c.d(s,t,function(){return a[t]})}(o);c(402);var r=c(1),i=Object(r.a)(a.default,e.a,e.b,!1,null,"322da532",null);i.options.__file="credit.vue",s.default=i.exports},332:function(t,s,c){"use strict";c.r(s);var e=c(333),a=c.n(e);for(var o in e)"default"!==o&&function(t){c.d(s,t,function(){return e[t]})}(o);s.default=a.a},333:function(t,s,c){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e=c(72);s.default={components:{},data:function(){return{score:{total:0,myTotal:0,myTotalStr:"0%",must:0,myMust:0,myMustStr:"0%",unmust:0,myUnmust:0,myUnmustStr:"0%"}}},mounted:function(){var s=this;(0,e.request)({component:this,actionName:"scoreAction",functionName:"getMyScore",data:{},thenCallback:function(t){s.score=t},catchCallback:function(){},finallyCallback:function(){}})}}},334:function(t,s,c){},402:function(t,s,c){"use strict";var e=c(334);c.n(e).a},435:function(t,s,c){"use strict";var e=function(){var t=this,s=t.$createElement,c=t._self._c||s;return c("div",[c("div",{staticClass:"con-title"},[t._v("我的学分")]),t._v(" "),c("div",{staticClass:"con-box"},[c("div",{staticClass:"total-core"},[c("div",{staticClass:"title"},[t._v("总计学分")]),t._v(" "),c("div",{staticClass:"core"},[t._v(t._s(t.score.total))]),t._v(" "),c("el-progress",{attrs:{"text-inside":!0,"stroke-width":30,percentage:Math.floor(t.score.myTotal/t.score.total)||0,color:"#df9d75"}})],1),t._v(" "),c("el-row",{attrs:{gutter:20}},[c("el-col",{attrs:{xs:24,sm:12,md:12,lg:12,xl:12}},[c("div",{staticClass:"compulsory-core"},[c("div",{staticClass:"title"},[t._v("必修学分")]),t._v(" "),c("div",{staticClass:"core"},[t._v(t._s(t.score.must))]),t._v(" "),c("el-progress",{attrs:{"text-inside":!0,"stroke-width":30,percentage:Math.floor(t.score.myMust/t.score.must)||0,color:"#8ca4cf"}})],1)]),t._v(" "),c("el-col",{attrs:{xs:24,sm:12,md:12,lg:12,xl:12}},[c("div",{staticClass:"elective-core"},[c("div",{staticClass:"title"},[t._v("选修学分")]),t._v(" "),c("div",{staticClass:"core"},[t._v(t._s(t.score.unmust))]),t._v(" "),c("el-progress",{attrs:{"text-inside":!0,"stroke-width":30,percentage:Math.floor(t.score.myUnmust/t.score.unmust)||0,color:"#66c6bd"}})],1)])],1),t._v(" "),t._m(0)],1)])},a=[function(){var t=this,s=t.$createElement,c=t._self._c||s;return c("div",{staticClass:"color-box"},[c("div",{staticClass:"color",staticStyle:{background:"#8ca4cf"}}),c("div",{staticClass:"txt"},[t._v("必修学分")]),t._v(" "),c("div",{staticClass:"color",staticStyle:{background:"#66c6bd"}}),c("div",{staticClass:"txt"},[t._v("选修学分")]),t._v(" "),c("div",{staticClass:"color",staticStyle:{background:"#df9d75"}}),c("div",{staticClass:"txt"},[t._v("总学分")])])}];c.d(s,"a",function(){return e}),c.d(s,"b",function(){return a})}}]);
\ No newline at end of file
.compulsory-core[data-v-322da532],.elective-core[data-v-322da532],.total-core[data-v-322da532]{margin-top:.1rem;font-size:16px;line-height:36px}.compulsory-core .title[data-v-322da532],.elective-core .title[data-v-322da532],.total-core .title[data-v-322da532]{float:left;margin-left:10px}.compulsory-core .core[data-v-322da532],.elective-core .core[data-v-322da532],.total-core .core[data-v-322da532]{float:right;margin-right:10px;font-size:12px}.color-box[data-v-322da532]{padding:.1rem 0 .2rem;text-align:right}.color-box .color[data-v-322da532]{display:inline-block;vertical-align:text-bottom;width:14px;height:14px}.color-box .txt[data-v-322da532]{display:inline-block;padding:0 .2rem 0 .1rem;font-size:14px;line-height:36px}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{254:function(t,s,i){"use strict";i.r(s);var e=i(436),a=i(303);for(var r in a)"default"!==r&&function(t){i.d(s,t,function(){return a[t]})}(r);i(384);var c=i(1),n=Object(c.a)(a.default,e.a,e.b,!1,null,"eb0a5dc8",null);n.options.__file="courseDetail.vue",s.default=n.exports},303:function(t,s,i){"use strict";i.r(s);var e=i(304),a=i.n(e);for(var r in e)"default"!==r&&function(t){i.d(s,t,function(){return e[t]})}(r);s.default=a.a},304:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var d=a(i(72)),n=a(i(73)),e=a(i(249));function a(t){return t&&t.__esModule?t:{default:t}}s.default={components:{},props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){return{ckeditor:null,activeName:"1",activeName1:"1",passCount:0,headerInfo:{},tabs:[{title:"课程简介",isShow:!0,content:{text:"<p><b>组织心理学</b>是研究组织中人的心理与行为规律的一门科学,是心理学的一个重要分支,也是心理学在管理学方面的一个交叉应用学科。",teachers:[{src:"",name:"讲师姓名",edu:"学历",job:"职称",unit:"讲师所在单位"}]}},{title:"课程内容",isShow:!1,chapterList:{currentChapterId:"11",course:[{title:"第一章:重要概念",isUp:!0,chapters:[{id:"11",time:"28:18",name:"1.1 现值(PV)和终值(FV)"},{id:"12",time:"19:09",name:"1.2 净现值(NPV)及实际收益率"}]},{title:"第二章:证券估值",isUp:!0,chapters:[{id:"21",time:"27:49",name:"2.1 债券和股票的现金流贴现估值方法"},{id:"22",time:"16:04",name:"2.2 债券评级及债券协议"},{id:"23",time:"",name:"公司金融第二周测验"},{id:"24",time:"",name:"公司金融第二周作业"}]},{title:"课程大作业",isUp:!0,chapters:[]},{title:"课程资料",isUp:!0,chapters:[]}]}},{title:"课程讨论",isShow:!1},{title:"课程考核",isShow:!1,richText:"<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</div> <img class='b1' src='http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程反馈建设性问题及课程完成情况50分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>",assess:{score:"20",duration:"00:01:20",progress:"0/10",video:[{title:"第一章 市场营销原理导论",sid:"",cid:"",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",time:"12:08",progress:"100%",vid:""}]}],homewrok:[{title:"第一章 市场营销原理导论",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",score:20}]}],essay:{status:"未提交",score:"暂无"}}}],sort:[{isShow:!1,str:""},{isShow:!1,str:"tag"}],discussList:[],param:{limit:10,offset:0,sort:""},publish:{course_id:this.cid,semester_id:this.sid,title:"",contents:""},isPublicShow:!1,publishRules:{title:[{required:!0,message:"请输入标题",trigger:"blur"}]}}},mounted:function(){var o=this,l=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});d.default.courseAction.getCourseDetail(this.cid,this.sid).then(function(n){o.headerInfo=n.headerInfo,o.tabs[0].content=n.tabs0Content,o.tabs[1].chapterList=n.tabs1ChapterList,n.tabs3richTest&&(o.tabs[3].richText=n.tabs3richTest),d.default.courseAction.getCourseAssess(o.cid,o.sid).then(function(t){for(var s=n.tabs1ChapterList.course,i=0;i<t.video.length;i++)for(var e=t.video[i].arr,a=s[i].chapters,r=0;r<e.length;r++)for(var c=r;c<a.length;c++)if(e[r].id===a[c].id){e[r].vid=a[c].vid,e[r].duration=a[c].duration;break}o.tabs[3].assess=t,l.close()}).catch(function(t){o.$message.error(t.message)}).finally(function(){}),d.default.discussAction.getCourseDiscussList(o.cid,o.sid,o.param).then(function(t){o.discussList=t}).catch(function(t){o.$message.error(t.message)}).finally(function(){})}).catch(function(t){o.$message.error(t.message),l.close()}).finally(function(){}),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1),this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null},updated:function(){this.resizeRoot(),this.isPublicShow&&this.initckeditor()},beforeUpdate:function(){this.isPublicShow||(this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null)},methods:{handleClick:function(t,s){},initckeditor:function(){!this.ckeditor&&(this.ckeditor=e.default.replace("editor",{height:300,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"]}]}))},clickJumpOrStatus:function(t){var s=t.currentTarget.dataset;if(s.status){var i=s.index,e=this.tabs[1].chapterList.course[i];e.isUp=!e.isUp}else{var a=this.tabs[1].chapterList.course[s.index],r=s.sid,c=s.cid;"course_info"===a.type?this.$router.push({path:"/player/"+r+"/"+c+"/course-info/course_info"}):"course_work"===a.type&&this.$router.push({path:"/player/"+r+"/"+c+"/course-work/course_work"})}},jumpToOtherVA:function(t){if(this.headerInfo.isStart){var s=t.target.dataset,i=s.sid,e=s.cid,a=s.vid;if(!s.hasva){var r=s.index,c=s.index1,n=this.tabs[1].chapterList.course[r];return n&&n.chapters[c]?void(3===n.chapters[c].type?1===n.chapters[c].work_type?this.$router.push({path:"/player/"+i+"/"+e+"/chapter-exam/"+a}):2===n.chapters[c].work_type&&this.$router.push({path:"/player/"+i+"/"+e+"/chapter-work/"+a}):4===n.chapters[c].type&&this.$router.push({path:"/player/"+i+"/"+e+"/chapter-read/"+a})):void this.$message.error("系统未知错误,001")}this.$router.push({path:"/player/"+i+"/"+e+"/chapter-video/"+a})}else this.$message.error("先选课,才能学习")},startLearn:function(t){var s=t.currentTarget.dataset,i=s.sid,e=s.cid,a=s.vid;this.$router.push({path:"/player/"+i+"/"+e+"/chapter-video/"+a})},noWantThisCourse:function(){var s=this;if(this.passCountTimeout&&clearTimeout(this.passCountTimeout),this.passCountTimeout=setTimeout(function(){s.passCount=0},500),this.passCount<15)this.passCount++;else{var i=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});d.default.courseAction.outSelectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!1,i.close(),s.$message({type:"success",message:"退课成功"}),s.passCount=0}).catch(function(t){s.$message.error(t.message)}).finally(function(){i.close()})}},jumpVAOrfinishVA:function(t){var s=t.currentTarget.dataset,i=this._keydownfn.bind(this,s);document.addEventListener("keydown",i,!1);document.addEventListener("mouseup",function t(){document.removeEventListener("keydown",i),document.removeEventListener("mouseup",t)},!1)},_keydownfn:function(t,s){var i=this,e=t.sid,a=t.cid,r=t.vid,c=t.duration;79===s.keyCode&&this.$router.push({path:"/player/"+e+"/"+a+"/chapter-video/"+r}),70===s.keyCode&&d.default.chapterAction.updateProgress({d:n.default.other.getIdt(),i:n.default.other.getIdt(),c:a,s:e,v:r,_p:parseInt(c)+11,_m:parseInt(c),_c:parseInt(c),ps:"0,0"}).then(function(t){t.success&&i.$message.success("补课成功,刷新查看结果")}).catch(function(t){i.$message.error(t.message)}).finally(function(){})},wantThisCourse:function(){var s=this,i=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});d.default.courseAction.selectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!0,i.close(),s.$message({type:"success",message:"选课成功"})}).catch(function(t){s.$message.error(t.message)}).finally(function(){i.close()})},resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),r=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*r*1.5*2;e<i?(a.discussList[s]&&(a.discussList[s].isShow=!0),t.previousSibling.style.height=e+"px"):a.discussList[s]&&(a.discussList[s].isShow=!1)})},publishDiscuss:function(){this.isPublicShow=!0},gobackDiscuss:function(){this.isPublicShow=!1},onSubmitPublish:function(){var i=this;this.$refs.setPublishform.validate(function(t){if(!t)return i.$message.error("请输入标题"),!1;if(i.ckeditor.getData()){i.publish.contents=i.ckeditor.getData();var s=i.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});d.default.discussAction.publishQues(i.publish).then(function(t){i.$message({type:"success",message:"问题发布成功"}),i.isPublicShow=!1,d.default.discussAction.getCourseDiscussList(i.cid,i.sid,i.param).then(function(t){i.discussList=t}).catch(function(t){i.$message.error(t.message)}).finally(function(){})}).catch(function(t){i.$message.error(t.message)}).finally(function(){s.close()})}else i.$message.error("请输入正文内容")})},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id;this.$router.push({path:"/app/my-learn/discuss-detail/"+this.sid+"/"+this.cid+"/"+s})},sortFn:function(t){var s=this,i=t.currentTarget.dataset.index,e=t.currentTarget.dataset.str;this.sort[i].isShow=!this.sort[i].isShow,this.sort[(parseInt(i)+1)%2].isShow=!1,this.param.sort=this.sort[i].isShow?e:"",this.param.offset=0;var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});d.default.discussAction.getCourseDiscussList(this.cid,this.sid,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){a.close()})}}}},305:function(t,s,i){},384:function(t,s,i){"use strict";var e=i(305);i.n(e).a},436:function(t,s,i){"use strict";var e=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"con-title"},[e._v("课程详情")]),e._v(" "),a("div",{staticClass:"detail-box"},[a("div",{staticClass:"box-thd"},[a("div",{staticClass:"title",on:{click:e.noWantThisCourse}},[e._v(e._s(e.headerInfo.title)+"\n "),e.headerInfo.isStart&&e.tabs[1].chapterList.currentChapterId?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":e.cid,"data-sid":e.sid,"data-vid":e.tabs[1].chapterList.currentChapterId},on:{click:e.startLearn}},[e._v("继续学习")])]:e.headerInfo.isStart?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":e.cid,"data-sid":e.sid,"data-vid":e.tabs[1].chapterList.course[0].chapters[0].vid},on:{click:e.startLearn}},[e._v("开始学习")])]:[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini"},on:{click:e.wantThisCourse}},[e._v("选课")])]],2),e._v(" "),a("div",{staticClass:"tags"},[e._l(e.headerInfo.arrTab,function(t,s){return[a("span",{key:s,staticClass:"tabs-item"},[e._v(e._s(t))])]})],2),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(e.headerInfo.time)+" "+e._s(e.headerInfo.status))]),e._v(" "),a("div",{staticStyle:{float:"left",width:"100%",height:"1px"}}),e._v(" "),a("div",{staticClass:"progress"},[e._v("\n 视频观看进度 "),a("el-progress",{attrs:{percentage:e.headerInfo.progress,color:"#b49441"}})],1)]),e._v(" "),a("div",{staticClass:"box-tbd"},[a("div",{staticClass:"left-pic"},[e.headerInfo.bgSrc?[a("img",{attrs:{src:e.headerInfo.bgSrc,alt:""}})]:[e._m(0)]],2),e._v(" "),a("div",{staticClass:"right-content",domProps:{innerHTML:e._s(e.tabs[0].content.text)}})]),e._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{xs:24,sm:15,md:17,lg:18,xl:20}},[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"课程内容",name:"1"}},[a("div",{staticClass:"course-list"},[e._l(e.tabs[1].chapterList.course,function(t,i){return[a("div",{key:i,class:["content-group",t.chapters.length?"":"no-child",t.isUp?"up":""]},[a("div",{staticClass:"title",attrs:{"data-index":i,"data-cid":t.cid,"data-sid":t.sid,"data-status":!!t.chapters.length},on:{click:function(t){e.clickJumpOrStatus(t)}}},[e._v(e._s(t.title)+"\n "),a("i",{class:["side",t.chapters.length?"":"none",t.isUp?"el-icon-arrow-down":"el-icon-arrow-up"]})]),e._v(" "),e._l(t.chapters,function(t,s){return[a("div",{key:s,class:["body",t.id===e.tabs[1].chapterList.currentChapterId&&"on"]},[a("div",{staticClass:"name",attrs:{"data-vid":t.vid,"data-cid":t.cid,"data-sid":t.sid,"data-hasVA":t.time,"data-name":t.name,"data-index":i,"data-index1":s},on:{click:e.jumpToOtherVA}},[e._v("\n "+e._s(t.name)+"\n "),a("div",{staticClass:"time"},[e._v(e._s(t.time))])])])]})],2)]})],2)]),e._v(" "),a("el-tab-pane",{attrs:{label:"课程讨论",name:"2"}},[e.isPublicShow?[a("div",{staticClass:"publish"},[a("div",{staticStyle:{overflow:"hidden"}},[a("div",{staticClass:"right-goback-txt"},[e._v("发布问题")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:e.gobackDiscuss}},[e._v("返回问题列表")])],1),e._v(" "),a("el-form",{ref:"setPublishform",attrs:{model:e.publish,rules:e.publishRules}},[a("el-form-item",{attrs:{label:"标题",prop:"title"}},[a("el-input",{attrs:{type:"text",placeholder:"请输入标题"},model:{value:e.publish.title,callback:function(t){e.$set(e.publish,"title",t)},expression:"publish.title"}})],1),e._v(" "),a("div",{staticStyle:{"line-height":"1.5","font-size":"0.16rem","margin-bottom":"0.2rem"}},[e._v("正文内容")]),e._v(" "),a("textarea",{attrs:{id:"editor"}}),e._v(" "),a("div",{staticStyle:{height:"0.2rem"}}),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.onSubmitPublish}},[e._v("发布问题")])],1)],1)],1)]:[a("div",{staticClass:"pub-ques"},[a("div",{staticClass:"ask"},[a("i",{staticClass:"el-icon-edit img"}),e._v(" "),a("div",{staticClass:"txt",on:{click:e.publishDiscuss}},[e._v("发布问题 ...")])]),e._v(" "),a("div",{class:["item-order",e.sort[0].isShow?"on":""],attrs:{"data-index":0,"data-str":e.sort[0].str},on:{click:e.sortFn}},[e._v("按时间排序")]),e._v(" "),a("div",{class:["item-order",e.sort[1].isShow?"on":""],attrs:{"data-index":1,"data-str":e.sort[1].str},on:{click:e.sortFn}},[e._v("按投票排序")])]),e._v(" "),a("div",{staticClass:"discuss-scroll",attrs:{bindscrolltolower:"loadmore",bindscrolltoupper:"updatenew"}},[e._l(e.discussList,function(t,s){return[a("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-index":s},on:{click:e.goDiscussDetail}},[a("div",{staticClass:"user"},[t.user.url?[a("img",{staticClass:"img",attrs:{src:t.user.url}})]:[a("img",{staticClass:"img",attrs:{src:i(112)}})],e._v(" "),a("div",{staticClass:"right"},[a("div",{staticClass:"name"},[e._v(e._s(t.user.name))]),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(t.user.time))])])],2),e._v(" "),a("div",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("div",{class:["text"],domProps:{innerHTML:e._s(t.text)}}),a("div",{class:["ellipsis",t.isShow?"on":""]},[e._v("....")]),e._v(" "),a("div",{staticClass:"result"},[e._v(e._s(t.askCnt)+" 回答"),a("div",{staticStyle:{display:"inline-block",width:"20px"}}),e._v(e._s(t.TouCnt)+" 投票")])])]}),e._v(" "),e.discussList.length?e._e():[a("div",{staticClass:"no-data"},[e._v("暂无相关讨论")])]],2)]],2),e._v(" "),a("el-tab-pane",{attrs:{label:"课程考核",name:"3"}},[a("div",{staticClass:"course-assess"},[a("div",{staticClass:"title"},[e._v("最终成绩:"+e._s(e.tabs[3].assess.score&&e.tabs[3].assess.score+"分"||"暂无"))]),e._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),e._v(" "),a("div",{staticClass:"tit"},[e._v("课程考核标准")])]),e._v(" "),a("div",{staticClass:"detail"},[a("div",{staticClass:"detail-rich",domProps:{innerHTML:e._s(e.tabs[3].richText)}})]),e._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),e._v(" "),a("div",{staticClass:"tit"},[e._v("学习进度及成绩")])]),e._v(" "),a("div",{staticClass:"table-title"},[e._v("课程“音视频”观看统计( 累计学习时长:"+e._s(e.tabs[3].assess.duration)+",完成率:"+e._s(e.tabs[3].assess.progress)+" )")]),e._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col3-td1"},[e._v("章节")]),e._v(" "),a("div",{staticClass:"col3-td2"},[e._v("学习时长")]),e._v(" "),a("div",{staticClass:"col3-td3"},[e._v("百分比")])]),e._v(" "),e._l(e.tabs[3].assess.video,function(i,t){return[a("div",{key:t,staticClass:"tb"},[a("div",{staticClass:"tt"},[e._v(e._s(i.title))]),e._v(" "),e._l(i.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col3-td1",attrs:{"data-sid":i.sid,"data-cid":i.cid,"data-vid":t.vid,"data-duration":t.duration},on:{mousedown:function(t){e.jumpVAOrfinishVA(t)}}},[e._v(e._s(t.name))]),e._v(" "),a("div",{staticClass:"col3-td2"},[e._v(e._s(t.time))]),e._v(" "),a("div",{staticClass:"col3-td3"},[e._v(e._s(t.progress))])])]})],2)]}),e._v(" "),e.tabs[3].assess.video.length?e._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[e._v("暂无数据")])]],2),e._v(" "),a("div",{staticClass:"table-title"},[e._v("试题及主观题")]),e._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col2-td1"},[e._v("章节")]),e._v(" "),a("div",{staticClass:"col2-td2"},[e._v("得分")])]),e._v(" "),e._l(e.tabs[3].assess.homewrok,function(t,s){return[a("div",{key:s,staticClass:"tb"},[a("div",{staticClass:"tt"},[e._v(e._s(t.title))]),e._v(" "),e._l(t.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col2-td1"},[e._v(e._s(t.name))]),e._v(" "),a("div",{staticClass:"col2-td2"},[e._v(e._s(t.score))])])]})],2)]}),e._v(" "),e.tabs[3].assess.homewrok.length?e._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[e._v("暂无数据")])]],2),e._v(" "),a("div",{staticClass:"table-title"},[e._v("大作业")]),e._v(" "),a("div",{staticClass:"status-text"},[e._v("状 态:"+e._s(e.tabs[3].assess.essay.status))]),e._v(" "),a("div",{staticClass:"status-text"},[e._v("得 分:"+e._s(e.tabs[3].assess.essay.score))])])])],1)],1),e._v(" "),a("el-col",{attrs:{xs:24,sm:9,md:7,lg:6,xl:4}},[e.tabs[0].content&&e.tabs[0].content.teachers&&e.tabs[0].content.teachers.length?[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName1,callback:function(t){e.activeName1=t},expression:"activeName1"}},[a("el-tab-pane",{attrs:{label:"课程讲师",name:"1"}},[e._l(e.tabs[0].content.teachers,function(t,s){return[a("div",{key:s,staticClass:"list-teacher"},[a("img",{staticClass:"img",attrs:{src:t.src,alt:""}}),e._v(" "),a("div",{staticClass:"ctx"},[a("div",{staticClass:"top-ctx"},[a("div",{staticClass:"name"},[e._v(e._s(t.name))])]),e._v(" "),a("div",{staticClass:"bottom-ctx"},[a("div",{staticClass:"t1"},[e._v(e._s(t.edu))]),e._v(" "),a("div",{staticClass:"t2"},[e._v(e._s(t.job))]),e._v(" "),a("div",{staticClass:"t3"},[e._v(e._s(t.unit))])])])])]})],2)],1)]:e._e()],2)],1)],1)])},a=[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"no-img"},[s("i",{staticClass:"el-icon-self-13"})])}];i.d(s,"a",function(){return e}),i.d(s,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{253:function(t,e,s){"use strict";s.r(e);var a=s(435),i=s(300);for(var n in i)"default"!==n&&function(t){s.d(e,t,function(){return i[t]})}(n);s(383);var r=s(1),l=Object(r.a)(i.default,a.a,a.b,!1,null,"2021d0cc",null);l.options.__file="course.vue",e.default=l.exports},300:function(t,e,s){"use strict";s.r(e);var a=s(301),i=s.n(a);for(var n in a)"default"!==n&&function(t){s.d(e,t,function(){return a[t]})}(n);e.default=i.a},301:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,i=s(72),n=(a=i)&&a.__esModule?a:{default:a};e.default={components:{},data:function(){return{filter:{studyEarly:"down",selectTime:"down"},find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"},{val:"3",name:"重修课"}]}],homeList:[],param:{}}},mounted:function(){var e=this,t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.courseAction.getlearnFindList().then(function(t){e.find[0].arrItem=t,e.getAjaxList(!0,"请去选课广场选课")}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})},methods:{goCourseAll:function(){this.$router.push({path:"/app/my-learn/course-all"})},goCourseContent:function(t){var e=t.currentTarget.dataset.cid,s=t.currentTarget.dataset.sid;this.$router.push({path:"/app/my-learn/course-detail/"+s+"/"+e})},getAjaxList:function(t,e){var s=this;n.default.courseAction.getCourseList(t,this.param).then(function(t){(s.homeList=t).length||s.$message(e)}).catch(function(t){s.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,s=e.index,a=this.find,i=e.i;a[i].selectIndex=s,a[i].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!0,"暂无符合条件的课程")},studyEarlyUpdate:function(){var t="up"===this.filter.studyEarly?"down":"up";"down"===(this.filter.studyEarly=t)?this.param.order_type="learn_time":"up"===t&&(this.param.order_type="-learn_time"),this.getAjaxList(!0,"请去选课广场选课")},selectTimeUpdate:function(){var t="up"===this.filter.selectTime?"down":"up";"down"===(this.filter.selectTime=t)?this.param.order_type="join_time":"up"===t&&(this.param.order_type="-join_time"),this.getAjaxList(!0,"请去选课广场选课")}}}},302:function(t,e,s){},383:function(t,e,s){"use strict";var a=s(302);s.n(a).a},435:function(t,e,s){"use strict";var a=function(){var i=this,t=i.$createElement,n=i._self._c||t;return n("div",[n("div",{staticClass:"con-title"},[i._v("我的课程")]),i._v(" "),n("div",{staticClass:"con-box"},[i._l(i.find,function(s,a){return[n("ul",{key:a,staticClass:"tabs-list"},[n("li",{staticClass:"tabs-hd"},[i._v(i._s(s.name))]),i._v(" "),i._l(s.arrItem,function(t,e){return[n("li",{key:e},[n("div",{class:["tab",s.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":a,"data-key":s.key,"data-val":t.val},on:{click:i.selFindSelect}},[i._v(i._s(t.name))])])]})],2)]})],2),i._v(" "),n("div",{staticClass:"switch-box"},[n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.studyEarlyUpdate}},[i._v("最近学习"),n("i",{class:["el-icon-caret-"+("down"==i.filter.studyEarly?"bottom":"top"),"icon"]})]),i._v(" "),n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.selectTimeUpdate}},[i._v("选修时间"),n("i",{class:["el-icon-caret-"+("down"==i.filter.selectTime?"bottom":"top"),"icon"]})]),i._v(" "),n("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"medium",icon:"el-icon-self-cc-book icon"},on:{click:i.goCourseAll}},[i._v("选课广场")])],1),i._v(" "),n("div",{staticClass:"con-box"},[n("ul",{staticClass:"course-list"},[i._l(i.homeList,function(t,e){return[n("li",{key:e,staticClass:"item"},[n("div",{staticClass:"left-pic"},[t.src?[n("img",{attrs:{src:t.src,alt:""}})]:[i._m(0,!0)]],2),i._v(" "),n("div",{staticClass:"right-bd"},[n("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),n("div",{staticClass:"tags"},[i._l(t.arrTab,function(t,e){return[n("span",{key:e},[i._v(i._s(t))])]})],2),i._v(" "),n("div",{staticClass:"time"},[i._v("\n "+i._s(t.status)+"  "),n("em",[i._v(i._s(t.time))])]),i._v(" "),n("div",{staticClass:"progress"},[i._v("\n 视频观看进度 "),n("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),i._v(" "),n("div",{staticClass:"right-sel"},[i._v(i._s(t.myStatus))]),i._v(" "),n("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:i.goCourseContent}},[i._v("查看课程")])],1)])]}),i._v(" "),i.homeList.length?i._e():[n("div",{staticClass:"no-data"},[i._v("暂无相关课程")])]],2)])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];s.d(e,"a",function(){return a}),s.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{253:function(t,e,s){"use strict";s.r(e);var a=s(446),i=s(302);for(var n in i)"default"!==n&&function(t){s.d(e,t,function(){return i[t]})}(n);s(392);var r=s(1),l=Object(r.a)(i.default,a.a,a.b,!1,null,"2021d0cc",null);l.options.__file="course.vue",e.default=l.exports},302:function(t,e,s){"use strict";s.r(e);var a=s(303),i=s.n(a);for(var n in a)"default"!==n&&function(t){s.d(e,t,function(){return a[t]})}(n);e.default=i.a},303:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a,i=s(72),n=(a=i)&&a.__esModule?a:{default:a};e.default={components:{},data:function(){return{filter:{studyEarly:"down",selectTime:"down"},find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"},{val:"3",name:"重修课"}]}],homeList:[],param:{}}},mounted:function(){var e=this,t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.courseAction.getlearnFindList().then(function(t){e.find[0].arrItem=t,e.getAjaxList(!0,"请去选课广场选课")}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})},methods:{goCourseAll:function(){this.$router.push({path:"/app/my-learn/course-all"})},goCourseContent:function(t){var e=t.currentTarget.dataset.cid,s=t.currentTarget.dataset.sid;this.$router.push({path:"/app/my-learn/course-detail/"+s+"/"+e})},getAjaxList:function(t,e){var s=this;n.default.courseAction.getCourseList(t,this.param).then(function(t){(s.homeList=t).length||s.$message(e)}).catch(function(t){s.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,s=e.index,a=this.find,i=e.i;a[i].selectIndex=s,a[i].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!0,"暂无符合条件的课程")},studyEarlyUpdate:function(){var t="up"===this.filter.studyEarly?"down":"up";"down"===(this.filter.studyEarly=t)?this.param.order_type="learn_time":"up"===t&&(this.param.order_type="-learn_time"),this.getAjaxList(!0,"请去选课广场选课")},selectTimeUpdate:function(){var t="up"===this.filter.selectTime?"down":"up";"down"===(this.filter.selectTime=t)?this.param.order_type="join_time":"up"===t&&(this.param.order_type="-join_time"),this.getAjaxList(!0,"请去选课广场选课")}}}},304:function(t,e,s){},392:function(t,e,s){"use strict";var a=s(304);s.n(a).a},446:function(t,e,s){"use strict";var a=function(){var i=this,t=i.$createElement,n=i._self._c||t;return n("div",[n("div",{staticClass:"con-title"},[i._v("我的课程")]),i._v(" "),n("div",{staticClass:"con-box"},[i._l(i.find,function(s,a){return[n("ul",{key:a,staticClass:"tabs-list"},[n("li",{staticClass:"tabs-hd"},[i._v(i._s(s.name))]),i._v(" "),i._l(s.arrItem,function(t,e){return[n("li",{key:e},[n("div",{class:["tab",s.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":a,"data-key":s.key,"data-val":t.val},on:{click:i.selFindSelect}},[i._v(i._s(t.name))])])]})],2)]})],2),i._v(" "),n("div",{staticClass:"switch-box"},[n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.studyEarlyUpdate}},[i._v("最近学习"),n("i",{class:["el-icon-caret-"+("down"==i.filter.studyEarly?"bottom":"top"),"icon"]})]),i._v(" "),n("el-button",{attrs:{type:"info",size:"medium",plain:""},on:{click:i.selectTimeUpdate}},[i._v("选修时间"),n("i",{class:["el-icon-caret-"+("down"==i.filter.selectTime?"bottom":"top"),"icon"]})]),i._v(" "),n("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"medium",icon:"el-icon-self-cc-book icon"},on:{click:i.goCourseAll}},[i._v("选课广场")])],1),i._v(" "),n("div",{staticClass:"con-box"},[n("ul",{staticClass:"course-list"},[i._l(i.homeList,function(t,e){return[n("li",{key:e,staticClass:"item"},[n("div",{staticClass:"left-pic"},[t.src?[n("img",{attrs:{src:t.src,alt:""}})]:[i._m(0,!0)]],2),i._v(" "),n("div",{staticClass:"right-bd"},[n("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),n("div",{staticClass:"tags"},[i._l(t.arrTab,function(t,e){return[n("span",{key:e},[i._v(i._s(t))])]})],2),i._v(" "),n("div",{staticClass:"time"},[i._v("\n "+i._s(t.status)+"  "),n("em",[i._v(i._s(t.time))])]),i._v(" "),n("div",{staticClass:"progress"},[i._v("\n 视频观看进度 "),n("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),i._v(" "),n("div",{staticClass:"right-sel"},[i._v(i._s(t.myStatus))]),i._v(" "),n("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:i.goCourseContent}},[i._v("查看课程")])],1)])]}),i._v(" "),i.homeList.length?i._e():[n("div",{staticClass:"no-data"},[i._v("暂无相关课程")])]],2)])])},i=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];s.d(e,"a",function(){return a}),s.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{256:function(t,e,a){"use strict";a.r(e);var s=a(432),n=a(309);for(var i in n)"default"!==i&&function(t){a.d(e,t,function(){return n[t]})}(i);a(386);var r=a(1),c=Object(r.a)(n.default,s.a,s.b,!1,null,"1497b902",null);c.options.__file="courseAll.vue",e.default=c.exports},309:function(t,e,a){"use strict";a.r(e);var s=a(310),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);e.default=n.a},310:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=a(72),i=(s=n)&&s.__esModule?s:{default:s};e.default={components:{},data:function(){return{find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"}]},{name:"选修状态",isShow:!1,selectIndex:0,key:"select_status",arrItem:[{val:"-1",name:"全部"},{val:"0",name:"未选修"},{val:"1",name:"已选修"}]}],homeList:[],param:{}}},mounted:function(){var e=this;this.VueEvent.$emit("can-change-sidebar",{defaultActive:"0"});var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});i.default.courseAction.getlearnFindList().then(function(t){e.find[0].arrItem=t,e.getAjaxList(!1,"请去选课广场选课")}).catch(function(t){a.close(),e.$message.error(t.message)}).finally(function(){a.close()})},methods:{goCourseContent:function(t){var e=t.currentTarget.dataset.cid,a=t.currentTarget.dataset.sid;this.$router.push({path:"/app/my-learn/course-detail/"+a+"/"+e})},getAjaxList:function(t,e){var a=this;i.default.courseAction.getCourseList(t,this.param).then(function(t){(a.homeList=t).length||a.$message(e)}).catch(function(t){a.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,a=e.index,s=this.find,n=e.i;s[n].selectIndex=a,s[n].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!1,"暂无符合条件的课程")}}}},311:function(t,e,a){},386:function(t,e,a){"use strict";var s=a(311);a.n(s).a},432:function(t,e,a){"use strict";var s=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",[i("div",{staticClass:"con-title"},[n._v("选课广场")]),n._v(" "),i("div",{staticClass:"con-box"},[n._l(n.find,function(a,s){return[i("ul",{key:s,staticClass:"tabs-list"},[i("li",{staticClass:"tabs-hd"},[n._v(n._s(a.name))]),n._v(" "),n._l(a.arrItem,function(t,e){return[i("li",{key:e},[i("div",{class:["tab",a.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":s,"data-key":a.key,"data-val":t.val},on:{click:n.selFindSelect}},[n._v(n._s(t.name))])])]})],2)]})],2),n._v(" "),i("div",{staticClass:"con-box"},[i("ul",{staticClass:"course-list"},[n._l(n.homeList,function(t,e){return[i("li",{key:e,staticClass:"item"},[i("div",{staticClass:"left-pic"},[t.src?[i("img",{attrs:{src:t.src,alt:""}})]:[n._m(0,!0)]],2),n._v(" "),i("div",{staticClass:"right-bd"},[i("div",{staticClass:"title"},[n._v(n._s(t.title))]),n._v(" "),i("div",{staticClass:"tags"},[n._l(t.arrTab,function(t,e){return[i("span",{key:e},[n._v(n._s(t))])]})],2),n._v(" "),i("div",{staticClass:"time"},[n._v("\n "+n._s(t.status)+"  "),i("em",[n._v(n._s(t.time))])]),n._v(" "),i("div",{staticClass:"progress"},[n._v("\n 视频观看进度 "),i("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),n._v(" "),i("div",{staticClass:"right-sel"},[n._v(n._s(t.myStatus))]),n._v(" "),i("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:n.goCourseContent}},[n._v("查看课程")])],1)])]}),n._v(" "),n.homeList.length?n._e():[i("div",{staticClass:"no-data"},[n._v("暂无相关课程")])]],2)])])},n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];a.d(e,"a",function(){return s}),a.d(e,"b",function(){return n})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{256:function(t,e,a){"use strict";a.r(e);var s=a(447),n=a(311);for(var i in n)"default"!==i&&function(t){a.d(e,t,function(){return n[t]})}(i);a(395);var r=a(1),c=Object(r.a)(n.default,s.a,s.b,!1,null,"1497b902",null);c.options.__file="courseAll.vue",e.default=c.exports},311:function(t,e,a){"use strict";a.r(e);var s=a(312),n=a.n(s);for(var i in s)"default"!==i&&function(t){a.d(e,t,function(){return s[t]})}(i);e.default=n.a},312:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s,n=a(72),i=(s=n)&&s.__esModule?s:{default:s};e.default={components:{},data:function(){return{find:[{name:"学期",isShow:!1,selectIndex:0,key:"semester_id",arrItem:[{val:"-1",name:"全部"},{val:"",name:"第一学期"},{val:"",name:"第二学期"},{val:"",name:"第三学期"},{val:"",name:"第四学期"}]},{name:"课程类型",isShow:!1,selectIndex:0,key:"course_type",arrItem:[{val:"-1",name:"全部"},{val:"1",name:"必修课"},{val:"2",name:"选修课"}]},{name:"选修状态",isShow:!1,selectIndex:0,key:"select_status",arrItem:[{val:"-1",name:"全部"},{val:"0",name:"未选修"},{val:"1",name:"已选修"}]}],homeList:[],param:{}}},mounted:function(){var e=this;this.VueEvent.$emit("can-change-sidebar",{defaultActive:"0"});var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});i.default.courseAction.getlearnFindList().then(function(t){e.find[0].arrItem=t,e.getAjaxList(!1,"请去选课广场选课")}).catch(function(t){a.close(),e.$message.error(t.message)}).finally(function(){a.close()})},methods:{goCourseContent:function(t){var e=t.currentTarget.dataset.cid,a=t.currentTarget.dataset.sid;this.$router.push({path:"/app/my-learn/course-detail/"+a+"/"+e})},getAjaxList:function(t,e){var a=this;i.default.courseAction.getCourseList(t,this.param).then(function(t){(a.homeList=t).length||a.$message(e)}).catch(function(t){a.$message.error(t.message)}).finally(function(){})},selFindSelect:function(t){var e=t.currentTarget.dataset,a=e.index,s=this.find,n=e.i;s[n].selectIndex=a,s[n].isShow=!1,"-1"===e.val?delete this.param[e.key]:this.param[e.key]=e.val,this.getAjaxList(!1,"暂无符合条件的课程")}}}},313:function(t,e,a){},395:function(t,e,a){"use strict";var s=a(313);a.n(s).a},447:function(t,e,a){"use strict";var s=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",[i("div",{staticClass:"con-title"},[n._v("选课广场")]),n._v(" "),i("div",{staticClass:"con-box"},[n._l(n.find,function(a,s){return[i("ul",{key:s,staticClass:"tabs-list"},[i("li",{staticClass:"tabs-hd"},[n._v(n._s(a.name))]),n._v(" "),n._l(a.arrItem,function(t,e){return[i("li",{key:e},[i("div",{class:["tab",a.selectIndex==e?"on":""],attrs:{"data-index":e,"data-i":s,"data-key":a.key,"data-val":t.val},on:{click:n.selFindSelect}},[n._v(n._s(t.name))])])]})],2)]})],2),n._v(" "),i("div",{staticClass:"con-box"},[i("ul",{staticClass:"course-list"},[n._l(n.homeList,function(t,e){return[i("li",{key:e,staticClass:"item"},[i("div",{staticClass:"left-pic"},[t.src?[i("img",{attrs:{src:t.src,alt:""}})]:[n._m(0,!0)]],2),n._v(" "),i("div",{staticClass:"right-bd"},[i("div",{staticClass:"title"},[n._v(n._s(t.title))]),n._v(" "),i("div",{staticClass:"tags"},[n._l(t.arrTab,function(t,e){return[i("span",{key:e},[n._v(n._s(t))])]})],2),n._v(" "),i("div",{staticClass:"time"},[n._v("\n "+n._s(t.status)+"  "),i("em",[n._v(n._s(t.time))])]),n._v(" "),i("div",{staticClass:"progress"},[n._v("\n 视频观看进度 "),i("el-progress",{attrs:{percentage:99.5<t.progress?100:t.progress,color:"#b49441"}})],1),n._v(" "),i("div",{staticClass:"right-sel"},[n._v(n._s(t.myStatus))]),n._v(" "),i("el-button",{staticClass:"in-btn",attrs:{type:"primary",size:"small",round:"","data-cid":t.id,"data-sid":t.sid},on:{click:n.goCourseContent}},[n._v("查看课程")])],1)])]}),n._v(" "),n.homeList.length?n._e():[i("div",{staticClass:"no-data"},[n._v("暂无相关课程")])]],2)])])},n=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"no-img"},[e("i",{staticClass:"el-icon-self-13"})])}];a.d(e,"a",function(){return s}),a.d(e,"b",function(){return n})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{254:function(t,s,i){"use strict";i.r(s);var e=i(448),a=i(305);for(var r in a)"default"!==r&&function(t){i.d(s,t,function(){return a[t]})}(r);i(393);var c=i(1),n=Object(c.a)(a.default,e.a,e.b,!1,null,"ec4add66",null);n.options.__file="courseDetail.vue",s.default=n.exports},305:function(t,s,i){"use strict";i.r(s);var e=i(306),a=i.n(e);for(var r in e)"default"!==r&&function(t){i.d(s,t,function(){return e[t]})}(r);s.default=a.a},306:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var l=a(i(72)),n=a(i(75)),e=a(i(249));function a(t){return t&&t.__esModule?t:{default:t}}s.default={components:{},props:{sid:{type:String,require:!1},cid:{type:String,require:!1}},data:function(){return{ckeditor:null,activeName:"1",activeName1:"1",passCount:0,headerInfo:{},tabs:[{title:"课程简介",isShow:!0,content:{text:"<p><b>组织心理学</b>是研究组织中人的心理与行为规律的一门科学,是心理学的一个重要分支,也是心理学在管理学方面的一个交叉应用学科。",teachers:[{src:"",name:"讲师姓名",edu:"学历",job:"职称",unit:"讲师所在单位"}]}},{title:"课程内容",isShow:!1,chapterList:{currentChapterId:"11",course:[{title:"第一章:重要概念",isUp:!0,chapters:[{id:"11",time:"28:18",name:"1.1 现值(PV)和终值(FV)"},{id:"12",time:"19:09",name:"1.2 净现值(NPV)及实际收益率"}]},{title:"第二章:证券估值",isUp:!0,chapters:[{id:"21",time:"27:49",name:"2.1 债券和股票的现金流贴现估值方法"},{id:"22",time:"16:04",name:"2.2 债券评级及债券协议"},{id:"23",time:"",name:"公司金融第二周测验"},{id:"24",time:"",name:"公司金融第二周作业"}]},{title:"课程大作业",isUp:!0,chapters:[]},{title:"课程资料",isUp:!0,chapters:[]}]}},{title:"课程讨论",isShow:!1},{title:"课程考核",isShow:!1,richText:"<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。84分以上方可申请学位。</div> <img class='b1' src='http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/www/course-check.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程反馈建设性问题及课程完成情况50分:反馈问题以教务老师统计为准,课程完成情况以后台数据为准,是否按时完成视频观看、测试、作业提交,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>",assess:{score:"20",duration:"00:01:20",progress:"0/10",video:[{title:"第一章 市场营销原理导论",sid:"",cid:"",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",time:"12:08",progress:"100%",vid:""}]}],homewrok:[{title:"第一章 市场营销原理导论",arr:[{name:"1.1 什么是市场营销什么是市场营销市场营销什么是市场营销什么是市场营销",score:20}]}],essay:{status:"未提交",score:"暂无"}}}],sort:[{isShow:!1,str:""},{isShow:!1,str:"tag"}],discussList:[],param:{limit:10,offset:0,sort:""},publish:{course_id:this.cid,semester_id:this.sid,title:"",contents:""},isPublicShow:!1,publishRules:{title:[{required:!0,message:"请输入标题",trigger:"blur"}]}}},mounted:function(){var o=this,d=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.getCourseDetail(this.cid,this.sid).then(function(n){o.headerInfo=n.headerInfo,o.tabs[0].content=n.tabs0Content,o.tabs[1].chapterList=n.tabs1ChapterList,n.tabs3richTest&&(o.tabs[3].richText=n.tabs3richTest),l.default.courseAction.getCourseAssess(o.cid,o.sid).then(function(t){for(var s=n.tabs1ChapterList.course,i=0;i<t.video.length;i++)for(var e=t.video[i].arr,a=s[i].chapters,r=0;r<e.length;r++)for(var c=r;c<a.length;c++)if(e[r].id===a[c].id){e[r].vid=a[c].vid,e[r].duration=a[c].duration;break}o.tabs[3].assess=t,d.close()}).catch(function(t){o.$message.error(t.message)}).finally(function(){}),l.default.discussAction.getCourseDiscussList(o.cid,o.sid,o.param).then(function(t){o.discussList=t}).catch(function(t){o.$message.error(t.message)}).finally(function(){})}).catch(function(t){o.$message.error(t.message),d.close()}).finally(function(){}),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1),this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null},updated:function(){this.resizeRoot(),this.isPublicShow&&this.initckeditor()},beforeUpdate:function(){this.isPublicShow||(this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null)},methods:{handleClick:function(t,s){},initckeditor:function(){!this.ckeditor&&(this.ckeditor=e.default.replace("editor",{height:300,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"]}]}))},clickJumpOrStatus:function(t){var s=t.currentTarget.dataset;if(s.status){var i=s.index,e=this.tabs[1].chapterList.course[i];e.isUp=!e.isUp}else{var a=this.tabs[1].chapterList.course[s.index],r=s.sid,c=s.cid;"course_info"===a.type?this.$router.push({path:"/player/"+r+"/"+c+"/course-info/course_info"}):"course_work"===a.type?this.$router.push({path:"/player/"+r+"/"+c+"/course-work/course_work"}):"teach_evaluation"===a.type&&(window.localStorage.setItem("headerInfo",JSON.stringify(this.headerInfo)),this.$router.push({path:"/survey/"+r+"/"+c}))}},jumpToOtherVA:function(t){if(this.headerInfo.isStart){var s=t.target.dataset,i=s.sid,e=s.cid,a=s.vid;if(!s.hasva){var r=s.index,c=s.index1,n=this.tabs[1].chapterList.course[r];return n&&n.chapters[c]?void(3===n.chapters[c].type?1===n.chapters[c].work_type?this.$router.push({path:"/player/"+i+"/"+e+"/chapter-exam/"+a}):2===n.chapters[c].work_type&&this.$router.push({path:"/player/"+i+"/"+e+"/chapter-work/"+a}):4===n.chapters[c].type&&this.$router.push({path:"/player/"+i+"/"+e+"/chapter-read/"+a})):void this.$message.error("系统未知错误,001")}this.$router.push({path:"/player/"+i+"/"+e+"/chapter-video/"+a})}else this.$message.error("先选课,才能学习")},startLearn:function(t){var s=t.currentTarget.dataset,i=s.sid,e=s.cid,a=s.vid;this.$router.push({path:"/player/"+i+"/"+e+"/chapter-video/"+a})},noWantThisCourse:function(){var s=this;if(this.passCountTimeout&&clearTimeout(this.passCountTimeout),this.passCountTimeout=setTimeout(function(){s.passCount=0},500),this.passCount<15)this.passCount++;else{var i=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.outSelectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!1,i.close(),s.$message({type:"success",message:"退课成功"}),s.passCount=0}).catch(function(t){s.$message.error(t.message)}).finally(function(){i.close()})}},jumpVAOrfinishVA:function(t){var s=t.currentTarget.dataset,i=this._keydownfn.bind(this,s);document.addEventListener("keydown",i,!1);document.addEventListener("mouseup",function t(){document.removeEventListener("keydown",i),document.removeEventListener("mouseup",t)},!1)},_keydownfn:function(t,s){var i=this,e=t.sid,a=t.cid,r=t.vid,c=t.duration;79===s.keyCode&&this.$router.push({path:"/player/"+e+"/"+a+"/chapter-video/"+r}),70===s.keyCode&&l.default.chapterAction.updateProgress({d:n.default.other.getIdt(),i:n.default.other.getIdt(),c:a,s:e,v:r,_p:parseInt(c)+11,_m:parseInt(c),_c:parseInt(c),ps:"0,0"}).then(function(t){t.success&&i.$message.success("补课成功,刷新查看结果")}).catch(function(t){i.$message.error(t.message)}).finally(function(){})},wantThisCourse:function(){var s=this,i=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.courseAction.selectCourse(this.cid,this.sid).then(function(t){s.headerInfo.isStart=!0,i.close(),s.$message({type:"success",message:"选课成功"})}).catch(function(t){s.$message.error(t.message)}).finally(function(){i.close()})},resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),r=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*r*1.5*2;e<i?(a.discussList[s]&&(a.discussList[s].isShow=!0),t.previousSibling.style.height=e+"px"):a.discussList[s]&&(a.discussList[s].isShow=!1)})},publishDiscuss:function(){this.isPublicShow=!0},gobackDiscuss:function(){this.isPublicShow=!1},onSubmitPublish:function(){var i=this;this.$refs.setPublishform.validate(function(t){if(!t)return i.$message.error("请输入标题"),!1;if(i.ckeditor.getData()){i.publish.contents=i.ckeditor.getData();var s=i.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.discussAction.publishQues(i.publish).then(function(t){i.$message({type:"success",message:"问题发布成功"}),i.isPublicShow=!1,l.default.discussAction.getCourseDiscussList(i.cid,i.sid,i.param).then(function(t){i.discussList=t}).catch(function(t){i.$message.error(t.message)}).finally(function(){})}).catch(function(t){i.$message.error(t.message)}).finally(function(){s.close()})}else i.$message.error("请输入正文内容")})},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id;this.$router.push({path:"/app/my-learn/discuss-detail/"+this.sid+"/"+this.cid+"/"+s})},sortFn:function(t){var s=this,i=t.currentTarget.dataset.index,e=t.currentTarget.dataset.str;this.sort[i].isShow=!this.sort[i].isShow,this.sort[(parseInt(i)+1)%2].isShow=!1,this.param.sort=this.sort[i].isShow?e:"",this.param.offset=0;var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.discussAction.getCourseDiscussList(this.cid,this.sid,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){a.close()})}}}},307:function(t,s,i){},393:function(t,s,i){"use strict";var e=i(307);i.n(e).a},448:function(t,s,i){"use strict";var e=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"con-title"},[e._v("课程详情")]),e._v(" "),a("div",{staticClass:"detail-box"},[a("div",{staticClass:"box-thd"},[a("div",{staticClass:"title",on:{click:e.noWantThisCourse}},[e._v(e._s(e.headerInfo.title)+"\n "),e.headerInfo.isStart&&e.tabs[1].chapterList.currentChapterId?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":e.cid,"data-sid":e.sid,"data-vid":e.tabs[1].chapterList.currentChapterId},on:{click:e.startLearn}},[e._v("继续学习")])]:e.headerInfo.isStart?[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini","data-cid":e.cid,"data-sid":e.sid,"data-vid":e.tabs[1].chapterList.course[0].chapters[0].vid},on:{click:e.startLearn}},[e._v("开始学习")])]:[a("el-button",{staticClass:"rbtn",attrs:{type:"primary",size:"mini"},on:{click:e.wantThisCourse}},[e._v("选课")])]],2),e._v(" "),a("div",{staticClass:"tags"},[e._l(e.headerInfo.arrTab,function(t,s){return[a("span",{key:s,staticClass:"tabs-item"},[e._v(e._s(t))])]})],2),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(e.headerInfo.time)+" "+e._s(e.headerInfo.status))]),e._v(" "),a("div",{staticStyle:{float:"left",width:"100%",height:"1px"}}),e._v(" "),a("div",{staticClass:"progress"},[e._v("\n 视频观看进度 "),a("el-progress",{attrs:{percentage:e.headerInfo.progress,color:"#b49441"}})],1)]),e._v(" "),a("div",{staticClass:"box-tbd"},[a("div",{staticClass:"left-pic"},[e.headerInfo.bgSrc?[a("img",{attrs:{src:e.headerInfo.bgSrc,alt:""}})]:[e._m(0)]],2),e._v(" "),a("div",{staticClass:"right-content",domProps:{innerHTML:e._s(e.tabs[0].content.text)}})]),e._v(" "),a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{xs:24,sm:15,md:17,lg:18,xl:20}},[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"课程内容",name:"1"}},[a("div",{staticClass:"course-list"},[e._l(e.tabs[1].chapterList.course,function(t,i){return[a("div",{key:i,class:["content-group",t.chapters.length?"":"no-child",t.isUp?"up":""]},[a("div",{staticClass:"title",attrs:{"data-index":i,"data-cid":t.cid,"data-sid":t.sid,"data-status":!!t.chapters.length},on:{click:function(t){e.clickJumpOrStatus(t)}}},[e._v(e._s(t.title)+"\n "),a("i",{class:["side",t.chapters.length?"":"none",t.isUp?"el-icon-arrow-down":"el-icon-arrow-up"]})]),e._v(" "),e._l(t.chapters,function(t,s){return[a("div",{key:s,class:["body",t.id===e.tabs[1].chapterList.currentChapterId&&"on"]},[a("div",{staticClass:"name",attrs:{"data-vid":t.vid,"data-cid":t.cid,"data-sid":t.sid,"data-hasVA":t.time,"data-name":t.name,"data-index":i,"data-index1":s},on:{click:e.jumpToOtherVA}},[e._v("\n "+e._s(t.name)+"\n "),a("div",{staticClass:"time"},[e._v(e._s(t.time))])])])]})],2)]})],2)]),e._v(" "),a("el-tab-pane",{attrs:{label:"课程讨论",name:"2"}},[e.isPublicShow?[a("div",{staticClass:"publish"},[a("div",{staticStyle:{overflow:"hidden"}},[a("div",{staticClass:"right-goback-txt"},[e._v("发布问题")]),e._v(" "),a("el-button",{attrs:{type:"text"},on:{click:e.gobackDiscuss}},[e._v("返回问题列表")])],1),e._v(" "),a("el-form",{ref:"setPublishform",attrs:{model:e.publish,rules:e.publishRules}},[a("el-form-item",{attrs:{label:"标题",prop:"title"}},[a("el-input",{attrs:{type:"text",placeholder:"请输入标题"},model:{value:e.publish.title,callback:function(t){e.$set(e.publish,"title",t)},expression:"publish.title"}})],1),e._v(" "),a("div",{staticStyle:{"line-height":"1.5","font-size":"0.16rem","margin-bottom":"0.2rem"}},[e._v("正文内容")]),e._v(" "),a("textarea",{attrs:{id:"editor"}}),e._v(" "),a("div",{staticStyle:{height:"0.2rem"}}),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:e.onSubmitPublish}},[e._v("发布问题")])],1)],1)],1)]:[a("div",{staticClass:"pub-ques"},[a("div",{staticClass:"ask"},[a("i",{staticClass:"el-icon-edit img"}),e._v(" "),a("div",{staticClass:"txt",on:{click:e.publishDiscuss}},[e._v("发布问题 ...")])]),e._v(" "),a("div",{class:["item-order",e.sort[0].isShow?"on":""],attrs:{"data-index":0,"data-str":e.sort[0].str},on:{click:e.sortFn}},[e._v("按时间排序")]),e._v(" "),a("div",{class:["item-order",e.sort[1].isShow?"on":""],attrs:{"data-index":1,"data-str":e.sort[1].str},on:{click:e.sortFn}},[e._v("按投票排序")])]),e._v(" "),a("div",{staticClass:"discuss-scroll",attrs:{bindscrolltolower:"loadmore",bindscrolltoupper:"updatenew"}},[e._l(e.discussList,function(t,s){return[a("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-index":s},on:{click:e.goDiscussDetail}},[a("div",{staticClass:"user"},[t.user.url?[a("img",{staticClass:"img",attrs:{src:t.user.url}})]:[a("img",{staticClass:"img",attrs:{src:i(112)}})],e._v(" "),a("div",{staticClass:"right"},[a("div",{staticClass:"name"},[e._v(e._s(t.user.name))]),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(t.user.time))])])],2),e._v(" "),a("div",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("div",{class:["text"],domProps:{innerHTML:e._s(t.text)}}),a("div",{class:["ellipsis",t.isShow?"on":""]},[e._v("....")]),e._v(" "),a("div",{staticClass:"result"},[e._v(e._s(t.askCnt)+" 回答"),a("div",{staticStyle:{display:"inline-block",width:"20px"}}),e._v(e._s(t.TouCnt)+" 投票")])])]}),e._v(" "),e.discussList.length?e._e():[a("div",{staticClass:"no-data"},[e._v("暂无相关讨论")])]],2)]],2),e._v(" "),a("el-tab-pane",{attrs:{label:"课程考核",name:"3"}},[a("div",{staticClass:"course-assess"},[a("div",{staticClass:"title"},[e._v("最终成绩:"+e._s(e.tabs[3].assess.score&&e.tabs[3].assess.score+"分"||"暂无"))]),e._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),e._v(" "),a("div",{staticClass:"tit"},[e._v("课程考核标准")])]),e._v(" "),a("div",{staticClass:"detail"},[a("div",{staticClass:"detail-rich",domProps:{innerHTML:e._s(e.tabs[3].richText)}})]),e._v(" "),a("div",{staticClass:"topic"},[a("div",{staticClass:"line"}),e._v(" "),a("div",{staticClass:"tit"},[e._v("学习进度及成绩")])]),e._v(" "),a("div",{staticClass:"table-title"},[e._v("课程“音视频”观看统计( 累计学习时长:"+e._s(e.tabs[3].assess.duration)+",完成率:"+e._s(e.tabs[3].assess.progress)+" )")]),e._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col3-td1"},[e._v("章节")]),e._v(" "),a("div",{staticClass:"col3-td2"},[e._v("学习时长")]),e._v(" "),a("div",{staticClass:"col3-td3"},[e._v("百分比")])]),e._v(" "),e._l(e.tabs[3].assess.video,function(i,t){return[a("div",{key:t,staticClass:"tb"},[a("div",{staticClass:"tt"},[e._v(e._s(i.title))]),e._v(" "),e._l(i.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col3-td1",attrs:{"data-sid":i.sid,"data-cid":i.cid,"data-vid":t.vid,"data-duration":t.duration},on:{mousedown:function(t){e.jumpVAOrfinishVA(t)}}},[e._v(e._s(t.name))]),e._v(" "),a("div",{staticClass:"col3-td2"},[e._v(e._s(t.time))]),e._v(" "),a("div",{staticClass:"col3-td3"},[e._v(e._s(t.progress))])])]})],2)]}),e._v(" "),e.tabs[3].assess.video.length?e._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[e._v("暂无数据")])]],2),e._v(" "),a("div",{staticClass:"table-title"},[e._v("试题及主观题")]),e._v(" "),a("div",{staticClass:"table"},[a("div",{staticClass:"th"},[a("div",{staticClass:"col2-td1"},[e._v("章节")]),e._v(" "),a("div",{staticClass:"col2-td2"},[e._v("得分")])]),e._v(" "),e._l(e.tabs[3].assess.homewrok,function(t,s){return[a("div",{key:s,staticClass:"tb"},[a("div",{staticClass:"tt"},[e._v(e._s(t.title))]),e._v(" "),e._l(t.arr,function(t,s){return[a("div",{key:s,staticClass:"rd"},[a("div",{staticClass:"col2-td1"},[e._v(e._s(t.name))]),e._v(" "),a("div",{staticClass:"col2-td2"},[e._v(e._s(t.score))])])]})],2)]}),e._v(" "),e.tabs[3].assess.homewrok.length?e._e():[a("div",{staticStyle:{width:"100%","font-size":"30rpx",margin:"40rpx auto 10rpx auto","text-align":"center"}},[e._v("暂无数据")])]],2),e._v(" "),a("div",{staticClass:"table-title"},[e._v("大作业")]),e._v(" "),a("div",{staticClass:"status-text"},[e._v("状 态:"+e._s(e.tabs[3].assess.essay.status))]),e._v(" "),a("div",{staticClass:"status-text"},[e._v("得 分:"+e._s(e.tabs[3].assess.essay.score))])])])],1)],1),e._v(" "),a("el-col",{attrs:{xs:24,sm:9,md:7,lg:6,xl:4}},[e.tabs[0].content&&e.tabs[0].content.teachers&&e.tabs[0].content.teachers.length?[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName1,callback:function(t){e.activeName1=t},expression:"activeName1"}},[a("el-tab-pane",{attrs:{label:"课程讲师",name:"1"}},[e._l(e.tabs[0].content.teachers,function(t,s){return[a("div",{key:s,staticClass:"list-teacher"},[a("img",{staticClass:"img",attrs:{src:t.src,alt:""}}),e._v(" "),a("div",{staticClass:"ctx"},[a("div",{staticClass:"top-ctx"},[a("div",{staticClass:"name"},[e._v(e._s(t.name))])]),e._v(" "),a("div",{staticClass:"bottom-ctx"},[a("div",{staticClass:"t1"},[e._v(e._s(t.edu))]),e._v(" "),a("div",{staticClass:"t2"},[e._v(e._s(t.job))]),e._v(" "),a("div",{staticClass:"t3"},[e._v(e._s(t.unit))])])])])]})],2)],1)]:e._e()],2)],1)],1)])},a=[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"no-img"},[s("i",{staticClass:"el-icon-self-13"})])}];i.d(s,"a",function(){return e}),i.d(s,"b",function(){return a})}}]);
\ No newline at end of file
body .el-tab-pane[data-v-eb0a5dc8]{padding-top:0}.detail-box[data-v-eb0a5dc8]{margin:.3rem;color:#313131;overflow:hidden}.detail-box .box-thd[data-v-eb0a5dc8]{margin-bottom:.1rem;overflow:hidden}.detail-box .box-thd .title[data-v-eb0a5dc8]{font-size:.22rem;line-height:1.5;font-weight:700}.detail-box .box-thd .title .rbtn[data-v-eb0a5dc8]{float:right}.detail-box .box-thd .tags[data-v-eb0a5dc8]{float:left;margin:.1rem .2rem .05rem 0;font-size:.14rem}.detail-box .box-thd .tags span[data-v-eb0a5dc8]{padding:0 .1rem;margin:0;border-right:1px solid #313131}.detail-box .box-thd .tags span[data-v-eb0a5dc8]:first-child{padding-left:0}.detail-box .box-thd .tags span[data-v-eb0a5dc8]:last-child{border:none}.detail-box .box-thd .time[data-v-eb0a5dc8]{float:left;margin:.1rem 0 .05rem;font-size:.14rem}.detail-box .box-thd .progress[data-v-eb0a5dc8]{float:left;width:100%;font-size:14px}.detail-box .box-thd .progress .el-progress[data-v-eb0a5dc8]{width:45%;display:inline-block;vertical-align:text-bottom}.detail-box .box-tbd[data-v-eb0a5dc8]{margin-bottom:.2rem;overflow:hidden}.detail-box .box-tbd .left-pic[data-v-eb0a5dc8]{float:left;width:1.8rem;overflow:hidden}.detail-box .box-tbd .left-pic .no-img[data-v-eb0a5dc8]{width:100%;height:1rem;text-align:center;line-height:1.1rem;border:1px solid #c9c9c9}.detail-box .box-tbd .left-pic .no-img i[data-v-eb0a5dc8]{font-size:.4rem;color:#c9c9c9}.detail-box .box-tbd .left-pic img[data-v-eb0a5dc8]{display:block;width:100%}.detail-box .box-tbd .right-content[data-v-eb0a5dc8]{margin-left:2rem;line-height:1.5;font-size:14px}.detail-box .course-list[data-v-eb0a5dc8]{padding:.2rem 0 .1rem;background:#fff}.detail-box .course-list .none[data-v-eb0a5dc8]{display:none}.detail-box .course-list .content-group[data-v-eb0a5dc8]{padding:0 .2rem}.detail-box .course-list .content-group.no-child[data-v-eb0a5dc8],.detail-box .course-list .content-group.up[data-v-eb0a5dc8]{margin-bottom:.1rem}.detail-box .course-list .content-group.up .body[data-v-eb0a5dc8]{display:none}.detail-box .course-list .content-group .title[data-v-eb0a5dc8]{position:relative;padding:.1rem .54rem .1rem .2rem;color:#313131;font-size:.16rem;line-height:.24rem;background:#e5e5e5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.detail-box .course-list .content-group .title .side[data-v-eb0a5dc8]{position:absolute;top:50%;right:.24rem;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .course-list .content-group .body[data-v-eb0a5dc8]{position:relative;padding:0 .2rem;font-size:.16rem;line-height:.24rem;color:#505050;cursor:pointer}.detail-box .course-list .content-group .body[data-v-eb0a5dc8]:hover{background:#f3f3f3}.detail-box .course-list .content-group .body.on .name[data-v-eb0a5dc8]{color:#b2183e}.detail-box .course-list .content-group .body .name[data-v-eb0a5dc8]{padding:.1rem .8rem .1rem .2rem;border-left:.02rem solid #c9c9c9}.detail-box .course-list .content-group .body .name[data-v-eb0a5dc8]:before{width:.2rem;height:.2rem;-webkit-border-radius:.32rem;-moz-border-radius:.32rem;border-radius:.32rem;border:.02rem solid #c9c9c9;background:#e5e5e5;position:absolute;left:.11rem;top:.12rem;content:"";display:block;z-index:10}.detail-box .course-list .content-group .body .name .time[data-v-eb0a5dc8]{position:absolute;right:.16rem;top:.1rem}.detail-box .list-teacher[data-v-eb0a5dc8]{margin-bottom:.2rem;overflow:hidden}.detail-box .list-teacher .img[data-v-eb0a5dc8]{float:left;width:30%;min-height:.8rem;background:#c9c9c9}.detail-box .list-teacher .ctx[data-v-eb0a5dc8]{position:relative;margin-left:32%;min-height:.5rem}.detail-box .list-teacher .ctx .top-ctx[data-v-eb0a5dc8]{position:absolute;top:0;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .top-ctx .tit[data-v-eb0a5dc8]{font-size:14px;color:#313131;line-height:1.5;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx[data-v-eb0a5dc8]{display:block;padding-top:.2rem;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .bottom-ctx .t1[data-v-eb0a5dc8],.detail-box .list-teacher .ctx .bottom-ctx .t2[data-v-eb0a5dc8]{font-size:12px;line-height:1.5;color:#707070;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx .t3[data-v-eb0a5dc8]{font-size:12px;color:#707070;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .pub-ques[data-v-eb0a5dc8]{padding:0 .26rem;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.detail-box .pub-ques .ask[data-v-eb0a5dc8]{position:relative;float:left;margin-top:.22rem;width:40%;min-width:1rem;height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;border:1rpx solid #dcdcdc;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.detail-box .pub-ques .ask .img[data-v-eb0a5dc8]{position:absolute;left:.15rem;font-size:.24rem;line-height:.42rem}.detail-box .pub-ques .ask .txt[data-v-eb0a5dc8]{position:absolute;left:.45rem;top:.01rem;height:.4rem;width:80%;border:none;line-height:.4rem;font-size:.2rem;color:#313131}.detail-box .pub-ques .item-order[data-v-eb0a5dc8]{float:right;margin-top:.22rem;padding:0 .3rem;margin-left:.2rem;font-size:.2rem;color:#313131;text-align:center;line-height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;background:#fff;cursor:pointer}.detail-box .pub-ques .item-order.on[data-v-eb0a5dc8]{background:#b49441;color:#fff}.detail-box .discuss-scroll .item-list[data-v-eb0a5dc8]:first-child{margin-top:.3rem}.detail-box .discuss-scroll .item-list[data-v-eb0a5dc8]{position:relative;padding:.3rem .26rem;margin-bottom:.2rem;background:#fff;-webkit-box-shadow:0 2px 4px rgba(10,4,6,.1);-moz-box-shadow:0 2px 4px rgba(10,4,6,.1);box-shadow:0 2px 4px rgba(10,4,6,.1);cursor:pointer}.detail-box .discuss-scroll .item-list .user[data-v-eb0a5dc8]{position:relative;overflow:hidden}.detail-box .discuss-scroll .item-list .user .img[data-v-eb0a5dc8]{float:left;width:.6rem;height:.6rem;background:#e5e5e5;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.detail-box .discuss-scroll .item-list .user .right[data-v-eb0a5dc8]{position:absolute;left:.72rem;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .discuss-scroll .item-list .user .right .name[data-v-eb0a5dc8]{font-size:.18rem;color:#313131;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .discuss-scroll .item-list .user .right .time[data-v-eb0a5dc8]{margin-top:.05rem;font-size:.16rem;color:#a0a0a0}.detail-box .discuss-scroll .item-list .title[data-v-eb0a5dc8]{margin:.15rem 0;font-size:.22rem;color:#313131;font-weight:700;line-height:1.5;text-align:justify}.detail-box .discuss-scroll .item-list .text[data-v-eb0a5dc8]{font-size:.18rem;color:#535353;line-height:1.5;text-align:justify;word-break:break-all;overflow:hidden}.detail-box .discuss-scroll .item-list .ellipsis[data-v-eb0a5dc8]{display:none;position:absolute;right:.24rem;bottom:.68rem;padding:0 .15rem 0 .05rem;color:#535353;background:#fff;font-size:.18rem}.detail-box .discuss-scroll .item-list .ellipsis.on[data-v-eb0a5dc8]{display:block}.detail-box .discuss-scroll .item-list .result[data-v-eb0a5dc8]{margin-top:.15rem;font-size:.16rem;color:#313131}.detail-box .discuss-scroll .item-list .course-name[data-v-eb0a5dc8]{position:absolute;right:.32rem;bottom:.28rem;font-size:.16rem;color:#b49441}.detail-box .discuss-scroll .no-data[data-v-eb0a5dc8]{margin:.2rem 0;font-size:.24rem;color:#112c42;line-height:2rem;text-align:center;background:#fff}.detail-box .publish[data-v-eb0a5dc8]{margin-bottom:.5rem;padding:.3rem;background:#f7f7f7;overflow:hidden}.detail-box .publish .right-goback-txt[data-v-eb0a5dc8]{float:right;font-size:.2rem;color:#000;line-height:40px}.detail-box .course-assess[data-v-eb0a5dc8]{padding:.2rem;margin-bottom:1rem;background:#fff;overflow:hidden}.detail-box .course-assess .title[data-v-eb0a5dc8]{color:#313131;font-size:.2rem;margin:.4rem auto .2rem;text-align:center}.detail-box .course-assess .topic[data-v-eb0a5dc8]{position:relative;width:100%;height:.5rem;overflow:hidden}.detail-box .course-assess .topic .line[data-v-eb0a5dc8]{width:3rem;height:1px;margin:.25rem auto 0;background:#313131}.detail-box .course-assess .topic .tit[data-v-eb0a5dc8]{position:absolute;top:50%;left:50%;padding:.1rem .22rem;font-size:.14rem;font-weight:700;color:#313131;background:#fff;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.detail-box .course-assess .detail[data-v-eb0a5dc8]{margin-bottom:.4rem;padding:0 .2rem}.detail-box .course-assess .table-title[data-v-eb0a5dc8]{font-size:.16rem;font-weight:700;margin:.2rem .26rem;text-align:justify;color:#b49441}.detail-box .course-assess .table[data-v-eb0a5dc8]{color:#313131;padding:0 .2rem .3rem;border-bottom:.02rem solid #c9c9c9}.detail-box .course-assess .table .col3-td1[data-v-eb0a5dc8]{float:left;padding-left:.15rem;width:65%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col3-td2[data-v-eb0a5dc8]{float:left;width:21%;text-align:center}.detail-box .course-assess .table .col3-td3[data-v-eb0a5dc8]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td1[data-v-eb0a5dc8]{float:left;padding-left:.15rem;width:86%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td2[data-v-eb0a5dc8]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .th[data-v-eb0a5dc8]{padding:0 .2rem;font-size:.16rem;overflow:hidden;border-bottom:.02rem solid #e5e5e5;line-height:1.5;font-weight:700}.detail-box .course-assess .table .tb[data-v-eb0a5dc8]{padding:0 0 0 .2rem;font-size:.14rem;overflow:hidden}.detail-box .course-assess .table .tb .tt[data-v-eb0a5dc8]{padding:.1rem 0 .02rem;line-height:.24rem;font-weight:700}.detail-box .course-assess .table .tb .rd[data-v-eb0a5dc8]{padding-right:.2rem;overflow:hidden;line-height:.26rem}.detail-box .course-assess .table .tb .rd[data-v-eb0a5dc8]:hover{background:#efefef}.detail-box .course-assess .status-text[data-v-eb0a5dc8]{padding-left:.3rem;font-size:.14rem;color:#000;line-height:1.5}@media (max-width:767px){.detail-box[data-v-eb0a5dc8]{margin:.2rem}.detail-box .box-thd .progress .el-progress[data-v-eb0a5dc8]{width:80%}.detail-box .box-tbd .left-pic[data-v-eb0a5dc8]{width:100%;margin-bottom:.2rem}.detail-box .box-tbd .right-content[data-v-eb0a5dc8]{margin-left:0;display:block}.detail-box .course-assess .detail[data-v-eb0a5dc8]{padding:0}.detail-box .course-assess .table[data-v-eb0a5dc8]{padding:0 0 .3rem}}
\ No newline at end of file
body .el-tab-pane[data-v-ec4add66]{padding-top:0}.detail-box[data-v-ec4add66]{margin:.3rem;color:#313131;overflow:hidden}.detail-box .box-thd[data-v-ec4add66]{margin-bottom:.1rem;overflow:hidden}.detail-box .box-thd .title[data-v-ec4add66]{font-size:.22rem;line-height:1.5;font-weight:700}.detail-box .box-thd .title .rbtn[data-v-ec4add66]{float:right}.detail-box .box-thd .tags[data-v-ec4add66]{float:left;margin:.1rem .2rem .05rem 0;font-size:.14rem}.detail-box .box-thd .tags span[data-v-ec4add66]{padding:0 .1rem;margin:0;border-right:1px solid #313131}.detail-box .box-thd .tags span[data-v-ec4add66]:first-child{padding-left:0}.detail-box .box-thd .tags span[data-v-ec4add66]:last-child{border:none}.detail-box .box-thd .time[data-v-ec4add66]{float:left;margin:.1rem 0 .05rem;font-size:.14rem}.detail-box .box-thd .progress[data-v-ec4add66]{float:left;width:100%;font-size:14px}.detail-box .box-thd .progress .el-progress[data-v-ec4add66]{width:45%;display:inline-block;vertical-align:text-bottom}.detail-box .box-tbd[data-v-ec4add66]{margin-bottom:.2rem;overflow:hidden}.detail-box .box-tbd .left-pic[data-v-ec4add66]{float:left;width:1.8rem;overflow:hidden}.detail-box .box-tbd .left-pic .no-img[data-v-ec4add66]{width:100%;height:1rem;text-align:center;line-height:1.1rem;border:1px solid #c9c9c9}.detail-box .box-tbd .left-pic .no-img i[data-v-ec4add66]{font-size:.4rem;color:#c9c9c9}.detail-box .box-tbd .left-pic img[data-v-ec4add66]{display:block;width:100%}.detail-box .box-tbd .right-content[data-v-ec4add66]{margin-left:2rem;line-height:1.5;font-size:14px}.detail-box .course-list[data-v-ec4add66]{padding:.2rem 0 .1rem;background:#fff}.detail-box .course-list .none[data-v-ec4add66]{display:none}.detail-box .course-list .content-group[data-v-ec4add66]{padding:0 .2rem}.detail-box .course-list .content-group.no-child[data-v-ec4add66],.detail-box .course-list .content-group.up[data-v-ec4add66]{margin-bottom:.1rem}.detail-box .course-list .content-group.up .body[data-v-ec4add66]{display:none}.detail-box .course-list .content-group .title[data-v-ec4add66]{position:relative;padding:.1rem .54rem .1rem .2rem;color:#313131;font-size:.16rem;line-height:.24rem;background:#e5e5e5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.detail-box .course-list .content-group .title .side[data-v-ec4add66]{position:absolute;top:50%;right:.24rem;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .course-list .content-group .body[data-v-ec4add66]{position:relative;padding:0 .2rem;font-size:.16rem;line-height:.24rem;color:#505050;cursor:pointer}.detail-box .course-list .content-group .body[data-v-ec4add66]:hover{background:#f3f3f3}.detail-box .course-list .content-group .body.on .name[data-v-ec4add66]{color:#b2183e}.detail-box .course-list .content-group .body .name[data-v-ec4add66]{padding:.1rem .8rem .1rem .2rem;border-left:.02rem solid #c9c9c9}.detail-box .course-list .content-group .body .name[data-v-ec4add66]:before{width:.2rem;height:.2rem;-webkit-border-radius:.32rem;-moz-border-radius:.32rem;border-radius:.32rem;border:.02rem solid #c9c9c9;background:#e5e5e5;position:absolute;left:.11rem;top:.12rem;content:"";display:block;z-index:10}.detail-box .course-list .content-group .body .name .time[data-v-ec4add66]{position:absolute;right:.16rem;top:.1rem}.detail-box .list-teacher[data-v-ec4add66]{margin-bottom:.2rem;overflow:hidden}.detail-box .list-teacher .img[data-v-ec4add66]{float:left;width:30%;min-height:.8rem;background:#c9c9c9}.detail-box .list-teacher .ctx[data-v-ec4add66]{position:relative;margin-left:32%;min-height:.5rem}.detail-box .list-teacher .ctx .top-ctx[data-v-ec4add66]{position:absolute;top:0;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .top-ctx .tit[data-v-ec4add66]{font-size:14px;color:#313131;line-height:1.5;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx[data-v-ec4add66]{display:block;padding-top:.2rem;width:100%;overflow:hidden}.detail-box .list-teacher .ctx .bottom-ctx .t1[data-v-ec4add66],.detail-box .list-teacher .ctx .bottom-ctx .t2[data-v-ec4add66]{font-size:12px;line-height:1.5;color:#707070;overflow:hidden;word-break:break-all}.detail-box .list-teacher .ctx .bottom-ctx .t3[data-v-ec4add66]{font-size:12px;color:#707070;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .pub-ques[data-v-ec4add66]{padding:0 .26rem;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.detail-box .pub-ques .ask[data-v-ec4add66]{position:relative;float:left;margin-top:.22rem;width:40%;min-width:1rem;height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;border:1rpx solid #dcdcdc;background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.detail-box .pub-ques .ask .img[data-v-ec4add66]{position:absolute;left:.15rem;font-size:.24rem;line-height:.42rem}.detail-box .pub-ques .ask .txt[data-v-ec4add66]{position:absolute;left:.45rem;top:.01rem;height:.4rem;width:80%;border:none;line-height:.4rem;font-size:.2rem;color:#313131}.detail-box .pub-ques .item-order[data-v-ec4add66]{float:right;margin-top:.22rem;padding:0 .3rem;margin-left:.2rem;font-size:.2rem;color:#313131;text-align:center;line-height:.42rem;-webkit-border-radius:.28rem;-moz-border-radius:.28rem;border-radius:.28rem;background:#fff;cursor:pointer}.detail-box .pub-ques .item-order.on[data-v-ec4add66]{background:#b49441;color:#fff}.detail-box .discuss-scroll .item-list[data-v-ec4add66]:first-child{margin-top:.3rem}.detail-box .discuss-scroll .item-list[data-v-ec4add66]{position:relative;padding:.3rem .26rem;margin-bottom:.2rem;background:#fff;-webkit-box-shadow:0 2px 4px rgba(10,4,6,.1);-moz-box-shadow:0 2px 4px rgba(10,4,6,.1);box-shadow:0 2px 4px rgba(10,4,6,.1);cursor:pointer}.detail-box .discuss-scroll .item-list .user[data-v-ec4add66]{position:relative;overflow:hidden}.detail-box .discuss-scroll .item-list .user .img[data-v-ec4add66]{float:left;width:.6rem;height:.6rem;background:#e5e5e5;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.detail-box .discuss-scroll .item-list .user .right[data-v-ec4add66]{position:absolute;left:.72rem;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%)}.detail-box .discuss-scroll .item-list .user .right .name[data-v-ec4add66]{font-size:.18rem;color:#313131;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.detail-box .discuss-scroll .item-list .user .right .time[data-v-ec4add66]{margin-top:.05rem;font-size:.16rem;color:#a0a0a0}.detail-box .discuss-scroll .item-list .title[data-v-ec4add66]{margin:.15rem 0;font-size:.22rem;color:#313131;font-weight:700;line-height:1.5;text-align:justify}.detail-box .discuss-scroll .item-list .text[data-v-ec4add66]{font-size:.18rem;color:#535353;line-height:1.5;text-align:justify;word-break:break-all;overflow:hidden}.detail-box .discuss-scroll .item-list .ellipsis[data-v-ec4add66]{display:none;position:absolute;right:.24rem;bottom:.68rem;padding:0 .15rem 0 .05rem;color:#535353;background:#fff;font-size:.18rem}.detail-box .discuss-scroll .item-list .ellipsis.on[data-v-ec4add66]{display:block}.detail-box .discuss-scroll .item-list .result[data-v-ec4add66]{margin-top:.15rem;font-size:.16rem;color:#313131}.detail-box .discuss-scroll .item-list .course-name[data-v-ec4add66]{position:absolute;right:.32rem;bottom:.28rem;font-size:.16rem;color:#b49441}.detail-box .discuss-scroll .no-data[data-v-ec4add66]{margin:.2rem 0;font-size:.24rem;color:#112c42;line-height:2rem;text-align:center;background:#fff}.detail-box .publish[data-v-ec4add66]{margin-bottom:.5rem;padding:.3rem;background:#f7f7f7;overflow:hidden}.detail-box .publish .right-goback-txt[data-v-ec4add66]{float:right;font-size:.2rem;color:#000;line-height:40px}.detail-box .course-assess[data-v-ec4add66]{padding:.2rem;margin-bottom:1rem;background:#fff;overflow:hidden}.detail-box .course-assess .title[data-v-ec4add66]{color:#313131;font-size:.2rem;margin:.4rem auto .2rem;text-align:center}.detail-box .course-assess .topic[data-v-ec4add66]{position:relative;width:100%;height:.5rem;overflow:hidden}.detail-box .course-assess .topic .line[data-v-ec4add66]{width:3rem;height:1px;margin:.25rem auto 0;background:#313131}.detail-box .course-assess .topic .tit[data-v-ec4add66]{position:absolute;top:50%;left:50%;padding:.1rem .22rem;font-size:.14rem;font-weight:700;color:#313131;background:#fff;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.detail-box .course-assess .detail[data-v-ec4add66]{margin-bottom:.4rem;padding:0 .2rem}.detail-box .course-assess .table-title[data-v-ec4add66]{font-size:.16rem;font-weight:700;margin:.2rem .26rem;text-align:justify;color:#b49441}.detail-box .course-assess .table[data-v-ec4add66]{color:#313131;padding:0 .2rem .3rem;border-bottom:.02rem solid #c9c9c9}.detail-box .course-assess .table .col3-td1[data-v-ec4add66]{float:left;padding-left:.15rem;width:65%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col3-td2[data-v-ec4add66]{float:left;width:21%;text-align:center}.detail-box .course-assess .table .col3-td3[data-v-ec4add66]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td1[data-v-ec4add66]{float:left;padding-left:.15rem;width:86%;text-align:left;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .col2-td2[data-v-ec4add66]{float:left;width:14%;text-align:right;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-sizing:border-box}.detail-box .course-assess .table .th[data-v-ec4add66]{padding:0 .2rem;font-size:.16rem;overflow:hidden;border-bottom:.02rem solid #e5e5e5;line-height:1.5;font-weight:700}.detail-box .course-assess .table .tb[data-v-ec4add66]{padding:0 0 0 .2rem;font-size:.14rem;overflow:hidden}.detail-box .course-assess .table .tb .tt[data-v-ec4add66]{padding:.1rem 0 .02rem;line-height:.24rem;font-weight:700}.detail-box .course-assess .table .tb .rd[data-v-ec4add66]{padding-right:.2rem;overflow:hidden;line-height:.26rem}.detail-box .course-assess .table .tb .rd[data-v-ec4add66]:hover{background:#efefef}.detail-box .course-assess .status-text[data-v-ec4add66]{padding-left:.3rem;font-size:.14rem;color:#000;line-height:1.5}@media (max-width:767px){.detail-box[data-v-ec4add66]{margin:.2rem}.detail-box .box-thd .progress .el-progress[data-v-ec4add66]{width:80%}.detail-box .box-tbd .left-pic[data-v-ec4add66]{width:100%;margin-bottom:.2rem}.detail-box .box-tbd .right-content[data-v-ec4add66]{margin-left:0;display:block}.detail-box .course-assess .detail[data-v-ec4add66]{padding:0}.detail-box .course-assess .table[data-v-ec4add66]{padding:0 0 .3rem}}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{255:function(s,t,i){"use strict";i.r(t);var e=i(434),a=i(306);for(var n in a)"default"!==n&&function(s){i.d(t,s,function(){return a[s]})}(n);i(385);var c=i(1),d=Object(c.a)(a.default,e.a,e.b,!1,null,"7fcfadf1",null);d.options.__file="discussDetail.vue",t.default=d.exports},306:function(s,t,i){"use strict";i.r(t);var e=i(307),a=i.n(e);for(var n in e)"default"!==n&&function(s){i.d(t,s,function(){return e[s]})}(n);t.default=a.a},307:function(s,i,e){"use strict";(function(r){Object.defineProperty(i,"__esModule",{value:!0});var o=t(e(72)),s=t(e(249));function t(s){return s&&s.__esModule?s:{default:s}}i.default={props:{sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{ckeditor:null,courseTitle:"课程问题",discussQues:{qid:"",user:{url:"./icons/default.jpg",name:"用户名000",time:"2018-2-12 15:28:47"},title:"这是一个一句话问题这是一个一句话问题这是一个一句话问题标题这是一个一句话问题",text:"<p>王家有三兄弟甲、乙、丙,丙幼年时送给胡某作养子,丙结婚时,胡某为其盖了新房,后因失火致使该房屋被烧毁。丙的生父母就将自己<p>",askCnt:20,TouCnt:100,likeCnt:100,comCnt:100,mine:!0,isShowComment:!1,has_tag:!1,tag_id:null,comments:[{cid:"",user:{url:"",name:"用户名000",time:"2018-2-12 15:28:47"},text:"在线学习课程",mine:!0},{cid:"",user:{url:"",name:"用户名000",time:"2018-2-12 15:28:47"},text:"在线学习课程",mine:!1}]},answersList:[],disQus:{isShowComment:!1},answers:[{aid:"",isShowComment:!1}],inputStatus:{canFocus:!1,placeholder:"回答问题 ...",input:""},qid:"6447416971762860032",call:{}}},mounted:function(){var e=this;this.call={questionId:this.id,semester_id:"",contents:"",question_id:this.id,answer:!0};var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.getDiscussDetail(this.id).then(function(s){e.discussQues=s.ques,e.call.semester_id=e.discussQues.sid,e.disQus.isShowComment=s.ques.isShowComment;for(var t=[],i=0;i<s.answer.length;i++)t.push({aid:s.answer[i].aid,isShowComment:s.answer[i].isShowComment});e.answersList=s.answer,e.answers=t}).catch(function(s){e.$message.error(s.message)}).finally(function(){s.close()}),r("#editor").on("blur",function(){e.blurInput()})},destroyed:function(){this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null,r("#editor").off("blur")},methods:{openOrcloseDis:function(s){if("disQus"===s.currentTarget.dataset.key)this.disQus.isShowComment=!this.disQus.isShowComment;else{var t=s.currentTarget.dataset.index;this.answers[t].isShowComment=!this.answers[t].isShowComment}},deleteComment:function(s){var t=this,i=s.currentTarget.dataset.cid,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.deleteComment(i).then(function(s){t.updateList(),t.$message({type:"success",message:"删除成功"})}).catch(function(s){t.$message.error(s.message)}).finally(function(){e.close()})},deleteAnswer:function(s){var t=this,i=s.currentTarget.dataset.aid,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.deleteAnswer(i).then(function(s){t.updateList(),t.$message({type:"success",message:"删除成功"})}).catch(function(s){t.$message.error(s.message)}).finally(function(){e.close()})},btnlike:function(s){var t=this,i=s.currentTarget.dataset,e=i.quesid,a=i.ansid,n=i.tagid,c=i.sid;if(n){var d=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.unlike(n).then(function(s){t.updateList()}).catch(function(s){t.$message.error(s.message)}).finally(function(){d.close()})}else{var r={};e&&(r.question_id=e),a&&(r.answer_id=a),c&&(r.semester_id=c);var u=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.like(r).then(function(s){t.updateList()}).catch(function(s){t.$message.error(s.message)}).finally(function(){u.close()})}},deleteDiscuss:function(){var t=this,s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.deleteDiscuss(this.id).then(function(s){t.$message({type:"success",message:"删除成功"}),setTimeout(function(){t.$router.go(-1)},1e3)}).catch(function(s){t.$message.error(s.message)}).finally(function(){s.close()})},callbackComment:function(s){this.inputStatus.input="";var t=s.currentTarget.dataset,i=t.qid,e=t.quesid,a=t.ansid,n=t.to,c=t.sid,d={};i&&(d.questionId=i),n&&(d.to=n),e&&(d.question_id=e),a&&(d.answer_id=a),c&&(d.semester_id=c),this.call=d,this.inputStatus.placeholder=n?"回复"+n+":":"回复:",this.inputStatus.canFocus=!0,r("#editor").focus()},blurInput:function(s){this.inputStatus.canFocus=!1,r("#editor").val()||(this.inputStatus.placeholder="回答问题 ...",this.inputStatus.input="",this.call={questionId:this.discussQues.qid,semester_id:this.discussQues.sid,contents:"",question_id:this.discussQues.qid,answer:!0})},publishContent:function(s){var t=this,i=r("#editor").val();if(this.call.to?this.call.comments="回复"+this.call.to+":"+i:this.call.comments=i,this.call.answer){this.call.contents=this.call.comments;var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.answerQues(this.call).then(function(s){t.updateList(),r("#editor").val("")}).catch(function(s){t.$message.error(s.message)}).finally(function(){e.close()})}else{var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.callbackComment(this.call).then(function(s){t.updateList(),r("#editor").val("")}).catch(function(s){t.$message.error(s.message)}).finally(function(){a.close()})}},updateList:function(){var c=this,s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.getDiscussDetail(this.id).then(function(s){c.discussQues=s.ques;for(var t=c.answers,i=0;i<t.length;i++)for(var e=0;e<s.answer.length;e++)if(t[i].aid===s.answer[e].aid){s.answer[e].isShowComment=t[i].isShowComment;break}for(var a=[],n=0;n<s.answer.length;n++)a.push({aid:s.answer[n].aid,isShowComment:s.answer[n].isShowComment});c.answersList=s.answer,c.answers=a}).catch(function(s){c.$message.error(s.message)}).finally(function(){s.close()})},initckeditor:function(){!this.ckeditor&&(this.ckeditor=s.default.replace("editor",{height:100,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"]}]}))}}}}).call(this,e(377))},308:function(s,t,i){},385:function(s,t,i){"use strict";var e=i(308);i.n(e).a},434:function(s,t,n){"use strict";var i=function(){var e=this,s=e.$createElement,a=e._self._c||s;return a("div",[a("div",{staticClass:"con-title"},[e._v("问题详情")]),e._v(" "),a("div",{staticClass:"con-box"},[a("div",{staticClass:"discuss-detail-scroll"},[a("div",{staticClass:"ques"},[a("div",{staticClass:"title"},[e._v(e._s(e.discussQues.title))]),e._v(" "),a("div",{staticClass:"text",domProps:{innerHTML:e._s(e.discussQues.text)}}),e._v(" "),a("div",{staticClass:"user"},[a("div",{staticClass:"name"},[e._v(e._s(e.discussQues.user.name))]),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(e.discussQues.user.time))]),e._v(" "),e.discussQues.mine?[a("div",{staticClass:"right-txt",on:{click:e.deleteDiscuss}},[e._v("删除")])]:e._e(),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-qid":e.discussQues.qid,"data-quesid":e.discussQues.qid},on:{click:e.callbackComment}},[e._v("回复")]),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-key":"disQus"},on:{click:e.openOrcloseDis}},[e._v("讨论("+e._s(e.discussQues.comCnt)+")")]),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-quesid":e.discussQues.qid,"data-sid":e.discussQues.sid,"data-tagid":e.discussQues.tag_id},on:{click:e.btnlike}},[e._v("\n 点赞("+e._s(e.discussQues.likeCnt)+")")])],2),e._v(" "),e.disQus.isShowComment?[a("div",{staticClass:"ask"},[e._l(e.discussQues.comments,function(s,t){return[a("div",{key:t,staticClass:"item-list",attrs:{"data-id":s.id}},[a("div",{staticClass:"user"},[a("div",{staticClass:"name"},[e._v(e._s(s.user.name))]),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(s.user.time))]),e._v(" "),s.mine?[a("div",{staticClass:"right-txt",attrs:{"data-cid":s.cid},on:{click:e.deleteComment}},[e._v("删除")])]:e._e(),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-qid":e.discussQues.qid,"data-quesid":e.discussQues.qid,"data-to":s.user.name},on:{click:e.callbackComment}},[e._v("回复")])],2),e._v(" "),a("div",{staticClass:"text"},[e._v(e._s(s.text))])])]})],2)]:e._e()],2),e._v(" "),a("div",{staticClass:"result"},[e._v(e._s(e.discussQues.askCnt)+" 回答"),a("div",{staticStyle:{display:"inline-block",width:"0.2rem"}}),e._v(e._s(e.discussQues.TouCnt)+" 投票")]),e._v(" "),e._l(e.answersList,function(i,s){return[a("div",{key:s,staticClass:"ask"},[a("div",{staticClass:"user-1"},[i.user.url?[a("img",{staticClass:"img-1",attrs:{src:i.user.url}})]:[a("img",{staticClass:"img-1",attrs:{src:n(112)}})],e._v(" "),a("div",{staticClass:"right-1"},[a("div",{staticClass:"name-1"},[e._v(e._s(i.user.name))]),e._v(" "),a("div",{staticClass:"time-1"},[e._v(e._s(i.user.time))])])],2),e._v(" "),a("div",{staticClass:"text",domProps:{innerHTML:e._s(i.text)}}),e._v(" "),a("div",{staticClass:"user"},[i.mine?[a("div",{staticClass:"right-txt",attrs:{"data-aid":i.aid},on:{click:e.deleteAnswer}},[e._v("删除")])]:e._e(),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-qid":e.discussQues.qid,"data-ansid":i.aid},on:{click:e.callbackComment}},[e._v("回复")]),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-key":e.answers,"data-index":s},on:{click:e.openOrcloseDis}},[e._v("讨论("+e._s(i.comCnt)+")")]),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-quesid":e.discussQues.qid,"data-ansid":i.aid,"data-tagid":i.tag_id},on:{click:e.btnlike}},[e._v("\n 点赞("+e._s(i.likeCnt)+")")])],2),e._v(" "),e.answers[s].isShowComment?[e._l(i.comments,function(s,t){return[a("div",{key:t,staticClass:"item-list",attrs:{"data-id":s.id}},[a("div",{staticClass:"user"},[a("div",{staticClass:"name"},[e._v(e._s(s.user.name))]),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(s.user.time))]),e._v(" "),s.mine?[a("div",{staticClass:"right-txt",attrs:{"data-cid":s.cid},on:{click:e.deleteComment}},[e._v("删除")])]:e._e(),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-qid":e.discussQues.qid,"data-ansid":i.aid,"data-to":i.user.name},on:{click:e.callbackComment}},[e._v("回复")])],2),e._v(" "),a("div",{staticClass:"text",domProps:{innerHTML:e._s(s.text)}})])]})]:e._e(),e._v(" "),i.comments.length&&e.answers[s].isShowComment?e._e():[a("div",{staticStyle:{width:"100%",height:"0.2rem"}})]],2)]}),e._v(" "),e.answersList.length?e._e():[a("div",{staticClass:"no-data"},[e._v("暂无回答")])],e._v(" "),a("div",{staticStyle:{width:"750rpx",height:"200rpx"}})],2)]),e._v(" "),a("div",{staticStyle:{width:"100%",height:"1.7rem"}}),e._v(" "),a("div",{staticClass:"input-publish"},[a("textarea",{attrs:{id:"editor"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.publishContent}},[e._v("发送")]),a("em",{staticClass:"send"},[e._v("("+e._s(e.inputStatus.placeholder)+")")])],1)])},e=[];n.d(t,"a",function(){return i}),n.d(t,"b",function(){return e})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{255:function(s,t,i){"use strict";i.r(t);var e=i(449),a=i(308);for(var n in a)"default"!==n&&function(s){i.d(t,s,function(){return a[s]})}(n);i(394);var c=i(1),d=Object(c.a)(a.default,e.a,e.b,!1,null,"7fcfadf1",null);d.options.__file="discussDetail.vue",t.default=d.exports},308:function(s,t,i){"use strict";i.r(t);var e=i(309),a=i.n(e);for(var n in e)"default"!==n&&function(s){i.d(t,s,function(){return e[s]})}(n);t.default=a.a},309:function(s,i,e){"use strict";(function(r){Object.defineProperty(i,"__esModule",{value:!0});var o=t(e(72)),s=t(e(249));function t(s){return s&&s.__esModule?s:{default:s}}i.default={props:{sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{ckeditor:null,courseTitle:"课程问题",discussQues:{qid:"",user:{url:"./icons/default.jpg",name:"用户名000",time:"2018-2-12 15:28:47"},title:"这是一个一句话问题这是一个一句话问题这是一个一句话问题标题这是一个一句话问题",text:"<p>王家有三兄弟甲、乙、丙,丙幼年时送给胡某作养子,丙结婚时,胡某为其盖了新房,后因失火致使该房屋被烧毁。丙的生父母就将自己<p>",askCnt:20,TouCnt:100,likeCnt:100,comCnt:100,mine:!0,isShowComment:!1,has_tag:!1,tag_id:null,comments:[{cid:"",user:{url:"",name:"用户名000",time:"2018-2-12 15:28:47"},text:"在线学习课程",mine:!0},{cid:"",user:{url:"",name:"用户名000",time:"2018-2-12 15:28:47"},text:"在线学习课程",mine:!1}]},answersList:[],disQus:{isShowComment:!1},answers:[{aid:"",isShowComment:!1}],inputStatus:{canFocus:!1,placeholder:"回答问题 ...",input:""},qid:"6447416971762860032",call:{}}},mounted:function(){var e=this;this.call={questionId:this.id,semester_id:"",contents:"",question_id:this.id,answer:!0};var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.getDiscussDetail(this.id).then(function(s){e.discussQues=s.ques,e.call.semester_id=e.discussQues.sid,e.disQus.isShowComment=s.ques.isShowComment;for(var t=[],i=0;i<s.answer.length;i++)t.push({aid:s.answer[i].aid,isShowComment:s.answer[i].isShowComment});e.answersList=s.answer,e.answers=t}).catch(function(s){e.$message.error(s.message)}).finally(function(){s.close()}),r("#editor").on("blur",function(){e.blurInput()})},destroyed:function(){this.ckeditor&&this.ckeditor.destroy(!0),this.ckeditor=null,r("#editor").off("blur")},methods:{openOrcloseDis:function(s){if("disQus"===s.currentTarget.dataset.key)this.disQus.isShowComment=!this.disQus.isShowComment;else{var t=s.currentTarget.dataset.index;this.answers[t].isShowComment=!this.answers[t].isShowComment}},deleteComment:function(s){var t=this,i=s.currentTarget.dataset.cid,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.deleteComment(i).then(function(s){t.updateList(),t.$message({type:"success",message:"删除成功"})}).catch(function(s){t.$message.error(s.message)}).finally(function(){e.close()})},deleteAnswer:function(s){var t=this,i=s.currentTarget.dataset.aid,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.deleteAnswer(i).then(function(s){t.updateList(),t.$message({type:"success",message:"删除成功"})}).catch(function(s){t.$message.error(s.message)}).finally(function(){e.close()})},btnlike:function(s){var t=this,i=s.currentTarget.dataset,e=i.quesid,a=i.ansid,n=i.tagid,c=i.sid;if(n){var d=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.unlike(n).then(function(s){t.updateList()}).catch(function(s){t.$message.error(s.message)}).finally(function(){d.close()})}else{var r={};e&&(r.question_id=e),a&&(r.answer_id=a),c&&(r.semester_id=c);var u=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.like(r).then(function(s){t.updateList()}).catch(function(s){t.$message.error(s.message)}).finally(function(){u.close()})}},deleteDiscuss:function(){var t=this,s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.deleteDiscuss(this.id).then(function(s){t.$message({type:"success",message:"删除成功"}),setTimeout(function(){t.$router.go(-1)},1e3)}).catch(function(s){t.$message.error(s.message)}).finally(function(){s.close()})},callbackComment:function(s){this.inputStatus.input="";var t=s.currentTarget.dataset,i=t.qid,e=t.quesid,a=t.ansid,n=t.to,c=t.sid,d={};i&&(d.questionId=i),n&&(d.to=n),e&&(d.question_id=e),a&&(d.answer_id=a),c&&(d.semester_id=c),this.call=d,this.inputStatus.placeholder=n?"回复"+n+":":"回复:",this.inputStatus.canFocus=!0,r("#editor").focus()},blurInput:function(s){this.inputStatus.canFocus=!1,r("#editor").val()||(this.inputStatus.placeholder="回答问题 ...",this.inputStatus.input="",this.call={questionId:this.discussQues.qid,semester_id:this.discussQues.sid,contents:"",question_id:this.discussQues.qid,answer:!0})},publishContent:function(s){var t=this,i=r("#editor").val();if(this.call.to?this.call.comments="回复"+this.call.to+":"+i:this.call.comments=i,this.call.answer){this.call.contents=this.call.comments;var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.answerQues(this.call).then(function(s){t.updateList(),r("#editor").val("")}).catch(function(s){t.$message.error(s.message)}).finally(function(){e.close()})}else{var a=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.callbackComment(this.call).then(function(s){t.updateList(),r("#editor").val("")}).catch(function(s){t.$message.error(s.message)}).finally(function(){a.close()})}},updateList:function(){var c=this,s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.discussAction.getDiscussDetail(this.id).then(function(s){c.discussQues=s.ques;for(var t=c.answers,i=0;i<t.length;i++)for(var e=0;e<s.answer.length;e++)if(t[i].aid===s.answer[e].aid){s.answer[e].isShowComment=t[i].isShowComment;break}for(var a=[],n=0;n<s.answer.length;n++)a.push({aid:s.answer[n].aid,isShowComment:s.answer[n].isShowComment});c.answersList=s.answer,c.answers=a}).catch(function(s){c.$message.error(s.message)}).finally(function(){s.close()})},initckeditor:function(){!this.ckeditor&&(this.ckeditor=s.default.replace("editor",{height:100,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"]}]}))}}}}).call(this,e(386))},310:function(s,t,i){},394:function(s,t,i){"use strict";var e=i(310);i.n(e).a},449:function(s,t,n){"use strict";var i=function(){var e=this,s=e.$createElement,a=e._self._c||s;return a("div",[a("div",{staticClass:"con-title"},[e._v("问题详情")]),e._v(" "),a("div",{staticClass:"con-box"},[a("div",{staticClass:"discuss-detail-scroll"},[a("div",{staticClass:"ques"},[a("div",{staticClass:"title"},[e._v(e._s(e.discussQues.title))]),e._v(" "),a("div",{staticClass:"text",domProps:{innerHTML:e._s(e.discussQues.text)}}),e._v(" "),a("div",{staticClass:"user"},[a("div",{staticClass:"name"},[e._v(e._s(e.discussQues.user.name))]),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(e.discussQues.user.time))]),e._v(" "),e.discussQues.mine?[a("div",{staticClass:"right-txt",on:{click:e.deleteDiscuss}},[e._v("删除")])]:e._e(),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-qid":e.discussQues.qid,"data-quesid":e.discussQues.qid},on:{click:e.callbackComment}},[e._v("回复")]),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-key":"disQus"},on:{click:e.openOrcloseDis}},[e._v("讨论("+e._s(e.discussQues.comCnt)+")")]),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-quesid":e.discussQues.qid,"data-sid":e.discussQues.sid,"data-tagid":e.discussQues.tag_id},on:{click:e.btnlike}},[e._v("\n 点赞("+e._s(e.discussQues.likeCnt)+")")])],2),e._v(" "),e.disQus.isShowComment?[a("div",{staticClass:"ask"},[e._l(e.discussQues.comments,function(s,t){return[a("div",{key:t,staticClass:"item-list",attrs:{"data-id":s.id}},[a("div",{staticClass:"user"},[a("div",{staticClass:"name"},[e._v(e._s(s.user.name))]),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(s.user.time))]),e._v(" "),s.mine?[a("div",{staticClass:"right-txt",attrs:{"data-cid":s.cid},on:{click:e.deleteComment}},[e._v("删除")])]:e._e(),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-qid":e.discussQues.qid,"data-quesid":e.discussQues.qid,"data-to":s.user.name},on:{click:e.callbackComment}},[e._v("回复")])],2),e._v(" "),a("div",{staticClass:"text"},[e._v(e._s(s.text))])])]})],2)]:e._e()],2),e._v(" "),a("div",{staticClass:"result"},[e._v(e._s(e.discussQues.askCnt)+" 回答"),a("div",{staticStyle:{display:"inline-block",width:"0.2rem"}}),e._v(e._s(e.discussQues.TouCnt)+" 投票")]),e._v(" "),e._l(e.answersList,function(i,s){return[a("div",{key:s,staticClass:"ask"},[a("div",{staticClass:"user-1"},[i.user.url?[a("img",{staticClass:"img-1",attrs:{src:i.user.url}})]:[a("img",{staticClass:"img-1",attrs:{src:n(112)}})],e._v(" "),a("div",{staticClass:"right-1"},[a("div",{staticClass:"name-1"},[e._v(e._s(i.user.name))]),e._v(" "),a("div",{staticClass:"time-1"},[e._v(e._s(i.user.time))])])],2),e._v(" "),a("div",{staticClass:"text",domProps:{innerHTML:e._s(i.text)}}),e._v(" "),a("div",{staticClass:"user"},[i.mine?[a("div",{staticClass:"right-txt",attrs:{"data-aid":i.aid},on:{click:e.deleteAnswer}},[e._v("删除")])]:e._e(),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-qid":e.discussQues.qid,"data-ansid":i.aid},on:{click:e.callbackComment}},[e._v("回复")]),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-key":e.answers,"data-index":s},on:{click:e.openOrcloseDis}},[e._v("讨论("+e._s(i.comCnt)+")")]),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-quesid":e.discussQues.qid,"data-ansid":i.aid,"data-tagid":i.tag_id},on:{click:e.btnlike}},[e._v("\n 点赞("+e._s(i.likeCnt)+")")])],2),e._v(" "),e.answers[s].isShowComment?[e._l(i.comments,function(s,t){return[a("div",{key:t,staticClass:"item-list",attrs:{"data-id":s.id}},[a("div",{staticClass:"user"},[a("div",{staticClass:"name"},[e._v(e._s(s.user.name))]),e._v(" "),a("div",{staticClass:"time"},[e._v(e._s(s.user.time))]),e._v(" "),s.mine?[a("div",{staticClass:"right-txt",attrs:{"data-cid":s.cid},on:{click:e.deleteComment}},[e._v("删除")])]:e._e(),e._v(" "),a("div",{staticClass:"right-txt",attrs:{"data-sid":e.discussQues.sid,"data-qid":e.discussQues.qid,"data-ansid":i.aid,"data-to":i.user.name},on:{click:e.callbackComment}},[e._v("回复")])],2),e._v(" "),a("div",{staticClass:"text",domProps:{innerHTML:e._s(s.text)}})])]})]:e._e(),e._v(" "),i.comments.length&&e.answers[s].isShowComment?e._e():[a("div",{staticStyle:{width:"100%",height:"0.2rem"}})]],2)]}),e._v(" "),e.answersList.length?e._e():[a("div",{staticClass:"no-data"},[e._v("暂无回答")])],e._v(" "),a("div",{staticStyle:{width:"750rpx",height:"200rpx"}})],2)]),e._v(" "),a("div",{staticStyle:{width:"100%",height:"1.7rem"}}),e._v(" "),a("div",{staticClass:"input-publish"},[a("textarea",{attrs:{id:"editor"}}),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.publishContent}},[e._v("发送")]),a("em",{staticClass:"send"},[e._v("("+e._s(e.inputStatus.placeholder)+")")])],1)])},e=[];n.d(t,"a",function(){return i}),n.d(t,"b",function(){return e})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{257:function(t,s,i){"use strict";i.r(s);var e=i(443),a=i(312);for(var n in a)"default"!==n&&function(t){i.d(s,t,function(){return a[t]})}(n);i(387);var o=i(1),r=Object(o.a)(a.default,e.a,e.b,!1,null,"3363eb0c",null);r.options.__file="discussion.vue",s.default=r.exports},312:function(t,s,i){"use strict";i.r(s);var e=i(313),a=i.n(e);for(var n in e)"default"!==n&&function(t){i.d(s,t,function(){return e[t]})}(n);s.default=a.a},313:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e,a=i(72),n=(e=a)&&e.__esModule?e:{default:e};s.default={components:{},data:function(){return{tabs:[{title:"我提出的问题",isShow:!0,path:"/my"},{title:"我参与的问题",isShow:!1,path:"/involved"}],discussList:[],param:{limit:10,offset:0}}},mounted:function(){this.loadAjax(),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1)},updated:function(){this.resizeRoot()},methods:{resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),n=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*n*1.5*2;e<i?(a.discussList[s].isShow=!0,t.previousSibling.style.height=e+"px"):a.discussList[s].isShow=!1})},loadAjax:function(){for(var s=this,t="",i=0;i<this.tabs.length;i++)this.tabs[i].isShow&&(t=this.tabs[i].path);var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.discussAction.getDiscussList(t,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},tabSelect:function(t){for(var s=t.currentTarget.dataset.index,i=this.tabs,e=0;e<i.length;e++)i[e].isShow=!1;i[s].isShow=!0,this.tabs=i,this.param.offset=0,this.loadAjax()},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id,i=t.currentTarget.dataset.sid,e=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/discuss-detail/"+i+"/"+e+"/"+s})}}}},314:function(t,s,i){},387:function(t,s,i){"use strict";var e=i(314);i.n(e).a},443:function(t,s,a){"use strict";var i=function(){var i=this,t=i.$createElement,e=i._self._c||t;return e("div",[e("div",{staticClass:"con-title"},[i._v("课程讨论")]),i._v(" "),e("div",{staticClass:"con-box"},[e("div",{staticClass:"tab-select"},[i._l(i.tabs,function(t,s){return[e("div",{key:s,class:["item",t.isShow?"on":""],attrs:{"data-index":s},on:{click:i.tabSelect}},[i._v(i._s(t.title))])]})],2),i._v(" "),e("div",{staticClass:"discuss-scroll"},[i._l(i.discussList,function(t,s){return[e("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-cid":t.cid,"data-index":s},on:{click:i.goDiscussDetail}},[e("div",{staticClass:"user"},[t.user.url?[e("img",{staticClass:"img",attrs:{src:t.user.url}})]:[e("img",{staticClass:"img",attrs:{src:a(112)}})],i._v(" "),e("div",{staticClass:"right"},[e("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),e("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),e("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),e("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),e("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),e("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),e("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[e("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)])])},e=[];a.d(s,"a",function(){return i}),a.d(s,"b",function(){return e})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{257:function(t,s,i){"use strict";i.r(s);var e=i(445),a=i(314);for(var n in a)"default"!==n&&function(t){i.d(s,t,function(){return a[t]})}(n);i(396);var o=i(1),r=Object(o.a)(a.default,e.a,e.b,!1,null,"3363eb0c",null);r.options.__file="discussion.vue",s.default=r.exports},314:function(t,s,i){"use strict";i.r(s);var e=i(315),a=i.n(e);for(var n in e)"default"!==n&&function(t){i.d(s,t,function(){return e[t]})}(n);s.default=a.a},315:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var e,a=i(72),n=(e=a)&&e.__esModule?e:{default:e};s.default={components:{},data:function(){return{tabs:[{title:"我提出的问题",isShow:!0,path:"/my"},{title:"我参与的问题",isShow:!1,path:"/involved"}],discussList:[],param:{limit:10,offset:0}}},mounted:function(){this.loadAjax(),window.addEventListener("resize",this.resizeRoot.bind(this),!1)},destroyed:function(){window.removeEventListener("resize",this.resizeRoot.bind(this),!1)},updated:function(){this.resizeRoot()},methods:{resizeRoot:function(){var a=this,t=document.querySelectorAll(".ellipsis"),n=getComputedStyle(window.document.documentElement)["font-size"].replace("px","");t.forEach(function(t,s){t.previousSibling.style.height="auto";var i=t.previousSibling.offsetHeight,e=.18*n*1.5*2;e<i?(a.discussList[s].isShow=!0,t.previousSibling.style.height=e+"px"):a.discussList[s].isShow=!1})},loadAjax:function(){for(var s=this,t="",i=0;i<this.tabs.length;i++)this.tabs[i].isShow&&(t=this.tabs[i].path);var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.discussAction.getDiscussList(t,this.param).then(function(t){s.discussList=t}).catch(function(t){s.$message.error(t.message)}).finally(function(){e.close()})},tabSelect:function(t){for(var s=t.currentTarget.dataset.index,i=this.tabs,e=0;e<i.length;e++)i[e].isShow=!1;i[s].isShow=!0,this.tabs=i,this.param.offset=0,this.loadAjax()},goDiscussDetail:function(t){var s=t.currentTarget.dataset.id,i=t.currentTarget.dataset.sid,e=t.currentTarget.dataset.cid;this.$router.push({path:"/app/my-learn/discuss-detail/"+i+"/"+e+"/"+s})}}}},316:function(t,s,i){},396:function(t,s,i){"use strict";var e=i(316);i.n(e).a},445:function(t,s,a){"use strict";var i=function(){var i=this,t=i.$createElement,e=i._self._c||t;return e("div",[e("div",{staticClass:"con-title"},[i._v("课程讨论")]),i._v(" "),e("div",{staticClass:"con-box"},[e("div",{staticClass:"tab-select"},[i._l(i.tabs,function(t,s){return[e("div",{key:s,class:["item",t.isShow?"on":""],attrs:{"data-index":s},on:{click:i.tabSelect}},[i._v(i._s(t.title))])]})],2),i._v(" "),e("div",{staticClass:"discuss-scroll"},[i._l(i.discussList,function(t,s){return[e("div",{key:s,staticClass:"item-list",attrs:{"data-id":t.id,"data-sid":t.sid,"data-cid":t.cid,"data-index":s},on:{click:i.goDiscussDetail}},[e("div",{staticClass:"user"},[t.user.url?[e("img",{staticClass:"img",attrs:{src:t.user.url}})]:[e("img",{staticClass:"img",attrs:{src:a(112)}})],i._v(" "),e("div",{staticClass:"right"},[e("div",{staticClass:"name"},[i._v(i._s(t.user.name))]),i._v(" "),e("div",{staticClass:"time"},[i._v(i._s(t.user.time))])])],2),i._v(" "),e("div",{staticClass:"title"},[i._v(i._s(t.title))]),i._v(" "),e("div",{class:["text"],domProps:{innerHTML:i._s(t.text)}}),e("div",{class:["ellipsis",t.isShow?"on":""]},[i._v("....")]),i._v(" "),e("div",{staticClass:"result"},[i._v(i._s(t.askCnt)+" 回答"),e("div",{staticStyle:{display:"inline-block",width:"20px"}}),i._v(i._s(t.TouCnt)+" 投票")])])]}),i._v(" "),i.discussList.length?i._e():[e("div",{staticClass:"no-data"},[i._v("暂无相关讨论")])]],2)])])},e=[];a.d(s,"a",function(){return i}),a.d(s,"b",function(){return e})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{261:function(e,t,s){"use strict";s.r(t);var r=s(424),i=s(324);for(var a in i)"default"!==a&&function(e){s.d(t,e,function(){return i[e]})}(a);s(391);var l=s(1),n=Object(l.a)(i.default,r.a,r.b,!1,null,"6e42a5da",null);n.options.__file="reportAdd.vue",t.default=n.exports},324:function(e,t,s){"use strict";s.r(t);var r=s(325),i=s.n(r);for(var a in r)"default"!==a&&function(e){s.d(t,e,function(){return r[e]})}(a);t.default=i.a},325:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=s(72),a=(r=i)&&r.__esModule?r:{default:r};t.default={props:{rid:{type:String,required:!1}},components:{},data:function(){return{labelWidth:"110px",setApply:{name:"",time:"",author:"",address:"",content:""},applyRules:{name:[{required:!0,message:"活动名称不能为空",trigger:"blur"}],time:[{required:!0,message:"活动时间不能为空",trigger:"blur"}],author:[{required:!0,message:"主讲人不能为空",trigger:"blur"}],address:[{required:!0,message:"学术活动地址不能为空",trigger:"blur"}],content:[{required:!0,message:"活动内容不能为空",trigger:"blur"}]},successFileUrl:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:""}}},mounted:function(){var t=this;if("-1"!==this.rid){var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});a.default.reportAction.getReportActive(this.rid).then(function(e){e.symposium_name&&(t.setApply.name=e.symposium_name,t.setApply.time=e.symposium_time,t.setApply.author=e.symposium_lecturer,t.setApply.address=e.symposium_address,t.setApply.content=e.symposium_contents,t.successFileUrl=e.symposium_attachments)}).catch(function(e){t.$message.error(e.message)}).finally(function(){e.close()})}window.addEventListener("resize",function(){var e=document.documentElement.clientWidth;t.labelWidth=e<790?"auto":"110px"})},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},uploadFile:function(){var t=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});a.default.chapterAction.uploadFile(this.file).then(function(e){t.successFileUrl=e.url,t.filesArr.pop()}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})},gobackActiveList:function(){this.$router.push({path:"/app/my-learn/report-active-list"})},onApplyFrom:function(){var s=this;this.$refs.setApplyForm.validate(function(e){if(!e)return s.$message.error("请检查输入项,确认无误后,重新提交"),!1;var t=s.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});("-1"!==s.rid?a.default.reportAction.updateReportActive(s.rid,{symposium_name:s.setApply.name,symposium_time:s.setApply.time,symposium_lecturer:s.setApply.author,symposium_address:s.setApply.address,symposium_contents:s.setApply.content,symposium_attachments:s.successFileUrl}):a.default.reportAction.submitReportActive({symposium_name:s.setApply.name,symposium_time:s.setApply.time,symposium_lecturer:s.setApply.author,symposium_address:s.setApply.address,symposium_contents:s.setApply.content,symposium_attachments:s.successFileUrl})).then(function(e){e.flag&&(s.$message({type:"success",message:"提交成功"}),setTimeout(function(){s.$router.push({path:"/app/my-learn/report-active-list"})},500))}).catch(function(e){s.filesArr.pop(),s.$message.error(e.message)}).finally(function(){t.close()})})}}}},326:function(e,t,s){},391:function(e,t,s){"use strict";var r=s(326);s.n(r).a},424:function(e,t,s){"use strict";var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"con-title"},[t._v("学术活动申请")]),t._v(" "),s("div",{staticClass:"con-box"},[s("el-button",{attrs:{type:"text"},on:{click:t.gobackActiveList}},[t._v("返回活动列表")]),t._v(" "),s("el-row",{attrs:{type:"flex",justify:"center"}},[s("el-col",{attrs:{xs:24,sm:24,md:16,lg:12,xl:8}},[s("el-form",{ref:"setApplyForm",attrs:{"label-width":t.labelWidth,model:t.setApply,rules:t.applyRules}},[s("el-form-item",{attrs:{label:"学术活动名称",prop:"name"}},[s("el-input",{attrs:{placeholder:"请输入活动名称",type:"text"},model:{value:t.setApply.name,callback:function(e){t.$set(t.setApply,"name",e)},expression:"setApply.name"}})],1),t._v(" "),s("el-form-item",{attrs:{label:"学术活动时间",prop:"time"}},[s("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择日期时间",type:"datetime"},model:{value:t.setApply.time,callback:function(e){t.$set(t.setApply,"time",e)},expression:"setApply.time"}})],1),t._v(" "),s("el-form-item",{attrs:{label:"主 讲 人",prop:"author"}},[s("el-input",{attrs:{placeholder:"请输入主讲人",type:"text"},model:{value:t.setApply.author,callback:function(e){t.$set(t.setApply,"author",e)},expression:"setApply.author"}})],1),t._v(" "),s("el-form-item",{attrs:{label:"学术活动地址",prop:"address"}},[s("el-input",{attrs:{placeholder:"请输入活动地址",type:"text"},model:{value:t.setApply.address,callback:function(e){t.$set(t.setApply,"address",e)},expression:"setApply.address"}})],1),t._v(" "),s("el-form-item",{attrs:{label:"学术活动内容",prop:"content"}},[s("el-input",{attrs:{maxlength:"50",placeholder:"请输入活动内容",type:"textarea",autosize:{minRows:5}},model:{value:t.setApply.content,callback:function(e){t.$set(t.setApply,"content",e)},expression:"setApply.content"}})],1),t._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary"},on:{click:t.onApplyFrom}},[t._v("保存并提交")])],1)],1)],1)],1)],1)])},i=[];s.d(t,"a",function(){return r}),s.d(t,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{261:function(e,t,s){"use strict";s.r(t);var r=s(438),i=s(326);for(var a in i)"default"!==a&&function(e){s.d(t,e,function(){return i[e]})}(a);s(400);var l=s(1),n=Object(l.a)(i.default,r.a,r.b,!1,null,"6e42a5da",null);n.options.__file="reportAdd.vue",t.default=n.exports},326:function(e,t,s){"use strict";s.r(t);var r=s(327),i=s.n(r);for(var a in r)"default"!==a&&function(e){s.d(t,e,function(){return r[e]})}(a);t.default=i.a},327:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=s(72),a=(r=i)&&r.__esModule?r:{default:r};t.default={props:{rid:{type:String,required:!1}},components:{},data:function(){return{labelWidth:"110px",setApply:{name:"",time:"",author:"",address:"",content:""},applyRules:{name:[{required:!0,message:"活动名称不能为空",trigger:"blur"}],time:[{required:!0,message:"活动时间不能为空",trigger:"blur"}],author:[{required:!0,message:"主讲人不能为空",trigger:"blur"}],address:[{required:!0,message:"学术活动地址不能为空",trigger:"blur"}],content:[{required:!0,message:"活动内容不能为空",trigger:"blur"}]},successFileUrl:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:""}}},mounted:function(){var t=this;if("-1"!==this.rid){var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});a.default.reportAction.getReportActive(this.rid).then(function(e){e.symposium_name&&(t.setApply.name=e.symposium_name,t.setApply.time=e.symposium_time,t.setApply.author=e.symposium_lecturer,t.setApply.address=e.symposium_address,t.setApply.content=e.symposium_contents,t.successFileUrl=e.symposium_attachments)}).catch(function(e){t.$message.error(e.message)}).finally(function(){e.close()})}window.addEventListener("resize",function(){var e=document.documentElement.clientWidth;t.labelWidth=e<790?"auto":"110px"})},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},uploadFile:function(){var t=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});a.default.chapterAction.uploadFile(this.file).then(function(e){t.successFileUrl=e.url,t.filesArr.pop()}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})},gobackActiveList:function(){this.$router.push({path:"/app/my-learn/report-active-list"})},onApplyFrom:function(){var s=this;this.$refs.setApplyForm.validate(function(e){if(!e)return s.$message.error("请检查输入项,确认无误后,重新提交"),!1;var t=s.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});("-1"!==s.rid?a.default.reportAction.updateReportActive(s.rid,{symposium_name:s.setApply.name,symposium_time:s.setApply.time,symposium_lecturer:s.setApply.author,symposium_address:s.setApply.address,symposium_contents:s.setApply.content,symposium_attachments:s.successFileUrl}):a.default.reportAction.submitReportActive({symposium_name:s.setApply.name,symposium_time:s.setApply.time,symposium_lecturer:s.setApply.author,symposium_address:s.setApply.address,symposium_contents:s.setApply.content,symposium_attachments:s.successFileUrl})).then(function(e){e.flag&&(s.$message({type:"success",message:"提交成功"}),setTimeout(function(){s.$router.push({path:"/app/my-learn/report-active-list"})},500))}).catch(function(e){s.filesArr.pop(),s.$message.error(e.message)}).finally(function(){t.close()})})}}}},328:function(e,t,s){},400:function(e,t,s){"use strict";var r=s(328);s.n(r).a},438:function(e,t,s){"use strict";var r=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",{staticClass:"con-title"},[t._v("学术活动申请")]),t._v(" "),s("div",{staticClass:"con-box"},[s("el-button",{attrs:{type:"text"},on:{click:t.gobackActiveList}},[t._v("返回活动列表")]),t._v(" "),s("el-row",{attrs:{type:"flex",justify:"center"}},[s("el-col",{attrs:{xs:24,sm:24,md:16,lg:12,xl:8}},[s("el-form",{ref:"setApplyForm",attrs:{"label-width":t.labelWidth,model:t.setApply,rules:t.applyRules}},[s("el-form-item",{attrs:{label:"学术活动名称",prop:"name"}},[s("el-input",{attrs:{placeholder:"请输入活动名称",type:"text"},model:{value:t.setApply.name,callback:function(e){t.$set(t.setApply,"name",e)},expression:"setApply.name"}})],1),t._v(" "),s("el-form-item",{attrs:{label:"学术活动时间",prop:"time"}},[s("el-date-picker",{attrs:{"value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择日期时间",type:"datetime"},model:{value:t.setApply.time,callback:function(e){t.$set(t.setApply,"time",e)},expression:"setApply.time"}})],1),t._v(" "),s("el-form-item",{attrs:{label:"主 讲 人",prop:"author"}},[s("el-input",{attrs:{placeholder:"请输入主讲人",type:"text"},model:{value:t.setApply.author,callback:function(e){t.$set(t.setApply,"author",e)},expression:"setApply.author"}})],1),t._v(" "),s("el-form-item",{attrs:{label:"学术活动地址",prop:"address"}},[s("el-input",{attrs:{placeholder:"请输入活动地址",type:"text"},model:{value:t.setApply.address,callback:function(e){t.$set(t.setApply,"address",e)},expression:"setApply.address"}})],1),t._v(" "),s("el-form-item",{attrs:{label:"学术活动内容",prop:"content"}},[s("el-input",{attrs:{maxlength:"50",placeholder:"请输入活动内容",type:"textarea",autosize:{minRows:5}},model:{value:t.setApply.content,callback:function(e){t.$set(t.setApply,"content",e)},expression:"setApply.content"}})],1),t._v(" "),s("el-form-item",[s("el-button",{attrs:{type:"primary"},on:{click:t.onApplyFrom}},[t._v("保存并提交")])],1)],1)],1)],1)],1)])},i=[];s.d(t,"a",function(){return r}),s.d(t,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{262:function(e,t,i){"use strict";i.r(t);var r=i(421),s=i(327);for(var l in s)"default"!==l&&function(e){i.d(t,e,function(){return s[e]})}(l);i(392);var n=i(1),a=Object(n.a)(s.default,r.a,r.b,!1,null,"61f8dc6a",null);a.options.__file="reportSubmit.vue",t.default=a.exports},327:function(e,t,i){"use strict";i.r(t);var r=i(328),s=i.n(r);for(var l in r)"default"!==l&&function(e){i.d(t,e,function(){return r[e]})}(l);t.default=s.a},328:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,s=i(72),l=(r=s)&&r.__esModule?r:{default:r};t.default={props:{rid:{type:String,required:!1},reid:{type:String,required:!1}},components:{},data:function(){return{labelWidth:"110px",setSubmit:{name:"",title:""},submitRules:{name:[{required:!0,message:"报告主题不能为空",trigger:"blur"}],title:[]},successFileUrl:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:""}}},mounted:function(){var t=this;if("-1"!==this.reid){var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.reportAction.getSubmitReport(this.rid,this.reid).then(function(e){e.report_name&&(t.setSubmit.name=e.report_name,t.setSubmit.title=e.report_description,t.successFileUrl=e.file_url)}).catch(function(e){t.$message.error(e.message)}).finally(function(){e.close()})}window.addEventListener("resize",function(){var e=document.documentElement.clientWidth;t.labelWidth=e<790?"auto":"110px"})},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},uploadFile:function(){var t=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.chapterAction.uploadFile(this.file).then(function(e){t.successFileUrl=e.url,t.filesArr.pop()}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})},gobackActiveList:function(){this.$router.push({path:"/app/my-learn/report-list-all/"+this.rid})},onSubmitFrom:function(){var i=this;this.$refs.setSubmitForm.validate(function(e){if(!e)return i.$message.error("请检查输入项,确认无误后,重新提交"),!1;var t=i.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});("-1"!==i.reid?l.default.reportAction.updateSubmitReport(i.rid,i.reid,{report_name:i.setSubmit.name,report_description:i.setSubmit.title,file_url:JSON.stringify([{name:i.file.name,url:i.successFileUrl}])}):l.default.reportAction.submitReport(i.rid,{report_name:i.setSubmit.name,report_description:i.setSubmit.title,file_url:JSON.stringify([{name:i.file.name,url:i.successFileUrl}])})).then(function(e){e.flag&&(i.$message({type:"success",message:"提交成功"}),setTimeout(function(){i.$router.push({path:"/app/my-learn/report-list-all/"+i.rid})},500))}).catch(function(e){i.filesArr.pop(),i.$message.error(e.message)}).finally(function(){t.close()})})}}}},329:function(e,t,i){},392:function(e,t,i){"use strict";var r=i(329);i.n(r).a},421:function(e,t,i){"use strict";var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"con-title"},[t._v("学术报告提交")]),t._v(" "),i("div",{staticClass:"con-box"},[i("el-button",{attrs:{type:"text"},on:{click:t.gobackActiveList}},[t._v("返回活动列表")]),t._v(" "),i("el-row",{attrs:{type:"flex",justify:"center"}},[i("el-col",{attrs:{xs:24,sm:24,md:16,lg:12,xl:8}},[i("el-form",{ref:"setSubmitForm",attrs:{"label-width":t.labelWidth,model:t.setSubmit,rules:t.submitRules}},[i("el-form-item",{attrs:{label:"学术报告主题",prop:"name"}},[i("el-input",{attrs:{placeholder:"请输入报告主题",type:"text"},model:{value:t.setSubmit.name,callback:function(e){t.$set(t.setSubmit,"name",e)},expression:"setSubmit.name"}})],1),t._v(" "),i("el-form-item",{attrs:{label:"学术报告摘要",prop:"title"}},[i("el-input",{attrs:{placeholder:"请输入报告摘要",type:"text"},model:{value:t.setSubmit.title,callback:function(e){t.$set(t.setSubmit,"title",e)},expression:"setSubmit.title"}})],1),t._v(" "),i("el-form-item",{attrs:{label:"附 件",prop:"file"}},[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}},[i("el-button",{attrs:{size:"small",type:"primary"}},[t._v("点击上传")]),t._v(" "),i("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("(可以上传word、ppt等资源。系统提供模板下载)"),i("a",{attrs:{href:"http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/learn-mba/%E3%80%8AMBA%E5%AD%A6%E7%94%9F%E5%AD%A6%E6%9C%AF%E6%B4%BB%E5%8A%A8%E8%AE%B0%E5%BD%95%E6%8A%A5%E5%91%8A%E3%80%8B%E6%A8%A1%E6%9D%BFXXX%E5%AD%A6%E7%94%9F.docx"}},[t._v("模板下载")])]),t._v(" "),t.successFileUrl?[t._v("\n "+t._s(t.successFileUrl.replace(/.*\/([^\/]*\.[^.]+)$/gi,"$1"))+"\n ")]:t._e()],2),t._v(" "),t.successFileUrl?[i("a",{attrs:{href:t.successFileUrl}},[t._v("下载已上传附件")])]:t._e()],2),t._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:t.onSubmitFrom}},[t._v("保存并提交")])],1)],1)],1)],1)],1)])},s=[];i.d(t,"a",function(){return r}),i.d(t,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{262:function(e,t,i){"use strict";i.r(t);var r=i(436),s=i(329);for(var l in s)"default"!==l&&function(e){i.d(t,e,function(){return s[e]})}(l);i(401);var n=i(1),a=Object(n.a)(s.default,r.a,r.b,!1,null,"61f8dc6a",null);a.options.__file="reportSubmit.vue",t.default=a.exports},329:function(e,t,i){"use strict";i.r(t);var r=i(330),s=i.n(r);for(var l in r)"default"!==l&&function(e){i.d(t,e,function(){return r[e]})}(l);t.default=s.a},330:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,s=i(72),l=(r=s)&&r.__esModule?r:{default:r};t.default={props:{rid:{type:String,required:!1},reid:{type:String,required:!1}},components:{},data:function(){return{labelWidth:"110px",setSubmit:{name:"",title:""},submitRules:{name:[{required:!0,message:"报告主题不能为空",trigger:"blur"}],title:[]},successFileUrl:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:""}}},mounted:function(){var t=this;if("-1"!==this.reid){var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.reportAction.getSubmitReport(this.rid,this.reid).then(function(e){e.report_name&&(t.setSubmit.name=e.report_name,t.setSubmit.title=e.report_description,t.successFileUrl=e.file_url)}).catch(function(e){t.$message.error(e.message)}).finally(function(){e.close()})}window.addEventListener("resize",function(){var e=document.documentElement.clientWidth;t.labelWidth=e<790?"auto":"110px"})},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},uploadFile:function(){var t=this,e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});l.default.chapterAction.uploadFile(this.file).then(function(e){t.successFileUrl=e.url,t.filesArr.pop()}).catch(function(e){t.filesArr.pop(),t.$message.error(e.message)}).finally(function(){e.close()})},gobackActiveList:function(){this.$router.push({path:"/app/my-learn/report-list-all/"+this.rid})},onSubmitFrom:function(){var i=this;this.$refs.setSubmitForm.validate(function(e){if(!e)return i.$message.error("请检查输入项,确认无误后,重新提交"),!1;var t=i.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});("-1"!==i.reid?l.default.reportAction.updateSubmitReport(i.rid,i.reid,{report_name:i.setSubmit.name,report_description:i.setSubmit.title,file_url:JSON.stringify([{name:i.file.name,url:i.successFileUrl}])}):l.default.reportAction.submitReport(i.rid,{report_name:i.setSubmit.name,report_description:i.setSubmit.title,file_url:JSON.stringify([{name:i.file.name,url:i.successFileUrl}])})).then(function(e){e.flag&&(i.$message({type:"success",message:"提交成功"}),setTimeout(function(){i.$router.push({path:"/app/my-learn/report-list-all/"+i.rid})},500))}).catch(function(e){i.filesArr.pop(),i.$message.error(e.message)}).finally(function(){t.close()})})}}}},331:function(e,t,i){},401:function(e,t,i){"use strict";var r=i(331);i.n(r).a},436:function(e,t,i){"use strict";var r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"con-title"},[t._v("学术报告提交")]),t._v(" "),i("div",{staticClass:"con-box"},[i("el-button",{attrs:{type:"text"},on:{click:t.gobackActiveList}},[t._v("返回活动列表")]),t._v(" "),i("el-row",{attrs:{type:"flex",justify:"center"}},[i("el-col",{attrs:{xs:24,sm:24,md:16,lg:12,xl:8}},[i("el-form",{ref:"setSubmitForm",attrs:{"label-width":t.labelWidth,model:t.setSubmit,rules:t.submitRules}},[i("el-form-item",{attrs:{label:"学术报告主题",prop:"name"}},[i("el-input",{attrs:{placeholder:"请输入报告主题",type:"text"},model:{value:t.setSubmit.name,callback:function(e){t.$set(t.setSubmit,"name",e)},expression:"setSubmit.name"}})],1),t._v(" "),i("el-form-item",{attrs:{label:"学术报告摘要",prop:"title"}},[i("el-input",{attrs:{placeholder:"请输入报告摘要",type:"text"},model:{value:t.setSubmit.title,callback:function(e){t.$set(t.setSubmit,"title",e)},expression:"setSubmit.title"}})],1),t._v(" "),i("el-form-item",{attrs:{label:"附 件",prop:"file"}},[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}},[i("el-button",{attrs:{size:"small",type:"primary"}},[t._v("点击上传")]),t._v(" "),i("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v("(可以上传word、ppt等资源。系统提供模板下载)"),i("a",{attrs:{href:"http://zws-imgs-pub.oss-cn-beijing.aliyuncs.com/static/build/learn-mba/%E3%80%8AMBA%E5%AD%A6%E7%94%9F%E5%AD%A6%E6%9C%AF%E6%B4%BB%E5%8A%A8%E8%AE%B0%E5%BD%95%E6%8A%A5%E5%91%8A%E3%80%8B%E6%A8%A1%E6%9D%BFXXX%E5%AD%A6%E7%94%9F.docx"}},[t._v("模板下载")])]),t._v(" "),t.successFileUrl?[t._v("\n "+t._s(t.successFileUrl.replace(/.*\/([^\/]*\.[^.]+)$/gi,"$1"))+"\n ")]:t._e()],2),t._v(" "),t.successFileUrl?[i("a",{attrs:{href:t.successFileUrl}},[t._v("下载已上传附件")])]:t._e()],2),t._v(" "),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:t.onSubmitFrom}},[t._v("保存并提交")])],1)],1)],1)],1)],1)])},s=[];i.d(t,"a",function(){return r}),i.d(t,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{276:function(t,s,e){"use strict";e.r(s);var i=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"hd"},[i("img",{attrs:{src:e(378),alt:"logo"}}),t._v(" "),i("div",{staticClass:"txt"},[t._v("在线学习系统")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"ft"},[i("div",{staticClass:"num"},[t._v("学习平台服务电话:010-62793299")]),t._v(" "),i("div",{staticClass:"time"},[t._v("服务时间:9:00-18:00")]),t._v(" "),i("div",{staticClass:"txt"},[t._v("Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司 京ICP证150431号 京公网安备 11010802023681号")])])}],n=(e(379),e(1)),a=Object(n.a)({},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"p-con"},[t._m(0),t._v(" "),i("div",{staticClass:"bd"},[i("div",{staticClass:"top50 container"},[i("router-view")],1)]),t._v(" "),t._m(1)])},i,!1,null,"1d498fd0",null);a.options.__file="login.vue";s.default=a.exports},290:function(t,s,i){},378:function(t,s,i){t.exports=i.p+"resources/logo.2d35bcc8.png"},379:function(t,s,i){"use strict";var e=i(290);i.n(e).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{278:function(t,s,e){"use strict";e.r(s);var i=[function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"hd"},[i("img",{attrs:{src:e(387),alt:"logo"}}),t._v(" "),i("div",{staticClass:"txt"},[t._v("在线学习系统")])])},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"ft"},[i("div",{staticClass:"num"},[t._v("学习平台服务电话:010-62793299")]),t._v(" "),i("div",{staticClass:"time"},[t._v("服务时间:9:00-18:00")]),t._v(" "),i("div",{staticClass:"txt"},[t._v("Copyright © 2017 Zijing Education. All rights reserved. 清控紫荆(北京)教育科技股份有限公司 京ICP证150431号 京公网安备 11010802023681号")])])}],n=(e(388),e(1)),a=Object(n.a)({},function(){var t=this,s=t.$createElement,i=t._self._c||s;return i("div",{staticClass:"p-con"},[t._m(0),t._v(" "),i("div",{staticClass:"bd"},[i("div",{staticClass:"top50 container"},[i("router-view")],1)]),t._v(" "),t._m(1)])},i,!1,null,"1d498fd0",null);a.options.__file="login.vue";s.default=a.exports},292:function(t,s,i){},387:function(t,s,i){t.exports=i.p+"resources/logo.2d35bcc8.png"},388:function(t,s,i){"use strict";var e=i(292);i.n(e).a}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{250:function(t,e,r){"use strict";r.r(e);var n=r(428),s=r(291);for(var o in s)"default"!==o&&function(t){r.d(e,t,function(){return s[t]})}(o);var a=r(1),c=Object(a.a)(s.default,n.a,n.b,!1,null,null,null);c.options.__file="normal.vue",e.default=c.exports},291:function(t,e,r){"use strict";r.r(e);var n=r(292),s=r.n(n);for(var o in n)"default"!==o&&function(t){r.d(e,t,function(){return n[t]})}(o);e.default=s.a},292:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,s=r(72),o=r(75),a=(n=o)&&n.__esModule?n:{default:n};e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){return{setAccount:{},accountRules:{user:[{required:!0,message:"请输入账号",trigger:"blur"},{pattern:/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/,message:"请输入正确格式的手机号/邮箱",trigger:"change"}],pwd:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},methods:{onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,s.request)({component:e,actionName:"loginAction",functionName:"userLogin",data:{account:e.setAccount.user,password:e.$md5("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),pwd:a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq")},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):(window.G.pwd=a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),e.$router.push({path:"/app/my-learn/course"}))},catchCallback:function(){},finallyCallback:function(){}})})}}}},380:function(t,e,r){t.exports=r.p+"resources/login-left-bg.1a456b4f.png"},428:function(t,e,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[e._m(0),e._v(" "),r("div",{staticClass:"col-12 col-md-7 col-lg-5 col-xl-4"},[r("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[r("el-form-item",{attrs:{prop:"user"}},[r("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机/邮箱"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitSetAccount(t):null}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}},[r("i",{staticClass:"el-input__icon el-icon-self-character",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",{attrs:{prop:"pwd"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitSetAccount(t):null}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[r("i",{staticClass:"el-input__icon el-icon-self-mima",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",[r("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),r("div",{staticClass:"text"},[r("span",{staticClass:"code-login"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/code?rd="+e.query.rd}}},[e._v("验证码登录")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"codeLogin"}}},[e._v("验证码登录")])]],2),e._v(" "),r("span",{staticClass:"forget-pwd"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)])},s=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-xs-only col-md-5 col-lg-6 col-xl-6"},[e("img",{attrs:{src:r(380),alt:"左侧-sofia logo"}})])}];r.d(e,"a",function(){return n}),r.d(e,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{250:function(t,e,r){"use strict";r.r(e);var n=r(439),s=r(293);for(var o in s)"default"!==o&&function(t){r.d(e,t,function(){return s[t]})}(o);var a=r(1),c=Object(a.a)(s.default,n.a,n.b,!1,null,null,null);c.options.__file="normal.vue",e.default=c.exports},293:function(t,e,r){"use strict";r.r(e);var n=r(294),s=r.n(n);for(var o in n)"default"!==o&&function(t){r.d(e,t,function(){return n[t]})}(o);e.default=s.a},294:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,s=r(72),o=r(74),a=(n=o)&&n.__esModule?n:{default:n};e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){return{setAccount:{},accountRules:{user:[{required:!0,message:"请输入账号",trigger:"blur"},{pattern:/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/,message:"请输入正确格式的手机号/邮箱",trigger:"change"}],pwd:[{required:!0,message:"请输入密码",trigger:"blur"}]}}},methods:{onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,s.request)({component:e,actionName:"loginAction",functionName:"userLogin",data:{account:e.setAccount.user,password:e.$md5("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),pwd:a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq")},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):(window.G.pwd=a.default.encode("uokoaduw"+e.setAccount.pwd.split("").reverse().join("")+"auhgniq"),e.$router.push({path:"/app/my-learn/course"}))},catchCallback:function(){},finallyCallback:function(){}})})}}}},389:function(t,e,r){t.exports=r.p+"resources/login-left-bg.1a456b4f.png"},439:function(t,e,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row"},[e._m(0),e._v(" "),r("div",{staticClass:"col-12 col-md-7 col-lg-5 col-xl-4"},[r("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[r("el-form-item",{attrs:{prop:"user"}},[r("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机/邮箱"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitSetAccount(t):null}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}},[r("i",{staticClass:"el-input__icon el-icon-self-character",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",{attrs:{prop:"pwd"}},[r("el-input",{attrs:{type:"password",placeholder:"密码"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitSetAccount(t):null}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[r("i",{staticClass:"el-input__icon el-icon-self-mima",attrs:{slot:"prefix"},slot:"prefix"})])],1),e._v(" "),r("el-form-item",[r("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),r("div",{staticClass:"text"},[r("span",{staticClass:"code-login"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/code?rd="+e.query.rd}}},[e._v("验证码登录")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"codeLogin"}}},[e._v("验证码登录")])]],2),e._v(" "),r("span",{staticClass:"forget-pwd"},[e.query.rd?[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[r("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)])},s=[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hidden-xs-only col-md-5 col-lg-6 col-xl-6"},[e("img",{attrs:{src:r(389),alt:"左侧-sofia logo"}})])}];r.d(e,"a",function(){return n}),r.d(e,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{251:function(t,e,n){"use strict";n.r(e);var s=n(429),r=n(293);for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);var a=n(1),o=Object(a.a)(r.default,s.a,s.b,!1,null,null,null);o.options.__file="code.vue",e.default=o.exports},293:function(t,e,n){"use strict";n.r(e);var s=n(294),r=n.n(s);for(var i in s)"default"!==i&&function(t){n.d(e,t,function(){return s[t]})}(i);e.default=r.a},294:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n(72);e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){var s=this;return{isSendDisable:!0,isSendCode:!1,timeInterval:null,sendBtnText:"发送验证码",setAccount:{},accountRules:{user:[{required:!0,message:"请输入手机号",trigger:"blur"},{validator:function(t,e,n){/^1[3-9]\d{9}$/.test(e)?(s.isSendDisable=!1,n()):(s.isSendDisable=!0,n(new Error("请输入正确格式的手机号")))},trigger:"change"}],pwd:[{required:!0,message:"请输入短信验证码",trigger:"blur"}]}}},beforeDestroy:function(){this.clearTime()},methods:{sendCode:function(){var n=this;this.isSendCode||(0,s.request)({component:this,actionName:"loginAction",functionName:"sendCode",data:{mobile:this.setAccount.user},thenCallback:function(t){if(200!==t.status)return new Error(JSON.stringify(t));var e=60;n.isSendCode=!0,n.sendBtnText="60s后重发",n.timeInterval=setInterval(function(){0<e--?n.sendBtnText=e+"s后重发":(n.isSendCode=!1,n.sendBtnText="发送验证码",clearInterval(n.timeInterval))},1e3)},catchCallback:function(t){},finallyCallback:function(){}})},clearTime:function(){this.isSendCode=!0,this.sendBtnText="发送验证码",clearInterval(this.timeInterval)},onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,s.request)({component:e,actionName:"loginAction",functionName:"codeLogin",data:{mobile:e.setAccount.user,code:e.setAccount.pwd},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):e.$router.push({path:"/app/my-learn/course"})},catchCallback:function(t){},finallyCallback:function(){}})})}}}},429:function(t,e,n){"use strict";var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-row",{attrs:{type:"flex",justify:"center"}},[n("el-col",{attrs:{xs:24,sm:18,md:12,lg:9,xl:6}},[n("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[n("el-form-item",{attrs:{prop:"user"}},[n("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机号"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitSetAccount(t):null}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"pwd"}},[n("el-input",{attrs:{disabled:e.isSendDisable,type:"text",placeholder:"短信验证码"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitSetAccount(t):null}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[n("el-button",{attrs:{slot:"suffix",size:"mini",disabled:e.isSendDisable||e.isSendCode},on:{click:e.sendCode},slot:"suffix"},[e._v(e._s(e.sendBtnText))])],1)],1),e._v(" "),n("el-form-item",[n("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),n("div",{staticClass:"text"},[n("span",{staticClass:"code-login"},[e.query.rd?[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/index?rd="+e.query.rd}}},[e._v("密码登录")])]:[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"normalLogin"}}},[e._v("密码登录")])]],2),e._v(" "),n("span",{staticClass:"forget-pwd"},[e.query.rd?[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)],1)},r=[];n.d(e,"a",function(){return s}),n.d(e,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{251:function(t,e,n){"use strict";n.r(e);var s=n(457),r=n(295);for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);var a=n(1),o=Object(a.a)(r.default,s.a,s.b,!1,null,null,null);o.options.__file="code.vue",e.default=o.exports},295:function(t,e,n){"use strict";n.r(e);var s=n(296),r=n.n(s);for(var i in s)"default"!==i&&function(t){n.d(e,t,function(){return s[t]})}(i);e.default=r.a},296:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=n(72);e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){var s=this;return{isSendDisable:!0,isSendCode:!1,timeInterval:null,sendBtnText:"发送验证码",setAccount:{},accountRules:{user:[{required:!0,message:"请输入手机号",trigger:"blur"},{validator:function(t,e,n){/^1[3-9]\d{9}$/.test(e)?(s.isSendDisable=!1,n()):(s.isSendDisable=!0,n(new Error("请输入正确格式的手机号")))},trigger:"change"}],pwd:[{required:!0,message:"请输入短信验证码",trigger:"blur"}]}}},beforeDestroy:function(){this.clearTime()},methods:{sendCode:function(){var n=this;this.isSendCode||(0,s.request)({component:this,actionName:"loginAction",functionName:"sendCode",data:{mobile:this.setAccount.user},thenCallback:function(t){if(200!==t.status)return new Error(JSON.stringify(t));var e=60;n.isSendCode=!0,n.sendBtnText="60s后重发",n.timeInterval=setInterval(function(){0<e--?n.sendBtnText=e+"s后重发":(n.isSendCode=!1,n.sendBtnText="发送验证码",clearInterval(n.timeInterval))},1e3)},catchCallback:function(t){},finallyCallback:function(){}})},clearTime:function(){this.isSendCode=!0,this.sendBtnText="发送验证码",clearInterval(this.timeInterval)},onSubmitSetAccount:function(){var e=this;this.$refs.setAccountform.validate(function(t){if(!t)return e.$message.error("请根据输入框提示,检查输入项。"),!1;(0,s.request)({component:e,actionName:"loginAction",functionName:"codeLogin",data:{mobile:e.setAccount.user,code:e.setAccount.pwd},thenCallback:function(t){e.query.rd?e.$router.push({path:decodeURIComponent(e.query.rd)}):e.$router.push({path:"/app/my-learn/course"})},catchCallback:function(t){},finallyCallback:function(){}})})}}}},457:function(t,e,n){"use strict";var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-row",{attrs:{type:"flex",justify:"center"}},[n("el-col",{attrs:{xs:24,sm:18,md:12,lg:9,xl:6}},[n("el-form",{ref:"setAccountform",attrs:{model:e.setAccount,rules:e.accountRules}},[n("el-form-item",{attrs:{prop:"user"}},[n("el-input",{staticClass:"self-input",attrs:{type:"text",placeholder:"手机号"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitSetAccount(t):null}},model:{value:e.setAccount.user,callback:function(t){e.$set(e.setAccount,"user",t)},expression:"setAccount.user"}})],1),e._v(" "),n("el-form-item",{attrs:{prop:"pwd"}},[n("el-input",{attrs:{disabled:e.isSendDisable,type:"text",placeholder:"短信验证码"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitSetAccount(t):null}},model:{value:e.setAccount.pwd,callback:function(t){e.$set(e.setAccount,"pwd",t)},expression:"setAccount.pwd"}},[n("el-button",{attrs:{slot:"suffix",size:"mini",disabled:e.isSendDisable||e.isSendCode},on:{click:e.sendCode},slot:"suffix"},[e._v(e._s(e.sendBtnText))])],1)],1),e._v(" "),n("el-form-item",[n("el-button",{staticClass:"login-btn",attrs:{type:"primary"},on:{click:e.onSubmitSetAccount}},[e._v("登录")])],1),e._v(" "),n("div",{staticClass:"text"},[n("span",{staticClass:"code-login"},[e.query.rd?[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/index?rd="+e.query.rd}}},[e._v("密码登录")])]:[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"normalLogin"}}},[e._v("密码登录")])]],2),e._v(" "),n("span",{staticClass:"forget-pwd"},[e.query.rd?[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/forget?rd="+e.query.rd}}},[e._v("忘记密码")])]:[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"forgetPwd"}}},[e._v("忘记密码")])]],2)])],1)],1)],1)},r=[];n.d(e,"a",function(){return s}),n.d(e,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{252:function(t,e,n){"use strict";n.r(e);var a=n(431),r=n(295);for(var o in r)"default"!==o&&function(t){n.d(e,t,function(){return r[t]})}(o);var c=n(1),i=Object(c.a)(r.default,a.a,a.b,!1,null,null,null);i.options.__file="forget.vue",e.default=i.exports},295:function(t,e,n){"use strict";n.r(e);var a=n(296),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e.default=r.a},296:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(72);e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){var a=this;return{stepActive:1,isSendCode:!1,timeInterval:null,sendBtnText:"发送验证码",accountSet:{type:0,account:"",code:""},accountRules:{account:[{required:!0,message:"请输入注册手机号/邮箱",trigger:"blur"},{validator:function(t,e,n){/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/.test(e)?(/^(1[3-9]\d{9}$)/.test(e)&&(a.accountSet.type=0),/^([\w\.]+@\w+(\.\w+)+)/.test(e)&&(a.accountSet.type=1),n()):n(new Error("请输入正确格式的手机号/邮箱"))},trigger:"change"}],code:[{required:!0,message:"请输入4位数字验证码",trigger:"blur"},{pattern:/^(\d{4})$/,message:"请输入4位数字验证码",trigger:"change"}],newpwd:[{required:!0,message:"请输入新密码",trigger:"blur"},{pattern:/^.*[^\d]+.*$/,message:"请输入6-20个字母、数字及标点符号,不可仅数字",trigger:"blur"}],repwd:[{required:!0,message:"请重复输入新密码",trigger:"blur"},{validator:function(t,e,n){e===a.accountSet.newpwd?n():n(new Error("两次输入密码不一致"))},trigger:"change"}]},centerDialogVisible:!1}},beforeDestroy:function(){this.clearTime()},methods:{goPrevStep:function(){this.stepActive-=1,this.accountSet.account="",this.clearTime()},onSubmitForm1:function(){var e=this;this.$refs.form1.validate(function(t){if(!t)return e.$message.error("请检查手机号或邮箱是否输入正确"),!1;e.stepActive=2,e.sendCode()})},sendCode:function(){var n=this;this.isSendCode||(0,a.request)({component:this,actionName:"loginAction",functionName:"sendResetPwdCode",data:{contact:this.accountSet.account,source_type:3},thenCallback:function(t){if(200!==t.status)return new Error(JSON.stringify(t));var e=60;n.isSendCode=!0,n.sendBtnText="60s后重发",n.timeInterval=setInterval(function(){0<e--?n.sendBtnText=e+"s后重发":(n.isSendCode=!1,n.sendBtnText="发送验证码",clearInterval(n.timeInterval))},1e3),n.$message({type:"success",message:"验证码已成功发送,请耐心等待。每天最高发送5次",duration:1e4})},catchCallback:function(t){n.goPrevStep()},finallyCallback:function(){}})},clearTime:function(){this.isSendCode=!1,this.sendBtnText="发送验证码",clearInterval(this.timeInterval)},onSubmitForm2:function(){var e=this;this.$refs.form2.validate(function(t){if(!t)return e.$message.error("请检查验证码是否输入正确!"),!1;(0,a.request)({component:e,actionName:"loginAction",functionName:"validateCode",data:{contact:e.accountSet.account,code:e.accountSet.code},thenCallback:function(t){if(200!==t.status)return new Error(JSON.stringify(t));e.stepActive=3},catchCallback:function(){},finallyCallback:function(){}})})},onSubmitForm3:function(){var e=this;this.$refs.form3.validate(function(t){if(!t)return e.$message.error("请检查输入项是否输入正确!"),!1;(0,a.request)({component:e,actionName:"loginAction",functionName:"resetPwd",data:{contact:e.accountSet.account,code:e.accountSet.code,new_password:e.accountSet.repwd},thenCallback:function(t){if(200!==t.status)return new Error(JSON.stringify(t));e.centerDialogVisible=!0},catchCallback:function(){},finallyCallback:function(){}})})},goLogin:function(){this.centerDialogVisible=!1,this.$router.push({path:"/login/index"})}}}},431:function(t,e,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-steps",{attrs:{active:e.stepActive,"align-center":""}},[n("el-step",{attrs:{title:"步骤1"}}),e._v(" "),n("el-step",{attrs:{title:"步骤2"}}),e._v(" "),n("el-step",{attrs:{title:"步骤3"}})],1),e._v(" "),1===e.stepActive?n("div",{staticClass:"step1"},[n("el-form",{ref:"form1",attrs:{model:e.accountSet,rules:e.accountRules},nativeOn:{submit:function(t){t.preventDefault()}}},[n("el-row",[n("el-col",{attrs:{xs:24,sm:18,md:18,lg:18,xl:18}},[n("el-form-item",{attrs:{prop:"account"}},[n("el-input",{attrs:{type:"text",placeholder:"输入注册手机号/邮箱"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitForm1(t):null}},model:{value:e.accountSet.account,callback:function(t){e.$set(e.accountSet,"account",t)},expression:"accountSet.account"}})],1)],1),e._v(" "),n("el-col",{attrs:{xs:24,sm:6,md:6,lg:6,xl:6}},[n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmitForm1}},[e._v("发送验证码")])],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"go-back"},[e.query.rd?[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/index?rd="+e.query.rd}}},[e._v("返回登录")])]:[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"normalLogin"}}},[e._v("返回登录")])]],2)],1):e._e(),e._v(" "),2===e.stepActive?n("div",{staticClass:"step2"},[n("div",{staticClass:"txt"},[e._v("\n 验证码已发送至:"+e._s(e.accountSet.account)+"\n ")]),e._v(" "),n("el-form",{ref:"form2",attrs:{model:e.accountSet,rules:e.accountRules},nativeOn:{submit:function(t){t.preventDefault()}}},[n("el-row",[n("el-col",{attrs:{xs:24,sm:14,md:14,lg:14,xl:14}},[n("el-form-item",{attrs:{"label-width":"1.2rem",prop:"code",label:e.accountSet.type?"邮箱验证码":"手机验证码"}},[n("el-input",{attrs:{type:"text",placeholder:"输入4位验证码"},model:{value:e.accountSet.code,callback:function(t){e.$set(e.accountSet,"code",t)},expression:"accountSet.code"}})],1)],1),e._v(" "),n("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[n("el-form-item",[n("el-button",{attrs:{type:"primary",disabled:e.isSendCode},on:{click:e.sendCode}},[e._v(e._s(e.sendBtnText))])],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"operate"},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-button",{on:{click:e.goPrevStep}},[e._v("上一步")])],1),e._v(" "),n("el-col",{attrs:{span:12}},[n("el-button",{on:{click:e.onSubmitForm2}},[e._v("下一步")])],1)],1)],1)],1):e._e(),e._v(" "),3===e.stepActive?n("div",{staticClass:"step3"},[n("el-form",{ref:"form3",attrs:{model:e.accountSet,rules:e.accountRules}},[n("el-form-item",{attrs:{"label-width":"1.1rem",prop:"newpwd",label:"新密码"}},[n("el-input",{attrs:{type:"password",placeholder:"请输入6-20个字母、数字及标点符号,不可仅数字"},model:{value:e.accountSet.newpwd,callback:function(t){e.$set(e.accountSet,"newpwd",t)},expression:"accountSet.newpwd"}})],1),e._v(" "),n("el-form-item",{attrs:{"label-width":"1.1rem",prop:"repwd",label:"重复新密码"}},[n("el-input",{attrs:{type:"password",placeholder:"请重新输入新密码"},model:{value:e.accountSet.repwd,callback:function(t){e.$set(e.accountSet,"repwd",t)},expression:"accountSet.repwd"}})],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmitForm3}},[e._v("完成")])],1)],1)],1):e._e(),e._v(" "),n("el-dialog",{attrs:{title:"",visible:e.centerDialogVisible,width:"30%",center:"","append-to-body":""},on:{"update:visible":function(t){e.centerDialogVisible=t}}},[n("i",{staticClass:"el-icon-success",staticStyle:{display:"block","font-size":"0.6rem","text-align":"center",color:"#67c23a"}}),e._v(" "),n("span",{staticStyle:{display:"block","margin-top":"0.2rem","text-align":"center"}},[e._v("密码设置成功")]),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.goLogin}},[e._v("登 录")])],1)])],1)},r=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{252:function(t,e,n){"use strict";n.r(e);var a=n(442),r=n(297);for(var o in r)"default"!==o&&function(t){n.d(e,t,function(){return r[t]})}(o);var c=n(1),i=Object(c.a)(r.default,a.a,a.b,!1,null,null,null);i.options.__file="forget.vue",e.default=i.exports},297:function(t,e,n){"use strict";n.r(e);var a=n(298),r=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e.default=r.a},298:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n(72);e.default={props:{params:{type:Object,required:!1,default:{}},query:{type:Object,required:!1,default:{}}},data:function(){var a=this;return{stepActive:1,isSendCode:!1,timeInterval:null,sendBtnText:"发送验证码",accountSet:{type:0,account:"",code:""},accountRules:{account:[{required:!0,message:"请输入注册手机号/邮箱",trigger:"blur"},{validator:function(t,e,n){/^(1[3-9]\d{9}|[\w\.]+@\w+(\.\w+)+)$/.test(e)?(/^(1[3-9]\d{9}$)/.test(e)&&(a.accountSet.type=0),/^([\w\.]+@\w+(\.\w+)+)/.test(e)&&(a.accountSet.type=1),n()):n(new Error("请输入正确格式的手机号/邮箱"))},trigger:"change"}],code:[{required:!0,message:"请输入4位数字验证码",trigger:"blur"},{pattern:/^(\d{4})$/,message:"请输入4位数字验证码",trigger:"change"}],newpwd:[{required:!0,message:"请输入新密码",trigger:"blur"},{pattern:/^.*[^\d]+.*$/,message:"请输入6-20个字母、数字及标点符号,不可仅数字",trigger:"blur"}],repwd:[{required:!0,message:"请重复输入新密码",trigger:"blur"},{validator:function(t,e,n){e===a.accountSet.newpwd?n():n(new Error("两次输入密码不一致"))},trigger:"change"}]},centerDialogVisible:!1}},beforeDestroy:function(){this.clearTime()},methods:{goPrevStep:function(){this.stepActive-=1,this.accountSet.account="",this.clearTime()},onSubmitForm1:function(){var e=this;this.$refs.form1.validate(function(t){if(!t)return e.$message.error("请检查手机号或邮箱是否输入正确"),!1;e.stepActive=2,e.sendCode()})},sendCode:function(){var n=this;this.isSendCode||(0,a.request)({component:this,actionName:"loginAction",functionName:"sendResetPwdCode",data:{contact:this.accountSet.account,source_type:3},thenCallback:function(t){if(200!==t.status)return new Error(JSON.stringify(t));var e=60;n.isSendCode=!0,n.sendBtnText="60s后重发",n.timeInterval=setInterval(function(){0<e--?n.sendBtnText=e+"s后重发":(n.isSendCode=!1,n.sendBtnText="发送验证码",clearInterval(n.timeInterval))},1e3),n.$message({type:"success",message:"验证码已成功发送,请耐心等待。每天最高发送5次",duration:1e4})},catchCallback:function(t){n.goPrevStep()},finallyCallback:function(){}})},clearTime:function(){this.isSendCode=!1,this.sendBtnText="发送验证码",clearInterval(this.timeInterval)},onSubmitForm2:function(){var e=this;this.$refs.form2.validate(function(t){if(!t)return e.$message.error("请检查验证码是否输入正确!"),!1;(0,a.request)({component:e,actionName:"loginAction",functionName:"validateCode",data:{contact:e.accountSet.account,code:e.accountSet.code},thenCallback:function(t){if(200!==t.status)return new Error(JSON.stringify(t));e.stepActive=3},catchCallback:function(){},finallyCallback:function(){}})})},onSubmitForm3:function(){var e=this;this.$refs.form3.validate(function(t){if(!t)return e.$message.error("请检查输入项是否输入正确!"),!1;(0,a.request)({component:e,actionName:"loginAction",functionName:"resetPwd",data:{contact:e.accountSet.account,code:e.accountSet.code,new_password:e.accountSet.repwd},thenCallback:function(t){if(200!==t.status)return new Error(JSON.stringify(t));e.centerDialogVisible=!0},catchCallback:function(){},finallyCallback:function(){}})})},goLogin:function(){this.centerDialogVisible=!1,this.$router.push({path:"/login/index"})}}}},442:function(t,e,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-steps",{attrs:{active:e.stepActive,"align-center":""}},[n("el-step",{attrs:{title:"步骤1"}}),e._v(" "),n("el-step",{attrs:{title:"步骤2"}}),e._v(" "),n("el-step",{attrs:{title:"步骤3"}})],1),e._v(" "),1===e.stepActive?n("div",{staticClass:"step1"},[n("el-form",{ref:"form1",attrs:{model:e.accountSet,rules:e.accountRules},nativeOn:{submit:function(t){t.preventDefault()}}},[n("el-row",[n("el-col",{attrs:{xs:24,sm:18,md:18,lg:18,xl:18}},[n("el-form-item",{attrs:{prop:"account"}},[n("el-input",{attrs:{type:"text",placeholder:"输入注册手机号/邮箱"},nativeOn:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.onSubmitForm1(t):null}},model:{value:e.accountSet.account,callback:function(t){e.$set(e.accountSet,"account",t)},expression:"accountSet.account"}})],1)],1),e._v(" "),n("el-col",{attrs:{xs:24,sm:6,md:6,lg:6,xl:6}},[n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmitForm1}},[e._v("发送验证码")])],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"go-back"},[e.query.rd?[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{path:"/login/index?rd="+e.query.rd}}},[e._v("返回登录")])]:[n("router-link",{staticClass:"router-link-class",attrs:{"active-class":"router-link-active-class",to:{name:"normalLogin"}}},[e._v("返回登录")])]],2)],1):e._e(),e._v(" "),2===e.stepActive?n("div",{staticClass:"step2"},[n("div",{staticClass:"txt"},[e._v("\n 验证码已发送至:"+e._s(e.accountSet.account)+"\n ")]),e._v(" "),n("el-form",{ref:"form2",attrs:{model:e.accountSet,rules:e.accountRules},nativeOn:{submit:function(t){t.preventDefault()}}},[n("el-row",[n("el-col",{attrs:{xs:24,sm:14,md:14,lg:14,xl:14}},[n("el-form-item",{attrs:{"label-width":"1.2rem",prop:"code",label:e.accountSet.type?"邮箱验证码":"手机验证码"}},[n("el-input",{attrs:{type:"text",placeholder:"输入4位验证码"},model:{value:e.accountSet.code,callback:function(t){e.$set(e.accountSet,"code",t)},expression:"accountSet.code"}})],1)],1),e._v(" "),n("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[n("el-form-item",[n("el-button",{attrs:{type:"primary",disabled:e.isSendCode},on:{click:e.sendCode}},[e._v(e._s(e.sendBtnText))])],1)],1)],1)],1),e._v(" "),n("div",{staticClass:"operate"},[n("el-row",[n("el-col",{attrs:{span:12}},[n("el-button",{on:{click:e.goPrevStep}},[e._v("上一步")])],1),e._v(" "),n("el-col",{attrs:{span:12}},[n("el-button",{on:{click:e.onSubmitForm2}},[e._v("下一步")])],1)],1)],1)],1):e._e(),e._v(" "),3===e.stepActive?n("div",{staticClass:"step3"},[n("el-form",{ref:"form3",attrs:{model:e.accountSet,rules:e.accountRules}},[n("el-form-item",{attrs:{"label-width":"1.1rem",prop:"newpwd",label:"新密码"}},[n("el-input",{attrs:{type:"password",placeholder:"请输入6-20个字母、数字及标点符号,不可仅数字"},model:{value:e.accountSet.newpwd,callback:function(t){e.$set(e.accountSet,"newpwd",t)},expression:"accountSet.newpwd"}})],1),e._v(" "),n("el-form-item",{attrs:{"label-width":"1.1rem",prop:"repwd",label:"重复新密码"}},[n("el-input",{attrs:{type:"password",placeholder:"请重新输入新密码"},model:{value:e.accountSet.repwd,callback:function(t){e.$set(e.accountSet,"repwd",t)},expression:"accountSet.repwd"}})],1),e._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:e.onSubmitForm3}},[e._v("完成")])],1)],1)],1):e._e(),e._v(" "),n("el-dialog",{attrs:{title:"",visible:e.centerDialogVisible,width:"30%",center:"","append-to-body":""},on:{"update:visible":function(t){e.centerDialogVisible=t}}},[n("i",{staticClass:"el-icon-success",staticStyle:{display:"block","font-size":"0.6rem","text-align":"center",color:"#67c23a"}}),e._v(" "),n("span",{staticStyle:{display:"block","margin-top":"0.2rem","text-align":"center"}},[e._v("密码设置成功")]),e._v(" "),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{attrs:{type:"primary"},on:{click:e.goLogin}},[e._v("登 录")])],1)])],1)},r=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{271:function(t,e,a){"use strict";a.r(e);var r=a(426),n=a(360);for(var i in n)"default"!==i&&function(t){a.d(e,t,function(){return n[t]})}(i);var c=a(1),s=Object(c.a)(n.default,r.a,r.b,!1,null,null,null);s.options.__file="chapterRead.vue",e.default=s.exports},360:function(t,e,a){"use strict";a.r(e);var r=a(361),n=a.n(r);for(var i in r)"default"!==i&&function(t){a.d(e,t,function(){return r[t]})}(i);e.default=n.a},361:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{chapterRead:{type:Object,require:!1},chapterName:{type:String,require:!1}}}},426:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"play-paper"},[a("div",{staticClass:"play-paper-body"},[a("div",{staticClass:"play-paper-title"},[a("div",[a("h3",[t._v(t._s(t.chapterName))])])]),t._v(" "),a("div",{staticClass:"play-paper-content"},[a("ul",{staticClass:"play-read-files"},[a("li",[a("a",{attrs:{href:t.chapterRead.reading_attachment,target:"_blank"}},[t._v(t._s(t.chapterRead.reading_content))])])])])])])},n=[];a.d(e,"a",function(){return r}),a.d(e,"b",function(){return n})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{271:function(t,e,a){"use strict";a.r(e);var r=a(455),n=a(362);for(var i in n)"default"!==i&&function(t){a.d(e,t,function(){return n[t]})}(i);var c=a(1),s=Object(c.a)(n.default,r.a,r.b,!1,null,null,null);s.options.__file="chapterRead.vue",e.default=s.exports},362:function(t,e,a){"use strict";a.r(e);var r=a(363),n=a.n(r);for(var i in r)"default"!==i&&function(t){a.d(e,t,function(){return r[t]})}(i);e.default=n.a},363:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{chapterRead:{type:Object,require:!1},chapterName:{type:String,require:!1}}}},455:function(t,e,a){"use strict";var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"play-paper"},[a("div",{staticClass:"play-paper-body"},[a("div",{staticClass:"play-paper-title"},[a("div",[a("h3",[t._v(t._s(t.chapterName))])])]),t._v(" "),a("div",{staticClass:"play-paper-content"},[a("ul",{staticClass:"play-read-files"},[a("li",[a("a",{attrs:{href:t.chapterRead.reading_attachment,target:"_blank"}},[t._v(t._s(t.chapterRead.reading_content))])])])])])])},n=[];a.d(e,"a",function(){return r}),a.d(e,"b",function(){return n})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{272:function(e,t,i){"use strict";i.r(t);var s=i(423),r=i(362);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var o=i(1),n=Object(o.a)(r.default,s.a,s.b,!1,null,null,null);n.options.__file="chapterWork.vue",t.default=n.exports},362:function(e,t,i){"use strict";i.r(t);var s=i(363),r=i.n(s);for(var a in s)"default"!==a&&function(e){i.d(t,e,function(){return s[e]})}(a);t.default=r.a},363:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(i(72)),r=a(i(249));function a(e){return e&&e.__esModule?e:{default:e}}t.default={props:{chapterId:{type:String,require:!1},chapterWork:{type:Object,require:!1},chapterName:{type:String,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{ckeditor:null,successFileUrl:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:""},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.getHomework(this.sid,this.id).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-chapterWork")){if(t.initckeditor(),t.homeData.work_contents){var e=JSON.parse(t.homeData.work_contents);t.successFileUrl=e[0].file_url,t.ckeditor.setData(e[0].descreption)}else t.successFileUrl="",t.ckeditor.setData("");document.querySelector(".play-paper").scrollTop=0,clearInterval(t.setTime)}},50),e.close()})},submitWork:function(){var t=this;if(this.ckeditor.getData()){var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"}),i=JSON.stringify([{question_id:this.chapterWork.questions[0].id,descreption:this.ckeditor.getData(),file_url:this.successFileUrl}]);s.default.chapterAction.updateHomework({semester_id:this.sid,course_id:this.cid,chapter_id:this.chapterId,work_id:this.id,work_contents:i,duration:30+Math.floor(1e3*Math.random())}).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("请填写内容")},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){t.successFileUrl=e.url,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-chapterWork",{height:300,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"]}]}))}},watch:{id:{handler:function(){this.loadAjax()}}}}},423:function(e,t,i){"use strict";var s=function(){var i=this,e=i.$createElement,s=i._self._c||e;return s("div",{staticClass:"play-paper"},[s("div",{staticClass:"play-paper-body"},[s("div",{staticClass:"play-paper-title"},[s("div",[s("h3",[i._v(i._s(i.chapterName))])])]),i._v(" "),s("div",{staticClass:"play-paper-content play-chapter-work"},[i.chapterWork.questions&&i.chapterWork.questions.length?[s("ul",[i._l(i.chapterWork.questions,function(e,t){return[s("li",{key:t},[s("div",{staticClass:"work-number"},[i._v(i._s(t+1)+".")]),i._v(" "),s("div",{staticClass:"work-title"},[s("div",{staticClass:"edit_html",domProps:{innerHTML:i._s(e.question_content)}})]),i._v(" "),s("textarea",{attrs:{id:"editor-chapterWork"}}),i._v(" "),s("div",{staticStyle:{height:"20px"}}),i._v(" "),i.successFileUrl?[s("a",{attrs:{href:i.successFileUrl}},[i._v("下载已上传文件")])]:i._e()],2)]})],2)]:void 0,i._v(" "),s("div",{staticClass:"area-btns"},[s("el-button",{attrs:{type:"primary",disabled:i.homeData.checker_time},on:{click:i.submitWork}},[i._v(i._s(i.homeData.checker_time?"已批改":"提交"))]),i._v(" "),s("span",{staticClass:"help-info"},[i._v("  在获老师批改之前,可以多次提交,将以最后一次提交为准")]),i._v(" "),i.homeData.checker_time?[s("div",{staticClass:"play-paper-check"},[s("h4",[i._v("已获批改 "),s("small",[i._v("批改于"+i._s(i.homeData.checker_time))])]),i._v(" "),s("div",{staticClass:"play-paper-check-item"},[s("b",[i._v("评分:")]),i._v(i._s(i.homeData.score))]),i._v(" "),s("div",{staticClass:"play-paper-check-item"},[s("b",[i._v("评语:")]),i._v(" "),s("div",{staticClass:"edit_html",domProps:{innerHTML:i._s(i.homeData.check_comments)}})])])]:i.homeData.created_time?[s("p",{staticClass:"help"},[i._v("已于 "+i._s(i.homeData.created_time)+" 提交,等待批改中")])]:i._e()],2)],2)])])},r=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{272:function(e,t,i){"use strict";i.r(t);var s=i(443),r=i(364);for(var a in r)"default"!==a&&function(e){i.d(t,e,function(){return r[e]})}(a);var o=i(1),n=Object(o.a)(r.default,s.a,s.b,!1,null,null,null);n.options.__file="chapterWork.vue",t.default=n.exports},364:function(e,t,i){"use strict";i.r(t);var s=i(365),r=i.n(s);for(var a in s)"default"!==a&&function(e){i.d(t,e,function(){return s[e]})}(a);t.default=r.a},365:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(i(72)),r=a(i(249));function a(e){return e&&e.__esModule?e:{default:e}}t.default={props:{chapterId:{type:String,require:!1},chapterWork:{type:Object,require:!1},chapterName:{type:String,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{ckeditor:null,successFileUrl:"",filesArr:[],file:{id:"WU_FILE_0",name:"",type:"",lastModifiedDate:"",size:"",file:""},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.getHomework(this.sid,this.id).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-chapterWork")){if(t.initckeditor(),t.homeData.work_contents){var e=JSON.parse(t.homeData.work_contents);t.successFileUrl=e[0].file_url,t.ckeditor.setData(e[0].descreption)}else t.successFileUrl="",t.ckeditor.setData("");document.querySelector(".play-paper").scrollTop=0,clearInterval(t.setTime)}},50),e.close()})},submitWork:function(){var t=this;if(this.ckeditor.getData()){var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"}),i=JSON.stringify([{question_id:this.chapterWork.questions[0].id,descreption:this.ckeditor.getData(),file_url:this.successFileUrl}]);s.default.chapterAction.updateHomework({semester_id:this.sid,course_id:this.cid,chapter_id:this.chapterId,work_id:this.id,work_contents:i,duration:30+Math.floor(1e3*Math.random())}).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("请填写内容")},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){t.successFileUrl=e.url,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-chapterWork",{height:300,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"]}]}))}},watch:{id:{handler:function(){this.loadAjax()}}}}},443:function(e,t,i){"use strict";var s=function(){var i=this,e=i.$createElement,s=i._self._c||e;return s("div",{staticClass:"play-paper"},[s("div",{staticClass:"play-paper-body"},[s("div",{staticClass:"play-paper-title"},[s("div",[s("h3",[i._v(i._s(i.chapterName))])])]),i._v(" "),s("div",{staticClass:"play-paper-content play-chapter-work"},[i.chapterWork.questions&&i.chapterWork.questions.length?[s("ul",[i._l(i.chapterWork.questions,function(e,t){return[s("li",{key:t},[s("div",{staticClass:"work-number"},[i._v(i._s(t+1)+".")]),i._v(" "),s("div",{staticClass:"work-title"},[s("div",{staticClass:"edit_html",domProps:{innerHTML:i._s(e.question_content)}})]),i._v(" "),s("textarea",{attrs:{id:"editor-chapterWork"}}),i._v(" "),s("div",{staticStyle:{height:"20px"}}),i._v(" "),i.successFileUrl?[s("a",{attrs:{href:i.successFileUrl}},[i._v("下载已上传文件")])]:i._e()],2)]})],2)]:void 0,i._v(" "),s("div",{staticClass:"area-btns"},[s("el-button",{attrs:{type:"primary",disabled:i.homeData.checker_time},on:{click:i.submitWork}},[i._v(i._s(i.homeData.checker_time?"已批改":"提交"))]),i._v(" "),s("span",{staticClass:"help-info"},[i._v("  在获老师批改之前,可以多次提交,将以最后一次提交为准")]),i._v(" "),i.homeData.checker_time?[s("div",{staticClass:"play-paper-check"},[s("h4",[i._v("已获批改 "),s("small",[i._v("批改于"+i._s(i.homeData.checker_time))])]),i._v(" "),s("div",{staticClass:"play-paper-check-item"},[s("b",[i._v("评分:")]),i._v(i._s(i.homeData.score))]),i._v(" "),s("div",{staticClass:"play-paper-check-item"},[s("b",[i._v("评语:")]),i._v(" "),s("div",{staticClass:"edit_html",domProps:{innerHTML:i._s(i.homeData.check_comments)}})])])]:i.homeData.created_time?[s("p",{staticClass:"help"},[i._v("已于 "+i._s(i.homeData.created_time)+" 提交,等待批改中")])]:i._e()],2)],2)])])},r=[];i.d(t,"a",function(){return s}),i.d(t,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{273:function(t,e,n){"use strict";n.r(e);var a=n(422),r=n(364);for(var s in r)"default"!==s&&function(t){n.d(e,t,function(){return r[t]})}(s);var u=n(1),i=Object(u.a)(r.default,a.a,a.b,!1,null,null,null);i.options.__file="courseInfo.vue",e.default=i.exports},364:function(t,e,n){"use strict";n.r(e);var a=n(365),r=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e.default=r.a},365:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{courseInfo:{type:Array,require:!1}}}},422:function(t,e,n){"use strict";var a=function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"play-paper"},[a("div",{staticClass:"play-paper-body"},[n._m(0),n._v(" "),a("div",{staticClass:"play-paper-content"},[n.courseInfo.length?[a("ul",{staticClass:"play-read-files"},[n._l(n.courseInfo,function(t,e){return[a("li",{key:e},[a("a",{attrs:{href:t.file_url,target:"_blank"}},[n._v(n._s(t.file_name))])])]})],2)]:[a("p",{staticClass:"no-data"},[n._v("暂无课程资料")])]],2)])])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"play-paper-title"},[n("div",[n("h3",[t._v("课程资料")])])])}];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{273:function(t,e,n){"use strict";n.r(e);var a=n(437),r=n(366);for(var s in r)"default"!==s&&function(t){n.d(e,t,function(){return r[t]})}(s);var u=n(1),i=Object(u.a)(r.default,a.a,a.b,!1,null,null,null);i.options.__file="courseInfo.vue",e.default=i.exports},366:function(t,e,n){"use strict";n.r(e);var a=n(367),r=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e.default=r.a},367:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{courseInfo:{type:Array,require:!1}}}},437:function(t,e,n){"use strict";var a=function(){var n=this,t=n.$createElement,a=n._self._c||t;return a("div",{staticClass:"play-paper"},[a("div",{staticClass:"play-paper-body"},[n._m(0),n._v(" "),a("div",{staticClass:"play-paper-content"},[n.courseInfo.length?[a("ul",{staticClass:"play-read-files"},[n._l(n.courseInfo,function(t,e){return[a("li",{key:e},[a("a",{attrs:{href:t.file_url,target:"_blank"}},[n._v(n._s(t.file_name))])])]})],2)]:[a("p",{staticClass:"no-data"},[n._v("暂无课程资料")])]],2)])])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"play-paper-title"},[n("div",[n("h3",[t._v("课程资料")])])])}];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return r})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{274:function(e,t,i){"use strict";i.r(t);var s=i(420),a=i(366);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},366:function(e,t,i){"use strict";i.r(t);var s=i(367),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},367: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"]}]}))}}}},420: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=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([[30],{264:function(e,t,n){"use strict";n.r(t);var r=n(418),a=n(333);for(var o in a)"default"!==o&&function(e){n.d(t,e,function(){return a[e]})}(o);var u=n(1),i=Object(u.a)(a.default,r.a,r.b,!1,null,null,null);i.options.__file="setPwd.vue",t.default=i.exports},333:function(e,t,n){"use strict";n.r(t);var r=n(334),a=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);t.default=a.a},334:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(72);t.default={components:{},data:function(){var r=this;return{activeName:"1",accountSetPwd:{},rules:{oldPwd:[{required:!0,message:"请输入密码",trigger:"blur"},{pattern:/^[a-zA-Z0-9_+-]{6,12}$/,message:"请输入6-20个字母、数字及标点符号",trigger:"change"}],newPwd:[{required:!0,message:"请输入新密码",trigger:"blur"},{pattern:/^[a-zA-Z0-9_+-]{6,12}$/,message:"请输入6-20个字母、数字及标点符号",trigger:"change"}],newPwdAgain:[{required:!0,message:"请重复输入新密码",trigger:"blur"},{validator:function(e,t,n){t!==r.accountSetPwd.newPwd?n(new Error("两次输入密码不一致!")):n()},trigger:"change"}]}}},methods:{handleClick:function(e,t){},onSubmitSetPwd:function(){var t=this;this.$refs.setpwdform.validate(function(e){if(!e)return t.$message.error("请检查输入项,确认无误后,重新提交"),!1;(0,r.request)({component:t,actionName:"loginAction",functionName:"updatePwd",data:{old_password:t.$md5("uokoaduw"+t.accountSetPwd.oldPwd.split("").reverse().join("")+"auhgniq"),new_password:t.accountSetPwd.newPwdAgain},thenCallback:function(e){200===e.status?(t.$refs.setpwdform.resetFields(),t.$message.success("密码修改成功")):t.$message.error(e.message)},catchCallback:function(){},finallyCallback:function(){}})})}}}},418:function(e,t,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"con-title"},[t._v("修改密码")]),t._v(" "),n("div",{staticClass:"con-box"},[n("el-row",[n("el-col",{attrs:{xs:24,sm:16,md:12,lg:10,xl:8}},[n("el-form",{ref:"setpwdform",attrs:{"label-width":"100px",model:t.accountSetPwd,rules:t.rules}},[n("el-form-item",{attrs:{label:"旧密码",prop:"oldPwd"}},[n("el-input",{attrs:{type:"password",placeholder:"请输入密码"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.onSubmitSetPwd(e):null}},model:{value:t.accountSetPwd.oldPwd,callback:function(e){t.$set(t.accountSetPwd,"oldPwd",e)},expression:"accountSetPwd.oldPwd"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"新密码",prop:"newPwd"}},[n("el-input",{attrs:{type:"password",placeholder:"请输入新密码"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.onSubmitSetPwd(e):null}},model:{value:t.accountSetPwd.newPwd,callback:function(e){t.$set(t.accountSetPwd,"newPwd",e)},expression:"accountSetPwd.newPwd"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"重复新密码",prop:"newPwdAgain"}},[n("el-input",{attrs:{type:"password",placeholder:"请重复输入新密码"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.onSubmitSetPwd(e):null}},model:{value:t.accountSetPwd.newPwdAgain,callback:function(e){t.$set(t.accountSetPwd,"newPwdAgain",e)},expression:"accountSetPwd.newPwdAgain"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmitSetPwd}},[t._v("保存")])],1)],1)],1)],1)],1)])},a=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{264:function(e,t,n){"use strict";n.r(t);var r=n(432),a=n(335);for(var o in a)"default"!==o&&function(e){n.d(t,e,function(){return a[e]})}(o);var u=n(1),i=Object(u.a)(a.default,r.a,r.b,!1,null,null,null);i.options.__file="setPwd.vue",t.default=i.exports},335:function(e,t,n){"use strict";n.r(t);var r=n(336),a=n.n(r);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);t.default=a.a},336:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(72);t.default={components:{},data:function(){var r=this;return{activeName:"1",accountSetPwd:{},rules:{oldPwd:[{required:!0,message:"请输入密码",trigger:"blur"},{pattern:/^[a-zA-Z0-9_+-]{6,12}$/,message:"请输入6-20个字母、数字及标点符号",trigger:"change"}],newPwd:[{required:!0,message:"请输入新密码",trigger:"blur"},{pattern:/^[a-zA-Z0-9_+-]{6,12}$/,message:"请输入6-20个字母、数字及标点符号",trigger:"change"}],newPwdAgain:[{required:!0,message:"请重复输入新密码",trigger:"blur"},{validator:function(e,t,n){t!==r.accountSetPwd.newPwd?n(new Error("两次输入密码不一致!")):n()},trigger:"change"}]}}},methods:{handleClick:function(e,t){},onSubmitSetPwd:function(){var t=this;this.$refs.setpwdform.validate(function(e){if(!e)return t.$message.error("请检查输入项,确认无误后,重新提交"),!1;(0,r.request)({component:t,actionName:"loginAction",functionName:"updatePwd",data:{old_password:t.$md5("uokoaduw"+t.accountSetPwd.oldPwd.split("").reverse().join("")+"auhgniq"),new_password:t.accountSetPwd.newPwdAgain},thenCallback:function(e){200===e.status?(t.$refs.setpwdform.resetFields(),t.$message.success("密码修改成功")):t.$message.error(e.message)},catchCallback:function(){},finallyCallback:function(){}})})}}}},432:function(e,t,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"con-title"},[t._v("修改密码")]),t._v(" "),n("div",{staticClass:"con-box"},[n("el-row",[n("el-col",{attrs:{xs:24,sm:16,md:12,lg:10,xl:8}},[n("el-form",{ref:"setpwdform",attrs:{"label-width":"100px",model:t.accountSetPwd,rules:t.rules}},[n("el-form-item",{attrs:{label:"旧密码",prop:"oldPwd"}},[n("el-input",{attrs:{type:"password",placeholder:"请输入密码"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.onSubmitSetPwd(e):null}},model:{value:t.accountSetPwd.oldPwd,callback:function(e){t.$set(t.accountSetPwd,"oldPwd",e)},expression:"accountSetPwd.oldPwd"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"新密码",prop:"newPwd"}},[n("el-input",{attrs:{type:"password",placeholder:"请输入新密码"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.onSubmitSetPwd(e):null}},model:{value:t.accountSetPwd.newPwd,callback:function(e){t.$set(t.accountSetPwd,"newPwd",e)},expression:"accountSetPwd.newPwd"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"重复新密码",prop:"newPwdAgain"}},[n("el-input",{attrs:{type:"password",placeholder:"请重复输入新密码"},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.onSubmitSetPwd(e):null}},model:{value:t.accountSetPwd.newPwdAgain,callback:function(e){t.$set(t.accountSetPwd,"newPwdAgain",e)},expression:"accountSetPwd.newPwdAgain"}})],1),t._v(" "),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:t.onSubmitSetPwd}},[t._v("保存")])],1)],1)],1)],1)],1)])},a=[];n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{275:function(t,e,n){"use strict";n.r(e);var a=n(417),i=n(368);for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);n(410);var l=n(1),c=Object(l.a)(i.default,a.a,a.b,!1,null,"57b03228",null);c.options.__file="index.vue",e.default=c.exports},368:function(t,e,n){"use strict";n.r(e);var a=n(369),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e.default=i.a},369:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(n(405)),i=s(n(411));function s(t){return t&&t.__esModule?t:{default:t}}e.default={components:{playLeft:a.default,playRight:i.default}}},370:function(t,e,n){"use strict";n.r(e);var a=n(371),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e.default=i.a},371:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(n(413)),i=s(n(412));function s(t){return t&&t.__esModule?t:{default:t}}e.default={components:{playHeader:a.default,playContent:i.default}}},372:function(t,e,n){},373:function(t,e,n){},374:function(t,e,n){},375:function(t,e,n){},376:function(t,e,n){},405:function(t,e,n){"use strict";n.r(e);var a=n(439),i=n(370);for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);n(408);var l=n(1),c=Object(l.a)(i.default,a.a,a.b,!1,null,"023fcfa8",null);c.options.__file="playLeft.vue",e.default=c.exports},406:function(t,e,n){"use strict";var a=n(372);n.n(a).a},407:function(t,e,n){"use strict";var a=n(373);n.n(a).a},408:function(t,e,n){"use strict";var a=n(374);n.n(a).a},409:function(t,e,n){"use strict";var a=n(375);n.n(a).a},410:function(t,e,n){"use strict";var a=n(376);n.n(a).a},411:function(t,e,n){"use strict";n.r(e);n(409);var a=n(1),i=Object(a.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"right-ctrl"},[n("p",{staticClass:"ctrl-arrow"},[n("i",{staticClass:"el-icon-arrow-right"})]),t._v(" "),n("div",{staticClass:"ctrl-pl"},[n("ul",{staticClass:"pl-tab-hd"},[n("li",{staticClass:"on"},[t._v("章节")]),t._v(" "),n("li",{staticClass:"br-l-line"},[t._v("讲义")])]),t._v(" "),n("div",{staticClass:"pl-tab-bd"},[n("div",{staticClass:"tab-pane"},[n("ul",{staticClass:"chapter-list"},[n("li",{staticClass:"chapter-item"},[n("h4",[t._v("第一章 战略管理与竞争力")]),t._v(" "),n("ul",{staticClass:"knot-list"},[n("li",{staticClass:"on"},[n("a",{staticClass:"knot-name",attrs:{href:""}},[t._v("1.1 战略管理概述")]),t._v(" "),n("i",{staticClass:"el-icon el-icon-tickets"})]),t._v(" "),n("li",[n("a",{staticClass:"knot-name",attrs:{href:""}},[t._v("战略管理第一章课后试题")]),t._v(" "),n("i",{staticClass:"el-icon el-icon-menu"})])])])]),t._v(" "),n("ul",{staticClass:"lecture-list"},[n("li",{staticClass:"on"},[n("img",{attrs:{src:"https://img1.ezijing.com/curriculum/ppt/958dbedd5201f69068d8fe61e907d4dc.jpg",alt:""}})]),t._v(" "),n("li",[n("img",{attrs:{src:"https://img1.ezijing.com/curriculum/ppt/d9bbc0df0179f47b4de7f833b592d869.jpg",alt:""}})])])])])])])}],!1,null,"0ce82ba7",null);i.options.__file="playRight.vue";e.default=i.exports},412:function(t,e,n){"use strict";n.r(e);n(407);var a=n(1),i=Object(a.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"play-content"},[e("div",{staticClass:"play-paper-body"},[e("div",{staticClass:"play-paper-title"},[e("div",[e("h3",[this._v("战略管理第一章课后试题")])])]),this._v(" "),e("div",{staticClass:"play-paper-content"})])])}],!1,null,"5f2b3d06",null);i.options.__file="playContent.vue";e.default=i.exports},413:function(t,e,n){"use strict";n.r(e);n(406);var a=n(1),i=Object(a.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,e=this._self._c||t;return e("h1",[e("a",{staticClass:"play-back",attrs:{href:"/courses/6437296339083591680/6437333685153824768/cont"}},[e("i",{staticClass:"el-icon-arrow-left"})]),this._v("Sofia-战略管理")])}],!1,null,"64a8d358",null);i.options.__file="playHeader.vue";e.default=i.exports},417:function(t,e,n){"use strict";var a=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"play"},[e("playLeft"),this._v(" "),e("playRight")],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},439:function(t,e,n){"use strict";var a=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"left-content"},[e("playHeader"),this._v(" "),e("playContent")],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{277:function(t,e,n){"use strict";n.r(e);var a=n(428),i=n(377);for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);n(421);var l=n(1),c=Object(l.a)(i.default,a.a,a.b,!1,null,"57b03228",null);c.options.__file="index.vue",e.default=c.exports},377:function(t,e,n){"use strict";n.r(e);var a=n(378),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e.default=i.a},378:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(n(416)),i=s(n(422));function s(t){return t&&t.__esModule?t:{default:t}}e.default={components:{playLeft:a.default,playRight:i.default}}},379:function(t,e,n){"use strict";n.r(e);var a=n(380),i=n.n(a);for(var s in a)"default"!==s&&function(t){n.d(e,t,function(){return a[t]})}(s);e.default=i.a},380:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=s(n(423)),i=s(n(424));function s(t){return t&&t.__esModule?t:{default:t}}e.default={components:{playHeader:a.default,playContent:i.default}}},381:function(t,e,n){},382:function(t,e,n){},383:function(t,e,n){},384:function(t,e,n){},385:function(t,e,n){},416:function(t,e,n){"use strict";n.r(e);var a=n(454),i=n(379);for(var s in i)"default"!==s&&function(t){n.d(e,t,function(){return i[t]})}(s);n(419);var l=n(1),c=Object(l.a)(i.default,a.a,a.b,!1,null,"023fcfa8",null);c.options.__file="playLeft.vue",e.default=c.exports},417:function(t,e,n){"use strict";var a=n(381);n.n(a).a},418:function(t,e,n){"use strict";var a=n(382);n.n(a).a},419:function(t,e,n){"use strict";var a=n(383);n.n(a).a},420:function(t,e,n){"use strict";var a=n(384);n.n(a).a},421:function(t,e,n){"use strict";var a=n(385);n.n(a).a},422:function(t,e,n){"use strict";n.r(e);n(420);var a=n(1),i=Object(a.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"right-ctrl"},[n("p",{staticClass:"ctrl-arrow"},[n("i",{staticClass:"el-icon-arrow-right"})]),t._v(" "),n("div",{staticClass:"ctrl-pl"},[n("ul",{staticClass:"pl-tab-hd"},[n("li",{staticClass:"on"},[t._v("章节")]),t._v(" "),n("li",{staticClass:"br-l-line"},[t._v("讲义")])]),t._v(" "),n("div",{staticClass:"pl-tab-bd"},[n("div",{staticClass:"tab-pane"},[n("ul",{staticClass:"chapter-list"},[n("li",{staticClass:"chapter-item"},[n("h4",[t._v("第一章 战略管理与竞争力")]),t._v(" "),n("ul",{staticClass:"knot-list"},[n("li",{staticClass:"on"},[n("a",{staticClass:"knot-name",attrs:{href:""}},[t._v("1.1 战略管理概述")]),t._v(" "),n("i",{staticClass:"el-icon el-icon-tickets"})]),t._v(" "),n("li",[n("a",{staticClass:"knot-name",attrs:{href:""}},[t._v("战略管理第一章课后试题")]),t._v(" "),n("i",{staticClass:"el-icon el-icon-menu"})])])])]),t._v(" "),n("ul",{staticClass:"lecture-list"},[n("li",{staticClass:"on"},[n("img",{attrs:{src:"https://img1.ezijing.com/curriculum/ppt/958dbedd5201f69068d8fe61e907d4dc.jpg",alt:""}})]),t._v(" "),n("li",[n("img",{attrs:{src:"https://img1.ezijing.com/curriculum/ppt/d9bbc0df0179f47b4de7f833b592d869.jpg",alt:""}})])])])])])])}],!1,null,"0ce82ba7",null);i.options.__file="playRight.vue";e.default=i.exports},423:function(t,e,n){"use strict";n.r(e);n(417);var a=n(1),i=Object(a.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,e=this._self._c||t;return e("h1",[e("a",{staticClass:"play-back",attrs:{href:"/courses/6437296339083591680/6437333685153824768/cont"}},[e("i",{staticClass:"el-icon-arrow-left"})]),this._v("Sofia-战略管理")])}],!1,null,"64a8d358",null);i.options.__file="playHeader.vue";e.default=i.exports},424:function(t,e,n){"use strict";n.r(e);n(418);var a=n(1),i=Object(a.a)({},function(){this.$createElement;this._self._c;return this._m(0)},[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"play-content"},[e("div",{staticClass:"play-paper-body"},[e("div",{staticClass:"play-paper-title"},[e("div",[e("h3",[this._v("战略管理第一章课后试题")])])]),this._v(" "),e("div",{staticClass:"play-paper-content"})])])}],!1,null,"5f2b3d06",null);i.options.__file="playContent.vue";e.default=i.exports},428:function(t,e,n){"use strict";var a=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"play"},[e("playLeft"),this._v(" "),e("playRight")],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},454:function(t,e,n){"use strict";var a=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"left-content"},[e("playHeader"),this._v(" "),e("playContent")],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{267:function(t,e,r){"use strict";r.r(e);var a=r(414),s=r(341);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(400);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"594f4eac",null);c.options.__file="index.vue",e.default=c.exports},341:function(t,e,r){"use strict";r.r(e);var a=r(342),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},342:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(r(72)),c=i(r(73)),a=i(r(396)),s=i(r(398));function i(t){return t&&t.__esModule?t:{default:t}}e.default={components:{sideChapterList:a.default,sideChapterPpt:s.default},props:{sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{SIDEBAR_CHAPTER:"sidebar_chapter",SIDEBAR_PPT:"sidebar_ppt",state:{sideBar:"sidebar_chapter",isChapterVideo:!1},chapterList:{},pptList:{},courseInfo:[],courseWork:{},curChapterName:"",chapterId:"",chapterRead:{},chapterWork:{},chapterExam:{},chapterVideo:{},chapterPpts:[]}},beforeRouteUpdate:function(t,e,r){var a=this;if("chapterVideo"===t.name){this.state.isChapterVideo=!0;var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.chapterAction.getCurrentChapterDetail(t.params.id).then(function(t){a.pptList=t.image,a.chapterPpts=t.rData.ppts}).catch(function(t){a.$message.error(t.message)}).finally(function(){s.close()})}else this.state.isChapterVideo=!1;var i=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.chapterAction.getChapterList(t.params.cid,t.params.sid,t.params.id).then(function(e){a.chapterList=e.json,a.courseInfo=e.courseInfo,a.courseWork=e.courseWork,a.curChapterName=e.curJson.name,a.chapterId=e.curJson.chapterId,2===e.curJson.type&&n.default.chapterAction.getProgress(a.id,c.default.other.getIdt(),a.sid).then(function(t){a.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},a.chapterVideo.progress=t}).catch(function(t){a.$message.error(t.message)}),a.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},a.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},a.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){a.$message.error(t.message)}).finally(function(){i.close()}),r()},mounted:function(){var r=this;if("chapterVideo"===this.$route.name){this.state.isChapterVideo=!0;var t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.chapterAction.getCurrentChapterDetail(this.id).then(function(t){r.pptList=t.image,r.chapterPpts=t.rData.ppts}).catch(function(t){r.$message.error(t.message)}).finally(function(){t.close()})}var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.chapterAction.getChapterList(this.cid,this.sid,this.id).then(function(e){r.chapterList=e.json,r.courseInfo=e.courseInfo,r.courseWork=e.courseWork,r.curChapterName=e.curJson.name,r.chapterId=e.curJson.chapterId,2===e.curJson.type&&n.default.chapterAction.getProgress(r.id,c.default.other.getIdt(),r.sid).then(function(t){r.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},r.chapterVideo.progress=t}).catch(function(t){r.$message.error(t.message)}),r.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},r.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},r.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){r.$message.error(t.message)}).finally(function(){e.close()})},methods:{changeSideBar:function(t){this.state.sideBar=t},handlePlayTime:function(t){this.$refs.sidePpt&&this.$refs.sidePpt.setIndexByPoint(t)},handleClickSidePpt:function(t){var e=this.chapterPpts||[];if(e.length>t&&this.$refs.comTotalChapter){var r=e[t];this.$refs.comTotalChapter.setVideoTime(r.ppt_point)}},updateProgress:function(r){var e=this;if(r.cpt){for(var a=[],t=0,s=0;s<r.ps.length;s++){a[s]=r.ps[s];var i=Math.floor(r.ps[s])||1;i!==t&&(r.map[i-1]+=1,t=i)}n.default.chapterAction.updateProgress({d:c.default.other.getIdt(),i:c.default.other.getIdt(),c:this.cid,s:this.sid,v:this.id,_p:parseInt(r.pt),_m:parseInt(r.mpt),_c:parseInt(r.cpt),ps:a.join(",")}).then(function(t){if(t.success)for(var e=0;e<a.length;e++)r.ps.shift()}).catch(function(t){e.$message.error(t.message)}).finally(function(){})}}}}},343:function(t,e,r){"use strict";r.r(e);var a=r(344),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},344:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{list:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1}},methods:{jumpToOtherVA:function(t){var e=t.target.dataset,r=this.sid,a=this.cid,s=e.vid;if(!e.hasva){var i=e.index,n=e.index1,c=this.list.course[i];return c&&c.chapters[n]?void("course_info"===c.chapters[n].id?this.$router.push({path:"/player/"+r+"/"+a+"/course-info/course_info"}):"course_work"===c.chapters[n].id?this.$router.push({path:"/player/"+r+"/"+a+"/course-work/course_work"}):3===c.chapters[n].type?1===c.chapters[n].work_type?this.$router.push({path:"/player/"+r+"/"+a+"/chapter-exam/"+s}):2===c.chapters[n].work_type&&this.$router.push({path:"/player/"+r+"/"+a+"/chapter-work/"+s}):4===c.chapters[n].type&&this.$router.push({path:"/player/"+r+"/"+a+"/chapter-read/"+s})):void this.$message.error("系统未知错误,001")}this.$router.push({path:"/player/"+r+"/"+a+"/chapter-video/"+s})}}}},345:function(t,e,r){},346:function(t,e,r){"use strict";r.r(e);var a=r(347),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},347:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{ppt:{type:Object,require:!1}},methods:{setIndexByPoint:function(t){for(var e=(this.ppt.imgUrls||[]).length,r=0;r<e&&!(t<this.ppt.timeArr[r]);r++);this.ppt.selectIndex!==r-1&&(this.ppt.selectIndex=r-1)},onClickPpt:function(t){var e=t.currentTarget.dataset.index-0;this.ppt.selectIndex!==e&&(this.ppt.selectIndex=e,this.$emit("handleClickPpt",e))}}}},348:function(t,e,r){},349:function(t,e,r){},396:function(t,e,r){"use strict";r.r(e);var a=r(437),s=r(343);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(397);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"1d8953da",null);c.options.__file="sideChapterList.vue",e.default=c.exports},397:function(t,e,r){"use strict";var a=r(345);r.n(a).a},398:function(t,e,r){"use strict";r.r(e);var a=r(440),s=r(346);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(399);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"8ec544e6",null);c.options.__file="sideChapterPpt.vue",e.default=c.exports},399:function(t,e,r){"use strict";var a=r(348);r.n(a).a},400:function(t,e,r){"use strict";var a=r(349);r.n(a).a},414:function(t,e,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:["play",e.state.sideBar?"":"sidebar-hide"]},[r("div",{staticClass:"left-content"},[r("div",{staticClass:"play-top cl",style:e.state.sideBar?{}:{marginRight:0}},[r("router-link",{staticClass:"router-link-class",attrs:{to:{path:"/app/my-learn/course-detail/"+e.sid+"/"+e.cid}}},[r("i",{staticClass:"play-back el-icon-arrow-left"})]),e._v(" "),r("p",[e._v(e._s(e.chapterList.title))])],1),e._v(" "),r("div",{staticClass:"play-content"},[r("router-view",{ref:"comTotalChapter",attrs:{chapterName:e.curChapterName,chapterId:e.chapterId,courseInfo:e.courseInfo,courseWork:e.courseWork,chapterRead:e.chapterRead,chapterWork:e.chapterWork,chapterExam:e.chapterExam,chapterVideo:e.chapterVideo,ppts:e.chapterPpts},on:{handlePlayTime:e.handlePlayTime,updateProgress:e.updateProgress}})],1)]),e._v(" "),r("div",{staticClass:"right-ctrl",style:{right:(e.state.sideBar?0:-388)+"px"}},[r("p",{staticClass:"ctrl-arrow",on:{click:function(t){e.changeSideBar("")}}},[r("span",[e._v(">")])]),e._v(" "),r("div",{staticClass:"ctrl-pl"},[r("ul",{staticClass:"pl-tab-hd"},[r("li",{class:[e.state.sideBar===e.SIDEBAR_CHAPTER?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("li",{class:["br-l-line",e.state.sideBar===e.SIDEBAR_PPT?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){e.changeSideBar(e.SIDEBAR_PPT)}}},[e._v("讲义")])])]:e._e()],2),e._v(" "),r("div",{staticClass:"pl-tab-bd"},[e.state.sideBar===e.SIDEBAR_CHAPTER?[r("side-chapter-list",{attrs:{list:e.chapterList,sid:e.sid,cid:e.cid}})]:e._e(),e._v(" "),e.state.sideBar===e.SIDEBAR_PPT?[r("side-chapter-ppt",{ref:"sidePpt",attrs:{ppt:e.pptList},on:{handleClickPpt:e.handleClickSidePpt}})]:e._e()],2)])]),e._v(" "),e.state.sideBar?e._e():[r("div",{staticClass:"switch"},[r("a",{staticClass:"switch-chapter",attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[r("i",{staticClass:"el-icon-self-wenjian"}),e._v(" "),r("div",[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("a",{staticClass:"switch-handout",attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){e.changeSideBar(e.SIDEBAR_PPT)}}},[r("i",{staticClass:"el-icon-self-PPT"}),e._v(" "),r("div",[e._v("讲义")])])]:e._e()],2)]],2)},s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},437:function(t,e,r){"use strict";var a=function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",{staticClass:"tab-pane"},[s("ul",{staticClass:"chapter-list"},[a._l(a.list.course,function(t,r){return[s("li",{key:r,staticClass:"chapter-item"},[s("h4",[a._v(a._s(t.title))]),a._v(" "),s("ul",{staticClass:"knot-list"},[a._l(t.chapters,function(t,e){return[s("li",{key:e,class:["knob-item",t.id===a.list.currentChapterId?"on":""]},[s("a",{staticClass:"knot-name",attrs:{"data-vid":t.id,"data-hasVA":t.time,"data-index":r,"data-index1":e},on:{click:a.jumpToOtherVA}},[a._v(a._s(t.name))]),a._v(" "),s("i",{class:["el-icon",t.time?"el-icon-self-iconset0481":3===t.type?"el-icon-edit-outline":"el-icon-self-cc-book"]})])]})],2)])]})],2)])},s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},440:function(t,e,r){"use strict";var a=function(){var r=this,t=r.$createElement,a=r._self._c||t;return a("div",{staticClass:"tab-pane"},[a("ul",{staticClass:"lecture-list"},[r._l(r.ppt.imgUrls,function(t,e){return[a("li",{key:e,class:[e===r.ppt.selectIndex?"on":""],attrs:{"data-index":e},on:{click:r.onClickPpt}},[a("img",{attrs:{src:t,alt:""}})])]})],2)])},s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{267:function(t,e,r){"use strict";r.r(e);var a=r(427),s=r(343);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(409);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"594f4eac",null);c.options.__file="index.vue",e.default=c.exports},343:function(t,e,r){"use strict";r.r(e);var a=r(344),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},344:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(r(72)),c=i(r(75)),a=i(r(405)),s=i(r(407));function i(t){return t&&t.__esModule?t:{default:t}}e.default={components:{sideChapterList:a.default,sideChapterPpt:s.default},props:{sid:{type:String,require:!1},cid:{type:String,require:!1},id:{type:String,require:!1}},data:function(){return{SIDEBAR_CHAPTER:"sidebar_chapter",SIDEBAR_PPT:"sidebar_ppt",state:{sideBar:"sidebar_chapter",isChapterVideo:!1},chapterList:{},pptList:{},courseInfo:[],courseWork:{},curChapterName:"",chapterId:"",chapterRead:{},chapterWork:{},chapterExam:{},chapterVideo:{},chapterPpts:[]}},beforeRouteUpdate:function(t,e,r){var a=this;if("chapterVideo"===t.name){this.state.isChapterVideo=!0;var s=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.chapterAction.getCurrentChapterDetail(t.params.id).then(function(t){a.pptList=t.image,a.chapterPpts=t.rData.ppts}).catch(function(t){a.$message.error(t.message)}).finally(function(){s.close()})}else this.state.isChapterVideo=!1;var i=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.chapterAction.getChapterList(t.params.cid,t.params.sid,t.params.id).then(function(e){a.chapterList=e.json,a.courseInfo=e.courseInfo,a.courseWork=e.courseWork,a.curChapterName=e.curJson.name,a.chapterId=e.curJson.chapterId,2===e.curJson.type&&n.default.chapterAction.getProgress(a.id,c.default.other.getIdt(),a.sid).then(function(t){a.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},a.chapterVideo.progress=t}).catch(function(t){a.$message.error(t.message)}),a.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},a.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},a.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){a.$message.error(t.message)}).finally(function(){i.close()}),r()},mounted:function(){var r=this;if("chapterVideo"===this.$route.name){this.state.isChapterVideo=!0;var t=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.chapterAction.getCurrentChapterDetail(this.id).then(function(t){r.pptList=t.image,r.chapterPpts=t.rData.ppts}).catch(function(t){r.$message.error(t.message)}).finally(function(){t.close()})}var e=this.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});n.default.chapterAction.getChapterList(this.cid,this.sid,this.id).then(function(e){r.chapterList=e.json,r.courseInfo=e.courseInfo,r.courseWork=e.courseWork,r.curChapterName=e.curJson.name,r.chapterId=e.curJson.chapterId,2===e.curJson.type&&n.default.chapterAction.getProgress(r.id,c.default.other.getIdt(),r.sid).then(function(t){r.chapterVideo=2===e.curJson.type&&e.curJson.chapterVideo||{},r.chapterVideo.progress=t}).catch(function(t){r.$message.error(t.message)}),r.chapterRead=4===e.curJson.type&&e.curJson.chapterRead||{},r.chapterExam=3===e.curJson.type&&1===e.curJson.work_type&&e.curJson.homework||{},r.chapterWork=3===e.curJson.type&&2===e.curJson.work_type&&e.curJson.chapterWork||{}}).catch(function(t){r.$message.error(t.message)}).finally(function(){e.close()})},methods:{changeSideBar:function(t){this.state.sideBar=t},handlePlayTime:function(t){this.$refs.sidePpt&&this.$refs.sidePpt.setIndexByPoint(t)},handleClickSidePpt:function(t){var e=this.chapterPpts||[];if(e.length>t&&this.$refs.comTotalChapter){var r=e[t];this.$refs.comTotalChapter.setVideoTime(r.ppt_point)}},updateProgress:function(r){var e=this;if(r.cpt){for(var a=[],t=0,s=0;s<r.ps.length;s++){a[s]=r.ps[s];var i=Math.floor(r.ps[s])||1;i!==t&&(r.map[i-1]+=1,t=i)}n.default.chapterAction.updateProgress({d:c.default.other.getIdt(),i:c.default.other.getIdt(),c:this.cid,s:this.sid,v:this.id,_p:parseInt(r.pt),_m:parseInt(r.mpt),_c:parseInt(r.cpt),ps:a.join(",")}).then(function(t){if(t.success)for(var e=0;e<a.length;e++)r.ps.shift()}).catch(function(t){e.$message.error(t.message)}).finally(function(){})}}}}},345:function(t,e,r){"use strict";r.r(e);var a=r(346),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},346:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{list:{type:Object,require:!1},sid:{type:String,require:!1},cid:{type:String,require:!1}},methods:{jumpToOtherVA:function(t){var e=t.target.dataset,r=this.sid,a=this.cid,s=e.vid;if(!e.hasva){var i=e.index,n=e.index1,c=this.list.course[i];return c&&c.chapters[n]?void("course_info"===c.chapters[n].id?this.$router.push({path:"/player/"+r+"/"+a+"/course-info/course_info"}):"course_work"===c.chapters[n].id?this.$router.push({path:"/player/"+r+"/"+a+"/course-work/course_work"}):3===c.chapters[n].type?1===c.chapters[n].work_type?this.$router.push({path:"/player/"+r+"/"+a+"/chapter-exam/"+s}):2===c.chapters[n].work_type&&this.$router.push({path:"/player/"+r+"/"+a+"/chapter-work/"+s}):4===c.chapters[n].type&&this.$router.push({path:"/player/"+r+"/"+a+"/chapter-read/"+s})):void this.$message.error("系统未知错误,001")}this.$router.push({path:"/player/"+r+"/"+a+"/chapter-video/"+s})}}}},347:function(t,e,r){},348:function(t,e,r){"use strict";r.r(e);var a=r(349),s=r.n(a);for(var i in a)"default"!==i&&function(t){r.d(e,t,function(){return a[t]})}(i);e.default=s.a},349:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{ppt:{type:Object,require:!1}},methods:{setIndexByPoint:function(t){for(var e=(this.ppt.imgUrls||[]).length,r=0;r<e&&!(t<this.ppt.timeArr[r]);r++);this.ppt.selectIndex!==r-1&&(this.ppt.selectIndex=r-1)},onClickPpt:function(t){var e=t.currentTarget.dataset.index-0;this.ppt.selectIndex!==e&&(this.ppt.selectIndex=e,this.$emit("handleClickPpt",e))}}}},350:function(t,e,r){},351:function(t,e,r){},405:function(t,e,r){"use strict";r.r(e);var a=r(453),s=r(345);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(406);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"1d8953da",null);c.options.__file="sideChapterList.vue",e.default=c.exports},406:function(t,e,r){"use strict";var a=r(347);r.n(a).a},407:function(t,e,r){"use strict";r.r(e);var a=r(452),s=r(348);for(var i in s)"default"!==i&&function(t){r.d(e,t,function(){return s[t]})}(i);r(408);var n=r(1),c=Object(n.a)(s.default,a.a,a.b,!1,null,"8ec544e6",null);c.options.__file="sideChapterPpt.vue",e.default=c.exports},408:function(t,e,r){"use strict";var a=r(350);r.n(a).a},409:function(t,e,r){"use strict";var a=r(351);r.n(a).a},427:function(t,e,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{class:["play",e.state.sideBar?"":"sidebar-hide"]},[r("div",{staticClass:"left-content"},[r("div",{staticClass:"play-top cl",style:e.state.sideBar?{}:{marginRight:0}},[r("router-link",{staticClass:"router-link-class",attrs:{to:{path:"/app/my-learn/course-detail/"+e.sid+"/"+e.cid}}},[r("i",{staticClass:"play-back el-icon-arrow-left"})]),e._v(" "),r("p",[e._v(e._s(e.chapterList.title))])],1),e._v(" "),r("div",{staticClass:"play-content"},[r("router-view",{ref:"comTotalChapter",attrs:{chapterName:e.curChapterName,chapterId:e.chapterId,courseInfo:e.courseInfo,courseWork:e.courseWork,chapterRead:e.chapterRead,chapterWork:e.chapterWork,chapterExam:e.chapterExam,chapterVideo:e.chapterVideo,ppts:e.chapterPpts},on:{handlePlayTime:e.handlePlayTime,updateProgress:e.updateProgress}})],1)]),e._v(" "),r("div",{staticClass:"right-ctrl",style:{right:(e.state.sideBar?0:-388)+"px"}},[r("p",{staticClass:"ctrl-arrow",on:{click:function(t){e.changeSideBar("")}}},[r("span",[e._v(">")])]),e._v(" "),r("div",{staticClass:"ctrl-pl"},[r("ul",{staticClass:"pl-tab-hd"},[r("li",{class:[e.state.sideBar===e.SIDEBAR_CHAPTER?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("li",{class:["br-l-line",e.state.sideBar===e.SIDEBAR_PPT?"on":""]},[r("a",{attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){e.changeSideBar(e.SIDEBAR_PPT)}}},[e._v("讲义")])])]:e._e()],2),e._v(" "),r("div",{staticClass:"pl-tab-bd"},[e.state.sideBar===e.SIDEBAR_CHAPTER?[r("side-chapter-list",{attrs:{list:e.chapterList,sid:e.sid,cid:e.cid}})]:e._e(),e._v(" "),e.state.sideBar===e.SIDEBAR_PPT?[r("side-chapter-ppt",{ref:"sidePpt",attrs:{ppt:e.pptList},on:{handleClickPpt:e.handleClickSidePpt}})]:e._e()],2)])]),e._v(" "),e.state.sideBar?e._e():[r("div",{staticClass:"switch"},[r("a",{staticClass:"switch-chapter",attrs:{href:"#"+e.SIDEBAR_CHAPTER},on:{click:function(t){e.changeSideBar(e.SIDEBAR_CHAPTER)}}},[r("i",{staticClass:"el-icon-self-wenjian"}),e._v(" "),r("div",[e._v("章节")])]),e._v(" "),e.state.isChapterVideo?[r("a",{staticClass:"switch-handout",attrs:{href:"#"+e.SIDEBAR_PPT},on:{click:function(t){e.changeSideBar(e.SIDEBAR_PPT)}}},[r("i",{staticClass:"el-icon-self-PPT"}),e._v(" "),r("div",[e._v("讲义")])])]:e._e()],2)]],2)},s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},452:function(t,e,r){"use strict";var a=function(){var r=this,t=r.$createElement,a=r._self._c||t;return a("div",{staticClass:"tab-pane"},[a("ul",{staticClass:"lecture-list"},[r._l(r.ppt.imgUrls,function(t,e){return[a("li",{key:e,class:[e===r.ppt.selectIndex?"on":""],attrs:{"data-index":e},on:{click:r.onClickPpt}},[a("img",{attrs:{src:t,alt:""}})])]})],2)])},s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})},453:function(t,e,r){"use strict";var a=function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",{staticClass:"tab-pane"},[s("ul",{staticClass:"chapter-list"},[a._l(a.list.course,function(t,r){return[s("li",{key:r,staticClass:"chapter-item"},[s("h4",[a._v(a._s(t.title))]),a._v(" "),s("ul",{staticClass:"knot-list"},[a._l(t.chapters,function(t,e){return[s("li",{key:e,class:["knob-item",t.id===a.list.currentChapterId?"on":""]},[s("a",{staticClass:"knot-name",attrs:{"data-vid":t.id,"data-hasVA":t.time,"data-index":r,"data-index1":e},on:{click:a.jumpToOtherVA}},[a._v(a._s(t.name))]),a._v(" "),s("i",{class:["el-icon",t.time?"el-icon-self-iconset0481":3===t.type?"el-icon-edit-outline":"el-icon-self-cc-book"]})])]})],2)])]})],2)])},s=[];r.d(e,"a",function(){return a}),r.d(e,"b",function(){return s})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{259:function(t,e,a){"use strict";a.r(e);var n=a(427),i=a(318);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(389);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"21ec8f08",null);l.options.__file="reportActiveList.vue",e.default=l.exports},278:function(t,e,a){"use strict";a.r(e);var n=a(279),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},279:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(a(285)),i=r(a(72));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"mPage",components:{mTable:n.default},props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},params:{type:Object,require:!0},objFn:{type:Object,require:!0}},data:function(){return{isWatch:!0}},methods:{getList:function(){for(var e=this,t=this.$loading({lock:!0,text:"数据加载中,请稍后。。。",background:"rgba(0, 0, 0, 0.7)"}),a=this.objFn.paramsFn(this);this.tableData.length;)this.tableData.pop();i.default[this.objFn.actionClass][this.objFn.nameAPI](a).then(function(t){e.objFn.callback(e,t)}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})}},beforeMount:function(){this.getList()},watch:{"params.total":{handler:function(){this.isWatch=!1},immediate:!0},params:{handler:function(){this.isWatch?this.getList():this.isWatch=!0},deep:!0}}}},280:function(t,e,a){"use strict";a.r(e);var n=a(281),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},281:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},pagination:{type:Object,require:!0}},methods:{handleSizeChange:function(){},handleCurrentChange:function(){},dropdownItemClick:function(t,e){this.VueEvent.$emit("command-tablelist",{index:t,command:e[0],tableData:this.tableData})},itemClick:function(t,e){this.VueEvent.$emit("command-tablelist-x",{index:t,command:e,tableData:this.tableData})},headerCellStyle:function(t){t.row,t.column;var e=t.rowIndex;t.columnIndex;if(0===e)return"background-color: #f5f7fa; color: #272f3f; text-align: center; font-weight: 400;"},selectionChange:function(t){this.tableConfig.selection.sels=t},formatDate:function(t,e){if(!t)return"无";var a=new Date(parseInt(t));/(y+)/gi.test(e)&&(e=e.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":a.getMonth()+1,"[d|D]+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds()};for(var i in n)if(new RegExp("("+i+")").test(e)){var r=n[i]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length))}return e}}}},282:function(t,e,a){},283:function(t,e,a){},284:function(t,e,a){"use strict";a.r(e);var n=a(289),i=a(278);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(287);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"88cb09c0",null);l.options.__file="mPage.vue",e.default=l.exports},285:function(t,e,a){"use strict";a.r(e);var n=a(288),i=a(280);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(286);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"0858c932",null);l.options.__file="mTable.vue",e.default=l.exports},286:function(t,e,a){"use strict";var n=a(282);a.n(n).a},287:function(t,e,a){"use strict";var n=a(283);a.n(n).a},288:function(t,e,a){"use strict";var n=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",{staticClass:"table-box"},[i("el-table",{staticStyle:{width:"100%"},attrs:{data:n.tableData,border:n.tableConfig.border||!0,size:n.tableConfig.size||"small","header-cell-style":n.headerCellStyle},on:{"selection-change":n.selectionChange}},[n.tableConfig.selection.has?[i("el-table-column",{attrs:{type:"selection",fixed:n.tableConfig.selection.fix,width:n.tableConfig.selection.width,"min-width":n.tableConfig.selection.minWidth,align:n.tableConfig.selection.align||"center"}})]:n._e(),n._v(" "),n._l(n.tableHead,function(t,e){return[i("el-table-column",{key:e,attrs:{"show-overflow-tooltip":!0,fixed:t.fix,label:t.label,width:t.width,"min-width":t.minWidth,align:t.align||"center"},scopedSlots:n._u([{key:"default",fn:function(a){return["img_url"===t.prop?[i("el-popover",{attrs:{trigger:"hover"}},[i("div",{staticClass:"img-show"},[i("img",{attrs:{src:a.row[t.prop],alt:"放大图片"}})]),n._v(" "),i("div",{staticClass:"img-inline",attrs:{slot:"reference"},slot:"reference"},[i("img",{attrs:{src:a.row[t.prop],alt:"图片"}})])])]:n._e(),n._v(" "),"file_url"===t.prop?[i("a",{staticStyle:{"text-decoration":"none",color:"#2b9dff"},attrs:{href:a.row[t.prop]||"javascript:void(0)"}},[n._v("下载")])]:"operate"===t.prop?[i("el-dropdown",{attrs:{"hide-on-click":!1},on:{command:function(t){n.dropdownItemClick(a.row.index,arguments)}}},[i("span",{staticClass:"el-dropdown-link"},[n._v("...")]),n._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n._l(t.commandArr,function(t,e){return[i("el-dropdown-item",{key:e,attrs:{command:t.command}},[n._v(n._s(t.name))])]})],2)],1)]:"operate-x"===t.prop?[n._l(t.commandArr,function(e,t){return[0===t&&"通过"===a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:1===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:2===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:n._e()]})]:t.goObj?[i("router-link",{staticClass:"router-link-class",attrs:{to:{name:t.goObj.routerName,params:{obj:a.row,otherObj:t.goObj.params||""}}}},[n._v(n._s(a.row[t.prop]))])]:[n._v(n._s(a.row[t.prop]))]]}}])})]})],2),n._v(" "),1<n.pagination.total/n.pagination.pageSize?i("div",{staticClass:"pagination-right"},[i("el-pagination",{attrs:{"current-page":n.pagination.curPage,"page-size":n.pagination.pageSize,layout:"prev, pager, next, jumper",total:n.pagination.total},on:{"size-change":n.handleSizeChange,"current-change":n.handleCurrentChange,"update:currentPage":function(t){n.$set(n.pagination,"curPage",t)}}})],1):n._e()],1)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},289:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bg-box"},[t._t("self-select-btn"),t._v(" "),a("m-table",{attrs:{tableConfig:t.tableConfig,tableHead:t.tableHead,tableData:t.tableData,pagination:t.params}})],2)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},318:function(t,e,a){"use strict";a.r(e);var n=a(319),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},319:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(a(72)),n=i(a(284));function i(t){return t&&t.__esModule?t:{default:t}}e.default={components:{mPage:n.default},data:function(){return{tableConfig:{border:"",size:"",selection:{has:!1,sels:[],width:"50px",fix:"left",align:""}},tableHead:[{prop:"index",label:"序号",minWidth:"80",fix:!1},{prop:"symposium_name",label:"活动名称",minWidth:"150",fix:!1},{prop:"symposium_time",label:"活动时间",minWidth:"120",fix:!1},{prop:"symposium_lecturer",label:"主讲人",minWidth:"120",fix:!1},{prop:"approve_status",label:"审核状态",minWidth:"80",fix:!1},{prop:"approve_time",label:"审核时间",minWidth:"120",fix:!1},{prop:"operate-x",label:"操作",width:"160px",fix:!1,commandArr:[{command:"activelist-show",name:"查看报告"},{command:"activelist-edit",name:"编辑"},{command:"activelist-delete",name:"删除"}]}],tableData:[],params:{keywords:"",curPage:1,pageSize:100,total:""},objFn:{paramsFn:function(t){return{}},nameAPI:"getReportActiveList",actionClass:"reportAction",nameExcel:"getExportExcel3_4_14",callback:function(a,t){a.params.total=100,t.forEach(function(t,e){t.approve_status=1===t.approve_status?"通过":0===t.approve_status?"未通过":"未审核",t.index=e+1+(a.params.curPage-1)*a.params.pageSize,a.tableData.push(t)})}}}},mounted:function(){var r=this;this.VueEvent.$on("command-tablelist-x",function(t){if("activelist-show"===t.command.command){var e=t.tableData[t.index-1].id;r.$router.push({path:"/app/my-learn/report-list-all/"+e})}if("activelist-edit"===t.command.command){var a=t.tableData[t.index-1].id;r.$router.push({path:"/app/my-learn/report-add/"+a})}if("activelist-delete"===t.command.command){var n=t.tableData[t.index-1].id,i=r.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.reportAction.deleteReportActive(n).then(function(t){t.flag&&r.$message({type:"success",message:"删除成功"}),r.params.pageSize+=1}).catch(function(t){r.$message.error(t.message)}).finally(function(){i.close()})}})},methods:{goReportAdd:function(){this.$router.push({path:"/app/my-learn/report-add/-1"})},gobackReportList:function(){this.$router.push({path:"/app/my-learn/report-list"})}}}},320:function(t,e,a){},389:function(t,e,a){"use strict";var n=a(320);a.n(n).a},427:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"con-title"},[t._v("学术活动列表")]),t._v(" "),a("div",{staticClass:"con-box"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goReportAdd}},[t._v("申请的新活动")]),t._v(" "),a("el-button",{staticStyle:{float:"right"},attrs:{type:"text"},on:{click:t.gobackReportList}},[t._v("返回报告列表")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"0.2rem"}}),t._v(" "),a("m-page",{attrs:{tableHead:t.tableHead,tableData:t.tableData,params:t.params,objFn:t.objFn,tableConfig:t.tableConfig}})],1)])},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{259:function(t,e,a){"use strict";a.r(e);var n=a(441),i=a(320);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(398);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"21ec8f08",null);l.options.__file="reportActiveList.vue",e.default=l.exports},280:function(t,e,a){"use strict";a.r(e);var n=a(281),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},281:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(a(287)),i=r(a(72));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"mPage",components:{mTable:n.default},props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},params:{type:Object,require:!0},objFn:{type:Object,require:!0}},data:function(){return{isWatch:!0}},methods:{getList:function(){for(var e=this,t=this.$loading({lock:!0,text:"数据加载中,请稍后。。。",background:"rgba(0, 0, 0, 0.7)"}),a=this.objFn.paramsFn(this);this.tableData.length;)this.tableData.pop();i.default[this.objFn.actionClass][this.objFn.nameAPI](a).then(function(t){e.objFn.callback(e,t)}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})}},beforeMount:function(){this.getList()},watch:{"params.total":{handler:function(){this.isWatch=!1},immediate:!0},params:{handler:function(){this.isWatch?this.getList():this.isWatch=!0},deep:!0}}}},282:function(t,e,a){"use strict";a.r(e);var n=a(283),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},283:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},pagination:{type:Object,require:!0}},methods:{handleSizeChange:function(){},handleCurrentChange:function(){},dropdownItemClick:function(t,e){this.VueEvent.$emit("command-tablelist",{index:t,command:e[0],tableData:this.tableData})},itemClick:function(t,e){this.VueEvent.$emit("command-tablelist-x",{index:t,command:e,tableData:this.tableData})},headerCellStyle:function(t){t.row,t.column;var e=t.rowIndex;t.columnIndex;if(0===e)return"background-color: #f5f7fa; color: #272f3f; text-align: center; font-weight: 400;"},selectionChange:function(t){this.tableConfig.selection.sels=t},formatDate:function(t,e){if(!t)return"无";var a=new Date(parseInt(t));/(y+)/gi.test(e)&&(e=e.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":a.getMonth()+1,"[d|D]+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds()};for(var i in n)if(new RegExp("("+i+")").test(e)){var r=n[i]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length))}return e}}}},284:function(t,e,a){},285:function(t,e,a){},286:function(t,e,a){"use strict";a.r(e);var n=a(291),i=a(280);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(289);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"88cb09c0",null);l.options.__file="mPage.vue",e.default=l.exports},287:function(t,e,a){"use strict";a.r(e);var n=a(290),i=a(282);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(288);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"0858c932",null);l.options.__file="mTable.vue",e.default=l.exports},288:function(t,e,a){"use strict";var n=a(284);a.n(n).a},289:function(t,e,a){"use strict";var n=a(285);a.n(n).a},290:function(t,e,a){"use strict";var n=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",{staticClass:"table-box"},[i("el-table",{staticStyle:{width:"100%"},attrs:{data:n.tableData,border:n.tableConfig.border||!0,size:n.tableConfig.size||"small","header-cell-style":n.headerCellStyle},on:{"selection-change":n.selectionChange}},[n.tableConfig.selection.has?[i("el-table-column",{attrs:{type:"selection",fixed:n.tableConfig.selection.fix,width:n.tableConfig.selection.width,"min-width":n.tableConfig.selection.minWidth,align:n.tableConfig.selection.align||"center"}})]:n._e(),n._v(" "),n._l(n.tableHead,function(t,e){return[i("el-table-column",{key:e,attrs:{"show-overflow-tooltip":!0,fixed:t.fix,label:t.label,width:t.width,"min-width":t.minWidth,align:t.align||"center"},scopedSlots:n._u([{key:"default",fn:function(a){return["img_url"===t.prop?[i("el-popover",{attrs:{trigger:"hover"}},[i("div",{staticClass:"img-show"},[i("img",{attrs:{src:a.row[t.prop],alt:"放大图片"}})]),n._v(" "),i("div",{staticClass:"img-inline",attrs:{slot:"reference"},slot:"reference"},[i("img",{attrs:{src:a.row[t.prop],alt:"图片"}})])])]:n._e(),n._v(" "),"file_url"===t.prop?[i("a",{staticStyle:{"text-decoration":"none",color:"#2b9dff"},attrs:{href:a.row[t.prop]||"javascript:void(0)"}},[n._v("下载")])]:"operate"===t.prop?[i("el-dropdown",{attrs:{"hide-on-click":!1},on:{command:function(t){n.dropdownItemClick(a.row.index,arguments)}}},[i("span",{staticClass:"el-dropdown-link"},[n._v("...")]),n._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n._l(t.commandArr,function(t,e){return[i("el-dropdown-item",{key:e,attrs:{command:t.command}},[n._v(n._s(t.name))])]})],2)],1)]:"operate-x"===t.prop?[n._l(t.commandArr,function(e,t){return[0===t&&"通过"===a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:1===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:2===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:n._e()]})]:t.goObj?[i("router-link",{staticClass:"router-link-class",attrs:{to:{name:t.goObj.routerName,params:{obj:a.row,otherObj:t.goObj.params||""}}}},[n._v(n._s(a.row[t.prop]))])]:[n._v(n._s(a.row[t.prop]))]]}}])})]})],2),n._v(" "),1<n.pagination.total/n.pagination.pageSize?i("div",{staticClass:"pagination-right"},[i("el-pagination",{attrs:{"current-page":n.pagination.curPage,"page-size":n.pagination.pageSize,layout:"prev, pager, next, jumper",total:n.pagination.total},on:{"size-change":n.handleSizeChange,"current-change":n.handleCurrentChange,"update:currentPage":function(t){n.$set(n.pagination,"curPage",t)}}})],1):n._e()],1)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},291:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bg-box"},[t._t("self-select-btn"),t._v(" "),a("m-table",{attrs:{tableConfig:t.tableConfig,tableHead:t.tableHead,tableData:t.tableData,pagination:t.params}})],2)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},320:function(t,e,a){"use strict";a.r(e);var n=a(321),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},321:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=i(a(72)),n=i(a(286));function i(t){return t&&t.__esModule?t:{default:t}}e.default={components:{mPage:n.default},data:function(){return{tableConfig:{border:"",size:"",selection:{has:!1,sels:[],width:"50px",fix:"left",align:""}},tableHead:[{prop:"index",label:"序号",minWidth:"80",fix:!1},{prop:"symposium_name",label:"活动名称",minWidth:"150",fix:!1},{prop:"symposium_time",label:"活动时间",minWidth:"120",fix:!1},{prop:"symposium_lecturer",label:"主讲人",minWidth:"120",fix:!1},{prop:"approve_status",label:"审核状态",minWidth:"80",fix:!1},{prop:"approve_time",label:"审核时间",minWidth:"120",fix:!1},{prop:"operate-x",label:"操作",width:"160px",fix:!1,commandArr:[{command:"activelist-show",name:"查看报告"},{command:"activelist-edit",name:"编辑"},{command:"activelist-delete",name:"删除"}]}],tableData:[],params:{keywords:"",curPage:1,pageSize:100,total:""},objFn:{paramsFn:function(t){return{}},nameAPI:"getReportActiveList",actionClass:"reportAction",nameExcel:"getExportExcel3_4_14",callback:function(a,t){a.params.total=100,t.forEach(function(t,e){t.approve_status=1===t.approve_status?"通过":0===t.approve_status?"未通过":"未审核",t.index=e+1+(a.params.curPage-1)*a.params.pageSize,a.tableData.push(t)})}}}},mounted:function(){var r=this;this.VueEvent.$on("command-tablelist-x",function(t){if("activelist-show"===t.command.command){var e=t.tableData[t.index-1].id;r.$router.push({path:"/app/my-learn/report-list-all/"+e})}if("activelist-edit"===t.command.command){var a=t.tableData[t.index-1].id;r.$router.push({path:"/app/my-learn/report-add/"+a})}if("activelist-delete"===t.command.command){var n=t.tableData[t.index-1].id,i=r.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});o.default.reportAction.deleteReportActive(n).then(function(t){t.flag&&r.$message({type:"success",message:"删除成功"}),r.params.pageSize+=1}).catch(function(t){r.$message.error(t.message)}).finally(function(){i.close()})}})},methods:{goReportAdd:function(){this.$router.push({path:"/app/my-learn/report-add/-1"})},gobackReportList:function(){this.$router.push({path:"/app/my-learn/report-list"})}}}},322:function(t,e,a){},398:function(t,e,a){"use strict";var n=a(322);a.n(n).a},441:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"con-title"},[t._v("学术活动列表")]),t._v(" "),a("div",{staticClass:"con-box"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goReportAdd}},[t._v("申请的新活动")]),t._v(" "),a("el-button",{staticStyle:{float:"right"},attrs:{type:"text"},on:{click:t.gobackReportList}},[t._v("返回报告列表")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"0.2rem"}}),t._v(" "),a("m-page",{attrs:{tableHead:t.tableHead,tableData:t.tableData,params:t.params,objFn:t.objFn,tableConfig:t.tableConfig}})],1)])},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{258:function(t,e,a){"use strict";a.r(e);var n=a(444),i=a(315);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(388);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"bb67a562",null);l.options.__file="reportList.vue",e.default=l.exports},278:function(t,e,a){"use strict";a.r(e);var n=a(279),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},279:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(a(285)),i=r(a(72));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"mPage",components:{mTable:n.default},props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},params:{type:Object,require:!0},objFn:{type:Object,require:!0}},data:function(){return{isWatch:!0}},methods:{getList:function(){for(var e=this,t=this.$loading({lock:!0,text:"数据加载中,请稍后。。。",background:"rgba(0, 0, 0, 0.7)"}),a=this.objFn.paramsFn(this);this.tableData.length;)this.tableData.pop();i.default[this.objFn.actionClass][this.objFn.nameAPI](a).then(function(t){e.objFn.callback(e,t)}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})}},beforeMount:function(){this.getList()},watch:{"params.total":{handler:function(){this.isWatch=!1},immediate:!0},params:{handler:function(){this.isWatch?this.getList():this.isWatch=!0},deep:!0}}}},280:function(t,e,a){"use strict";a.r(e);var n=a(281),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},281:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},pagination:{type:Object,require:!0}},methods:{handleSizeChange:function(){},handleCurrentChange:function(){},dropdownItemClick:function(t,e){this.VueEvent.$emit("command-tablelist",{index:t,command:e[0],tableData:this.tableData})},itemClick:function(t,e){this.VueEvent.$emit("command-tablelist-x",{index:t,command:e,tableData:this.tableData})},headerCellStyle:function(t){t.row,t.column;var e=t.rowIndex;t.columnIndex;if(0===e)return"background-color: #f5f7fa; color: #272f3f; text-align: center; font-weight: 400;"},selectionChange:function(t){this.tableConfig.selection.sels=t},formatDate:function(t,e){if(!t)return"无";var a=new Date(parseInt(t));/(y+)/gi.test(e)&&(e=e.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":a.getMonth()+1,"[d|D]+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds()};for(var i in n)if(new RegExp("("+i+")").test(e)){var r=n[i]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length))}return e}}}},282:function(t,e,a){},283:function(t,e,a){},284:function(t,e,a){"use strict";a.r(e);var n=a(289),i=a(278);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(287);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"88cb09c0",null);l.options.__file="mPage.vue",e.default=l.exports},285:function(t,e,a){"use strict";a.r(e);var n=a(288),i=a(280);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(286);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"0858c932",null);l.options.__file="mTable.vue",e.default=l.exports},286:function(t,e,a){"use strict";var n=a(282);a.n(n).a},287:function(t,e,a){"use strict";var n=a(283);a.n(n).a},288:function(t,e,a){"use strict";var n=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",{staticClass:"table-box"},[i("el-table",{staticStyle:{width:"100%"},attrs:{data:n.tableData,border:n.tableConfig.border||!0,size:n.tableConfig.size||"small","header-cell-style":n.headerCellStyle},on:{"selection-change":n.selectionChange}},[n.tableConfig.selection.has?[i("el-table-column",{attrs:{type:"selection",fixed:n.tableConfig.selection.fix,width:n.tableConfig.selection.width,"min-width":n.tableConfig.selection.minWidth,align:n.tableConfig.selection.align||"center"}})]:n._e(),n._v(" "),n._l(n.tableHead,function(t,e){return[i("el-table-column",{key:e,attrs:{"show-overflow-tooltip":!0,fixed:t.fix,label:t.label,width:t.width,"min-width":t.minWidth,align:t.align||"center"},scopedSlots:n._u([{key:"default",fn:function(a){return["img_url"===t.prop?[i("el-popover",{attrs:{trigger:"hover"}},[i("div",{staticClass:"img-show"},[i("img",{attrs:{src:a.row[t.prop],alt:"放大图片"}})]),n._v(" "),i("div",{staticClass:"img-inline",attrs:{slot:"reference"},slot:"reference"},[i("img",{attrs:{src:a.row[t.prop],alt:"图片"}})])])]:n._e(),n._v(" "),"file_url"===t.prop?[i("a",{staticStyle:{"text-decoration":"none",color:"#2b9dff"},attrs:{href:a.row[t.prop]||"javascript:void(0)"}},[n._v("下载")])]:"operate"===t.prop?[i("el-dropdown",{attrs:{"hide-on-click":!1},on:{command:function(t){n.dropdownItemClick(a.row.index,arguments)}}},[i("span",{staticClass:"el-dropdown-link"},[n._v("...")]),n._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n._l(t.commandArr,function(t,e){return[i("el-dropdown-item",{key:e,attrs:{command:t.command}},[n._v(n._s(t.name))])]})],2)],1)]:"operate-x"===t.prop?[n._l(t.commandArr,function(e,t){return[0===t&&"通过"===a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:1===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:2===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:n._e()]})]:t.goObj?[i("router-link",{staticClass:"router-link-class",attrs:{to:{name:t.goObj.routerName,params:{obj:a.row,otherObj:t.goObj.params||""}}}},[n._v(n._s(a.row[t.prop]))])]:[n._v(n._s(a.row[t.prop]))]]}}])})]})],2),n._v(" "),1<n.pagination.total/n.pagination.pageSize?i("div",{staticClass:"pagination-right"},[i("el-pagination",{attrs:{"current-page":n.pagination.curPage,"page-size":n.pagination.pageSize,layout:"prev, pager, next, jumper",total:n.pagination.total},on:{"size-change":n.handleSizeChange,"current-change":n.handleCurrentChange,"update:currentPage":function(t){n.$set(n.pagination,"curPage",t)}}})],1):n._e()],1)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},289:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bg-box"},[t._t("self-select-btn"),t._v(" "),a("m-table",{attrs:{tableConfig:t.tableConfig,tableHead:t.tableHead,tableData:t.tableData,pagination:t.params}})],2)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},315:function(t,e,a){"use strict";a.r(e);var n=a(316),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},316:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=a(284),r=(n=i)&&n.__esModule?n:{default:n};e.default={components:{mPage:r.default},data:function(){return{tableConfig:{border:"",size:"",selection:{has:!1,sels:[],width:"50px",fix:"left",align:""}},tableHead:[{prop:"index",label:"序号",minWidth:"80",fix:!1},{prop:"sno",label:"学号",minWidth:"120",fix:!1},{prop:"sname",label:"姓名",minWidth:"110",fix:!1},{prop:"report_name",label:"学术报告主题",minWidth:"170",fix:!1},{prop:"review_status",label:"审核状态",minWidth:"100",fix:!1},{prop:"review_time",label:"审核时间",minWidth:"150",fix:!1},{prop:"review_comment",label:"老师评语",minWidth:"150",fix:!1},{prop:"file_url",label:"附件",minWidth:"80",fix:!1}],tableData:[],params:{keywords:"",curPage:1,pageSize:100,total:""},objFn:{paramsFn:function(t){return{}},nameAPI:"getReportList",actionClass:"reportAction",nameExcel:"getExportExcel3_4_14",callback:function(n,t){n.params.total=100,t.forEach(function(t,e){t.review_status="已通过",t.sno=t.student.sno,t.sname=t.student.personal_name;var a=JSON.parse(t.file_url||"[]");t.file_url=a[0]&&a[0].url||"",t.index=e+1+(n.params.curPage-1)*n.params.pageSize,n.tableData.push(t)})}}}},mounted:function(){},methods:{goActiveList:function(){this.$router.push({path:"/app/my-learn/report-active-list"})}}}},317:function(t,e,a){},388:function(t,e,a){"use strict";var n=a(317);a.n(n).a},444:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"con-title"},[t._v("学术报告列表")]),t._v(" "),a("div",{staticClass:"con-box"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goActiveList}},[t._v("已申请的活动")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"0.2rem"}}),t._v(" "),a("m-page",{attrs:{tableHead:t.tableHead,tableData:t.tableData,params:t.params,objFn:t.objFn,tableConfig:t.tableConfig}})],1)])},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{258:function(t,e,a){"use strict";a.r(e);var n=a(456),i=a(317);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(397);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"bb67a562",null);l.options.__file="reportList.vue",e.default=l.exports},280:function(t,e,a){"use strict";a.r(e);var n=a(281),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},281:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(a(287)),i=r(a(72));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"mPage",components:{mTable:n.default},props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},params:{type:Object,require:!0},objFn:{type:Object,require:!0}},data:function(){return{isWatch:!0}},methods:{getList:function(){for(var e=this,t=this.$loading({lock:!0,text:"数据加载中,请稍后。。。",background:"rgba(0, 0, 0, 0.7)"}),a=this.objFn.paramsFn(this);this.tableData.length;)this.tableData.pop();i.default[this.objFn.actionClass][this.objFn.nameAPI](a).then(function(t){e.objFn.callback(e,t)}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})}},beforeMount:function(){this.getList()},watch:{"params.total":{handler:function(){this.isWatch=!1},immediate:!0},params:{handler:function(){this.isWatch?this.getList():this.isWatch=!0},deep:!0}}}},282:function(t,e,a){"use strict";a.r(e);var n=a(283),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},283:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},pagination:{type:Object,require:!0}},methods:{handleSizeChange:function(){},handleCurrentChange:function(){},dropdownItemClick:function(t,e){this.VueEvent.$emit("command-tablelist",{index:t,command:e[0],tableData:this.tableData})},itemClick:function(t,e){this.VueEvent.$emit("command-tablelist-x",{index:t,command:e,tableData:this.tableData})},headerCellStyle:function(t){t.row,t.column;var e=t.rowIndex;t.columnIndex;if(0===e)return"background-color: #f5f7fa; color: #272f3f; text-align: center; font-weight: 400;"},selectionChange:function(t){this.tableConfig.selection.sels=t},formatDate:function(t,e){if(!t)return"无";var a=new Date(parseInt(t));/(y+)/gi.test(e)&&(e=e.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":a.getMonth()+1,"[d|D]+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds()};for(var i in n)if(new RegExp("("+i+")").test(e)){var r=n[i]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length))}return e}}}},284:function(t,e,a){},285:function(t,e,a){},286:function(t,e,a){"use strict";a.r(e);var n=a(291),i=a(280);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(289);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"88cb09c0",null);l.options.__file="mPage.vue",e.default=l.exports},287:function(t,e,a){"use strict";a.r(e);var n=a(290),i=a(282);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(288);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"0858c932",null);l.options.__file="mTable.vue",e.default=l.exports},288:function(t,e,a){"use strict";var n=a(284);a.n(n).a},289:function(t,e,a){"use strict";var n=a(285);a.n(n).a},290:function(t,e,a){"use strict";var n=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",{staticClass:"table-box"},[i("el-table",{staticStyle:{width:"100%"},attrs:{data:n.tableData,border:n.tableConfig.border||!0,size:n.tableConfig.size||"small","header-cell-style":n.headerCellStyle},on:{"selection-change":n.selectionChange}},[n.tableConfig.selection.has?[i("el-table-column",{attrs:{type:"selection",fixed:n.tableConfig.selection.fix,width:n.tableConfig.selection.width,"min-width":n.tableConfig.selection.minWidth,align:n.tableConfig.selection.align||"center"}})]:n._e(),n._v(" "),n._l(n.tableHead,function(t,e){return[i("el-table-column",{key:e,attrs:{"show-overflow-tooltip":!0,fixed:t.fix,label:t.label,width:t.width,"min-width":t.minWidth,align:t.align||"center"},scopedSlots:n._u([{key:"default",fn:function(a){return["img_url"===t.prop?[i("el-popover",{attrs:{trigger:"hover"}},[i("div",{staticClass:"img-show"},[i("img",{attrs:{src:a.row[t.prop],alt:"放大图片"}})]),n._v(" "),i("div",{staticClass:"img-inline",attrs:{slot:"reference"},slot:"reference"},[i("img",{attrs:{src:a.row[t.prop],alt:"图片"}})])])]:n._e(),n._v(" "),"file_url"===t.prop?[i("a",{staticStyle:{"text-decoration":"none",color:"#2b9dff"},attrs:{href:a.row[t.prop]||"javascript:void(0)"}},[n._v("下载")])]:"operate"===t.prop?[i("el-dropdown",{attrs:{"hide-on-click":!1},on:{command:function(t){n.dropdownItemClick(a.row.index,arguments)}}},[i("span",{staticClass:"el-dropdown-link"},[n._v("...")]),n._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n._l(t.commandArr,function(t,e){return[i("el-dropdown-item",{key:e,attrs:{command:t.command}},[n._v(n._s(t.name))])]})],2)],1)]:"operate-x"===t.prop?[n._l(t.commandArr,function(e,t){return[0===t&&"通过"===a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:1===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:2===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:n._e()]})]:t.goObj?[i("router-link",{staticClass:"router-link-class",attrs:{to:{name:t.goObj.routerName,params:{obj:a.row,otherObj:t.goObj.params||""}}}},[n._v(n._s(a.row[t.prop]))])]:[n._v(n._s(a.row[t.prop]))]]}}])})]})],2),n._v(" "),1<n.pagination.total/n.pagination.pageSize?i("div",{staticClass:"pagination-right"},[i("el-pagination",{attrs:{"current-page":n.pagination.curPage,"page-size":n.pagination.pageSize,layout:"prev, pager, next, jumper",total:n.pagination.total},on:{"size-change":n.handleSizeChange,"current-change":n.handleCurrentChange,"update:currentPage":function(t){n.$set(n.pagination,"curPage",t)}}})],1):n._e()],1)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},291:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bg-box"},[t._t("self-select-btn"),t._v(" "),a("m-table",{attrs:{tableConfig:t.tableConfig,tableHead:t.tableHead,tableData:t.tableData,pagination:t.params}})],2)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},317:function(t,e,a){"use strict";a.r(e);var n=a(318),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},318:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=a(286),r=(n=i)&&n.__esModule?n:{default:n};e.default={components:{mPage:r.default},data:function(){return{tableConfig:{border:"",size:"",selection:{has:!1,sels:[],width:"50px",fix:"left",align:""}},tableHead:[{prop:"index",label:"序号",minWidth:"80",fix:!1},{prop:"sno",label:"学号",minWidth:"120",fix:!1},{prop:"sname",label:"姓名",minWidth:"110",fix:!1},{prop:"report_name",label:"学术报告主题",minWidth:"170",fix:!1},{prop:"review_status",label:"审核状态",minWidth:"100",fix:!1},{prop:"review_time",label:"审核时间",minWidth:"150",fix:!1},{prop:"review_comment",label:"老师评语",minWidth:"150",fix:!1},{prop:"file_url",label:"附件",minWidth:"80",fix:!1}],tableData:[],params:{keywords:"",curPage:1,pageSize:100,total:""},objFn:{paramsFn:function(t){return{}},nameAPI:"getReportList",actionClass:"reportAction",nameExcel:"getExportExcel3_4_14",callback:function(n,t){n.params.total=100,t.forEach(function(t,e){t.review_status="已通过",t.sno=t.student.sno,t.sname=t.student.personal_name;var a=JSON.parse(t.file_url||"[]");t.file_url=a[0]&&a[0].url||"",t.index=e+1+(n.params.curPage-1)*n.params.pageSize,n.tableData.push(t)})}}}},mounted:function(){},methods:{goActiveList:function(){this.$router.push({path:"/app/my-learn/report-active-list"})}}}},319:function(t,e,a){},397:function(t,e,a){"use strict";var n=a(319);a.n(n).a},456:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"con-title"},[t._v("学术报告列表")]),t._v(" "),a("div",{staticClass:"con-box"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goActiveList}},[t._v("已申请的活动")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"0.2rem"}}),t._v(" "),a("m-page",{attrs:{tableHead:t.tableHead,tableData:t.tableData,params:t.params,objFn:t.objFn,tableConfig:t.tableConfig}})],1)])},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{260:function(t,e,a){"use strict";a.r(e);var n=a(425),i=a(321);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(390);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"3eac718b",null);l.options.__file="reportListAll.vue",e.default=l.exports},278:function(t,e,a){"use strict";a.r(e);var n=a(279),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},279:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(a(285)),i=r(a(72));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"mPage",components:{mTable:n.default},props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},params:{type:Object,require:!0},objFn:{type:Object,require:!0}},data:function(){return{isWatch:!0}},methods:{getList:function(){for(var e=this,t=this.$loading({lock:!0,text:"数据加载中,请稍后。。。",background:"rgba(0, 0, 0, 0.7)"}),a=this.objFn.paramsFn(this);this.tableData.length;)this.tableData.pop();i.default[this.objFn.actionClass][this.objFn.nameAPI](a).then(function(t){e.objFn.callback(e,t)}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})}},beforeMount:function(){this.getList()},watch:{"params.total":{handler:function(){this.isWatch=!1},immediate:!0},params:{handler:function(){this.isWatch?this.getList():this.isWatch=!0},deep:!0}}}},280:function(t,e,a){"use strict";a.r(e);var n=a(281),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},281:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},pagination:{type:Object,require:!0}},methods:{handleSizeChange:function(){},handleCurrentChange:function(){},dropdownItemClick:function(t,e){this.VueEvent.$emit("command-tablelist",{index:t,command:e[0],tableData:this.tableData})},itemClick:function(t,e){this.VueEvent.$emit("command-tablelist-x",{index:t,command:e,tableData:this.tableData})},headerCellStyle:function(t){t.row,t.column;var e=t.rowIndex;t.columnIndex;if(0===e)return"background-color: #f5f7fa; color: #272f3f; text-align: center; font-weight: 400;"},selectionChange:function(t){this.tableConfig.selection.sels=t},formatDate:function(t,e){if(!t)return"无";var a=new Date(parseInt(t));/(y+)/gi.test(e)&&(e=e.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":a.getMonth()+1,"[d|D]+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds()};for(var i in n)if(new RegExp("("+i+")").test(e)){var r=n[i]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length))}return e}}}},282:function(t,e,a){},283:function(t,e,a){},284:function(t,e,a){"use strict";a.r(e);var n=a(289),i=a(278);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(287);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"88cb09c0",null);l.options.__file="mPage.vue",e.default=l.exports},285:function(t,e,a){"use strict";a.r(e);var n=a(288),i=a(280);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(286);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"0858c932",null);l.options.__file="mTable.vue",e.default=l.exports},286:function(t,e,a){"use strict";var n=a(282);a.n(n).a},287:function(t,e,a){"use strict";var n=a(283);a.n(n).a},288:function(t,e,a){"use strict";var n=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",{staticClass:"table-box"},[i("el-table",{staticStyle:{width:"100%"},attrs:{data:n.tableData,border:n.tableConfig.border||!0,size:n.tableConfig.size||"small","header-cell-style":n.headerCellStyle},on:{"selection-change":n.selectionChange}},[n.tableConfig.selection.has?[i("el-table-column",{attrs:{type:"selection",fixed:n.tableConfig.selection.fix,width:n.tableConfig.selection.width,"min-width":n.tableConfig.selection.minWidth,align:n.tableConfig.selection.align||"center"}})]:n._e(),n._v(" "),n._l(n.tableHead,function(t,e){return[i("el-table-column",{key:e,attrs:{"show-overflow-tooltip":!0,fixed:t.fix,label:t.label,width:t.width,"min-width":t.minWidth,align:t.align||"center"},scopedSlots:n._u([{key:"default",fn:function(a){return["img_url"===t.prop?[i("el-popover",{attrs:{trigger:"hover"}},[i("div",{staticClass:"img-show"},[i("img",{attrs:{src:a.row[t.prop],alt:"放大图片"}})]),n._v(" "),i("div",{staticClass:"img-inline",attrs:{slot:"reference"},slot:"reference"},[i("img",{attrs:{src:a.row[t.prop],alt:"图片"}})])])]:n._e(),n._v(" "),"file_url"===t.prop?[i("a",{staticStyle:{"text-decoration":"none",color:"#2b9dff"},attrs:{href:a.row[t.prop]||"javascript:void(0)"}},[n._v("下载")])]:"operate"===t.prop?[i("el-dropdown",{attrs:{"hide-on-click":!1},on:{command:function(t){n.dropdownItemClick(a.row.index,arguments)}}},[i("span",{staticClass:"el-dropdown-link"},[n._v("...")]),n._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n._l(t.commandArr,function(t,e){return[i("el-dropdown-item",{key:e,attrs:{command:t.command}},[n._v(n._s(t.name))])]})],2)],1)]:"operate-x"===t.prop?[n._l(t.commandArr,function(e,t){return[0===t&&"通过"===a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:1===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:2===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:n._e()]})]:t.goObj?[i("router-link",{staticClass:"router-link-class",attrs:{to:{name:t.goObj.routerName,params:{obj:a.row,otherObj:t.goObj.params||""}}}},[n._v(n._s(a.row[t.prop]))])]:[n._v(n._s(a.row[t.prop]))]]}}])})]})],2),n._v(" "),1<n.pagination.total/n.pagination.pageSize?i("div",{staticClass:"pagination-right"},[i("el-pagination",{attrs:{"current-page":n.pagination.curPage,"page-size":n.pagination.pageSize,layout:"prev, pager, next, jumper",total:n.pagination.total},on:{"size-change":n.handleSizeChange,"current-change":n.handleCurrentChange,"update:currentPage":function(t){n.$set(n.pagination,"curPage",t)}}})],1):n._e()],1)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},289:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bg-box"},[t._t("self-select-btn"),t._v(" "),a("m-table",{attrs:{tableConfig:t.tableConfig,tableHead:t.tableHead,tableData:t.tableData,pagination:t.params}})],2)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},321:function(t,e,a){"use strict";a.r(e);var n=a(322),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},322:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(a(72)),n=i(a(284));function i(t){return t&&t.__esModule?t:{default:t}}e.default={props:{rid:{type:String,required:!0}},components:{mPage:n.default},data:function(){var e=this;return{tableConfig:{border:"",size:"",selection:{has:!1,sels:[],width:"50px",fix:"left",align:""}},tableHead:[{prop:"index",label:"序号",minWidth:"80",fix:!1},{prop:"report_name",label:"报告名称",minWidth:"150",fix:!1},{prop:"report_description",label:"报告摘要",minWidth:"120",fix:!1},{prop:"submit_time",label:"提交时间",minWidth:"120",fix:!1},{prop:"approve_status",label:"审核状态",minWidth:"120",fix:!1},{prop:"file_url",label:"附件下载",minWidth:"120",fix:!1},{prop:"operate-x",label:"操作",width:"140px",fix:!1,commandArr:[{command:"reportlist-",name:""},{command:"reportlist-edit",name:"编辑"},{command:"reportlist-delete",name:"删除"}]}],tableData:[],params:{keywords:"",curPage:1,pageSize:100,total:""},objFn:{paramsFn:function(t){return{rid:e.rid}},nameAPI:"getReportListAll",actionClass:"reportAction",nameExcel:"getExportExcel3_4_14",callback:function(a,t){a.params.total=100,t.forEach(function(t,e){t.approve_status=1===t.is_checked?"通过":0===t.is_checked?"未通过":"未审核",t.file_url=JSON.parse(t.file_url)[0].url,t.index=e+1+(a.params.curPage-1)*a.params.pageSize,a.tableData.push(t)})}}}},mounted:function(){var i=this;this.VueEvent.$on("command-tablelist-x",function(t){if("reportlist-edit"===t.command.command){var e=t.tableData[t.index-1].id;i.$router.push({path:"/app/my-learn/report-submit/"+i.rid+"/"+e})}if("reportlist-delete"===t.command.command){var a=t.tableData[t.index-1].id,n=i.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});r.default.reportAction.deleteSubmitReport(i.rid,a).then(function(t){t.flag&&i.$message({type:"success",message:"删除成功"}),i.params.pageSize+=1}).catch(function(t){i.$message.error(t.message)}).finally(function(){n.close()})}})},methods:{goReportSubmit:function(){this.$router.push({path:"/app/my-learn/report-submit/"+this.rid+"/-1"})},gobackReportActiveList:function(){this.$router.push({path:"/app/my-learn/report-Active-list"})}}}},323:function(t,e,a){},390:function(t,e,a){"use strict";var n=a(323);a.n(n).a},425:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"con-title"},[t._v("学术报告所在活动列表")]),t._v(" "),a("div",{staticClass:"con-box"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goReportSubmit}},[t._v("申请报告")]),t._v(" "),a("el-button",{staticStyle:{float:"right"},attrs:{type:"text"},on:{click:t.gobackReportActiveList}},[t._v("返回活动列表")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"0.2rem"}}),t._v(" "),a("m-page",{attrs:{tableHead:t.tableHead,tableData:t.tableData,params:t.params,objFn:t.objFn,tableConfig:t.tableConfig}})],1)])},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})}}]);
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{260:function(t,e,a){"use strict";a.r(e);var n=a(440),i=a(323);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(399);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"3eac718b",null);l.options.__file="reportListAll.vue",e.default=l.exports},280:function(t,e,a){"use strict";a.r(e);var n=a(281),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},281:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(a(287)),i=r(a(72));function r(t){return t&&t.__esModule?t:{default:t}}e.default={name:"mPage",components:{mTable:n.default},props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},params:{type:Object,require:!0},objFn:{type:Object,require:!0}},data:function(){return{isWatch:!0}},methods:{getList:function(){for(var e=this,t=this.$loading({lock:!0,text:"数据加载中,请稍后。。。",background:"rgba(0, 0, 0, 0.7)"}),a=this.objFn.paramsFn(this);this.tableData.length;)this.tableData.pop();i.default[this.objFn.actionClass][this.objFn.nameAPI](a).then(function(t){e.objFn.callback(e,t)}).catch(function(t){e.$message.error(t.message)}).finally(function(){t.close()})}},beforeMount:function(){this.getList()},watch:{"params.total":{handler:function(){this.isWatch=!1},immediate:!0},params:{handler:function(){this.isWatch?this.getList():this.isWatch=!0},deep:!0}}}},282:function(t,e,a){"use strict";a.r(e);var n=a(283),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},283:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{tableConfig:{type:Object,require:!0},tableHead:{type:Array,require:!0},tableData:{type:Array,require:!0},pagination:{type:Object,require:!0}},methods:{handleSizeChange:function(){},handleCurrentChange:function(){},dropdownItemClick:function(t,e){this.VueEvent.$emit("command-tablelist",{index:t,command:e[0],tableData:this.tableData})},itemClick:function(t,e){this.VueEvent.$emit("command-tablelist-x",{index:t,command:e,tableData:this.tableData})},headerCellStyle:function(t){t.row,t.column;var e=t.rowIndex;t.columnIndex;if(0===e)return"background-color: #f5f7fa; color: #272f3f; text-align: center; font-weight: 400;"},selectionChange:function(t){this.tableConfig.selection.sels=t},formatDate:function(t,e){if(!t)return"无";var a=new Date(parseInt(t));/(y+)/gi.test(e)&&(e=e.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length)));var n={"M+":a.getMonth()+1,"[d|D]+":a.getDate(),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds()};for(var i in n)if(new RegExp("("+i+")").test(e)){var r=n[i]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length))}return e}}}},284:function(t,e,a){},285:function(t,e,a){},286:function(t,e,a){"use strict";a.r(e);var n=a(291),i=a(280);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(289);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"88cb09c0",null);l.options.__file="mPage.vue",e.default=l.exports},287:function(t,e,a){"use strict";a.r(e);var n=a(290),i=a(282);for(var r in i)"default"!==r&&function(t){a.d(e,t,function(){return i[t]})}(r);a(288);var o=a(1),l=Object(o.a)(i.default,n.a,n.b,!1,null,"0858c932",null);l.options.__file="mTable.vue",e.default=l.exports},288:function(t,e,a){"use strict";var n=a(284);a.n(n).a},289:function(t,e,a){"use strict";var n=a(285);a.n(n).a},290:function(t,e,a){"use strict";var n=function(){var n=this,t=n.$createElement,i=n._self._c||t;return i("div",{staticClass:"table-box"},[i("el-table",{staticStyle:{width:"100%"},attrs:{data:n.tableData,border:n.tableConfig.border||!0,size:n.tableConfig.size||"small","header-cell-style":n.headerCellStyle},on:{"selection-change":n.selectionChange}},[n.tableConfig.selection.has?[i("el-table-column",{attrs:{type:"selection",fixed:n.tableConfig.selection.fix,width:n.tableConfig.selection.width,"min-width":n.tableConfig.selection.minWidth,align:n.tableConfig.selection.align||"center"}})]:n._e(),n._v(" "),n._l(n.tableHead,function(t,e){return[i("el-table-column",{key:e,attrs:{"show-overflow-tooltip":!0,fixed:t.fix,label:t.label,width:t.width,"min-width":t.minWidth,align:t.align||"center"},scopedSlots:n._u([{key:"default",fn:function(a){return["img_url"===t.prop?[i("el-popover",{attrs:{trigger:"hover"}},[i("div",{staticClass:"img-show"},[i("img",{attrs:{src:a.row[t.prop],alt:"放大图片"}})]),n._v(" "),i("div",{staticClass:"img-inline",attrs:{slot:"reference"},slot:"reference"},[i("img",{attrs:{src:a.row[t.prop],alt:"图片"}})])])]:n._e(),n._v(" "),"file_url"===t.prop?[i("a",{staticStyle:{"text-decoration":"none",color:"#2b9dff"},attrs:{href:a.row[t.prop]||"javascript:void(0)"}},[n._v("下载")])]:"operate"===t.prop?[i("el-dropdown",{attrs:{"hide-on-click":!1},on:{command:function(t){n.dropdownItemClick(a.row.index,arguments)}}},[i("span",{staticClass:"el-dropdown-link"},[n._v("...")]),n._v(" "),i("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n._l(t.commandArr,function(t,e){return[i("el-dropdown-item",{key:e,attrs:{command:t.command}},[n._v(n._s(t.name))])]})],2)],1)]:"operate-x"===t.prop?[n._l(t.commandArr,function(e,t){return[0===t&&"通过"===a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:1===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:2===t&&"通过"!==a.row.approve_status?[i("el-button",{key:t,attrs:{type:"text"},on:{click:function(t){n.itemClick(a.row.index,e)}}},[n._v(n._s(e.name))])]:n._e()]})]:t.goObj?[i("router-link",{staticClass:"router-link-class",attrs:{to:{name:t.goObj.routerName,params:{obj:a.row,otherObj:t.goObj.params||""}}}},[n._v(n._s(a.row[t.prop]))])]:[n._v(n._s(a.row[t.prop]))]]}}])})]})],2),n._v(" "),1<n.pagination.total/n.pagination.pageSize?i("div",{staticClass:"pagination-right"},[i("el-pagination",{attrs:{"current-page":n.pagination.curPage,"page-size":n.pagination.pageSize,layout:"prev, pager, next, jumper",total:n.pagination.total},on:{"size-change":n.handleSizeChange,"current-change":n.handleCurrentChange,"update:currentPage":function(t){n.$set(n.pagination,"curPage",t)}}})],1):n._e()],1)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},291:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bg-box"},[t._t("self-select-btn"),t._v(" "),a("m-table",{attrs:{tableConfig:t.tableConfig,tableHead:t.tableHead,tableData:t.tableData,pagination:t.params}})],2)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},323:function(t,e,a){"use strict";a.r(e);var n=a(324),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,function(){return n[t]})}(r);e.default=i.a},324:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(a(72)),n=i(a(286));function i(t){return t&&t.__esModule?t:{default:t}}e.default={props:{rid:{type:String,required:!0}},components:{mPage:n.default},data:function(){var e=this;return{tableConfig:{border:"",size:"",selection:{has:!1,sels:[],width:"50px",fix:"left",align:""}},tableHead:[{prop:"index",label:"序号",minWidth:"80",fix:!1},{prop:"report_name",label:"报告名称",minWidth:"150",fix:!1},{prop:"report_description",label:"报告摘要",minWidth:"120",fix:!1},{prop:"submit_time",label:"提交时间",minWidth:"120",fix:!1},{prop:"approve_status",label:"审核状态",minWidth:"120",fix:!1},{prop:"file_url",label:"附件下载",minWidth:"120",fix:!1},{prop:"operate-x",label:"操作",width:"140px",fix:!1,commandArr:[{command:"reportlist-",name:""},{command:"reportlist-edit",name:"编辑"},{command:"reportlist-delete",name:"删除"}]}],tableData:[],params:{keywords:"",curPage:1,pageSize:100,total:""},objFn:{paramsFn:function(t){return{rid:e.rid}},nameAPI:"getReportListAll",actionClass:"reportAction",nameExcel:"getExportExcel3_4_14",callback:function(a,t){a.params.total=100,t.forEach(function(t,e){t.approve_status=1===t.is_checked?"通过":0===t.is_checked?"未通过":"未审核",t.file_url=JSON.parse(t.file_url)[0].url,t.index=e+1+(a.params.curPage-1)*a.params.pageSize,a.tableData.push(t)})}}}},mounted:function(){var i=this;this.VueEvent.$on("command-tablelist-x",function(t){if("reportlist-edit"===t.command.command){var e=t.tableData[t.index-1].id;i.$router.push({path:"/app/my-learn/report-submit/"+i.rid+"/"+e})}if("reportlist-delete"===t.command.command){var a=t.tableData[t.index-1].id,n=i.$loading({lock:!0,text:"",spinner:"",background:"rgba(255, 255, 255, 0.9)"});r.default.reportAction.deleteSubmitReport(i.rid,a).then(function(t){t.flag&&i.$message({type:"success",message:"删除成功"}),i.params.pageSize+=1}).catch(function(t){i.$message.error(t.message)}).finally(function(){n.close()})}})},methods:{goReportSubmit:function(){this.$router.push({path:"/app/my-learn/report-submit/"+this.rid+"/-1"})},gobackReportActiveList:function(){this.$router.push({path:"/app/my-learn/report-Active-list"})}}}},325:function(t,e,a){},399:function(t,e,a){"use strict";var n=a(325);a.n(n).a},440:function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"con-title"},[t._v("学术报告所在活动列表")]),t._v(" "),a("div",{staticClass:"con-box"},[a("el-button",{attrs:{type:"primary"},on:{click:t.goReportSubmit}},[t._v("申请报告")]),t._v(" "),a("el-button",{staticStyle:{float:"right"},attrs:{type:"text"},on:{click:t.gobackReportActiveList}},[t._v("返回活动列表")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"0.2rem"}}),t._v(" "),a("m-page",{attrs:{tableHead:t.tableHead,tableData:t.tableData,params:t.params,objFn:t.objFn,tableConfig:t.tableConfig}})],1)])},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})}}]);
\ 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/"}),m=new a.default({devDomain:"http://api.ezijing.com",apiBaseURL:"/api",CDN_PATH:"https://zws-imgs-pub.ezijing.com/static/build/learn-mba/"}),h=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=m,t.msgApi=h,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(75));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__(75),_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,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,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,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,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=window.Base64},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQUFBAYFBQUHBgYHCQ8KCQgICRMNDgsPFhMXFxYTFRUYGyMeGBohGhUVHikfISQlJygnGB0rLismLiMmJyb/2wBDAQYHBwkICRIKChImGRUZJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJiYmJib/wgARCACgAKADAREAAhEBAxEB/8QAGwABAAIDAQEAAAAAAAAAAAAAAAQFAQIGAwj/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAD6TAAAAAAAAAAAAAAAAAAAAAAAIRTEUEouSaAAAAAAQjmzAAMnSE0AAAAAHMkMAAEw6YAAAAAwceYAABk7AyAAAAAcgaAAA3OvAAAAAKwojUAAGxelmAAAACsKAAAAF+WYAAAAIxywAAAOpJIAAAABRlSAAC2LwAAAAAHgcsagA2OpPcAAAAAApimABclyAAAAAACsKAAF+WYAAAAANSuKU8gAepdFibAAA0IZFIpCNQAAAbE0lEomG5VFIagAAAAAAA2LsozAAAAAAAAAMmAAAAAAAAAAAAAAAAAAAAf/xAAzEAACAQICCAIJBQEAAAAAAAABAgMEBQAREiAhIjAxUWFBQhMUM0BDUmKBoRBQcpHBMv/aAAgBAQABPwD9vrrhFS7v/cnyj/cT3Grm+IUHRNmGZm2sxY98KzLtVip7YguNXD8QuOj7cUNwiqt07knyn/ONdKv1WDd9o+xe3fBJJJJJJ5nVUlTmCQRyOLXV+tQb3tE2N378W6zGatfom6Ptr2qYw1qdH3T9+KxLMWPMnPXUlWDDmDnxZUMcroeasRrxIZJUQc2YDiXmqmp/RLC2jpZ5nDszuzuc2Y5k66MyOHQ5MpzBxZqqao9KszaWhlkeHfo9KlV/FG/B4Ngj0aV38Xb8Dh3JDJQzKPlz/rbwbahjoYV+nP8AvbxLzRxxKs0KaIJyYDXstHHKrzTJpAHJQeLWQiopni8WGw98OrI5RwQynIjVRWdwiAlicgMUcIp6ZIvFRtPfjX6AZJULzz0W1bBAMnqG556K8e/SKtKsfmZvwNWwyK1K8fmRvweK7pGpZ3CjqTipu8KAiAGRuvIYqJ5KiQyStmdWmnkp5PSRNkcUt3hfZODE3XmMRuki6SOHHUHXkliiGckioO5xJdaNOTs/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.8"},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(22).then(n.bind(null,276))},children:[{path:"index",name:"normalLogin",component:function(){return n.e(23).then(n.bind(null,250))},props:function(e){return{query:e.query,params:e.params}}},{path:"code",name:"codeLogin",component:function(){return n.e(24).then(n.bind(null,251))},props:function(e){return{query:e.query,params:e.params}}},{path:"forget",name:"forgetPwd",component:function(){return n.e(25).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(15).then(n.bind(null,253))}},{path:"course-detail/:sid/:cid",component:function(){return n.e(17).then(n.bind(null,254))},props:!0},{path:"discuss-detail/:sid/:cid/:id",component:function(){return Promise.all([n.e(1),n.e(18)]).then(n.bind(null,255))},props:!0},{path:"course-all",component:function(){return n.e(16).then(n.bind(null,256))}},{path:"discussion",component:function(){return n.e(19).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(20).then(n.bind(null,261))},props:!0},{path:"report-submit/:rid/:reid",component:function(){return n.e(21).then(n.bind(null,262))},props:!0}]},{path:"my-grade",redirect:"error/404",component:o.default,children:[{path:"credit",component:function(){return n.e(14).then(n.bind(null,263))}}]},{path:"account",redirect:"error/404",component:o.default,children:[{path:"set-pwd",component:function(){return n.e(30).then(n.bind(null,264))}},{path:"update-pic",component:function(){return n.e(13).then(n.bind(null,265))}},{path:"feedback",component:function(){return n.e(12).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(11).then(n.bind(null,270))},props:!0},{path:"chapter-read/:id",name:"chapterRead",component:function(){return n.e(26).then(n.bind(null,271))},props:!0},{path:"chapter-work/:id",name:"chapterWork",component:function(){return n.e(27).then(n.bind(null,272))},props:!0},{path:"course-info/:id",name:"courseInfo",component:function(){return n.e(28).then(n.bind(null,273))},props:!0},{path:"course-work/:id",name:"courseWork",component:function(){return n.e(29).then(n.bind(null,274))},props:!0}]},{path:"/player/*",redirect:"/player/0/0/error/404"},{path:"/static/index",component:function(){return n.e(5).then(n.bind(null,275))}},{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(70),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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMDA3NTdkYS1iNTY5LTQ5MGEtYTA4MS02YWNlYWZlMGM2YzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTZGMDJCRkFGQzQ3MTFFODgxRjdGNjcwOTQ1MzYzQUEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTZGMDJCRjlGQzQ3MTFFODgxRjdGNjcwOTQ1MzYzQUEiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpjNDUwMWI0YS1jMDRmLTQyYmEtODgxNC1mYzFjOGM5OGZhNGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MjAwNzU3ZGEtYjU2OS00OTBhLWEwODEtNmFjZWFmZTBjNmMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+cbigoQAAC6tJREFUeNrsm3l0VdUVxu9LSEIYQoIEkFEZyyxgi0EFlrZYrC1qaWlVsBRq0TggKq3WBVosgkUURMUlBUFD1bpQtAUULCKUQYMMkoiQACEkIIQECGQgL3ndp/0d2bnc9xIkL/+Qvda3Xt59dzrnfPvbw73xBQIBx8PqCcoFnj+KXS/oL3jGqbOqbKGgy3c47mnBPy/miavnsa2XoFQwRlAQhIAtBO0EtwmOCDYIiup46Gk3CZp9h+M6XewT5ybncEEsylgoiBcsEnyCAlgzRDwgaCzoJ+ghWCI4Liir42Mly1bk/LtgjeB2wWDm+LSgJb8fZU0SBCeDnG88ApIqWEyE0zZO0FeQKXgRobGWxHqZdfWxbb/gDf7+pSCR47wEqTjEfdW4+Qjr32eyzA03FUQJDvLZHMKZ7X9l0DcLugv2CXoKMrh5M9n/QE3dFimIEVzN8cmCnwiuEzwkaMMibhNEcN0ZgvsF93LO1xT5nyLsbeL7SMEVgkcFw9h2lWCdYHWIOTDH/VZwQ5jm+AvIYggwSjAJct0hSBdkqftdK2gouFIwVrBArxVz+3O1bSfnclirTZDPWp6gt+AQ343QjHbd3y5BN/7OxzF8HuMwa/ym4PHaVM5rBbcQwksE0YK9gvqCS7mpRihqpJvceO4pvLEDCz3d41o9WJjlgnsEZzjfWM5tctiXIeeP2XcwpL8BUkYy4VsEf8CLN7HQ0wStuNZdgimCCTiQj/GUcu3BLIQhTWuO2yw4JsghZalpshrS3Mg4Oqr5a6D2aeQxx9aaQcz3WK8hggHq96Vcw/z2IY5q0q1PBZ3Zx6+EokL97SgVTfC4dm/ueWJtkjMCciVCyuYsZiyhJoPQbbbvgcDBzlNGiKoIsk8RRGiIwqZB6gaox92C9qjdRsELgg8E8wSvkPsaBZzFIqwlZEbgFMax1pMHH+X8PpTia0hv1H8luImIMZ8FjUfBDGkfCdN8G8f9RjCQeTeOd1j9nss6eFkhx97M/ccSWRzWyIznVchbzBz+nty1h1oDB/GYAtqrawQrgN+G8Ma5H6tNcm4g3JxiwswNNGGimjPwHDy3STXO6Q+yfSIpwFDC8cNM4kzObb4/SN5aSChvRfi/gjy4PZN+ikU8hecbZfg3imgcaAXfMyDcZVyzgG2tuc4inCmJ/O05rtMqDHNtFH8OBJjG3DeFoO8I3ldj8bISBGM2qm4i0FaOsaTa5zomk0+7bqf5NM73BBhUxX2b37sS4YxI/KU2yWltBoXP83hYLCTJI7wHLrDYeRdV2wqxynCANuSio1CvXRD8dhbqRxDJ5G4fq5DocF9l5Jk9UZYocIh77ka+Ol0VD28TxgsgSDkk3U+O+k0Y5noQav8q92vzuiHk4X0I+1FBjr+EYmcCx87GaXvhpGa8T5IaWJvL5+fqHMbaMucxOGUom8XnQVIpB0WuNXI2RsEGEl6TGHRbVG0fKhd1AddahZp1Jc9tSChKZ5KGqn1/iMpEUuF2Z9t48kwfxCtkn5kUByk41hLUbwuk/oxQ76jiYQxK3Jawl4QqXIMDhcsaemy7lHupCHFcIsQOMI/JjD+H34cxrkIqeXOu75GnWlFppQqfM0Bf83LXNcdSC8zBMUaRgs3jnsNOzm5c0CjSV3ieWcwvmchOEKogRE5SXZtIePIzEScgWxcS+mkQ9RieGkOuW8T1cylsLDmL1MLlkNPl0RKx0cBHZa8thuvuxjl2kpPuZMFq0uzibyFX/oErb5tLx2JkkELS2teE842c50M+rdNtp3BZxZql4tBL1TlWkMcHE5lF/K6LOJNuPCD4Gx2H4USAXrVRrRtvmgoRZ5J37SekZjJ44z2TIe2FWBmV9GQGuBaVKqBN1QDybSVkFbNvbyb/fQqdTMJaPCTdCKEDLOIqyJ+CI0ykotddhgA5mB+1yUZBu4RJKe8U/IbQPRTFvps5yEPh+oU4j7nfj0Aw+9IVgdw2V4V6L3vQ9T3ZY5/tpCK1EtaP8RmBR4+m/5gBmXqS08xzVZbna9dTiZsQ8R/Bz1BRQ7Jl5Ja5qGkSPb57ObavqjjzqLA7s2+Fam8kkJPtoR12CBUZiTLGsF9LioSXWazPmfAr1T41ZfUh1nGKvu4QdCW/tycCrHHqnrKdo5wBvNjkIXEURH1Y0GxI+g6hX7c8uroKqqrsCEr2Af25SwgRNpwspTBwKFDuYH9j9+FENqmPI4S/x7ZYVGe8epoxhqa9Q9F1q8q9dhKq8tR4DIleJ8etSTuBUlvyD6FzsIzfPyMyvVXFeaJxqgOu7e3Y1pZIk6d+iyNNyyVCHuMcJR5FXxvuNYBQNHIp8jZSki6Mx49DacG6lRTrKClEMblpPqnELazBKYSklD51NDyrVACaJ0SDULUTtI5sKyceEn2Mwuhc7DVUKRUip3FT9vhZdX7/raVCPmN/xOEfJho4OGscbTB3MbLARcIHOFbn/s86/3/CZvLshayBbRldpwq9R4lYpylsJrjSnHm0mH7FvWx0jSGNgmwzBIvC2V6kHXk/qdQOhMLULy9R4WfR+hoNT66he1NKmjKdNtUn6oHD3HqQySpSDhPVAg9cx8le4gYP0xJpQsvnfGw0ISyeQmQFueYwPK0HXYEvWIhSJnAtiuZHDVswUQkMcjX3kkg474TjTMEbH6f1UUgKcC1KshNFuI0xL8IZN6OiW8LQrvMqeH5azfMEnMrPya3ZbYdJTx6ihggwXisqZ1BN00a7hzx+B78Nh7QnIcZsj/qiBfP1nNqWhFqmMq+/YPtC5+yTpjLn7LsCc3GEZFfuOwsHSkVVTUtsdQQHNoHdiSxMLnIcxd95eGQfFLaI0OsO6/YxoZethKAtSdqbQ5jRVKG2spxCofBrWiZXq6Lid4SGlnj4ZgqnNTTafSjJZPp36YzjEUiYRZRI5zOZPLgeeeBU1OquMKnoDtpcbktjYaoipz/EQ492OOJ2xmE7BeUqVfKpzsEIdY4BKkUqRnH7A5uHn3HOfeY+QBWV+yCuTc0K1D2UuCKA+2GOcap/UTQOYqzzI4j3sapKzaatVESu0BFy5rNtH0oTrQbuh0CNVEhx2zjInky+M5UQdQDvj6TQGUHRUIbCXqUa7+WoYo7KHQtVO6kP54kiR/qK65TwVKgdLZjl7JdPh6Aj3xej4uEi50com+NRFQ+tRn1QEaKdV05bcJkSgG2utpFdrzeIYA6FpRGUT9U+9j0Ai1iUz0Ql887Dn4im9Qj1FWzLQYUXV2M8bptNX3Y65/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(71),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"}})},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(73),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"}]});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})}}]),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(73),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.tabs3richTest=o.course_evaluation,i})}},{key:"getCourseAssess",value:function(m,h){return i.courseApi.getCourseAssess(m,h).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:h,cid:m})}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(73)),f=i(n(74));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__(74),_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/9oADAMBAAIQAxAAAAD6TAAAAAAAAAAAAAAAAAAAAAAAIRTEUEouSaAAAAAAQjmzAAMnSE0AAAAAHMkMAAEw6YAAAAAwceYAABk7AyAAAAAcgaAAA3OvAAAAAKwojUAAGxelmAAAACsKAAAAF+WYAAAAIxywAAAOpJIAAAABRlSAAC2LwAAAAAHgcsagA2OpPcAAAAAApimABclyAAAAAACsKAAF+WYAAAAANSuKU8gAepdFibAAA0IZFIpCNQAAAbE0lEomG5VFIagAAAAAAA2LsozAAAAAAAAAMmAAAAAAAAAAAAAAAAAAAAf/xAAzEAACAQICCAIJBQEAAAAAAAABAgMEBQAREiAhIjAxUWFBQhMUM0BDUmKBoRBQcpHBMv/aAAgBAQABPwD9vrrhFS7v/cnyj/cT3Grm+IUHRNmGZm2sxY98KzLtVip7YguNXD8QuOj7cUNwiqt07knyn/ONdKv1WDd9o+xe3fBJJJJJJ5nVUlTmCQRyOLXV+tQb3tE2N378W6zGatfom6Ptr2qYw1qdH3T9+KxLMWPMnPXUlWDDmDnxZUMcroeasRrxIZJUQc2YDiXmqmp/RLC2jpZ5nDszuzuc2Y5k66MyOHQ5MpzBxZqqao9KszaWhlkeHfo9KlV/FG/B4Ngj0aV38Xb8Dh3JDJQzKPlz/rbwbahjoYV+nP8AvbxLzRxxKs0KaIJyYDXstHHKrzTJpAHJQeLWQiopni8WGw98OrI5RwQynIjVRWdwiAlicgMUcIp6ZIvFRtPfjX6AZJULzz0W1bBAMnqG556K8e/SKtKsfmZvwNWwyK1K8fmRvweK7pGpZ3CjqTipu8KAiAGRuvIYqJ5KiQyStmdWmnkp5PSRNkcUt3hfZODE3XmMRuki6SOHHUHXkliiGckioO5xJdaNOTs/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.8"},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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyMDA3NTdkYS1iNTY5LTQ5MGEtYTA4MS02YWNlYWZlMGM2YzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTZGMDJCRkFGQzQ3MTFFODgxRjdGNjcwOTQ1MzYzQUEiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTZGMDJCRjlGQzQ3MTFFODgxRjdGNjcwOTQ1MzYzQUEiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpjNDUwMWI0YS1jMDRmLTQyYmEtODgxNC1mYzFjOGM5OGZhNGQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MjAwNzU3ZGEtYjU2OS00OTBhLWEwODEtNmFjZWFmZTBjNmMzIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+cbigoQAAC6tJREFUeNrsm3l0VdUVxu9LSEIYQoIEkFEZyyxgi0EFlrZYrC1qaWlVsBRq0TggKq3WBVosgkUURMUlBUFD1bpQtAUULCKUQYMMkoiQACEkIIQECGQgL3ndp/0d2bnc9xIkL/+Qvda3Xt59dzrnfPvbw73xBQIBx8PqCcoFnj+KXS/oL3jGqbOqbKGgy3c47mnBPy/miavnsa2XoFQwRlAQhIAtBO0EtwmOCDYIiup46Gk3CZp9h+M6XewT5ybncEEsylgoiBcsEnyCAlgzRDwgaCzoJ+ghWCI4Liir42Mly1bk/LtgjeB2wWDm+LSgJb8fZU0SBCeDnG88ApIqWEyE0zZO0FeQKXgRobGWxHqZdfWxbb/gDf7+pSCR47wEqTjEfdW4+Qjr32eyzA03FUQJDvLZHMKZ7X9l0DcLugv2CXoKMrh5M9n/QE3dFimIEVzN8cmCnwiuEzwkaMMibhNEcN0ZgvsF93LO1xT5nyLsbeL7SMEVgkcFw9h2lWCdYHWIOTDH/VZwQ5jm+AvIYggwSjAJct0hSBdkqftdK2gouFIwVrBArxVz+3O1bSfnclirTZDPWp6gt+AQ343QjHbd3y5BN/7OxzF8HuMwa/ym4PHaVM5rBbcQwksE0YK9gvqCS7mpRihqpJvceO4pvLEDCz3d41o9WJjlgnsEZzjfWM5tctiXIeeP2XcwpL8BUkYy4VsEf8CLN7HQ0wStuNZdgimCCTiQj/GUcu3BLIQhTWuO2yw4JsghZalpshrS3Mg4Oqr5a6D2aeQxx9aaQcz3WK8hggHq96Vcw/z2IY5q0q1PBZ3Zx6+EokL97SgVTfC4dm/ueWJtkjMCciVCyuYsZiyhJoPQbbbvgcDBzlNGiKoIsk8RRGiIwqZB6gaox92C9qjdRsELgg8E8wSvkPsaBZzFIqwlZEbgFMax1pMHH+X8PpTia0hv1H8luImIMZ8FjUfBDGkfCdN8G8f9RjCQeTeOd1j9nss6eFkhx97M/ccSWRzWyIznVchbzBz+nty1h1oDB/GYAtqrawQrgN+G8Ma5H6tNcm4g3JxiwswNNGGimjPwHDy3STXO6Q+yfSIpwFDC8cNM4kzObb4/SN5aSChvRfi/gjy4PZN+ikU8hecbZfg3imgcaAXfMyDcZVyzgG2tuc4inCmJ/O05rtMqDHNtFH8OBJjG3DeFoO8I3ldj8bISBGM2qm4i0FaOsaTa5zomk0+7bqf5NM73BBhUxX2b37sS4YxI/KU2yWltBoXP83hYLCTJI7wHLrDYeRdV2wqxynCANuSio1CvXRD8dhbqRxDJ5G4fq5DocF9l5Jk9UZYocIh77ka+Ol0VD28TxgsgSDkk3U+O+k0Y5noQav8q92vzuiHk4X0I+1FBjr+EYmcCx87GaXvhpGa8T5IaWJvL5+fqHMbaMucxOGUom8XnQVIpB0WuNXI2RsEGEl6TGHRbVG0fKhd1AddahZp1Jc9tSChKZ5KGqn1/iMpEUuF2Z9t48kwfxCtkn5kUByk41hLUbwuk/oxQ76jiYQxK3Jawl4QqXIMDhcsaemy7lHupCHFcIsQOMI/JjD+H34cxrkIqeXOu75GnWlFppQqfM0Bf83LXNcdSC8zBMUaRgs3jnsNOzm5c0CjSV3ieWcwvmchOEKogRE5SXZtIePIzEScgWxcS+mkQ9RieGkOuW8T1cylsLDmL1MLlkNPl0RKx0cBHZa8thuvuxjl2kpPuZMFq0uzibyFX/oErb5tLx2JkkELS2teE842c50M+rdNtp3BZxZql4tBL1TlWkMcHE5lF/K6LOJNuPCD4Gx2H4USAXrVRrRtvmgoRZ5J37SekZjJ44z2TIe2FWBmV9GQGuBaVKqBN1QDybSVkFbNvbyb/fQqdTMJaPCTdCKEDLOIqyJ+CI0ykotddhgA5mB+1yUZBu4RJKe8U/IbQPRTFvps5yEPh+oU4j7nfj0Aw+9IVgdw2V4V6L3vQ9T3ZY5/tpCK1EtaP8RmBR4+m/5gBmXqS08xzVZbna9dTiZsQ8R/Bz1BRQ7Jl5Ja5qGkSPb57ObavqjjzqLA7s2+Fam8kkJPtoR12CBUZiTLGsF9LioSXWazPmfAr1T41ZfUh1nGKvu4QdCW/tycCrHHqnrKdo5wBvNjkIXEURH1Y0GxI+g6hX7c8uroKqqrsCEr2Af25SwgRNpwspTBwKFDuYH9j9+FENqmPI4S/x7ZYVGe8epoxhqa9Q9F1q8q9dhKq8tR4DIleJ8etSTuBUlvyD6FzsIzfPyMyvVXFeaJxqgOu7e3Y1pZIk6d+iyNNyyVCHuMcJR5FXxvuNYBQNHIp8jZSki6Mx49DacG6lRTrKClEMblpPqnELazBKYSklD51NDyrVACaJ0SDULUTtI5sKyceEn2Mwuhc7DVUKRUip3FT9vhZdX7/raVCPmN/xOEfJho4OGscbTB3MbLARcIHOFbn/s86/3/CZvLshayBbRldpwq9R4lYpylsJrjSnHm0mH7FvWx0jSGNgmwzBIvC2V6kHXk/qdQOhMLULy9R4WfR+hoNT66he1NKmjKdNtUn6oHD3HqQySpSDhPVAg9cx8le4gYP0xJpQsvnfGw0ISyeQmQFueYwPK0HXYEvWIhSJnAtiuZHDVswUQkMcjX3kkg474TjTMEbH6f1UUgKcC1KshNFuI0xL8IZN6OiW8LQrvMqeH5azfMEnMrPya3ZbYdJTx6ihggwXisqZ1BN00a7hzx+B78Nh7QnIcZsj/qiBfP1nNqWhFqmMq+/YPtC5+yTpjLn7LsCc3GEZFfuOwsHSkVVTUtsdQQHNoHdiSxMLnIcxd95eGQfFLaI0OsO6/YxoZethKAtSdqbQ5jRVKG2spxCofBrWiZXq6Lid4SGlnj4ZgqnNTTafSjJZPp36YzjEUiYRZRI5zOZPLgeeeBU1OquMKnoDtpcbktjYaoipz/EQ492OOJ2xmE7BeUqVfKpzsEIdY4BKkUqRnH7A5uHn3HOfeY+QBWV+yCuTc0K1D2UuCKA+2GOcap/UTQOYqzzI4j3sapKzaatVESu0BFy5rNtH0oTrQbuh0CNVEhx2zjInky+M5UQdQDvj6TQGUHRUIbCXqUa7+WoYo7KHQtVO6kP54kiR/qK65TwVKgdLZjl7JdPh6Aj3xej4uEi50com+NRFQ+tRn1QEaKdV05bcJkSgG2utpFdrzeIYA6FpRGUT9U+9j0Ai1iUz0Ql887Dn4im9Qj1FWzLQYUXV2M8bptNX3Y65/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(73));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
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -35,6 +35,9 @@ Created by iconfont
<glyph glyph-name="cc-book" unicode="&#58901;" d="M682.697 24.293l-440.536 0c-12.153 0-22.026 9.893-22.026 22.027 0 12.13 9.873 22.026 22.026 22.026l440.537 0c12.13 0 22.026-9.895 22.026-22.026 0-12.133-9.895-22.027-22.027-22.027zM841.773 725.675c-12.955 0-23.52-10.543-23.52-23.521l0-705.638c0-12.956-10.567-23.521-23.522-23.521l-517.47 0c-38.911 0-70.564 31.651-70.564 70.564 0 38.91 31.653 70.563 70.564 70.563l423.383 0c38.911 0 70.565 31.653 70.565 70.563l0 564.511c0 38.911-31.654 70.564-70.565 70.564l-470.426 0c-38.911 0-70.563-31.653-70.563-70.564l0-705.637c0-64.823 52.785-117.609 117.607-117.609l517.469 0c38.909 0 70.563 31.654 70.563 70.565l0 705.638c0 12.978-10.567 23.521-23.521 23.521zM230.219 772.719l470.426 0c12.955 0 23.522-10.543 23.522-23.522l0-564.511c0-12.955-10.567-23.521-23.522-23.521l-423.383 0c-26.439 0-50.902-8.821-70.564-23.567l0 611.598c0 12.979 10.543 23.522 23.521 23.522z" horiz-adv-x="1024" />
<glyph glyph-name="star_full" unicode="&#58919;" d="M958.733 484.651l-299.475 57.753-147.26 268.060-147.257-268.060-299.476-57.753 208.463-223.396-37.841-303.719 276.111 129.984 276.093-129.984-37.841 303.719z" horiz-adv-x="1024" />
<glyph glyph-name="iconset0481" unicode="&#59240;" d="M512 853.333333C253.866667 853.333333 42.666667 644.266667 42.666667 384s211.2-469.333333 469.333333-469.333333c260.266667 0 469.333333 209.066667 469.333333 469.333333S772.266667 853.333333 512 853.333333zM512-42.666667C277.333333-42.666667 85.333333 149.333333 85.333333 384 85.333333 618.666667 277.333333 810.666667 512 810.666667c234.666667 0 426.666667-192 426.666667-426.666667C938.666667 149.333333 746.666667-42.666667 512-42.666667zM716.8 401.066667 716.8 401.066667l-4.266667 2.133333c0 0 0 0-2.133333 0l-292.266667 168.533333 0 0C413.866667 573.866667 409.6 576 405.333333 576c-12.8 0-21.333333-8.533333-21.333333-21.333333l0-341.333333c0-12.8 8.533333-21.333333 21.333333-21.333333 4.266667 0 8.533333 2.133333 12.8 4.266667l0 0 292.266667 168.533333c0 0 0 0 2.133333 0l4.266667 2.133333 0 0c4.266667 4.266667 8.533333 10.666667 8.533333 17.066667S721.066667 396.8 716.8 401.066667zM426.666667 249.6 426.666667 518.4 661.333333 384 426.666667 249.6z" horiz-adv-x="1024" />
......@@ -62,6 +65,9 @@ Created by iconfont
<glyph glyph-name="shipin" unicode="&#58894;" d="M858.8-7.6H182.2c-61 0-110.8 49.6-110.8 110.8V617c0 61 49.6 110.8 110.8 110.8h676.6c61 0 110.8-49.6 110.8-110.8v-513.8c-0.2-61-49.8-110.8-110.8-110.8zM182.2 687.6c-39 0-70.8-31.8-70.8-70.8v-513.8c0-39 31.8-70.8 70.8-70.8h676.6c39 0 70.8 31.8 70.8 70.8v514c0 39-31.8 70.8-70.8 70.8H182.2zM225.4-7.6c-11 0-20 9-20 20V707.6c0 11 9 20 20 20s20-9 20-20v-695.2c0-11-8.8-20-20-20zM815.4-7.6c-11 0-20 9-20 20V707.6c0 11 9 20 20 20s20-9 20-20v-695.2c0-11-9-20-20-20zM225.4 496.8h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-8.8-20-20-20zM225.4 340h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-8.8-20-20-20zM225.4 163.4h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-8.8-20-20-20zM949.4 496.8h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-9-20-20-20zM949.4 340h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-9-20-20-20zM949.4 163.4h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-9-20-20-20zM432 216.8c-3.4 0-7 0.8-10 2.6-6.2 3.6-10 10.2-10 17.4V483.2c0 7.2 3.8 13.8 10 17.4 6.2 3.6 13.8 3.6 20 0l213.4-123.2c6.2-3.6 10-10.2 10-17.4s-3.8-13.8-10-17.4L442 219.6c-3.2-1.8-6.6-2.8-10-2.8z m20 231.8v-177.2l153.4 88.6-153.4 88.6z" horiz-adv-x="1024" />
<glyph glyph-name="wujiaoxing" unicode="&#58900;" d="M959.008 489.984l-308 47.008L512 832 372.992 536.992l-308-47.008 223.008-228-52.992-324L512 90.976l276.992-152.992-52.992 324zM512 156L304 39.008l40 235.008-179.008 182.016 242.016 32 104.992 224 104-224 240.992-34.016L680 273.024l36.992-235.008z" horiz-adv-x="1024" />
<glyph glyph-name="character" unicode="&#58926;" d="M921.087359-94.72000000000003v35.2A410.24 410.24 0 0 1 661.887359 320a307.2 307.2 0 1 1-300.8 0 410.24 410.24 0 0 1-256-380.8v-35.2H101.887359a32 32 0 0 1 32-32 32 32 0 0 1 32 32v34.56a345.6 345.6 0 0 0 691.2 0v-35.2a31.36 31.36 0 0 1 31.36-30.08 32 32 0 0 1 32.64 32zM270.207359 588.8A241.28 241.28 0 1 0 511.487359 347.52 241.28 241.28 0 0 0 270.207359 588.8z" horiz-adv-x="1024" />
......
!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:"eb2376b18439",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:"ee7f1732",11:"e1447fa9",12:"3c7db5ad",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:"9406d3ae",26:"bf6ea9db",27:"e2b1771b",28:"701766dc",29:"a02657d3",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()}([]);
\ 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}[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:"e7ba1de89846",12:"fc688477e0f2",13:"9c95c5430f41",14:"d32639348e7f",15:"74dc8cd35292",16:"fca5eccb0e56",17:"5ce6ee003c1d",18:"abf993cecc16",19:"da1346fedd49",20:"5ba1b1bc7480",21:"43ee51cf782c",22:"12c536f6abaf",23:"31d6cfe0d16a",24:"31d6cfe0d16a",25:"31d6cfe0d16a",26:"31d6cfe0d16a",27:"31d6cfe0d16a",28:"31d6cfe0d16a",29:"31d6cfe0d16a",30:"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:"44b419c5",1:"b54a4784",5:"09a1f3ee",6:"405863fa",7:"ace7c55c",8:"87290af0",9:"dcfc2b8a",10:"6d628040",11:"433a0ecc",12:"91c1f686",13:"a61dca92",14:"4d6ef107",15:"e61a13f7",16:"505c6d2d",17:"543d5fb7",18:"7a2fba65",19:"2f6edafd",20:"102dfcc6",21:"ca6c0db6",22:"51a95842",23:"299197ce",24:"73b8e970",25:"4196dbb5",26:"2e14c205",27:"f7c1dd11",28:"01ab5f90",29:"11f4d30d",30:"400ed014"}[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
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -22,7 +22,9 @@
<li class="dib"><span>Font class</span></li>
<li class="dib"><span>Symbol</span></li>
</ul>
<a href="https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=948269" target="_blank" class="nav-more">查看项目</a>
</div>
<div class="tab-container">
<div class="content unicode" style="display: block;">
......@@ -58,6 +60,12 @@
<div class="code-name">&amp;#xe615;</div>
</li>
<li class="dib">
<span class="icon selfAllIcon">&#xe627;</span>
<div class="name">五角星</div>
<div class="code-name">&amp;#xe627;</div>
</li>
<li class="dib">
<span class="icon selfAllIcon">&#xe768;</span>
<div class="name">播放</div>
......@@ -112,6 +120,12 @@
<div class="code-name">&amp;#xe60e;</div>
</li>
<li class="dib">
<span class="icon selfAllIcon">&#xe614;</span>
<div class="name">五角星</div>
<div class="code-name">&amp;#xe614;</div>
</li>
<li class="dib">
<span class="icon selfAllIcon">&#xe62e;</span>
<div class="name">人物</div>
......@@ -237,6 +251,15 @@
</div>
</li>
<li class="dib">
<span class="icon selfAllIcon el-icon-self-star_full"></span>
<div class="name">
五角星
</div>
<div class="code-name">.el-icon-self-star_full
</div>
</li>
<li class="dib">
<span class="icon selfAllIcon el-icon-self-iconset0481"></span>
<div class="name">
......@@ -318,6 +341,15 @@
</div>
</li>
<li class="dib">
<span class="icon selfAllIcon el-icon-self-wujiaoxing"></span>
<div class="name">
五角星
</div>
<div class="code-name">.el-icon-self-wujiaoxing
</div>
</li>
<li class="dib">
<span class="icon selfAllIcon el-icon-self-character"></span>
<div class="name">
......@@ -381,7 +413,7 @@
<pre><code class="language-html">&lt;link rel="stylesheet" href="./iconfont.css"&gt;
</code></pre>
<h3 id="-">第二步:挑选相应图标并获取类名,应用于页面:</h3>
<pre><code class="language-html">&lt;span class="selfAllIcon el-icon-self--xxx"&gt;&lt;/span&gt;
<pre><code class="language-html">&lt;span class="selfAllIcon el-icon-self-xxx"&gt;&lt;/span&gt;
</code></pre>
<blockquote>
<p>"
......@@ -432,6 +464,14 @@
<div class="code-name">#el-icon-self-cc-book</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#el-icon-self-star_full"></use>
</svg>
<div class="name">五角星</div>
<div class="code-name">#el-icon-self-star_full</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#el-icon-self-iconset0481"></use>
......@@ -504,6 +544,14 @@
<div class="code-name">#el-icon-self-shipin</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#el-icon-self-wujiaoxing"></use>
</svg>
<div class="name">五角星</div>
<div class="code-name">#el-icon-self-wujiaoxing</div>
</li>
<li class="dib">
<svg class="icon svg-icon" aria-hidden="true">
<use xlink:href="#el-icon-self-character"></use>
......
@font-face {font-family: "selfAllIcon";
src: url('iconfont.eot?t=1546593114550'); /* IE9 */
src: url('iconfont.eot?t=1546593114550#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA9cAAsAAAAAG8wAAA8OAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCFbAqmJJ4yATYCJANQCyoABCAFhREHgVUb5RZFBu4VJ2VC9v/hQIvDiuuxRVqNOHY7NtaA4+g0s9Sx4uMswaZn7Ok2SG3ja1NFgNAw6PuPj1gd/RqNnauqxJtYarxqQ0X6yHd7Pjxt7t3/xN0RRywSmYn2WpuxwkaswhpWg87A2tAZzIhgVs9KhtELI3s5QHARAFM5U8lwoDUcCI4pQPzraLUBZBekX0dqecGQsOnsEICg336pzc8H/qMgm114V3mkBb53W6cURilskAkVAjE4e/fdv2RTrXj5RZ2W4Hl8PCX8uvE3/hVXTlTjZJX+/7lXm7Qdg80QhdqZIineTVJ4ySvccn4xv6OU8/8ovwMi+fXsdnxeAUkNUY/dhJ5QE3JG+VmIV52TU3lLJ32wfWAA8NCphklJa9YGLER4aQz2G9jP3gOsJwGimBkM2BgJUa8IjAdisGQ68QOYY3x55g1iKgMIxBSvai0Zqb1hfM7Ud3qp3kUToJZnADjwAAqgGkB0iP5Jxn2GztxmUfCB4RyA8vRt+2M/J6Q4SmqBaohhMdAEM1x+oSuu5Pr+z5kUmxlweq/7MyivItvU8F95gJaGAmpKSCGGABYqcvBgQMCBQgQZJAAjAXT5dszXfC08ZxTFYQQIDZgUCAUYB4QaTAkNBlNDQzoWCIQYrAYQAlgMECyYBQgV2AAg5GADgeDBJgDBgM2Ahjaxy1gFHPBCh6AGiwNCBJYMhAysLxhmPDSgYgOgDSApB0hvSGOW+7MQgUDCK3kMCMScZFCQQwSFYu6VzXDpCm2Yelnr1fHlKpXYH+oUQvJgaqMNNTWVlUJ5Tz0Il0fCfFNTYwNfifG9FbPC4ZA96u8OVVWVWS5dFUJ1SXmpIIfx2R068cX8pH+2vmpG0RrU82ZBvXZPv289NB6oJjWYRXS8Rkg9tO7r98wHmy56vJGUC/Z4HE9klLs3QcJWbQTj6iymKCwlX3B5z8iCJJdKym6yUXVnhGjTm+m2vEnvBWIchrvZXZ777RF3ps2mG1+Mr9Zn/ZNm5vVBq2gUlpiylu5ScVp+0WlSQVRWcVa+0EZTe8NQtKD97DCWkyADQfbdeSwDI9eJLus/byQhqkRC5vlWEoehi3CLpwaKQg1v7HHx1my8NpPU7Mx05zLV3K0llWI/64Speo3WM0OujpesU9NyoY/Wo2wjjK5sR8YWpDtgQsz34C4tXgNJDdalaviJWpSTBntJTcwNratJjvqtDAJ4INhzcWFaxO/Gn0zKVDDzoi7hSzU4IRFgKTlvmuedllWPIOl8uCCWzKZFVaPX1CycWDbqo7Ar8owW32lnTvSl2/1n3BXxfEckW6jzp4rd0cxgLYqMnAZszTeClI+vb7FNQxyL6Wz2RpeNVF1LcorhzQNWRspcH3fzan3qImDDbewK0YmOB+Fjb1ZhLAZ0LESyD4yH3eHcw/pg8kFXKH2PE9VdWu4hHzTozjAhXIpWha71BA0Wsx/VeaH3I/c77E6t2u9uLeNlQ1hLZRNzRCeAKesMoDBjtR/u26Tzs6a4fiM107q0YT1ucc3Kpg3EShlybPgiV6Ouml46PT4/jHoIMAfCOWgxsVUBu5o2VwWjiAMdK4SXOBdWRTP3GwPxex3NddQFTz7sDvwcHiIhqM0dsrzAcWfZ8eW8y7zXAHgc18BlgTzmswBqimre7OszwEt5/vJFRau3l1gbGuN3dV7NY84QtcYBfJaEAESele3UnfqizkWPNQfZobkdRg32fa9ZcPa12Vu5AUYCct/DL7k2KJbA70PqaHCAxRRkUEHQRtyPIwRAdRQSVquE08RcG0yAApNM4Kk/YkbBFPc4EEHRcDOvS3Cj5ISiPPJRlJAaKybDxFKIqWiQiJVH1mILJox/AA56vsPnCzVngag1kkJs7QlvWtEb52hEIgFunq1zQ3jBZJvWjnS+xpcY7IzmivX+ZGFxQnvILPA8K3JRywelI5EbX5qCJ7+Oi17/3Bg49ulg+l5NIHH/ri6nEvsplYOMWYvovB2u+L3C+w40Gu7nq844ern74u07TZnyvLHCYZ79VYw4dITnTKbNpm6vzQROWC3hwnoARzKZ4kHB9boRC/EPLPvcsDUNPRQqY38wJRRW5n6tTwh3cKHsgzVY5IMesDH85gUjAIIIEwIa3CBwrkaNXmxt1uxYjeN6QoK+xPlOmLG6Ue4i70ccIRbj+UksZSTXxzsWYo6WrfNHyi7n2nXMktbENFqIhTmJTuaHspXIl5dHgmEOrBc4wQ9EwrEEDrzMJ2JzIUZ6sDK6kwOB05/nABUgAIEGXl7tQcDvZxWhQYsRcN4al6iG+gWS17yqDH7DFn7fo6xsWLjr94p3Y2FZWfpjZJX5D6cLo8a+o//frYvq1Rn4165zZDe9PG7M2l4STf194UIx+8+J9jI0VlOl2INdaz4a3jueri0sXEs7tqy4z3nAsa9L9b5HRX//drROxKA1iGkWbHMLHl0zfd6o8RVTyFabyo9dWt+O9jG9zKvntk02jZ8VY6rRFr0K2YnSMnpDpxomHNT3gWq5uXd0tNKd9hVyGxaNdHHazLeXM7UeNn3Fk1DrqN5mLoBTf/Moa+iTFWapJ1N7+a02k3ONLGqYW6F9pu2dOnSLdNbdWLldY3uqbZv+yRP9NqO59saa0eqSyYaj6tGa+aNtqcVEp9eR4v1XPXr+aI36qGFyiVozOvGEEmYLpsQF9aNPidb+LTxKGdGaLVqLDh2WWmtvnPfcvCm1ZpOJZppVuHctBYFJs2i287cgxp116nVJjD3UKGW7VqFWsAm6oEuVozPcCmmrf85R5bDkx+0M0lOq9aTldJ41C4xqhetI/9pDpo7tPb/7vJVJE235XRwoneEArjgIJhMWqpFWBZQT37MEWe6JFxqeJl+bTgIqmzp6zpbmJHlVixt1JYnNypl3nJwyqkWDh10kKVMV1W+eqkVlkWHSyp3aEnXiNL6kz6uXlRs+qn1CHa6GN/iQq0BbwB3i8rX5C454/NxJ/hIvueqoP/rq5qt2RZzCfvWOx1d3kkkyqSSmk/cPqnnH4+fj0lS7eeitXrwfetr2nIiVis4zotFze13qkM1B8imZe0UfP6ZG7QUg0qnh/YgGLbfZauPyuXZKnM16bRZodEaAYY781TQkeGbPdgQLQQ49ao45I0gIJi9fZxCCHHNmh4/8xyAn6jzuhyqzD2+rGTVS1kIx/MnM6hulqX57732H0/fvvDgyZpKqlaA6be1j7733sDkwa1SMq4dRUKzzzY9Ilo/nk66+9dTYKE3DXF/hx8MwCIc/GtMFAwJeDRoAoxEGVS+0DhKMSfZf5F4qE+73mKmocVdwVnCUz95V3+drp2yHtkJbX8EW/ZZ1a0Y3HL3ERFOynyI83mS6mF69dw2qRQLTTstbqtIVvmsr6EqqPUKygpdZaM67qGEVmgmhpk7E9SN++qtx05sKwytEZQ/RxBtJZBHffX3Pka1K23Sni56MF05hysETUyjr7olTdBKf/3WKma4/aV2UJExsPbz7er4okg7txDidjBrVcQOQHYKoTiDoOcQTTjmTZMORNMRmZJJIt0HUSK3DW9UAFuGff4npMzECSu4QC/e9nKwAKb8rhPq4acipQHbHPvsC7gSCIHAb9vK41X708tkWZn3ulBnZ3f27xB5iBS6Pm/GlO+BwnsX5QoXnoXe4PDZmT6NpuHFcRt/LFkkPcUlHjMX5ZXYwFPdnqNHEucYPegcxME79B5VbY9Bmq+Qf9E7GQBzXYtlag8atMjUtUp3aDy4ZT0GD6GH7fKjJjGme06TKTiPT2TLO8lmpmjsiqt34Ll1PWPWJ8aaADRVX691kLHHra9QybNX6CCnCbsX4K8SCoCbE72Q3PLqnI7r7Dzc8vI+K7t3Yd9WhIArH1Q3SL405MNQrPSj1qr3sQdabAk9qux9Zqk2dx2Zxec+85VlsnsoFmmdn1tAEmMXh9n3N7sOuiBMnLZB/l9edfzNzQdCCm2NNyhe7F3dAHU/3cszEGQWjanaOb5kfYo/IWJPZn+nHIC4iw0MChHAfVctdgInlqFIdHqXUi+eeOpVL59Jd9TS3vLyMp+yMg6RPdnYfkkEkSkAwP4Ppw7ihJq310GI2i21i1WnpGTty/PiUhMdOqW3v2/jY1Q9Xx/JXbXFxFuPF8qszepmJnKbeifp3IUVLm1Wqu0Jd53Ynu4OG1h5bi7bW3ZpXeO5F5PNzxUOiuekD1lszEzLVmgYsCYvObDhU9j7kvXzmlP1xB+s+i0LXW/dH7IcVKgpc0jwTQcndES/0L9bdWndT5yN+csUPHxzyjRKHpKwirq+hvDw7lqQecPr9oZLojE+2FvYjtAN6js2p1qGaPjwUcba3of5QPaqDaPav+IQEMbxYN/CoVdYTtJrXwQtxQkLbMqv/ywfK/we/l7Lft8JOQ/iKwf8R/3+RJz5N3k7YuGBi6UcApScw2tKQjjlFTTNPOoMAJcdJ+/SkcZLXbdrOuu4KtSDuOEYbQHrkAfkoLfaa9s/b6hytlzdtAzkRNyOVlpF+Uh8ptFyWUhekq4bSWtKBQBvnPWCjuroz9lLDP1HlYdCOF0J3of43VvaHVVAhTOlkeEtdoZxcsCB4pTPAv0xqynNE94htYoDo+m8oSukZATj/n4ZFAPDsGuCfpSwN7rchOjC1rFGZRz0sJpBCv5hChkqiaEyMKB7TQJSMMS/mURWtG5ZBiwmgYEQcgCrIlRYzCEL+YgIlri2mCMIDUTTmmyCewshEyZioxTzaMYnNlKEis/Ss9MgIgkdV3BXpGIzMkUFGZw7OvXvhkyz47IDvx9p7/pAzIVjNxlOi8BUDcnk15Es5FzHKcPTqpeCOoXNRJY4n1DKuRNJ+MjFUjWMdfW3gkRFEW/6oFPeNScdg+DKQ0ZmDlOHe476eLyzPDjj+FAjxT06t0+bhKDNj03TiK4Gc9oRtJLBfyjlhhlHK4Ry98tJquSx/F5VEl3VCLWNVDivtTdiFTFp9XG+0FxMdC/Skr7cuINLQ2NTc0trW3tHZ1d3TmzpN2gIK1Psp63hB7mUUoVDmZsBrG1xx9l2tR0WMdkgT3lOZLrezjv0MoaDu7Yw3gtiYfW07wxF7/xRNefnNAJeWJw+dXJGvLX1dAYMW5O4Vw4kgdPK5jZqWj59+FhBSvaRrNQA=') format('woff2'),
url('iconfont.woff?t=1546593114550') format('woff'),
url('iconfont.ttf?t=1546593114550') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1546593114550#selfAllIcon') format('svg'); /* iOS 4.1- */
src: url('iconfont.eot?t=1557902559623'); /* IE9 */
src: url('iconfont.eot?t=1557902559623#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA+sAAsAAAAAHKQAAA9eAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGEAqnNJ8nATYCJANYCy4ABCAFhREHgW4bnxczkpJWF7L/+sCUIZpMaO8LOMbuL6YQFJLkrJ1PbkhOrndfEe/MmUvSPNSnTarkpP9KUDi0R/d68M+3H+2+mfkui5gkMc1mncRmxBqhc0jZLBTx0Nif5zf3571LvEc9wg9bP0y0V0wb2KbYDKtYoj1X4FhgATab3WBUMvx/HVaiP7oGCAJgPje/ILJ3x0Qa5JtETlSKZmRFnYZp4V03AmTXYz9ZE0Ha/Hzgv5mHhFVqQDm5XyAdmzYNwbJ4yka8FWgrrz29I/87xspy4P/mSpsps00RheqrIilmkhxMZg7+8eQwe6VsStmUZguEcmV9+3xynBKCLrsqWSFrlC8IxJYSviaoHa7t5ueHgJhZrEC79x4+TYhDMcVCt65fPU8YysdldBVhti84rkNPYRKae8YLPLG/vn6xTiEYPIvS5PErey6x/au6NmfKmWkqGM0J4OFEYIEVgAPjhKX/uXSFzWKR7HgLLGKO/Cj9r0Ygkqt0FltlneNumXTfy2+z2tCurv1fVaR1O4Gb66rMFYtYorZeNv6K/86DjpachoKQEg+fioiajARhiLE4UgKQD74UQOZSQAdfpes+NwAtPADI4RFAA88BCngFEMJbgBLeAXjwxQA+fBUmVfg6TJrlxwFq+E2ADH4LIIFPAgh+H8DAXzIcMXybBVibbwBw8F0AKfwaFgEK683jrADOgb8DwgayXtj+EIfBvxzMHSfhEeiqxZAaYtvhRUqVon2Zebsuntw0TVFZtsvThUWcpoOdMY5VFUdLpidZlGeaNWvmDFW0WVp2z7JULmwcL07rOvQDFpVx40dB3Gd8cbeTd+CN2854wLTvzThdtwfPXXOuezfpDegKKj3usCVa46Z33bnm3lh1MlVpaPai75kftKyrF0EQwYgaPfuXtCzZME8kahriId5phGbCiQid+As9qvigVffSn55XggyJJquTSvORd8fjHXHVhTcU3jiN3a4z4/Vpb45r4mYNsqb5YKAILSJMyNrmiSnRuAlq4bj36GeyYyAJpurqf7KF6FTJy5j3B/BAh9wg9vFJ7iMcHd3g0Md1AWay19cv/c2WtvLa1Va9Uyq6jkOr/5GsosYwFsOSmu2FhUOwafY+FMOk3QtRa1dKnkGzggK9+z6rYX8A8QHmGO3MGwySjjHzQdC2E+OxFsaatj4LJETiV66Lps6efX8wNIXmdnXHYKcGWGBw4Fmd9Le0eqPrDBPEqx8BRIbtpg6xOGdUsmDeot+FTaV7nMgcjv8pP8x09kiywO9WSu3eULbRr5dbM4OktHAm8MzMAlI1+3izI474TG+22xdqUYXR3pl0LJr+B7yW0Tr/3cWzw42TQM632FQQK50Hio9Xs4gxPecwrdS+QW/Wi52bw/nwRq3QvKa4rmvq3FTzVGwscq4UuMrCuffzVNpL585ejGYvWzLXjg6ML0o/Sd7uZJWNBbiseapJtaXCdJlirBxIaxkFlqSLs2jbKiu87erLVwq36RgrlrOhR1urVnCvQU37c5lgkcDmLrri45+JlAAZI/QPmc0jqLEE438h+IrHKI7FD1XIiUXl1vXRnH+t0nNpKH/wZj33f3G2lLz57+y5uf3xvP07e7p7bQQcdliCdgio7MAlCVeHXffDD20SpupBSyR974MPuCdT++AbG2zviz+BHd7AaxkEIJLGWi+SXx8o/yW39Q+JjJMRA0ZTn+8v9Pe5v9ceC7IQpPJB6pxzs+Jo6jYCFyMEeNIiVGgaXnqfwjlAcBHyF0OB7DLlNOPAQnnaqsJPJO25+hafpFB6bncdA8l6RVKXZe4lOSm9OuUuMxJsCyN+wiwT23unhXoYCk63kok0d7uDsncnNXvpgfS3fvpdXPlFEICLR4eSKu0Bf44qJivN7kAmmKmWO/3hbNibndNbcHuqKvvH6cxnjD2lC2/G8gffflc+/3o0t+/Vzua1gVxw/d3YWUtsF8LMS+ntp002BPK2at9ApNfkfVPotxbbui3bu9E1harSq062+RDIiEL2a60QEkwIQhDtUe843mAWXdx8RbtKaWd5EYW3Wv2d5zqW2C4cKXIq4kXvN3LzzInt+caZcVrXBzNasqQUjt1YwnQ1boGVxa82sijknJJVIiZ5I7GNseju2UvbbmUx853AQJngeBW1vDrpnFSzROHck6r6k2zQcLlf2Z3VuD2UTdUC8tJl0jOW2FjU4jDFt/Ito/KahpvzS/miApI1RUPgnEilKeDpOmBvDypdwcLyRgUwDr/+B0BAAAIYPMR0HqjbZUtART0KmywJINg8qxh3fNG7aMX0ar98hUAU1G9JodAb208+m+0QDKe9q+JEKN/TT43y0YGio5NqpgeYjhmf2q7ELGRRu1vPnHEfe7+vEzFFKRbLjBLt7cDkKHSopuYQmja+62XzVdPlmb3n3mb88w/j9oCgRQchfIzM4KCcIWNod1Ze11jhWWs65+wabIQp4UnaA0WTYjR5G8I1fSZBUi3T4P9Qp6edFPmLzW0W7tEmh4XplzOlS+HQ2kwrKbF8/NkicRIj9rb767OStWQH0vjDWXr/9r1attMi+fmjxEJaM2uHFnaZUmpKV6VNNIIIVnWfPNIYZzhNt7fTp+3TNY4UZ4vqVyhui7LFW7INcXV4CB2C191/09lbssWi24oV9SJxdu629dhEWH0ADA57wDj0T81tpGLztBmHYOrUXfr+xza/1h6P6zuqQItsNZcOITA2siG7/7fAVecGDJoZHXF9WOwZCV/EJ5Qh0hfdw1IdfHb8v+bdPW6wfq9KxRPZEufwdTM2bABMuNd6a37/JatykrfM2bxPXWC4OdME/29wElknBY0GthkZbj2IZDbqpLpG5jbbGvVj9CqAYLTP1t3oujyva92wWXj0mE7as/dXZo0b0jKTFbuK37viQT/EDQ5gd58+CRdFr+bUp7x7231oa/97okARuGTXrcWSYvI6eVNyc+stp5e8z3nBYZWYBmeXnCgx8iP5xpLqUGLIfUytEbIcmeNd1Lfa6eVEFmniRFplEscLg7696tm/iKtic56S5i59JMvBBACNJj1hEGzGUzD0yT1j+1hejLfSconx9SvDyLwEIcOPkF2BMECdTugN5E1ysp5r0L+eFqCw1A6KTbx3q0Hp3LjRJKOkJitzk9NVSsmwkmiWgtS0aWPynf8qNcOAtnnQY+ON033lmdxx/PT29b2PseO8xuTLN0ZcOfc8M3y5MJ4SPtSnGJMv3dDGumeFW69QDvzDni1BMbw8jrrko7PPMfZwKPLUfL0BCurGV7sLpYCkd4sWgEoFCoPVuItRKrXxT7wxTlWarhjrKnZ0MXcxdbafH+zxTBZMhknUJE/xSfrk4YPZQ7N3OqCJiVJIztNoXmwX7TpIk6DEJks4up5or6d0L9qHzMeI7+VwdWjdJ/nSLmMof8103Pp71Jp3uWtGU+ld5PYl4igVHlzLmXMkMTP+/4mLRzDa86gHsPLavZVIvdx7D9Byzs0fK7XoyH39djVVMCF9zhFObTBKm46ZzZiROU0maD4mczqYKwcv/4FZzU0H9RKDClPjsxchFdKnx/cBePb6uw/WbMQdEJDXCfgUuUhuMaTdZFP+HnI1+L6ZB5A6Il59/waOHAqlkGOHbvKAF4ibxBnafD5zj0kdcyJeENcJinSTa7/7HDHJ7PPZSI8/9bl0Nekmwi8OWw1vIdZqIF1ELfs6mfeOEXD3u88uA5nD9w2ii1RfaBOuwMz0F6FDrJDYhbwvtBlT4KbXeewShdghdEwJJWbJl4DGMxBD2NLLHuiLLRu7blSPcypshi5X5xMIizLkk/Nmzrqnp6OjNB2Odj1AO/Ac3EH36Wd7eqVQsdQFXfxDRYCJgo3niKOtjSF4SFPL0ZYm6mssv1xi4uN8U8lR6beWXU1zsa+xXSIXcY1wxUKoZPLvNsMjchM20v3p7rERbmGAmNY5W1oOsJHsu2fM+5nyI5nqrbzfeAO3VFi2SrdW5GgEby7smHoRZ76P6LO2q4pv8zS1R8Z02AHm9jbP+yWz2/sLl7+Fzm02Nn+Vn7vU+T0McM7phBWsLc7qOyNq/E0/Y1DqQct8bB4m5QalhnAMC4Kz+jmKoaATEogC5QJr3sIHDwpREbprGhV25oU6O669hqfY7Sl4Ki5RHEyfVCwFC4K+qF+LTqtlGpiGrEuMyMzLi1W2+TVOajJwIg60HIjglBiycnWqF8crSk3SCqpHuwrobzHdLN3wvxNobt14jvByYKg+4VTtqYGn3DVP3gS/flK3JIxcs+CI3qK0GFELdgaEWYamcT/7featX3kla/EQH8P/iP5K0BUcf8ZPO8eWwix5IegN/eZw5eEKKxyiVnT98sXEO8YysTrq6EhEZ549Ao+7avZ6/VlhqT8Zz3AejqZCYs66XlN70YH+EGn46O/1p2kKGBv/jFIqmfAcDi+8rdeY0ow+DC5gKpWTQg/8x1vI+0/2War6HA/nbOUHyP4j77/tobzhvGESOQAK/v8HYOoelY631TseIE23+x4BiLQs9bJEFKlWuot6Oi5VaDJqmV+QDt1FQ9RWzfhXdYf3aL57yhM0qInSo/g9uWscCnX/sB68pgtxD6lk1WoXsqol0lA/9WqwI91mBhRSpPwSUvyLrC7+3TkjnEMN/pXg/ict5Ysqm+3YlDU0EycEA0qZgH9/GQU3cu/pt4Ke8fpv6XonZT08/UeLPhQaqzvBv70qa2iSs7rCmkmTkPEwwEAAcwZYSGAxci3XIa/lFuS33D8ghuUw4cQJNJAPCMQgAZZBoTRA0MPNAQZyeDPAQg/NyLX8VfE6Ylzkt5QPiOEsFn2aCRCM9Ch+IATGoyhuQsvglRbCg4RW3Vn7FiY/C1OzBXpf2Zv5i5Q0qWI+mQnmvKBHai4incsFsxKKghPPNV8YWhtEpHBCyZOKOR6mUyWKnMjgagMeCIHNIY+C4jaulsGrcB6Q0Ko7qdy+ZX07n1hmC5S9FgL0qxVmWj4ygjkTZsXQC0YrutohYrzncgGrQgl9WQpO8DxorSm/DYIoru2EkidUFZx4YKpuThVlk26z3Hlh7NA1Ku94LyMrJ0++AoWKFCtRqky5CpWqVKtRq069BnqXdJLhjNRLyKx9mZoeL22wRXZdKcdFCKafGOhPZWuHev2vlGer3bxzNYMvdPea8aohNObr21cJjtj7F9HYSHjTw7nltINOqnTEHlzyKRe9Jkf0ZQUEkpG6F/SCfN+pIz5uHn//biuXtRHTslYDAA==') format('woff2'),
url('iconfont.woff?t=1557902559623') format('woff'),
url('iconfont.ttf?t=1557902559623') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1557902559623#selfAllIcon') format('svg'); /* iOS 4.1- */
}
.selfAllIcon {
......@@ -35,6 +35,10 @@
content: "\e615";
}
.el-icon-self-star_full:before {
content: "\e627";
}
.el-icon-self-iconset0481:before {
content: "\e768";
}
......@@ -71,6 +75,10 @@
content: "\e60e";
}
.el-icon-self-wujiaoxing:before {
content: "\e614";
}
.el-icon-self-character:before {
content: "\e62e";
}
......
!function(i){var c,o='<svg><symbol id="el-icon-self-discover" viewBox="0 0 1024 1024"><path d="M544 288c0-52.928-43.072-96-96-96s-96 43.072-96 96 43.072 96 96 96S544 340.928 544 288zM416 288c0-17.632 14.368-32 32-32s32 14.368 32 32-14.368 32-32 32S416 305.632 416 288z" ></path><path d="M304 448C259.904 448 224 483.904 224 528 224 572.128 259.904 608 304 608s80-35.872 80-80C384 483.904 348.096 448 304 448zM304 544C295.168 544 288 536.832 288 528S295.168 512 304 512s16 7.168 16 16S312.832 544 304 544z" ></path><path d="M640 736m-64 0a2 2 0 1 0 128 0 2 2 0 1 0-128 0Z" ></path><path d="M887.84 268.672c39.744-60.672 64.256-113.184 64.224-148.96 0-22.976-9.312-36.928-17.12-44.576-38.08-37.376-110.016-3.2-160.768 25.664-15.328 8.736-20.704 28.288-11.968 43.648 8.736 15.36 28.32 20.704 43.648 11.968 49.408-28.16 73.248-33.088 82.496-33.696-1.504 41.376-95.328 202.432-330.208 433.504-226.368 222.72-398.656 324.672-442.24 325.376 0.96-11.36 8.768-44.448 58.528-118.688 1.312-1.888 2.4-3.968 3.232-6.144l2.304-5.92c0.256-0.64 0.288-1.344 0.512-2.016 8.8-10.24 10.816-25.088 3.392-37.248C147.328 651.616 128 582.592 128 512 128 300.256 300.256 128 512 128c59.296 0 116.096 13.12 168.864 39.04 15.936 7.776 35.04 1.184 42.816-14.656 7.776-15.84 1.248-35.008-14.624-42.816C647.424 79.328 581.12 64 512 64 264.96 64 64 264.96 64 512c0 76.064 19.488 150.496 56.064 216.64-0.192 0.576-0.64 1.056-0.8 1.632C51.168 832.608 35.2 895.68 68.928 928.768c11.008 10.784 25.632 15.584 43.072 15.584 39.328 0 92.864-24.928 150.08-60.896C336.096 933.408 421.952 960 512 960c247.04 0 448-200.96 448-448C960 424.864 934.912 341.248 887.84 268.672zM512 896c-68.288 0-133.728-17.888-191.84-51.552 128.288-92.256 258.432-218.56 282.848-242.624 89.152-87.712 178.56-187.04 244.64-275.968C879.2 382.592 896 446.112 896 512 896 723.744 723.744 896 512 896z" ></path></symbol><symbol id="el-icon-self-settings" viewBox="0 0 1024 1024"><path d="M512 608c-52.928 0-96-43.072-96-96s43.072-96 96-96 96 43.072 96 96S564.928 608 512 608zM512 480c-17.632 0-32 14.368-32 32s14.368 32 32 32 32-14.368 32-32S529.632 480 512 480z" ></path><path d="M631.04 960c-10.016 0-19.712-4.736-25.856-13.12l-73.408-100.48c-13.664 0.832-25.92 0.864-39.584 0l-73.376 100.48c-7.904 10.816-21.728 15.616-34.656 11.872-34.592-9.888-67.488-23.456-97.76-40.32-11.712-6.528-18.112-19.648-16.032-32.896l19.2-123.264c-9.824-8.704-19.136-18.016-27.84-27.808l-123.264 19.2c-13.056 1.984-26.336-4.352-32.896-16.064-16.896-30.368-30.464-63.296-40.32-97.824-3.68-12.864 1.056-26.72 11.904-34.624l100.448-73.376C177.152 524.96 176.928 518.4 176.928 512s0.224-12.96 0.672-19.776L77.12 418.816c-10.816-7.936-15.584-21.728-11.904-34.656 9.856-34.496 23.424-67.392 40.32-97.792 6.56-11.712 19.712-18.048 32.896-16.064l123.264 19.2c8.736-9.824 18.016-19.104 27.84-27.84l-19.2-123.264C268.288 125.184 274.72 112.064 286.432 105.536c30.4-16.896 63.296-30.464 97.76-40.32 12.928-3.648 26.72 1.056 34.656 11.904l73.376 100.448c13.568-0.896 25.824-0.896 39.584 0l73.408-100.48c7.904-10.848 21.664-15.52 34.656-11.904 34.464 9.856 67.328 23.424 97.76 40.32 11.712 6.528 18.112 19.648 16.064 32.896L734.432 261.76c9.824 8.736 19.104 18.016 27.808 27.776l123.328-19.2c13.152-2.016 26.336 4.384 32.864 16.032 16.896 30.4 30.496 63.296 40.352 97.824 3.648 12.896-1.088 26.688-11.904 34.624l-100.48 73.408c0.448 6.816 0.672 13.376 0.672 19.776s-0.224 12.96-0.672 19.776l100.48 73.376c10.816 7.904 15.552 21.728 11.904 34.624-9.856 34.496-23.424 67.424-40.352 97.824-6.528 11.712-19.488 18.048-32.896 16.064l-123.296-19.2c-8.672 9.76-17.984 19.072-27.808 27.776l19.232 123.296c2.048 13.248-4.352 26.368-16.064 32.896-30.24 16.832-63.136 30.4-97.76 40.32C636.928 959.584 633.984 960 631.04 960zM337.152 872.672c13.984 6.752 28.544 12.704 43.552 17.92l70.528-96.576c6.784-9.28 17.984-14.272 29.472-12.896 20.576 2.336 42.08 2.336 62.624 0 11.84-1.376 22.72 3.616 29.472 12.896l70.528 96.576c15.04-5.184 29.6-11.168 43.552-17.92l-18.432-118.368c-1.76-11.36 2.72-22.848 11.712-30.016 16.384-12.992 31.264-27.872 44.16-44.128 7.168-8.992 18.4-13.504 30.016-11.744l118.368 18.432c6.752-14.016 12.736-28.576 17.92-43.552l-96.576-70.528c-9.28-6.784-14.208-18.016-12.896-29.472 1.152-10.272 1.952-20.704 1.952-31.296s-0.768-21.024-1.952-31.296c-1.312-11.424 3.616-22.688 12.896-29.472l96.576-70.56c-5.152-15.008-11.168-29.568-17.92-43.552l-118.4 18.432c-11.328 1.696-22.816-2.688-29.984-11.744-12.896-16.256-27.776-31.104-44.16-44.128-8.992-7.168-13.472-18.592-11.712-29.984l18.432-118.4c-14.016-6.752-28.576-12.736-43.52-17.92l-70.56 96.576c-6.784 9.28-17.696 14.368-29.472 12.928-20.544-2.368-42.016-2.4-62.56 0-11.52 1.344-22.752-3.616-29.536-12.896l-70.528-96.576c-14.976 5.152-29.536 11.136-43.552 17.92l18.432 118.368c1.76 11.392-2.72 22.848-11.744 30.016-16.32 12.928-31.2 27.808-44.128 44.128-7.168 9.024-18.56 13.472-30.016 11.744l-118.368-18.432c-6.752 14.016-12.736 28.576-17.92 43.552l96.576 70.56c9.312 6.784 14.24 18.08 12.896 29.536C241.696 491.008 240.928 501.408 240.928 512s0.768 20.992 1.952 31.264c1.344 11.456-3.616 22.688-12.896 29.504l-96.576 70.528c5.184 15.008 11.168 29.568 17.92 43.552l118.368-18.432c11.392-1.76 22.848 2.752 30.016 11.744 12.896 16.32 27.744 31.168 44.128 44.128 9.024 7.168 13.504 18.624 11.744 30.016L337.152 872.672z" ></path></symbol><symbol id="el-icon-self-new" viewBox="0 0 1024 1024"><path d="M963.072 446.336c0-211.744-200.96-384-448-384s-448 172.256-448 384c0 116.48 63.008 226.048 172.896 300.672 14.656 9.984 34.528 6.144 44.448-8.512 9.952-14.624 6.112-34.528-8.512-44.448-92.032-62.496-144.832-152.768-144.832-247.712 0-176.448 172.256-320 384-320 211.744 0 384 143.552 384 320 0 176.448-172.256 320-384 320-1.984 0-3.68 0.768-5.568 1.12-15.104-2.688-30.464 5.216-35.776 20.192-6.144 17.376-46.368 46.656-94.144 73.792 17.472-58.208 9.088-70.688 3.52-78.976-6.72-9.984-17.92-15.936-29.92-15.936-17.664 0-32 14.304-32 32 0 5.824 1.536 11.264 4.256 15.936-3.232 18.24-17.216 60.864-33.088 99.872-4.928 12.096-1.984 25.984 7.36 35.072 6.112 5.888 14.112 8.992 22.272 8.992 4.384 0 8.8-0.896 12.992-2.752 36.48-16.256 147.68-69.12 187.616-125.664C766.144 826.496 963.072 655.904 963.072 446.336z" ></path><path d="M342.624 604.544c4.672 2.4 9.664 3.52 14.592 3.52 11.616 0 22.816-6.336 28.512-17.408l71.584-139.488 91.584 142.208c5.824 9.024 15.744 14.528 26.464 14.688 0.16 0 0.32 0 0.448 0 10.56 0 20.48-5.216 26.432-13.984l128.8-188.864c9.984-14.624 6.176-34.528-8.416-44.48-14.624-9.952-34.528-6.208-44.48 8.416l-101.632 148.992-95.456-148.288c-6.176-9.6-17.152-14.752-28.48-14.656-11.424 0.576-21.696 7.2-26.912 17.344l-96.896 188.896C320.672 577.184 326.88 596.48 342.624 604.544z" ></path></symbol><symbol id="el-icon-self-album" viewBox="0 0 1024 1024"><path d="M256 448m-64 0a2 2 0 1 0 128 0 2 2 0 1 0-128 0Z" ></path><path d="M714.688 256 181.312 256C116.64 256 64 308.64 64 373.312l0 405.376C64 843.36 116.64 896 181.312 896l533.376 0C779.36 896 832 843.36 832 778.688L832 373.312C832 308.64 779.36 256 714.688 256zM768 778.688C768 808.096 744.096 832 714.688 832L181.312 832C151.936 832 128 808.096 128 778.688L128 373.312C128 343.936 151.936 320 181.312 320l533.376 0C744.096 320 768 343.936 768 373.312L768 778.688z" ></path><path d="M842.688 128 256 128C238.336 128 224 142.336 224 160s14.336 32 32 32l586.688 0C872.096 192 896 215.936 896 245.312L896 640c0 17.696 14.304 32 32 32s32-14.304 32-32L960 245.312C960 180.64 907.36 128 842.688 128z" ></path><path d="M672.64 448.736c-129.056 0-143.936 72.672-152.832 116.096-7.2 35.168-10.4 39.968-28.64 42.88-34.976 5.568-44 0.192-58.912-8.8-15.456-9.312-36.672-22.08-77.952-23.168C227.616 573.12 194.112 723.84 192.704 730.24c-3.712 17.28 7.264 34.304 24.544 38.016 2.272 0.512 4.544 0.704 6.752 0.704 14.752 0 28-10.24 31.264-25.248 0.224-1.056 23.232-104.032 95.488-104.032 0.64 0 1.28 0 1.92 0.032 24.352 0.608 33.632 6.208 46.496 13.984 24.032 14.464 48.352 25.76 102.08 17.184 64.192-10.272 74.432-60.192 81.184-93.216 8.32-40.512 13.312-64.928 90.144-64.928 17.696 0 32-14.336 32-32S690.304 448.736 672.64 448.736z" ></path></symbol><symbol id="el-icon-self-cc-book" viewBox="0 0 1024 1024"><path d="M682.697195 859.707167 242.160807 859.707167c-12.152784 0-22.025643-9.893324-22.025643-22.026666 0-12.130272 9.872858-22.025643 22.025643-22.025643l440.537412 0c12.130272 0 22.025643 9.895371 22.025643 22.025643C704.723861 849.813842 694.82849 859.707167 682.697195 859.707167z" ></path><path d="M841.773214 158.324912c-12.955056 0-23.51967 10.543124-23.51967 23.520693l0 705.638185c0 12.95608-10.56666 23.520693-23.521716 23.520693L277.262256 911.004483c-38.911218 0-70.564126-31.650861-70.564126-70.564126 0-38.910195 31.652907-70.563102 70.564126-70.563102l423.382707 0c38.911218 0 70.565149-31.652907 70.565149-70.563102L771.210112 134.803195c0-38.911218-31.653931-70.564126-70.565149-70.564126L230.218824 64.23907c-38.911218 0-70.563102 31.652907-70.563102 70.564126l0 705.637162c0 64.823378 52.785204 117.608581 117.606535 117.608581l517.468548 0c38.909172 0 70.563102-31.653931 70.563102-70.565149L865.293907 181.845605C865.293907 168.868035 854.727247 158.324912 841.773214 158.324912zM230.218824 111.281479l470.426139 0c12.955056 0 23.521716 10.543124 23.521716 23.521716l0 564.510958c0 12.955056-10.56666 23.520693-23.521716 23.520693l-423.382707 0c-26.439162 0-50.90232 8.820899-70.564126 23.566742L206.698131 134.803195C206.698131 121.824603 217.241254 111.281479 230.218824 111.281479z" ></path></symbol><symbol id="el-icon-self-iconset0481" viewBox="0 0 1024 1024"><path d="M512 42.666667C253.866667 42.666667 42.666667 251.733333 42.666667 512s211.2 469.333333 469.333333 469.333333c260.266667 0 469.333333-209.066667 469.333333-469.333333S772.266667 42.666667 512 42.666667zM512 938.666667C277.333333 938.666667 85.333333 746.666667 85.333333 512 85.333333 277.333333 277.333333 85.333333 512 85.333333c234.666667 0 426.666667 192 426.666667 426.666667C938.666667 746.666667 746.666667 938.666667 512 938.666667zM716.8 494.933333 716.8 494.933333l-4.266667-2.133333c0 0 0 0-2.133333 0l-292.266667-168.533333 0 0C413.866667 322.133333 409.6 320 405.333333 320c-12.8 0-21.333333 8.533333-21.333333 21.333333l0 341.333333c0 12.8 8.533333 21.333333 21.333333 21.333333 4.266667 0 8.533333-2.133333 12.8-4.266667l0 0 292.266667-168.533333c0 0 0 0 2.133333 0l4.266667-2.133333 0 0c4.266667-4.266667 8.533333-10.666667 8.533333-17.066667S721.066667 499.2 716.8 494.933333zM426.666667 646.4 426.666667 377.6 661.333333 512 426.666667 646.4z" ></path></symbol><symbol id="el-icon-self-guanbi" viewBox="0 0 1024 1024"><path d="M567.001395 495.286374 966.070272 96.236851c10.904781-10.905395 10.904781-28.573798 0-39.481242-10.907853-10.905395-28.575949-10.905395-39.482778 0L527.519539 455.806157 128.45271 56.75561c-10.905805-10.905395-28.574925-10.905395-39.481754 0-10.906829 10.906419-10.906829 28.574822 0 39.481242l399.067955 399.049523L88.970957 894.337946c-10.906829 10.906419-10.906829 28.573798 0 39.480218 5.45239 5.452186 12.652646 8.177254 19.741389 8.177254 7.197184 0 14.285926-2.725069 19.740365-8.177254l399.065907-399.052595L926.587494 933.818061c5.454438 5.452186 12.652646 8.177254 19.740365 8.177254 7.198208 0 14.28695-2.725069 19.742413-8.177254 10.904781-10.906419 10.904781-28.573798 0-39.480218L567.001395 495.286374z" ></path></symbol><symbol id="el-icon-self-xuexiao" viewBox="0 0 1024 1024"><path d="M925.76107 278.522458l-16.542768 49.136094c0 0-79.438237-196.570981-314.467111-245.720378 0 0-96.866165-21.942755-198.602244 0-13.964036 7.977695-254.891248 85.180008-297.91718 311.248813 0 0 9.928117 68.815295 49.646724 0 0 0 23.170722-176.919409 281.368272-262.098393l182.061522 0c0 0 211.844849 72.074525 264.812201 245.720378l16.556071 81.906451 49.640584 16.392342 16.556071-196.584284L925.76107 278.523481z" ></path><path d="M876.120486 636.506688c0 0-23.170722 176.919409-281.369296 262.098393L412.690692 898.605082c0 0-211.844849-72.074525-264.813225-245.720378l-16.548908-81.906451-49.653887-16.392342L65.126788 751.170195l33.104979 0 16.548908-49.136094c0 0 116.961852 225.768977 314.467111 245.720378 83.788312 19.951401 198.61657 0 198.61657 0s254.884085-85.180008 297.896714-311.24779C925.76107 636.506688 915.832953 567.691393 876.120486 636.506688z" ></path></symbol><symbol id="el-icon-self-13" viewBox="0 0 1024 1024"><path d="M147.2 180.8h728c41.6 0 76.8 35.2 76.8 76.8v552c0 41.6-35.2 76.8-76.8 76.8h-728c-41.6 0-76.8-35.2-76.8-76.8v-552c0-41.6 35.2-76.8 76.8-76.8v0zM147.2 926.4c243.2 0 486.4 0 728 0 64 0 115.2-51.2 115.2-115.2 0-184 0-368 0-552 0-64-51.2-115.2-115.2-115.2-243.2 0-486.4 0-728 0-64 0-115.2 51.2-115.2 115.2 0 184 0 368 0 552 0 62.4 51.2 115.2 115.2 115.2z" ></path><path d="M201.6 419.2c0 44.8 36.8 81.6 81.6 81.6s81.6-36.8 81.6-81.6c0-44.8-36.8-81.6-81.6-81.6-44.8 0-81.6 36.8-81.6 81.6v0zM240 419.2c0-24 19.2-43.2 43.2-43.2s43.2 19.2 43.2 43.2c0 24-19.2 43.2-43.2 43.2-22.4 0-43.2-19.2-43.2-43.2z" ></path><path d="M675.2 499.2l203.2 203.2c8 8 8 19.2 0 27.2v0c-8 8-19.2 8-27.2 0l-203.2-203.2c-14.4-14.4-40-14.4-54.4 0l-163.2 161.6c-30.4 30.4-80 30.4-110.4 0l-25.6-25.6c-14.4-14.4-40-14.4-54.4 0l-67.2 67.2c-8 8-19.2 8-27.2 0v0c-8-8-8-19.2 0-27.2l67.2-67.2c30.4-30.4 80-30.4 110.4 0l25.6 25.6c14.4 14.4 40 14.4 54.4 0l161.6-161.6c30.4-30.4 80-30.4 110.4 0z" ></path></symbol><symbol id="el-icon-self-grade" viewBox="0 0 1024 1024"><path d="M863.721739 554.295652c24.486957-48.973913 28.93913-102.4 28.93913-160.278261C892.66087 189.217391 734.608696 22.26087 527.582609 22.26087 320.556522 22.26087 162.504348 189.217391 162.504348 394.017391c0 57.878261 4.452174 111.304348 28.93913 160.278261L51.2 792.486957c0 0 95.721739 35.617391 193.669565 55.652174 64.556522 73.46087 117.982609 151.373913 117.982609 151.373913l129.113043-247.095652c8.904348 0 20.034783 0 26.713043 0 8.904348 0 20.034783 0 26.713043 0l138.017391 233.73913c0 0 57.878261-64.556522 124.66087-138.017391 97.947826-20.034783 193.669565-55.652174 193.669565-55.652174L863.721739 554.295652 863.721739 554.295652 863.721739 554.295652zM353.947826 903.791304c0 0-46.747826-60.104348-89.043478-102.4-62.330435-17.808696-144.695652-35.617391-144.695652-35.617391L215.930435 601.043478c51.2 66.782609 135.791304 129.113043 220.382609 149.147826L353.947826 903.791304 353.947826 903.791304zM520.904348 710.121739c-80.13913 0-309.426087-48.973913-316.104348-316.104348C198.121739 224.834783 351.721739 64.556522 520.904348 64.556522c169.182609 0 329.46087 162.504348 329.46087 329.46087C852.591304 650.017391 601.043478 710.121739 520.904348 710.121739L520.904348 710.121739zM685.634783 903.791304l-82.365217-151.373913c84.591304-20.034783 182.53913-84.591304 233.73913-151.373913l95.721739 164.730435c0 0-82.365217 17.808696-144.695652 35.617391L685.634783 903.791304 685.634783 903.791304zM527.582609 175.86087c-117.982609 0-213.704348 95.721739-213.704348 213.704348s95.721739 213.704348 213.704348 213.704348c117.982609 0 213.704348-95.721739 213.704348-213.704348S645.565217 175.86087 527.582609 175.86087L527.582609 175.86087 527.582609 175.86087zM534.26087 558.747826c-53.426087 0-169.182609-20.034783-178.086957-178.086957-4.452174-84.591304 95.721739-164.730435 178.086957-164.730435 84.591304 0 162.504348 95.721739 164.730435 178.086957C701.217391 505.321739 587.686957 558.747826 534.26087 558.747826L534.26087 558.747826zM534.26087 558.747826" ></path></symbol><symbol id="el-icon-self-quanping" viewBox="0 0 1024 1024"><path d="M664.035 409.382l244.223-243.378-0.837 137.922c-0.335 11.437 8.912 21.527 20.351 21.191h14.63c11.438-0.335 21.025-7.065 21.193-18.67l0.672-205.367c0-0.171 0.335-10.934 0.335-10.934 0.17-5.716-1.179-10.934-4.879-14.63-3.7-3.702-8.742-6.055-14.633-5.886l-10.428 0.171c-0.169 0-0.331 0-0.501 0.171l-203.69-0.846c-11.438 0.336-21.025 9.76-21.193 21.361v14.633c1.685 13.625 12.446 21.529 23.884 21.193l134.219 0.335-243.551 242.542c-11.101 11.104-11.101 29.095 0 40.197 11.104 11.269 29.101 11.269 40.203 0h-0.003M356.233 638.806l-244.393 242.544 0.842-137.253c0.336-11.435-8.918-21.523-20.355-21.193h-15.47c-11.438 0.335-21.025 7.065-21.193 18.672l-0.672 205.536c0 0.171-0.335 10.934-0.335 10.934-0.171 5.722 1.18 10.934 4.875 14.63 3.7 3.7 8.746 6.055 14.633 5.886l10.427-0.17c0.171 0 0.336 0 0.507-0.171l204.532 0.843c11.435-0.336 21.025-9.756 21.193-21.361v-14.63c-1.683-13.625-12.451-21.529-23.887-21.193l-134.222-0.335 243.38-242.539c11.104-11.104 11.104-29.101 0-40.203-10.929-11.268-28.757-11.268-39.857 0.001v0M964.271 947.109l-0.507-205.536c-0.336-11.438-9.76-18.335-21.194-18.672h-14.629c-11.439-0.331-20.521 9.759-20.356 21.193l0.843 137.927-244.393-243.214c-11.104-11.104-29.099-11.104-40.203 0-11.097 11.101-11.097 29.099 0 40.203l243.386 242.538-134.22 0.335c-11.438-0.335-22.034 7.739-23.887 21.193v14.633c0.335 11.437 9.76 21.025 21.193 21.361l203.69-0.843c0.17 0 0.335 0.17 0.507 0.17l10.428 0.171c5.716 0.17 10.934-2.016 14.63-5.886 3.698-3.7 5.042-8.912 4.875-14.63 0 0-0.169-10.764-0.169-10.934l0.004-0.002M152.885 126.645l134.22-0.335c11.435 0.335 22.031-7.739 23.883-21.193v-14.636c-0.336-11.437-9.753-21.025-21.193-21.36l-204.694 0.842c-0.17 0-0.336-0.171-0.509-0.171l-10.426-0.169c-5.722-0.17-10.934 2.015-14.633 5.885-3.698 3.7-5.050 8.912-4.875 14.633 0 0 0.335 10.763 0.335 10.933l0.502 205.536c0.171 11.435 9.759 18.335 21.193 18.667h15.475c11.437 0.335 20.519-9.753 20.349-21.191l-0.671-137.248 244.224 242.709c11.097 11.104 29.094 11.104 40.196 0 11.104-11.101 11.104-29.099 0-40.203l-243.38-242.703M152.885 126.645v0z" ></path></symbol><symbol id="el-icon-self-nav" viewBox="0 0 1024 1024"><path d="M888.838 319.775l-751.1 0c-23.944 0-43.339-19.553-43.339-43.646l0-40.012c0-24.093 19.395-43.645 43.339-43.645l751.1 0c23.923 0 43.334 19.554 43.334 43.645l0 40.012c-0.001 24.093-19.411 43.646-43.333 43.646l0 0zM888.838 587.509l-751.1 0c-23.944 0-43.339-19.533-43.339-43.64l0-39.998c0-24.115 19.395-43.647 43.339-43.647l751.1 0c23.923 0 43.334 19.533 43.334 43.647l0 39.998c-0.001 24.107-19.411 43.64-43.333 43.64l0 0zM888.838 876.17l-751.1 0c-23.944 0-43.339-19.532-43.339-43.627l0-40.017c0-24.093 19.395-43.641 43.339-43.641l751.1 0c23.923 0 43.334 19.548 43.334 43.641l0 40.017c-0.001 24.094-19.411 43.627-43.333 43.627l0 0z" ></path></symbol><symbol id="el-icon-self-mima" viewBox="0 0 1024 1024"><path d="M791.366 459.07l-459.174-0.791c-0.186-61.936-16.847-157.926 36.027-216.192 32.142-35.52 86.326-72.068 144.127-72.068 85.395 0 149.246 64.412 180.166 144.126 9.009 22.992 16.936 35.38 36.037 36.037 47.899 1.45 44.986-49.075 36.029-72.067C719.914 163.03 636.118 97.953 512.346 97.953c-84.12 0-130.475 17.265-180.154 72.065-76.009 83.746-72.259 219.151-72.067 288.26l-26.795 0.791c-25.045 0-45.273 20.034-45.273 44.667v378.249c0 24.774 20.269 44.755 45.273 44.755h557.99c25.009 0 45.273-19.989 45.273-44.755V503.737c0.046-24.678-20.218-44.667-45.227-44.667zM765.68 818.35c0 9.966-3.476 18.514-10.58 25.52-7.045 7.051-15.56 10.58-25.517 10.58H296.362c-9.966 0-18.472-3.478-25.475-10.58-7.051-7.049-10.624-15.553-10.624-25.52V565.635c0-19.878 16.166-36.054 36.098-36.054h433.212c19.932 0 36.107 16.176 36.107 36.054V818.35z" fill="" ></path></symbol><symbol id="el-icon-self-shipin" viewBox="0 0 1024 1024"><path d="M858.8 903.6H182.2c-61 0-110.8-49.6-110.8-110.8V279c0-61 49.6-110.8 110.8-110.8h676.6c61 0 110.8 49.6 110.8 110.8v513.8c-0.2 61-49.8 110.8-110.8 110.8zM182.2 208.4c-39 0-70.8 31.8-70.8 70.8v513.8c0 39 31.8 70.8 70.8 70.8h676.6c39 0 70.8-31.8 70.8-70.8v-514c0-39-31.8-70.8-70.8-70.8H182.2z" fill="#262435" ></path><path d="M225.4 903.6c-11 0-20-9-20-20V188.4c0-11 9-20 20-20s20 9 20 20v695.2c0 11-8.8 20-20 20zM815.4 903.6c-11 0-20-9-20-20V188.4c0-11 9-20 20-20s20 9 20 20v695.2c0 11-9 20-20 20z" fill="#262435" ></path><path d="M225.4 399.2h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-8.8 20-20 20zM225.4 556h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-8.8 20-20 20zM225.4 732.6h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-8.8 20-20 20z" fill="#262435" ></path><path d="M949.4 399.2h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-9 20-20 20zM949.4 556h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-9 20-20 20zM949.4 732.6h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-9 20-20 20z" fill="#262435" ></path><path d="M432 679.2c-3.4 0-7-0.8-10-2.6-6.2-3.6-10-10.2-10-17.4V412.8c0-7.2 3.8-13.8 10-17.4 6.2-3.6 13.8-3.6 20 0l213.4 123.2c6.2 3.6 10 10.2 10 17.4s-3.8 13.8-10 17.4L442 676.4c-3.2 1.8-6.6 2.8-10 2.8z m20-231.8v177.2l153.4-88.6-153.4-88.6z" fill="#262435" ></path></symbol><symbol id="el-icon-self-character" viewBox="0 0 1024 1024"><path d="M921.087359 990.72v-35.2A410.24 410.24 0 0 0 661.887359 576a307.2 307.2 0 1 0-300.8 0 410.24 410.24 0 0 0-256 380.8v35.2H101.887359a32 32 0 0 0 32 32 32 32 0 0 0 32-32v-34.56a345.6 345.6 0 0 1 691.2 0v35.2a31.36 31.36 0 0 0 31.36 30.08 32 32 0 0 0 32.64-32zM270.207359 307.2A241.28 241.28 0 1 1 511.487359 548.48 241.28 241.28 0 0 1 270.207359 307.2z" ></path></symbol><symbol id="el-icon-self-wenjian" viewBox="0 0 1024 1024"><path d="M752 80H272c-70.4 0-128 57.6-128 128v608c0 70.4 57.6 128 128 128h353.6c33.6 0 65.6-12.8 91.2-36.8l126.4-126.4c24-24 36.8-56 36.8-91.2V208c0-70.4-57.6-128-128-128zM208 816V208c0-35.2 28.8-64 64-64h480c35.2 0 64 28.8 64 64v464h-96c-70.4 0-128 57.6-128 128v80H272c-35.2 0-64-28.8-64-64z m462.4 44.8c-4.8 4.8-9.6 8-14.4 11.2V800c0-35.2 28.8-64 64-64h75.2l-124.8 124.8z" fill="#4A576A" ></path><path d="M368 352h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32zM496 608h-128c-17.6 0-32 14.4-32 32s14.4 32 32 32h128c17.6 0 32-14.4 32-32s-14.4-32-32-32zM368 512h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z" fill="#4A576A" ></path></symbol><symbol id="el-icon-self-xuexi-" viewBox="0 0 1024 1024"><path d="M996.5 287.1L567.6 68.8c-34.8-17.6-76.4-17.6-111.2 0L27.5 286.4C10.6 295 0 312.1 0 331.2c0 19 10.5 36.2 27.5 44.8l219.8 111.8v305c0 33.9 18.8 64.4 49 79.7l164.9 83.6c15.9 8.1 33.4 12.1 50.9 12.1s35-4 50.9-12.1l164.9-83.6c30.2-15.3 49-45.9 49-79.7V488.2L901.4 425v111.9c0 15.2 12.3 27.5 27.5 27.5s27.5-12.3 27.5-27.5V401.6c0-1.5-0.1-2.9-0.3-4.3l40.4-20.5c17-8.6 27.5-25.8 27.5-44.8 0-19.1-10.5-36.3-27.5-44.9zM721.8 792.9c0 13.1-7.2 24.8-18.9 30.8L538 907.3c-16.3 8.3-35.8 8.3-52.1 0L321 823.7c-11.6-5.9-18.9-17.7-18.9-30.8V515.8l154.2 78.5c17.4 8.8 36.5 13.2 55.6 13.2s38.2-4.4 55.6-13.2l154.2-78.2v276.8z m-179-247.6c-19.3 9.8-42.3 9.8-61.5 0L60.5 331.2l420.7-213.4c19.3-9.8 42.3-9.8 61.5 0l420.7 214.1-420.6 213.4z" fill="" ></path></symbol><symbol id="el-icon-self-PPT" viewBox="0 0 1024 1024"><path d="M855.5 345.9L616 106.5c-5.3-5.3-12.4-8.2-19.9-8.2H174.3c-7.8 0-14.1 6.3-14.1 14.1v801.9c0 7.8 6.3 14.1 14.1 14.1h675.3c7.8 0 14.1-6.3 14.1-14.1V365.8c0-7.5-2.9-14.7-8.2-19.9z m-53 514.8h-581v-695h376.6v204.2h204.3l0.1 490.8z" ></path><path d="M520.2 632.7h-49v101.9H405V443.5h121.7c70.6 1.8 107.2 32.2 109.8 91.3 1 66.1-37.8 98.8-116.3 97.9z m-5.3-138.9h-43.7v88.6h43.7c34.4-0.9 52-15.9 52.9-45-0.9-28.2-18.5-42.7-52.9-43.6z" ></path></symbol><symbol id="el-icon-self-statistic" viewBox="0 0 1024 1024"><path d="M838.33 659.732c0 33.422-21.592 54.388-54.39 54.388H240.059c-32.796 0-54.388-20.966-54.388-54.388 0 0-0.409-482.507-0.409-516.961h653.477c0 54.85-0.409 516.96-0.409 516.96zM76.892 88.655v54.389h54.389v516.689c0 64.45 44.707 108.776 108.776 108.776h163.166L294.447 958.87l81.909-0.353 108.45-190.006h54.388l108.45 190.006 81.909 0.353-108.777-190.36h163.166c64.069 0 108.776-44.326 108.776-108.776v-516.69h54.389v-54.39H76.893v0.001z m271.942 543.883c15.038 0 27.194-12.156 27.194-27.194V496.568c0-15.011-12.156-27.195-27.194-27.195s-27.195 12.183-27.195 27.195v108.776c0 15.038 12.156 27.194 27.195 27.194z m326.33 0c15.039 0 27.195-12.156 27.195-27.194V360.597c0-15.011-12.156-27.195-27.195-27.195s-27.194 12.183-27.194 27.195v244.747c0 15.038 12.156 27.194 27.194 27.194z m-163.165 0c15.039 0 27.194-12.156 27.194-27.194v-326.33c0-15.011-12.155-27.195-27.194-27.195s-27.194 12.183-27.194 27.195v326.33c0 15.038 12.155 27.194 27.194 27.194z" ></path></symbol></svg>',l=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(l&&!i.__iconfont__svg__cssinject__){i.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var l=function(){document.removeEventListener("DOMContentLoaded",l,!1),c()};document.addEventListener("DOMContentLoaded",l,!1)}else document.attachEvent&&(t=c,e=i.document,s=!1,h=function(){s||(s=!0,t())},(o=function(){try{e.documentElement.doScroll("left")}catch(c){return void setTimeout(o,50)}h()})(),e.onreadystatechange=function(){"complete"==e.readyState&&(e.onreadystatechange=null,h())});var t,e,s,h,o}(function(){var c,l,t,e,s,h;(c=document.createElement("div")).innerHTML=o,o=null,(l=c.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",t=l,(e=document.body).firstChild?(s=t,(h=e.firstChild).parentNode.insertBefore(s,h)):e.appendChild(t))})}(window);
\ No newline at end of file
!function(i){var c,t='<svg><symbol id="el-icon-self-discover" viewBox="0 0 1024 1024"><path d="M544 288c0-52.928-43.072-96-96-96s-96 43.072-96 96 43.072 96 96 96S544 340.928 544 288zM416 288c0-17.632 14.368-32 32-32s32 14.368 32 32-14.368 32-32 32S416 305.632 416 288z" ></path><path d="M304 448C259.904 448 224 483.904 224 528 224 572.128 259.904 608 304 608s80-35.872 80-80C384 483.904 348.096 448 304 448zM304 544C295.168 544 288 536.832 288 528S295.168 512 304 512s16 7.168 16 16S312.832 544 304 544z" ></path><path d="M640 736m-64 0a2 2 0 1 0 128 0 2 2 0 1 0-128 0Z" ></path><path d="M887.84 268.672c39.744-60.672 64.256-113.184 64.224-148.96 0-22.976-9.312-36.928-17.12-44.576-38.08-37.376-110.016-3.2-160.768 25.664-15.328 8.736-20.704 28.288-11.968 43.648 8.736 15.36 28.32 20.704 43.648 11.968 49.408-28.16 73.248-33.088 82.496-33.696-1.504 41.376-95.328 202.432-330.208 433.504-226.368 222.72-398.656 324.672-442.24 325.376 0.96-11.36 8.768-44.448 58.528-118.688 1.312-1.888 2.4-3.968 3.232-6.144l2.304-5.92c0.256-0.64 0.288-1.344 0.512-2.016 8.8-10.24 10.816-25.088 3.392-37.248C147.328 651.616 128 582.592 128 512 128 300.256 300.256 128 512 128c59.296 0 116.096 13.12 168.864 39.04 15.936 7.776 35.04 1.184 42.816-14.656 7.776-15.84 1.248-35.008-14.624-42.816C647.424 79.328 581.12 64 512 64 264.96 64 64 264.96 64 512c0 76.064 19.488 150.496 56.064 216.64-0.192 0.576-0.64 1.056-0.8 1.632C51.168 832.608 35.2 895.68 68.928 928.768c11.008 10.784 25.632 15.584 43.072 15.584 39.328 0 92.864-24.928 150.08-60.896C336.096 933.408 421.952 960 512 960c247.04 0 448-200.96 448-448C960 424.864 934.912 341.248 887.84 268.672zM512 896c-68.288 0-133.728-17.888-191.84-51.552 128.288-92.256 258.432-218.56 282.848-242.624 89.152-87.712 178.56-187.04 244.64-275.968C879.2 382.592 896 446.112 896 512 896 723.744 723.744 896 512 896z" ></path></symbol><symbol id="el-icon-self-settings" viewBox="0 0 1024 1024"><path d="M512 608c-52.928 0-96-43.072-96-96s43.072-96 96-96 96 43.072 96 96S564.928 608 512 608zM512 480c-17.632 0-32 14.368-32 32s14.368 32 32 32 32-14.368 32-32S529.632 480 512 480z" ></path><path d="M631.04 960c-10.016 0-19.712-4.736-25.856-13.12l-73.408-100.48c-13.664 0.832-25.92 0.864-39.584 0l-73.376 100.48c-7.904 10.816-21.728 15.616-34.656 11.872-34.592-9.888-67.488-23.456-97.76-40.32-11.712-6.528-18.112-19.648-16.032-32.896l19.2-123.264c-9.824-8.704-19.136-18.016-27.84-27.808l-123.264 19.2c-13.056 1.984-26.336-4.352-32.896-16.064-16.896-30.368-30.464-63.296-40.32-97.824-3.68-12.864 1.056-26.72 11.904-34.624l100.448-73.376C177.152 524.96 176.928 518.4 176.928 512s0.224-12.96 0.672-19.776L77.12 418.816c-10.816-7.936-15.584-21.728-11.904-34.656 9.856-34.496 23.424-67.392 40.32-97.792 6.56-11.712 19.712-18.048 32.896-16.064l123.264 19.2c8.736-9.824 18.016-19.104 27.84-27.84l-19.2-123.264C268.288 125.184 274.72 112.064 286.432 105.536c30.4-16.896 63.296-30.464 97.76-40.32 12.928-3.648 26.72 1.056 34.656 11.904l73.376 100.448c13.568-0.896 25.824-0.896 39.584 0l73.408-100.48c7.904-10.848 21.664-15.52 34.656-11.904 34.464 9.856 67.328 23.424 97.76 40.32 11.712 6.528 18.112 19.648 16.064 32.896L734.432 261.76c9.824 8.736 19.104 18.016 27.808 27.776l123.328-19.2c13.152-2.016 26.336 4.384 32.864 16.032 16.896 30.4 30.496 63.296 40.352 97.824 3.648 12.896-1.088 26.688-11.904 34.624l-100.48 73.408c0.448 6.816 0.672 13.376 0.672 19.776s-0.224 12.96-0.672 19.776l100.48 73.376c10.816 7.904 15.552 21.728 11.904 34.624-9.856 34.496-23.424 67.424-40.352 97.824-6.528 11.712-19.488 18.048-32.896 16.064l-123.296-19.2c-8.672 9.76-17.984 19.072-27.808 27.776l19.232 123.296c2.048 13.248-4.352 26.368-16.064 32.896-30.24 16.832-63.136 30.4-97.76 40.32C636.928 959.584 633.984 960 631.04 960zM337.152 872.672c13.984 6.752 28.544 12.704 43.552 17.92l70.528-96.576c6.784-9.28 17.984-14.272 29.472-12.896 20.576 2.336 42.08 2.336 62.624 0 11.84-1.376 22.72 3.616 29.472 12.896l70.528 96.576c15.04-5.184 29.6-11.168 43.552-17.92l-18.432-118.368c-1.76-11.36 2.72-22.848 11.712-30.016 16.384-12.992 31.264-27.872 44.16-44.128 7.168-8.992 18.4-13.504 30.016-11.744l118.368 18.432c6.752-14.016 12.736-28.576 17.92-43.552l-96.576-70.528c-9.28-6.784-14.208-18.016-12.896-29.472 1.152-10.272 1.952-20.704 1.952-31.296s-0.768-21.024-1.952-31.296c-1.312-11.424 3.616-22.688 12.896-29.472l96.576-70.56c-5.152-15.008-11.168-29.568-17.92-43.552l-118.4 18.432c-11.328 1.696-22.816-2.688-29.984-11.744-12.896-16.256-27.776-31.104-44.16-44.128-8.992-7.168-13.472-18.592-11.712-29.984l18.432-118.4c-14.016-6.752-28.576-12.736-43.52-17.92l-70.56 96.576c-6.784 9.28-17.696 14.368-29.472 12.928-20.544-2.368-42.016-2.4-62.56 0-11.52 1.344-22.752-3.616-29.536-12.896l-70.528-96.576c-14.976 5.152-29.536 11.136-43.552 17.92l18.432 118.368c1.76 11.392-2.72 22.848-11.744 30.016-16.32 12.928-31.2 27.808-44.128 44.128-7.168 9.024-18.56 13.472-30.016 11.744l-118.368-18.432c-6.752 14.016-12.736 28.576-17.92 43.552l96.576 70.56c9.312 6.784 14.24 18.08 12.896 29.536C241.696 491.008 240.928 501.408 240.928 512s0.768 20.992 1.952 31.264c1.344 11.456-3.616 22.688-12.896 29.504l-96.576 70.528c5.184 15.008 11.168 29.568 17.92 43.552l118.368-18.432c11.392-1.76 22.848 2.752 30.016 11.744 12.896 16.32 27.744 31.168 44.128 44.128 9.024 7.168 13.504 18.624 11.744 30.016L337.152 872.672z" ></path></symbol><symbol id="el-icon-self-new" viewBox="0 0 1024 1024"><path d="M963.072 446.336c0-211.744-200.96-384-448-384s-448 172.256-448 384c0 116.48 63.008 226.048 172.896 300.672 14.656 9.984 34.528 6.144 44.448-8.512 9.952-14.624 6.112-34.528-8.512-44.448-92.032-62.496-144.832-152.768-144.832-247.712 0-176.448 172.256-320 384-320 211.744 0 384 143.552 384 320 0 176.448-172.256 320-384 320-1.984 0-3.68 0.768-5.568 1.12-15.104-2.688-30.464 5.216-35.776 20.192-6.144 17.376-46.368 46.656-94.144 73.792 17.472-58.208 9.088-70.688 3.52-78.976-6.72-9.984-17.92-15.936-29.92-15.936-17.664 0-32 14.304-32 32 0 5.824 1.536 11.264 4.256 15.936-3.232 18.24-17.216 60.864-33.088 99.872-4.928 12.096-1.984 25.984 7.36 35.072 6.112 5.888 14.112 8.992 22.272 8.992 4.384 0 8.8-0.896 12.992-2.752 36.48-16.256 147.68-69.12 187.616-125.664C766.144 826.496 963.072 655.904 963.072 446.336z" ></path><path d="M342.624 604.544c4.672 2.4 9.664 3.52 14.592 3.52 11.616 0 22.816-6.336 28.512-17.408l71.584-139.488 91.584 142.208c5.824 9.024 15.744 14.528 26.464 14.688 0.16 0 0.32 0 0.448 0 10.56 0 20.48-5.216 26.432-13.984l128.8-188.864c9.984-14.624 6.176-34.528-8.416-44.48-14.624-9.952-34.528-6.208-44.48 8.416l-101.632 148.992-95.456-148.288c-6.176-9.6-17.152-14.752-28.48-14.656-11.424 0.576-21.696 7.2-26.912 17.344l-96.896 188.896C320.672 577.184 326.88 596.48 342.624 604.544z" ></path></symbol><symbol id="el-icon-self-album" viewBox="0 0 1024 1024"><path d="M256 448m-64 0a2 2 0 1 0 128 0 2 2 0 1 0-128 0Z" ></path><path d="M714.688 256 181.312 256C116.64 256 64 308.64 64 373.312l0 405.376C64 843.36 116.64 896 181.312 896l533.376 0C779.36 896 832 843.36 832 778.688L832 373.312C832 308.64 779.36 256 714.688 256zM768 778.688C768 808.096 744.096 832 714.688 832L181.312 832C151.936 832 128 808.096 128 778.688L128 373.312C128 343.936 151.936 320 181.312 320l533.376 0C744.096 320 768 343.936 768 373.312L768 778.688z" ></path><path d="M842.688 128 256 128C238.336 128 224 142.336 224 160s14.336 32 32 32l586.688 0C872.096 192 896 215.936 896 245.312L896 640c0 17.696 14.304 32 32 32s32-14.304 32-32L960 245.312C960 180.64 907.36 128 842.688 128z" ></path><path d="M672.64 448.736c-129.056 0-143.936 72.672-152.832 116.096-7.2 35.168-10.4 39.968-28.64 42.88-34.976 5.568-44 0.192-58.912-8.8-15.456-9.312-36.672-22.08-77.952-23.168C227.616 573.12 194.112 723.84 192.704 730.24c-3.712 17.28 7.264 34.304 24.544 38.016 2.272 0.512 4.544 0.704 6.752 0.704 14.752 0 28-10.24 31.264-25.248 0.224-1.056 23.232-104.032 95.488-104.032 0.64 0 1.28 0 1.92 0.032 24.352 0.608 33.632 6.208 46.496 13.984 24.032 14.464 48.352 25.76 102.08 17.184 64.192-10.272 74.432-60.192 81.184-93.216 8.32-40.512 13.312-64.928 90.144-64.928 17.696 0 32-14.336 32-32S690.304 448.736 672.64 448.736z" ></path></symbol><symbol id="el-icon-self-cc-book" viewBox="0 0 1024 1024"><path d="M682.697195 859.707167 242.160807 859.707167c-12.152784 0-22.025643-9.893324-22.025643-22.026666 0-12.130272 9.872858-22.025643 22.025643-22.025643l440.537412 0c12.130272 0 22.025643 9.895371 22.025643 22.025643C704.723861 849.813842 694.82849 859.707167 682.697195 859.707167z" ></path><path d="M841.773214 158.324912c-12.955056 0-23.51967 10.543124-23.51967 23.520693l0 705.638185c0 12.95608-10.56666 23.520693-23.521716 23.520693L277.262256 911.004483c-38.911218 0-70.564126-31.650861-70.564126-70.564126 0-38.910195 31.652907-70.563102 70.564126-70.563102l423.382707 0c38.911218 0 70.565149-31.652907 70.565149-70.563102L771.210112 134.803195c0-38.911218-31.653931-70.564126-70.565149-70.564126L230.218824 64.23907c-38.911218 0-70.563102 31.652907-70.563102 70.564126l0 705.637162c0 64.823378 52.785204 117.608581 117.606535 117.608581l517.468548 0c38.909172 0 70.563102-31.653931 70.563102-70.565149L865.293907 181.845605C865.293907 168.868035 854.727247 158.324912 841.773214 158.324912zM230.218824 111.281479l470.426139 0c12.955056 0 23.521716 10.543124 23.521716 23.521716l0 564.510958c0 12.955056-10.56666 23.520693-23.521716 23.520693l-423.382707 0c-26.439162 0-50.90232 8.820899-70.564126 23.566742L206.698131 134.803195C206.698131 121.824603 217.241254 111.281479 230.218824 111.281479z" ></path></symbol><symbol id="el-icon-self-star_full" viewBox="0 0 1024 1024"><path d="M958.733019 411.348626 659.258367 353.59527 511.998465 85.535095 364.741633 353.59527 65.265958 411.348626 273.72878 634.744555 235.88794 938.463881 511.998465 808.479435 788.091594 938.463881 750.250754 634.744555Z" ></path></symbol><symbol id="el-icon-self-iconset0481" viewBox="0 0 1024 1024"><path d="M512 42.666667C253.866667 42.666667 42.666667 251.733333 42.666667 512s211.2 469.333333 469.333333 469.333333c260.266667 0 469.333333-209.066667 469.333333-469.333333S772.266667 42.666667 512 42.666667zM512 938.666667C277.333333 938.666667 85.333333 746.666667 85.333333 512 85.333333 277.333333 277.333333 85.333333 512 85.333333c234.666667 0 426.666667 192 426.666667 426.666667C938.666667 746.666667 746.666667 938.666667 512 938.666667zM716.8 494.933333 716.8 494.933333l-4.266667-2.133333c0 0 0 0-2.133333 0l-292.266667-168.533333 0 0C413.866667 322.133333 409.6 320 405.333333 320c-12.8 0-21.333333 8.533333-21.333333 21.333333l0 341.333333c0 12.8 8.533333 21.333333 21.333333 21.333333 4.266667 0 8.533333-2.133333 12.8-4.266667l0 0 292.266667-168.533333c0 0 0 0 2.133333 0l4.266667-2.133333 0 0c4.266667-4.266667 8.533333-10.666667 8.533333-17.066667S721.066667 499.2 716.8 494.933333zM426.666667 646.4 426.666667 377.6 661.333333 512 426.666667 646.4z" ></path></symbol><symbol id="el-icon-self-guanbi" viewBox="0 0 1024 1024"><path d="M567.001395 495.286374 966.070272 96.236851c10.904781-10.905395 10.904781-28.573798 0-39.481242-10.907853-10.905395-28.575949-10.905395-39.482778 0L527.519539 455.806157 128.45271 56.75561c-10.905805-10.905395-28.574925-10.905395-39.481754 0-10.906829 10.906419-10.906829 28.574822 0 39.481242l399.067955 399.049523L88.970957 894.337946c-10.906829 10.906419-10.906829 28.573798 0 39.480218 5.45239 5.452186 12.652646 8.177254 19.741389 8.177254 7.197184 0 14.285926-2.725069 19.740365-8.177254l399.065907-399.052595L926.587494 933.818061c5.454438 5.452186 12.652646 8.177254 19.740365 8.177254 7.198208 0 14.28695-2.725069 19.742413-8.177254 10.904781-10.906419 10.904781-28.573798 0-39.480218L567.001395 495.286374z" ></path></symbol><symbol id="el-icon-self-xuexiao" viewBox="0 0 1024 1024"><path d="M925.76107 278.522458l-16.542768 49.136094c0 0-79.438237-196.570981-314.467111-245.720378 0 0-96.866165-21.942755-198.602244 0-13.964036 7.977695-254.891248 85.180008-297.91718 311.248813 0 0 9.928117 68.815295 49.646724 0 0 0 23.170722-176.919409 281.368272-262.098393l182.061522 0c0 0 211.844849 72.074525 264.812201 245.720378l16.556071 81.906451 49.640584 16.392342 16.556071-196.584284L925.76107 278.523481z" ></path><path d="M876.120486 636.506688c0 0-23.170722 176.919409-281.369296 262.098393L412.690692 898.605082c0 0-211.844849-72.074525-264.813225-245.720378l-16.548908-81.906451-49.653887-16.392342L65.126788 751.170195l33.104979 0 16.548908-49.136094c0 0 116.961852 225.768977 314.467111 245.720378 83.788312 19.951401 198.61657 0 198.61657 0s254.884085-85.180008 297.896714-311.24779C925.76107 636.506688 915.832953 567.691393 876.120486 636.506688z" ></path></symbol><symbol id="el-icon-self-13" viewBox="0 0 1024 1024"><path d="M147.2 180.8h728c41.6 0 76.8 35.2 76.8 76.8v552c0 41.6-35.2 76.8-76.8 76.8h-728c-41.6 0-76.8-35.2-76.8-76.8v-552c0-41.6 35.2-76.8 76.8-76.8v0zM147.2 926.4c243.2 0 486.4 0 728 0 64 0 115.2-51.2 115.2-115.2 0-184 0-368 0-552 0-64-51.2-115.2-115.2-115.2-243.2 0-486.4 0-728 0-64 0-115.2 51.2-115.2 115.2 0 184 0 368 0 552 0 62.4 51.2 115.2 115.2 115.2z" ></path><path d="M201.6 419.2c0 44.8 36.8 81.6 81.6 81.6s81.6-36.8 81.6-81.6c0-44.8-36.8-81.6-81.6-81.6-44.8 0-81.6 36.8-81.6 81.6v0zM240 419.2c0-24 19.2-43.2 43.2-43.2s43.2 19.2 43.2 43.2c0 24-19.2 43.2-43.2 43.2-22.4 0-43.2-19.2-43.2-43.2z" ></path><path d="M675.2 499.2l203.2 203.2c8 8 8 19.2 0 27.2v0c-8 8-19.2 8-27.2 0l-203.2-203.2c-14.4-14.4-40-14.4-54.4 0l-163.2 161.6c-30.4 30.4-80 30.4-110.4 0l-25.6-25.6c-14.4-14.4-40-14.4-54.4 0l-67.2 67.2c-8 8-19.2 8-27.2 0v0c-8-8-8-19.2 0-27.2l67.2-67.2c30.4-30.4 80-30.4 110.4 0l25.6 25.6c14.4 14.4 40 14.4 54.4 0l161.6-161.6c30.4-30.4 80-30.4 110.4 0z" ></path></symbol><symbol id="el-icon-self-grade" viewBox="0 0 1024 1024"><path d="M863.721739 554.295652c24.486957-48.973913 28.93913-102.4 28.93913-160.278261C892.66087 189.217391 734.608696 22.26087 527.582609 22.26087 320.556522 22.26087 162.504348 189.217391 162.504348 394.017391c0 57.878261 4.452174 111.304348 28.93913 160.278261L51.2 792.486957c0 0 95.721739 35.617391 193.669565 55.652174 64.556522 73.46087 117.982609 151.373913 117.982609 151.373913l129.113043-247.095652c8.904348 0 20.034783 0 26.713043 0 8.904348 0 20.034783 0 26.713043 0l138.017391 233.73913c0 0 57.878261-64.556522 124.66087-138.017391 97.947826-20.034783 193.669565-55.652174 193.669565-55.652174L863.721739 554.295652 863.721739 554.295652 863.721739 554.295652zM353.947826 903.791304c0 0-46.747826-60.104348-89.043478-102.4-62.330435-17.808696-144.695652-35.617391-144.695652-35.617391L215.930435 601.043478c51.2 66.782609 135.791304 129.113043 220.382609 149.147826L353.947826 903.791304 353.947826 903.791304zM520.904348 710.121739c-80.13913 0-309.426087-48.973913-316.104348-316.104348C198.121739 224.834783 351.721739 64.556522 520.904348 64.556522c169.182609 0 329.46087 162.504348 329.46087 329.46087C852.591304 650.017391 601.043478 710.121739 520.904348 710.121739L520.904348 710.121739zM685.634783 903.791304l-82.365217-151.373913c84.591304-20.034783 182.53913-84.591304 233.73913-151.373913l95.721739 164.730435c0 0-82.365217 17.808696-144.695652 35.617391L685.634783 903.791304 685.634783 903.791304zM527.582609 175.86087c-117.982609 0-213.704348 95.721739-213.704348 213.704348s95.721739 213.704348 213.704348 213.704348c117.982609 0 213.704348-95.721739 213.704348-213.704348S645.565217 175.86087 527.582609 175.86087L527.582609 175.86087 527.582609 175.86087zM534.26087 558.747826c-53.426087 0-169.182609-20.034783-178.086957-178.086957-4.452174-84.591304 95.721739-164.730435 178.086957-164.730435 84.591304 0 162.504348 95.721739 164.730435 178.086957C701.217391 505.321739 587.686957 558.747826 534.26087 558.747826L534.26087 558.747826zM534.26087 558.747826" ></path></symbol><symbol id="el-icon-self-quanping" viewBox="0 0 1024 1024"><path d="M664.035 409.382l244.223-243.378-0.837 137.922c-0.335 11.437 8.912 21.527 20.351 21.191h14.63c11.438-0.335 21.025-7.065 21.193-18.67l0.672-205.367c0-0.171 0.335-10.934 0.335-10.934 0.17-5.716-1.179-10.934-4.879-14.63-3.7-3.702-8.742-6.055-14.633-5.886l-10.428 0.171c-0.169 0-0.331 0-0.501 0.171l-203.69-0.846c-11.438 0.336-21.025 9.76-21.193 21.361v14.633c1.685 13.625 12.446 21.529 23.884 21.193l134.219 0.335-243.551 242.542c-11.101 11.104-11.101 29.095 0 40.197 11.104 11.269 29.101 11.269 40.203 0h-0.003M356.233 638.806l-244.393 242.544 0.842-137.253c0.336-11.435-8.918-21.523-20.355-21.193h-15.47c-11.438 0.335-21.025 7.065-21.193 18.672l-0.672 205.536c0 0.171-0.335 10.934-0.335 10.934-0.171 5.722 1.18 10.934 4.875 14.63 3.7 3.7 8.746 6.055 14.633 5.886l10.427-0.17c0.171 0 0.336 0 0.507-0.171l204.532 0.843c11.435-0.336 21.025-9.756 21.193-21.361v-14.63c-1.683-13.625-12.451-21.529-23.887-21.193l-134.222-0.335 243.38-242.539c11.104-11.104 11.104-29.101 0-40.203-10.929-11.268-28.757-11.268-39.857 0.001v0M964.271 947.109l-0.507-205.536c-0.336-11.438-9.76-18.335-21.194-18.672h-14.629c-11.439-0.331-20.521 9.759-20.356 21.193l0.843 137.927-244.393-243.214c-11.104-11.104-29.099-11.104-40.203 0-11.097 11.101-11.097 29.099 0 40.203l243.386 242.538-134.22 0.335c-11.438-0.335-22.034 7.739-23.887 21.193v14.633c0.335 11.437 9.76 21.025 21.193 21.361l203.69-0.843c0.17 0 0.335 0.17 0.507 0.17l10.428 0.171c5.716 0.17 10.934-2.016 14.63-5.886 3.698-3.7 5.042-8.912 4.875-14.63 0 0-0.169-10.764-0.169-10.934l0.004-0.002M152.885 126.645l134.22-0.335c11.435 0.335 22.031-7.739 23.883-21.193v-14.636c-0.336-11.437-9.753-21.025-21.193-21.36l-204.694 0.842c-0.17 0-0.336-0.171-0.509-0.171l-10.426-0.169c-5.722-0.17-10.934 2.015-14.633 5.885-3.698 3.7-5.050 8.912-4.875 14.633 0 0 0.335 10.763 0.335 10.933l0.502 205.536c0.171 11.435 9.759 18.335 21.193 18.667h15.475c11.437 0.335 20.519-9.753 20.349-21.191l-0.671-137.248 244.224 242.709c11.097 11.104 29.094 11.104 40.196 0 11.104-11.101 11.104-29.099 0-40.203l-243.38-242.703M152.885 126.645v0z" ></path></symbol><symbol id="el-icon-self-nav" viewBox="0 0 1024 1024"><path d="M888.838 319.775l-751.1 0c-23.944 0-43.339-19.553-43.339-43.646l0-40.012c0-24.093 19.395-43.645 43.339-43.645l751.1 0c23.923 0 43.334 19.554 43.334 43.645l0 40.012c-0.001 24.093-19.411 43.646-43.333 43.646l0 0zM888.838 587.509l-751.1 0c-23.944 0-43.339-19.533-43.339-43.64l0-39.998c0-24.115 19.395-43.647 43.339-43.647l751.1 0c23.923 0 43.334 19.533 43.334 43.647l0 39.998c-0.001 24.107-19.411 43.64-43.333 43.64l0 0zM888.838 876.17l-751.1 0c-23.944 0-43.339-19.532-43.339-43.627l0-40.017c0-24.093 19.395-43.641 43.339-43.641l751.1 0c23.923 0 43.334 19.548 43.334 43.641l0 40.017c-0.001 24.094-19.411 43.627-43.333 43.627l0 0z" ></path></symbol><symbol id="el-icon-self-mima" viewBox="0 0 1024 1024"><path d="M791.366 459.07l-459.174-0.791c-0.186-61.936-16.847-157.926 36.027-216.192 32.142-35.52 86.326-72.068 144.127-72.068 85.395 0 149.246 64.412 180.166 144.126 9.009 22.992 16.936 35.38 36.037 36.037 47.899 1.45 44.986-49.075 36.029-72.067C719.914 163.03 636.118 97.953 512.346 97.953c-84.12 0-130.475 17.265-180.154 72.065-76.009 83.746-72.259 219.151-72.067 288.26l-26.795 0.791c-25.045 0-45.273 20.034-45.273 44.667v378.249c0 24.774 20.269 44.755 45.273 44.755h557.99c25.009 0 45.273-19.989 45.273-44.755V503.737c0.046-24.678-20.218-44.667-45.227-44.667zM765.68 818.35c0 9.966-3.476 18.514-10.58 25.52-7.045 7.051-15.56 10.58-25.517 10.58H296.362c-9.966 0-18.472-3.478-25.475-10.58-7.051-7.049-10.624-15.553-10.624-25.52V565.635c0-19.878 16.166-36.054 36.098-36.054h433.212c19.932 0 36.107 16.176 36.107 36.054V818.35z" fill="" ></path></symbol><symbol id="el-icon-self-shipin" viewBox="0 0 1024 1024"><path d="M858.8 903.6H182.2c-61 0-110.8-49.6-110.8-110.8V279c0-61 49.6-110.8 110.8-110.8h676.6c61 0 110.8 49.6 110.8 110.8v513.8c-0.2 61-49.8 110.8-110.8 110.8zM182.2 208.4c-39 0-70.8 31.8-70.8 70.8v513.8c0 39 31.8 70.8 70.8 70.8h676.6c39 0 70.8-31.8 70.8-70.8v-514c0-39-31.8-70.8-70.8-70.8H182.2z" fill="#262435" ></path><path d="M225.4 903.6c-11 0-20-9-20-20V188.4c0-11 9-20 20-20s20 9 20 20v695.2c0 11-8.8 20-20 20zM815.4 903.6c-11 0-20-9-20-20V188.4c0-11 9-20 20-20s20 9 20 20v695.2c0 11-9 20-20 20z" fill="#262435" ></path><path d="M225.4 399.2h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-8.8 20-20 20zM225.4 556h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-8.8 20-20 20zM225.4 732.6h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-8.8 20-20 20z" fill="#262435" ></path><path d="M949.4 399.2h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-9 20-20 20zM949.4 556h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-9 20-20 20zM949.4 732.6h-134c-11 0-20-9-20-20s9-20 20-20h134c11 0 20 9 20 20s-9 20-20 20z" fill="#262435" ></path><path d="M432 679.2c-3.4 0-7-0.8-10-2.6-6.2-3.6-10-10.2-10-17.4V412.8c0-7.2 3.8-13.8 10-17.4 6.2-3.6 13.8-3.6 20 0l213.4 123.2c6.2 3.6 10 10.2 10 17.4s-3.8 13.8-10 17.4L442 676.4c-3.2 1.8-6.6 2.8-10 2.8z m20-231.8v177.2l153.4-88.6-153.4-88.6z" fill="#262435" ></path></symbol><symbol id="el-icon-self-wujiaoxing" viewBox="0 0 1024 1024"><path d="M959.008 406.016l-308-47.008L512 64 372.992 359.008l-308 47.008 223.008 228-52.992 324L512 805.024l276.992 152.992-52.992-324zM512 740L304 856.992l40-235.008-179.008-182.016 242.016-32 104.992-224 104 224 240.992 34.016L680 622.976l36.992 235.008z" ></path></symbol><symbol id="el-icon-self-character" viewBox="0 0 1024 1024"><path d="M921.087359 990.72v-35.2A410.24 410.24 0 0 0 661.887359 576a307.2 307.2 0 1 0-300.8 0 410.24 410.24 0 0 0-256 380.8v35.2H101.887359a32 32 0 0 0 32 32 32 32 0 0 0 32-32v-34.56a345.6 345.6 0 0 1 691.2 0v35.2a31.36 31.36 0 0 0 31.36 30.08 32 32 0 0 0 32.64-32zM270.207359 307.2A241.28 241.28 0 1 1 511.487359 548.48 241.28 241.28 0 0 1 270.207359 307.2z" ></path></symbol><symbol id="el-icon-self-wenjian" viewBox="0 0 1024 1024"><path d="M752 80H272c-70.4 0-128 57.6-128 128v608c0 70.4 57.6 128 128 128h353.6c33.6 0 65.6-12.8 91.2-36.8l126.4-126.4c24-24 36.8-56 36.8-91.2V208c0-70.4-57.6-128-128-128zM208 816V208c0-35.2 28.8-64 64-64h480c35.2 0 64 28.8 64 64v464h-96c-70.4 0-128 57.6-128 128v80H272c-35.2 0-64-28.8-64-64z m462.4 44.8c-4.8 4.8-9.6 8-14.4 11.2V800c0-35.2 28.8-64 64-64h75.2l-124.8 124.8z" fill="#4A576A" ></path><path d="M368 352h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32zM496 608h-128c-17.6 0-32 14.4-32 32s14.4 32 32 32h128c17.6 0 32-14.4 32-32s-14.4-32-32-32zM368 512h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z" fill="#4A576A" ></path></symbol><symbol id="el-icon-self-xuexi-" viewBox="0 0 1024 1024"><path d="M996.5 287.1L567.6 68.8c-34.8-17.6-76.4-17.6-111.2 0L27.5 286.4C10.6 295 0 312.1 0 331.2c0 19 10.5 36.2 27.5 44.8l219.8 111.8v305c0 33.9 18.8 64.4 49 79.7l164.9 83.6c15.9 8.1 33.4 12.1 50.9 12.1s35-4 50.9-12.1l164.9-83.6c30.2-15.3 49-45.9 49-79.7V488.2L901.4 425v111.9c0 15.2 12.3 27.5 27.5 27.5s27.5-12.3 27.5-27.5V401.6c0-1.5-0.1-2.9-0.3-4.3l40.4-20.5c17-8.6 27.5-25.8 27.5-44.8 0-19.1-10.5-36.3-27.5-44.9zM721.8 792.9c0 13.1-7.2 24.8-18.9 30.8L538 907.3c-16.3 8.3-35.8 8.3-52.1 0L321 823.7c-11.6-5.9-18.9-17.7-18.9-30.8V515.8l154.2 78.5c17.4 8.8 36.5 13.2 55.6 13.2s38.2-4.4 55.6-13.2l154.2-78.2v276.8z m-179-247.6c-19.3 9.8-42.3 9.8-61.5 0L60.5 331.2l420.7-213.4c19.3-9.8 42.3-9.8 61.5 0l420.7 214.1-420.6 213.4z" fill="" ></path></symbol><symbol id="el-icon-self-PPT" viewBox="0 0 1024 1024"><path d="M855.5 345.9L616 106.5c-5.3-5.3-12.4-8.2-19.9-8.2H174.3c-7.8 0-14.1 6.3-14.1 14.1v801.9c0 7.8 6.3 14.1 14.1 14.1h675.3c7.8 0 14.1-6.3 14.1-14.1V365.8c0-7.5-2.9-14.7-8.2-19.9z m-53 514.8h-581v-695h376.6v204.2h204.3l0.1 490.8z" ></path><path d="M520.2 632.7h-49v101.9H405V443.5h121.7c70.6 1.8 107.2 32.2 109.8 91.3 1 66.1-37.8 98.8-116.3 97.9z m-5.3-138.9h-43.7v88.6h43.7c34.4-0.9 52-15.9 52.9-45-0.9-28.2-18.5-42.7-52.9-43.6z" ></path></symbol><symbol id="el-icon-self-statistic" viewBox="0 0 1024 1024"><path d="M838.33 659.732c0 33.422-21.592 54.388-54.39 54.388H240.059c-32.796 0-54.388-20.966-54.388-54.388 0 0-0.409-482.507-0.409-516.961h653.477c0 54.85-0.409 516.96-0.409 516.96zM76.892 88.655v54.389h54.389v516.689c0 64.45 44.707 108.776 108.776 108.776h163.166L294.447 958.87l81.909-0.353 108.45-190.006h54.388l108.45 190.006 81.909 0.353-108.777-190.36h163.166c64.069 0 108.776-44.326 108.776-108.776v-516.69h54.389v-54.39H76.893v0.001z m271.942 543.883c15.038 0 27.194-12.156 27.194-27.194V496.568c0-15.011-12.156-27.195-27.194-27.195s-27.195 12.183-27.195 27.195v108.776c0 15.038 12.156 27.194 27.195 27.194z m326.33 0c15.039 0 27.195-12.156 27.195-27.194V360.597c0-15.011-12.156-27.195-27.195-27.195s-27.194 12.183-27.194 27.195v244.747c0 15.038 12.156 27.194 27.194 27.194z m-163.165 0c15.039 0 27.194-12.156 27.194-27.194v-326.33c0-15.011-12.155-27.195-27.194-27.195s-27.194 12.183-27.194 27.195v326.33c0 15.038 12.155 27.194 27.194 27.194z" ></path></symbol></svg>',l=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(l&&!i.__iconfont__svg__cssinject__){i.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var l=function(){document.removeEventListener("DOMContentLoaded",l,!1),c()};document.addEventListener("DOMContentLoaded",l,!1)}else document.attachEvent&&(t=c,e=i.document,s=!1,o=function(){s||(s=!0,t())},(h=function(){try{e.documentElement.doScroll("left")}catch(c){return void setTimeout(h,50)}o()})(),e.onreadystatechange=function(){"complete"==e.readyState&&(e.onreadystatechange=null,o())});var t,e,s,o,h}(function(){var c,l;(c=document.createElement("div")).innerHTML=t,t=null,(l=c.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",function(c,l){l.firstChild?function(c,l){l.parentNode.insertBefore(c,l)}(c,l.firstChild):l.appendChild(c)}(l,document.body))})}(window);
\ No newline at end of file
......@@ -35,6 +35,9 @@ Created by iconfont
<glyph glyph-name="cc-book" unicode="&#58901;" d="M682.697 24.293l-440.536 0c-12.153 0-22.026 9.893-22.026 22.027 0 12.13 9.873 22.026 22.026 22.026l440.537 0c12.13 0 22.026-9.895 22.026-22.026 0-12.133-9.895-22.027-22.027-22.027zM841.773 725.675c-12.955 0-23.52-10.543-23.52-23.521l0-705.638c0-12.956-10.567-23.521-23.522-23.521l-517.47 0c-38.911 0-70.564 31.651-70.564 70.564 0 38.91 31.653 70.563 70.564 70.563l423.383 0c38.911 0 70.565 31.653 70.565 70.563l0 564.511c0 38.911-31.654 70.564-70.565 70.564l-470.426 0c-38.911 0-70.563-31.653-70.563-70.564l0-705.637c0-64.823 52.785-117.609 117.607-117.609l517.469 0c38.909 0 70.563 31.654 70.563 70.565l0 705.638c0 12.978-10.567 23.521-23.521 23.521zM230.219 772.719l470.426 0c12.955 0 23.522-10.543 23.522-23.522l0-564.511c0-12.955-10.567-23.521-23.522-23.521l-423.383 0c-26.439 0-50.902-8.821-70.564-23.567l0 611.598c0 12.979 10.543 23.522 23.521 23.522z" horiz-adv-x="1024" />
<glyph glyph-name="star_full" unicode="&#58919;" d="M958.733 484.651l-299.475 57.753-147.26 268.060-147.257-268.060-299.476-57.753 208.463-223.396-37.841-303.719 276.111 129.984 276.093-129.984-37.841 303.719z" horiz-adv-x="1024" />
<glyph glyph-name="iconset0481" unicode="&#59240;" d="M512 853.333333C253.866667 853.333333 42.666667 644.266667 42.666667 384s211.2-469.333333 469.333333-469.333333c260.266667 0 469.333333 209.066667 469.333333 469.333333S772.266667 853.333333 512 853.333333zM512-42.666667C277.333333-42.666667 85.333333 149.333333 85.333333 384 85.333333 618.666667 277.333333 810.666667 512 810.666667c234.666667 0 426.666667-192 426.666667-426.666667C938.666667 149.333333 746.666667-42.666667 512-42.666667zM716.8 401.066667 716.8 401.066667l-4.266667 2.133333c0 0 0 0-2.133333 0l-292.266667 168.533333 0 0C413.866667 573.866667 409.6 576 405.333333 576c-12.8 0-21.333333-8.533333-21.333333-21.333333l0-341.333333c0-12.8 8.533333-21.333333 21.333333-21.333333 4.266667 0 8.533333 2.133333 12.8 4.266667l0 0 292.266667 168.533333c0 0 0 0 2.133333 0l4.266667 2.133333 0 0c4.266667 4.266667 8.533333 10.666667 8.533333 17.066667S721.066667 396.8 716.8 401.066667zM426.666667 249.6 426.666667 518.4 661.333333 384 426.666667 249.6z" horiz-adv-x="1024" />
......@@ -62,6 +65,9 @@ Created by iconfont
<glyph glyph-name="shipin" unicode="&#58894;" d="M858.8-7.6H182.2c-61 0-110.8 49.6-110.8 110.8V617c0 61 49.6 110.8 110.8 110.8h676.6c61 0 110.8-49.6 110.8-110.8v-513.8c-0.2-61-49.8-110.8-110.8-110.8zM182.2 687.6c-39 0-70.8-31.8-70.8-70.8v-513.8c0-39 31.8-70.8 70.8-70.8h676.6c39 0 70.8 31.8 70.8 70.8v514c0 39-31.8 70.8-70.8 70.8H182.2zM225.4-7.6c-11 0-20 9-20 20V707.6c0 11 9 20 20 20s20-9 20-20v-695.2c0-11-8.8-20-20-20zM815.4-7.6c-11 0-20 9-20 20V707.6c0 11 9 20 20 20s20-9 20-20v-695.2c0-11-9-20-20-20zM225.4 496.8h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-8.8-20-20-20zM225.4 340h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-8.8-20-20-20zM225.4 163.4h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-8.8-20-20-20zM949.4 496.8h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-9-20-20-20zM949.4 340h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-9-20-20-20zM949.4 163.4h-134c-11 0-20 9-20 20s9 20 20 20h134c11 0 20-9 20-20s-9-20-20-20zM432 216.8c-3.4 0-7 0.8-10 2.6-6.2 3.6-10 10.2-10 17.4V483.2c0 7.2 3.8 13.8 10 17.4 6.2 3.6 13.8 3.6 20 0l213.4-123.2c6.2-3.6 10-10.2 10-17.4s-3.8-13.8-10-17.4L442 219.6c-3.2-1.8-6.6-2.8-10-2.8z m20 231.8v-177.2l153.4 88.6-153.4 88.6z" horiz-adv-x="1024" />
<glyph glyph-name="wujiaoxing" unicode="&#58900;" d="M959.008 489.984l-308 47.008L512 832 372.992 536.992l-308-47.008 223.008-228-52.992-324L512 90.976l276.992-152.992-52.992 324zM512 156L304 39.008l40 235.008-179.008 182.016 242.016 32 104.992 224 104-224 240.992-34.016L680 273.024l36.992-235.008z" horiz-adv-x="1024" />
<glyph glyph-name="character" unicode="&#58926;" d="M921.087359-94.72000000000003v35.2A410.24 410.24 0 0 1 661.887359 320a307.2 307.2 0 1 1-300.8 0 410.24 410.24 0 0 1-256-380.8v-35.2H101.887359a32 32 0 0 1 32-32 32 32 0 0 1 32 32v34.56a345.6 345.6 0 0 0 691.2 0v-35.2a31.36 31.36 0 0 1 31.36-30.08 32 32 0 0 1 32.64 32zM270.207359 588.8A241.28 241.28 0 1 0 511.487359 347.52 241.28 241.28 0 0 0 270.207359 588.8z" horiz-adv-x="1024" />
......
......@@ -39,8 +39,9 @@
</template>
</template>
</div>
<div :class='["btn", (exam.work_contents && "on")]' @click='submitExam' :data-submit='!!exam.work_contents'>{{exam.work_contents ? "已提交" : "提交"}}</div>
<div :class='["btn", (exam.work_contents && "on")]' @click='submitExam' :data-submit='!!exam.work_contents' @mousedown='_SubmitMouseLeftDown()'>{{exam.work_contents ? "已提交" : "提交"}}</div>
<div class='care'>(注意:测试只有一次提交机会)</div>
<!-- <div :class='["btn"]' @click='repeatExam($event, true)' v-if="exam.work_contents">重做</div> -->
</div>
</template>
</div>
......@@ -463,6 +464,43 @@ export default {
this.$message.error(_res.data.error)
}
}).catch(e => { this.$message.error(e.message) }).finally(() => { loading.close() })
},
_SubmitMouseLeftDown () {
let _fn1 = this.repeatExam.bind(this, false)
document.addEventListener('keydown', _fn1, false)
let _fn3 = function () {
document.removeEventListener('keydown', _fn1)
document.removeEventListener('mouseup', _fn3)
}
document.addEventListener('mouseup', _fn3, false)
},
/**
* 重做
*/
repeatExam (e, flag) {
let _flag = flag
/* 字母 f */
if (e.keyCode === 70) {
_flag = true
}
if (!_flag) { return }
const loading = this.$loading({ lock: true, text: '', spinner: '', background: 'rgba(255, 255, 255, 0.9)' })
cAction.chapterAction.getExamDetail(this.sid, this.id).then(_data => {
this.exam = {}
}).catch(e => { this.$message.error(e.message) }).finally(() => {
this.setTime = setInterval(() => {
// console.log(this.chapterExam.work_id, this.id)
if (this.chapterExam.work_id && this.chapterExam.work_id === this.id) {
if (!this.exam.id) {
this.exam = this.updateData(this.chapterExam)
/* 滚动到头部 */
document.querySelector('.play-paper').scrollTop = 0
}
clearInterval(this.setTime)
}
}, 50)
loading.close()
})
}
},
watch: {
......
......@@ -71,4 +71,11 @@ export default class ChapterAPI extends BaseAPI {
* @param {[string]} cid
*/
updateCourseHomework = (sid, cid, obj = {}) => this.post(`/tenant/v2/education/courses/${sid}/${cid}/essay`, obj, { headers: { 'Content-Type': 'multipart/form-data' } })
/**
* 提交 课程考核
* @param {[string]} obj.sid
* @param {[string]} obj.cid
* @param {[string]} obj.raw (base64)
*/
updateSurveyAnswer = (obj) => this.post(`/tenant/v2/education/survey/answer`, obj)
}
/* 提交表单样式 */
.radio-group, .checkbox-group { float: left; width: 100%; }
.radio-group .radio, .checkbox-group .checkbox { display: block; margin-left: 0; font-size: 20px; line-height: 2; }
.radio-group .radio .el-radio__label, .checkbox-group .checkbox .el-checkbox__label { font-size: 20px; font-weight: 400; color: #313131; }
.radio-group .radio.is-checked .el-radio__label, .checkbox-group .checkbox.is-checked .el-checkbox__label { color: #a98c58; }
.radio-group .radio .el-radio__input { float: left; margin: 10px 0 0 5px; vertical-align: text-top; }
.radio-group .radio .el-radio__input .el-radio__inner { width: 20px; height: 20px; border-color: #313131; }
.radio-group .radio .el-radio__input.is-checked .el-radio__inner { background: transparent; border-color: #a98c58; }
.radio-group .radio .el-radio__input.is-checked .el-radio__inner::after { width: 9px; height: 9px; background: #a98c58; }
.checkbox-group .checkbox .el-checkbox__input { float: left; margin: 10px 0 0 5px; vertical-align: text-top; }
.checkbox-group .checkbox .el-checkbox__input .el-checkbox__inner { width: 20px; height: 20px; border-color: #313131; }
.checkbox-group .checkbox .el-checkbox__input.is-checked .el-checkbox__inner { background: transparent; border-color: #a98c58; }
.checkbox-group .checkbox .el-checkbox__input.is-checked .el-checkbox__inner::after { top: 2px; left: 5px; border-width: 2px; width: 5px; height: 9px; border-color: #a98c58; }
/**
* 格式 id 介绍
* 第一个 数字 表示第几题
* 第二个 数字 表示 PC 第几页
* 第三个 数字 表示 phone 第几页
* 后面可连续 追加
*/
const question = [{
id: '1-1-1',
type: 3, // 判别是 单选还是多选,评级
title: '教学评价:',
arr: [
{ id: '1-1-1-1', option: '教师授课语言的准确度、精练和生动性', star: 0 },
{ id: '2-1-1-1', option: '教师授课思路的清晰和连贯性', star: 0 },
{ id: '3-1-1-1', option: '老师准备的教学工具是否到位', star: 0 },
{ id: '4-1-1-1', option: '老师的专业知识和能力', star: 0 },
{ id: '5-1-1-1', option: '对老师教学的整体评价', star: 0 }
]
}, {
id: '2-1-2',
type: 3, // 判别是 单选还是多选,评级
title: '课程内容评价:',
arr: [
{ id: '1-2-1-2', option: '学到了有用的概念或工具', star: 0 },
{ id: '2-2-1-2', option: '内容逻辑清晰,重点突出', star: 0 },
{ id: '3-2-1-2', option: '课程安排的教学进度', star: 0 },
{ id: '4-2-1-2', option: '能够提升理论高度/拓展思维', star: 0 },
{ id: '5-2-1-2', option: '对课程的整体评价', star: 0 }
]
}, {
id: '3-1-3',
type: 3, // 判别是 单选还是多选,评级
title: '教务评价:',
arr: [
{ id: '1-3-1-3', option: '班主任老师的带班能力(对班级的管理、对学生学习的督促以及解决学生问题的能力等)', star: 0 },
{ id: '2-3-1-3', option: '班主任老师的专业度(对课程的了解、对学生的了解和解答问题的专业性)', star: 0 },
{ id: '3-3-1-3', option: '班主任老师的总体满意度', star: 0 }
]
}, {
id: '4-1-4',
type: 4, // 判别是 单选还是多选,评级
title: '对于本次课程,您的收获是什么?',
arr: [],
area: ''
}, {
id: '5-1-5',
type: 4, // 判别是 单选还是多选,评级
title: '对于本次课程,您对老师的教学有什么好的建议?',
arr: [],
area: ''
}, {
id: '6-1-6',
type: 4, // 判别是 单选还是多选,评级
title: '对于本次课程,您对课程安排有什么好的建议?',
arr: [],
area: ''
}, {
id: '7-1-7',
type: 4, // 判别是 单选还是多选,评级
title: '对于本次课程,您对教务管理、班级管理方面有什么建议?',
arr: [],
area: '',
submit: true
}]
export default {
question
}
<template>
<div class="survey-container">
<div class="header">
<div class="title">索菲亚MBA课程教学服务评估表</div>
<div class="sub-title">您好!为保证我们能够为您提供更优质的课程,提高教学质量及服务,请您对此次课程提出宝贵的意见和建议。感谢您对我们工作的支持!(请您选择星级,选中1颗星为1分,最高5颗星)。请用1(低)到5(高)为每一项打分,并加上任何您想写的评论。</div>
<!-- <img src="./logo-header.jpg" alt=""> -->
<div class="sub-left">课程名称:{{headerInfo.title}}
<!-- <div class="sub-right">授课人:{{}}</div> -->
</div>
</div>
<div class="progress">
<div class="cur-progress" :style="{ width: progress}"></div>
</div>
<div class="exam-box">
<template v-for='(item, index) in exam.group'>
<template v-if='item.type === 1'>
<div v-bind:key="index" class='q-group' @click="radioClick" :data-index='index'>
<div class='q-item'>{{item.title}}</div>
<el-radio-group class='radio-group' @change='radioChange' v-model="item.sel">
<template v-for='(item1, index1) in item.arr'>
<!-- checked='{{item1.selected}}' -->
<el-radio v-bind:key="index1" :label='index1' :disabled='!!item.cur' :class='["radio"]'>{{item1.option}}</el-radio>
<template v-if="item1.txt !== undefined && item1.selected">
<el-input v-bind:key="item1.id" v-model="item1.txt" placeholder="请说明"></el-input>
</template>
</template>
</el-radio-group>
</div>
</template>
<template v-if='item.type === 2'>
<div v-bind:key="index" class='q-group' @click="checkboxClick" :data-index='index'>
<div class='q-item'>{{item.title}}</div>
<el-checkbox-group class='checkbox-group' @change='checkboxChange' v-model="item.arrSel">
<template v-for='(item1, index1) in item.arr'>
<!-- value='{{index1}}' -->
<el-checkbox v-bind:key="item1.id" :label='index1' :disabled='!!item.cur' :class='["checkbox"]'>{{item1.option}}</el-checkbox>
<template v-if="item1.txt !== undefined && item1.selected">
<el-input v-bind:key="index1" v-model="item1.txt" placeholder="请说明"></el-input>
</template>
</template>
</el-checkbox-group>
</div>
</template>
<template v-if="item.type === 3 || item.type === 4">
<div v-bind:key="index" class='q-group'>
<div class='q-item'>{{item.title}}</div>
<template v-for='(item1, index1) in item.arr'>
<div v-bind:key="item1.id" class="star-item">
<div class="left-txt">{{item1.option}}</div>
<template v-if="item1.star !== undefined">
<div class="right-stars">
<i :class="['icon', (item1.star >= 1 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(index, 1, index1)" @mouseenter="hoverStar(index, 1, index1)"></i>
<i :class="['icon', (item1.star >= 2 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(index, 2, index1)" @mouseenter="hoverStar(index, 2, index1)"></i>
<i :class="['icon', (item1.star >= 3 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(index, 3, index1)" @mouseenter="hoverStar(index, 3, index1)"></i>
<i :class="['icon', (item1.star >= 4 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(index, 4, index1)" @mouseenter="hoverStar(index, 4, index1)"></i>
<i :class="['icon', (item1.star === 5 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(index, 5, index1)" @mouseenter="hoverStar(index, 5, index1)"></i>
</div>
</template>
</div>
</template>
<div style="width: 100%; height: 20px;"></div>
<template v-if='item.area !== undefined'>
<el-input
type="textarea"
:rows="4"
placeholder="还有哪些需要改进的方面"
v-model="item.area" @blur="leaveSave">
</el-input>
</template>
</div>
</template>
</template>
<div class="bottom">如果您在紫荆MBA学位课程的收获比较大,我们会非常感谢您帮助我们推荐和您一样优秀的学员加入到MBA的大家庭,具体请联系您所在班的班主任。</div>
<div :class="['btn', this.curPage > 1 ? '' : 'none']" @click="prevPage">上一页</div>
<template v-if="lastPage">
<div class="btn" @click="goSubmit">提交</div>
</template>
<template v-else>
<div class="btn" @click="nextPage">下一页</div>
</template>
</div>
</div>
</template>
<script>
import qData from './store/data'
import cAction from '@actions'
import Base64 from 'Base64'
import _ from 'lodash'
export default {
props: {
sid: { type: String, require: false },
cid: { type: String, require: false }
},
data () {
let _headerInfo = JSON.parse(window.localStorage.getItem('headerInfo') || '{}')
return {
dataQuestion: _.cloneDeep(qData.question),
headerInfo: _headerInfo,
exam: {
id: '',
semester_id: '',
title: '',
score: '',
work_contents: '',
group: []
},
// 提交时,传入的参数值
param: {
semester_id: '',
course_id: '',
raw: '' // base64
},
count: 0,
/* 进入页面记录初试时间 */
startTime: '',
setTime: null,
/* 当前 radio点击 */
radioCur: '',
/* 当前 checkbox点击 */
checkCur: '',
/* 记录当前页 */
curPage: 1,
/* 记录 区分选择项 */
selectId: '',
/* 记录页数进度 */
progress: '',
/* 总共题目数 */
total: 7,
/* 最后一页 */
lastPage: false
}
},
mounted () {
/* 读取本地缓存 */
let quesLocal = window.localStorage.getItem('quesLocal' + this.sid + this.cid)
let quesPage = window.localStorage.getItem('quesPage' + this.sid + this.cid)
let quesSelectId = window.localStorage.getItem('quesSelectId' + this.sid + this.cid)
if (quesLocal) {
qData.question = JSON.parse(quesLocal)
this.curPage = quesPage
this.selectId = quesSelectId
}
this.loadQuestion()
},
destroyed () {
qData.question = this.dataQuestion
},
methods: {
/* 提交数据 */
goSubmit () {
for (let i = 0; i < qData.question.length; i++) {
let _item = qData.question[i]
if (_item.type === 3) {
for (let j = 0; j < _item.arr.length; j++) {
if (_item.arr[j].star === 0) {
this.$message.error('尚有内容未填写,请填写完整每一项')
return
}
}
}
if (_item.type === 4) {
if (_item.area === '') {
this.$message.error('尚有内容未填写,请填写完整每一项')
return
}
}
}
const loading = this.$loading({ lock: true, text: '', spinner: '', background: 'rgba(255, 255, 255, 0.9)' })
cAction.chapterAction.updateSurveyAnswer({
semester_id: this.sid,
course_id: this.cid,
contents: Base64.encode(JSON.stringify(qData.question))
}).then(res => {
let a = 1
if (a) {
this.$message.success('感谢你的宝贵意见。')
/* 答题成功,清空本地缓存 */
window.localStorage.removeItem('quesLocal' + this.sid + this.cid)
window.localStorage.removeItem('quesPage' + this.sid + this.cid)
window.localStorage.removeItem('quesSelectId' + this.sid + this.cid)
loading.close()
setTimeout(() => {
this.$router.push({ path: `/app/my-learn/course-detail/${this.sid}/${this.cid}` })
}, 2000)
}
}).catch(e => {
/* 答题 记录计入本地缓存 */
window.localStorage.setItem('quesLocal' + this.sid + this.cid, JSON.stringify(qData.question))
window.localStorage.setItem('quesPage' + this.sid + this.cid, this.curPage)
window.localStorage.setItem('quesSelectId' + this.sid + this.cid, this.selectId)
this.$message.error('提交失败,请稍后刷新重试')
loading.close()
})
},
/* 按照id编号规则 放入 exam.group中 */
loadQuestion () {
this.exam.group = []
for (let i = 0; i < qData.question.length; i++) {
let exp = new RegExp('^\\d+-' + this.curPage, 'gi')
console.log(exp, qData.question[i].id)
if (exp.test(qData.question[i].id)) {
this.exam.group.push(qData.question[i])
if (qData.question[i].submit) {
this.lastPage = true
} else {
this.lastPage = false
}
}
}
this.progress = ((this.curPage - 1) / this.total * 100) + '%'
},
/* 点击下一页 */
nextPage () {
for (let i = 0; i < this.exam.group.length; i++) {
if (!this.exam.group[i].flag) {
this.$message.error('本页尚有题目未填写')
return
}
}
this.curPage++
this.loadQuestion()
/* 答题 记录计入本地缓存 */
window.localStorage.setItem('quesLocal' + this.sid + this.cid, JSON.stringify(qData.question))
window.localStorage.setItem('quesPage' + this.sid + this.cid, this.curPage)
window.localStorage.setItem('quesSelectId' + this.sid + this.cid, this.selectId)
},
/* 点击上一页 */
prevPage () {
this.curPage--
this.loadQuestion()
},
/**
* 辅助 radio选择
*/
radioClick (e) {
this.radioCur = e.currentTarget.dataset.index
},
/**
* radio选择
* PC端 值会 返回 选择的 值
*/
radioChange (val) {
let i = this.radioCur
let arr = this.exam.group[i].arr
let value = val
for (let j = 0; j < arr.length; j++) {
arr[j]['selected'] = 0
}
arr[value].selected = 1
/* 记录 题目是否 已经选过 */
this.exam.group[i].flag = true
},
/**
* 辅助 checkbox选择
*/
checkboxClick (e) {
this.checkboxCur = e.currentTarget.dataset.index
},
/**
* checkbox选择
*/
checkboxChange (val) {
let i = this.checkboxCur
let arr = this.exam.group[i].arr
let value = val
for (let j = 0; j < arr.length; j++) {
arr[j]['selected'] = 0
}
for (let j = 0; j < value.length; j++) {
arr[value[j]].selected = 1
}
/* 记录 题目是否 已经选过 */
if (!value.length) {
this.exam.group[i].flag = false
} else {
this.exam.group[i].flag = true
}
},
/* hover选中星星 */
hoverStar (index, len, i) {
},
/* 点击选中星星 */
setStar (index, len, i) {
this.exam.group[index].arr[i].star = len
/* 答题 记录计入本地缓存 */
window.localStorage.setItem('quesLocal' + this.sid + this.cid, JSON.stringify(qData.question))
window.localStorage.setItem('quesPage' + this.sid + this.cid, this.curPage)
window.localStorage.setItem('quesSelectId' + this.sid + this.cid, this.selectId)
},
/* 内容离开保存 */
leaveSave () {
/* 答题 记录计入本地缓存 */
window.localStorage.setItem('quesLocal' + this.sid + this.cid, JSON.stringify(qData.question))
window.localStorage.setItem('quesPage' + this.sid + this.cid, this.curPage)
window.localStorage.setItem('quesSelectId' + this.sid + this.cid, this.selectId)
}
}
}
</script>
<style lang="scss" scoped>
@import './index.css';
.survey-container {
display: block;
max-width: 900px;
margin: 0 auto;
.bottom {
float: left;
margin-top: 20px;
font-size: 20px;
text-align: justify;
}
.header {
padding: 20px;
background: #ffffff;
.title {
font-size: 30px;
text-align: center;
margin-bottom: 10px;
}
.sub-title {
padding: 0 30px;
text-indent: 40px;
font-size: 16px;
text-align: justify;
margin-bottom: 20px;
}
.sub-left {
font-size: 20px;
padding-left: 30px;
.sub-right {
float: right;
}
}
width: 100%;
img {
display: block;
width: 100%;
}
}
.progress {
width: 100%;
height: 6px;
background: #b5b5b5;
.cur-progress {
display: block;
height: 100%;
background: #ebbb14;
}
}
.exam-box {
padding: 55px 8.7% 100px 8.7%;
background: #ffffff;
overflow: hidden;
/* 选择样式 */
.q-group {
padding: 20px 0 10px 0;
font-size: 20px;
color: #313131;
border-bottom: 1px dashed #dcdcdc;
overflow: hidden;
.q-item {
display: block;
font-weight: 700;
margin-bottom: 10px;
}
.star-item {
line-height: 2;
overflow: hidden;
.left-txt {
float: left;
width: 70%;
}
.right-stars {
float: right;
.icon {
font-size: 24px;
cursor: pointer;
&.el-icon-self-star_full {
color: #a98c58;
}
}
}
}
}
.q-group:last-child {
border-bottom: none;
}
.btn {
float: left;
width: 150px;
height: 42px;
margin-top: 50px;
margin-right: 25px;
text-align: center;
font-size: 18px;
line-height: 42px;
color: #eedfb1;
background: #b01b3c;
border-radius: 6px;
cursor: pointer;
&.none {
display: none;
}
}
}
}
</style>
<template>
<div class="survey-container">
<div class="header">
<!-- <img src="./logo-header-phone.jpg" alt=""> -->
{{headerInfo.title}}(课程评估)
</div>
<div class="progress">
<div class="cur-progress" :style="{ width: progress}"></div>
</div>
<div class="exam-box">
<template v-for='(item, index) in exam.group'>
<template v-if='item.type === 1'>
<div v-bind:key="index" class='q-group' @click="radioClick" :data-index='index'>
<div class='q-item'>{{item.title}}</div>
<el-radio-group class='radio-group' @change='radioChange' v-model="item.sel">
<template v-for='(item1, index1) in item.arr'>
<!-- checked='{{item1.selected}}' -->
<el-radio v-bind:key="index1" :label='index1' :disabled='!!item.cur' :class='["radio"]'>{{item1.option}}</el-radio>
<template v-if="item1.txt !== undefined && item1.selected">
<el-input v-bind:key="item1.id" v-model="item1.txt" placeholder="请说明"></el-input>
</template>
</template>
</el-radio-group>
</div>
</template>
<template v-if='item.type === 2'>
<div v-bind:key="index" class='q-group' @click="checkboxClick" :data-index='index'>
<div class='q-item'>{{item.title}}</div>
<el-checkbox-group class='checkbox-group' @change='checkboxChange' v-model="item.arrSel">
<template v-for='(item1, index1) in item.arr'>
<!-- value='{{index1}}' -->
<el-checkbox v-bind:key="item1.id" :label='index1' :disabled='!!item.cur' :class='["checkbox"]'>{{item1.option}}</el-checkbox>
<template v-if="item1.txt !== undefined && item1.selected">
<el-input v-bind:key="index1" v-model="item1.txt" placeholder="请说明"></el-input>
</template>
</template>
</el-checkbox-group>
</div>
</template>
<template v-if="item.type === 3">
<div v-bind:key="index" class='q-group'>
<div class='q-item'>{{item.title}}</div>
<template v-for='(item1, index1) in item.arr'>
<div v-bind:key="item1.id" class="star-item">
<div class="left-txt">{{item1.option}}</div>
<template v-if="item1.star !== undefined">
<div class="right-stars">
<i :class="['icon', (item1.star >= 1 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(1, index1)" @mouseenter="hoverStar(1, index1)"></i>
<i :class="['icon', (item1.star >= 2 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(2, index1)" @mouseenter="hoverStar(2, index1)"></i>
<i :class="['icon', (item1.star >= 3 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(3, index1)" @mouseenter="hoverStar(3, index1)"></i>
<i :class="['icon', (item1.star >= 4 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(4, index1)" @mouseenter="hoverStar(4, index1)"></i>
<i :class="['icon', (item1.star === 5 ? 'el-icon-self-star_full' : 'el-icon-self-wujiaoxing')]" @click="setStar(5, index1)" @mouseenter="hoverStar(5, index1)"></i>
</div>
</template>
</div>
</template>
<div style="width: 100%; height: 20px;"></div>
<el-input
type="textarea"
:rows="4"
placeholder="还有哪些需要改进的方面"
v-model="item.textarea">
</el-input>
</div>
</template>
</template>
<div class="btns-fix">
<div :class="['btn', this.curPage > 1 ? 'two c-btn' : 'none']" @click="prevPage">上一页</div>
<template v-if="lastPage">
<div :class="['btn', this.lastPage ? 'two' : '']" @click="goSubmit">提交</div>
</template>
<template v-else>
<div :class="['btn', this.curPage > 1 ? 'two' : '']" @click="nextPage">下一页</div>
</template>
</div>
</div>
</div>
</template>
<script>
import qData from './store/data'
import cAction from '@actions'
import Base64 from 'Base64'
import _ from 'lodash'
export default {
props: {
sid: { type: String, require: false },
cid: { type: String, require: false }
},
data () {
let _headerInfo = JSON.parse(window.localStorage.getItem('headerInfo') || '{}')
return {
dataQuestion: _.assignIn({}, qData.question),
headerInfo: _headerInfo,
exam: {
id: '',
semester_id: '',
title: '',
score: '',
work_contents: '',
group: []
},
// 提交时,传入的参数值
param: {
semester_id: '',
course_id: '',
raw: '' // base64
},
count: 0,
/* 进入页面记录初试时间 */
startTime: '',
setTime: null,
/* 当前 radio点击 */
radioCur: '',
/* 当前 checkbox点击 */
checkCur: '',
/* 记录当前页 */
curPage: 1,
/* 记录 区分选择项 */
selectId: '',
/* 记录页数进度 */
progress: '',
/* 总共题目数 */
total: 7,
/* 最后一页 */
lastPage: false
}
},
mounted () {
/* 读取本地缓存 */
let quesLocal = window.localStorage.getItem('quesLocal' + this.sid + this.cid)
let quesPage = window.localStorage.getItem('quesPage' + this.sid + this.cid)
let quesSelectId = window.localStorage.getItem('quesSelectId' + this.sid + this.cid)
if (quesLocal) {
qData.question = JSON.parse(quesLocal)
this.curPage = quesPage
this.selectId = quesSelectId
}
this.loadQuestion()
},
destroyed () {
qData.question = this.dataQuestion
},
methods: {
/* 提交数据 */
goSubmit () {
const loading = this.$loading({ lock: true, text: '', spinner: '', background: 'rgba(255, 255, 255, 0.9)' })
cAction.chapterAction.updateSurveyAnswer({
semester_id: this.sid,
course_id: this.cid,
raw: Base64.encode(JSON.stringify(qData.question))
}).then(res => {
if (res.id) {
this.$router.push({ path: `/result/${this.iphone}/${encodeURIComponent(this.email)}/${res.id}` })
}
/* 答题成功,清空本地缓存 */
window.localStorage.removeItem('quesLocal' + this.sid + this.cid)
window.localStorage.removeItem('quesPage' + this.sid + this.cid)
window.localStorage.removeItem('quesSelectId' + this.sid + this.cid)
loading.close()
}).catch(e => {
/* 答题 记录计入本地缓存 */
window.localStorage.setItem('quesLocal' + this.sid + this.cid, JSON.stringify(qData.question))
window.localStorage.setItem('quesPage' + this.sid + this.cid, this.curPage)
window.localStorage.setItem('quesSelectId' + this.sid + this.cid, this.selectId)
this.$message.error('提交失败,请稍后刷新重试')
loading.close()
})
},
/* 按照id编号规则 放入 exam.group中 */
loadQuestion () {
this.exam.group = []
for (let i = 0; i < qData.question.length; i++) {
let exp = new RegExp('$\\d+-' + this.curPage, 'gi')
if (exp.test(qData.question[i].id)) {
this.exam.group.push(qData.question[i])
if (qData.question[i].submit) {
this.lastPage = true
} else {
this.lastPage = false
}
}
}
this.progress = ((this.curPage - 1) / this.total * 100) + '%'
},
/* 点击下一页 */
nextPage () {
for (let i = 0; i < this.exam.group.length; i++) {
if (!this.exam.group[i].flag) {
this.$message.error('本页尚有题目未填写')
return
}
}
/* 做区分,需要特殊判断 */
if (this.curPage === 4) {
if (this.exam.group[0].arr[3].selected) {
this.selectId = '4-4'
} else {
this.selectId = '4-1'
}
}
this.curPage++
this.loadQuestion()
/* 答题 记录计入本地缓存 */
window.localStorage.setItem('quesLocal' + this.sid + this.cid, JSON.stringify(qData.question))
window.localStorage.setItem('quesPage' + this.sid + this.cid, this.curPage)
window.localStorage.setItem('quesSelectId' + this.sid + this.cid, this.selectId)
},
/* 点击上一页 */
prevPage () {
this.curPage--
if (this.curPage <= 4) {
this.selectId = ''
}
this.loadQuestion()
},
/**
* 辅助 radio选择
*/
radioClick (e) {
this.radioCur = e.currentTarget.dataset.index
},
/**
* radio选择
* PC端 值会 返回 选择的 值
*/
radioChange (val) {
let i = this.radioCur
let arr = this.exam.group[i].arr
let value = val
for (let j = 0; j < arr.length; j++) {
arr[j]['selected'] = 0
}
arr[value].selected = 1
/* 记录 题目是否 已经选过 */
this.exam.group[i].flag = true
},
/**
* 辅助 checkbox选择
*/
checkboxClick (e) {
this.checkboxCur = e.currentTarget.dataset.index
},
/**
* checkbox选择
*/
checkboxChange (val) {
let i = this.checkboxCur
let arr = this.exam.group[i].arr
let value = val
for (let j = 0; j < arr.length; j++) {
arr[j]['selected'] = 0
}
for (let j = 0; j < value.length; j++) {
arr[value[j]].selected = 1
}
/* 记录 题目是否 已经选过 */
if (!value.length) {
this.exam.group[i].flag = false
} else {
this.exam.group[i].flag = true
}
},
/* hover选中星星 */
hoverStar (len, i) {
},
/* 点击选中星星 */
setStar (len, i) {
this.exam.group[0].arr[i].star = len
}
}
}
</script>
<style lang="scss" scoped>
@import './index.css';
.survey-container {
display: block;
max-width: 640px;
height: 100%;
margin: 0 auto;
background: #ffffff;
.header {
font-size: 20px;
text-align: center;
padding: 20px;
background: #ffffff;
width: 100%;
img {
display: block;
width: 100%;
}
}
.progress {
width: 100%;
height: 6px;
background: #b5b5b5;
.cur-progress {
display: block;
height: 100%;
background: #ebbb14;
}
}
.exam-box {
position: relative;
padding: 20px 20px 70px 20px;
background: #ffffff;
overflow: hidden;
/* 选择样式 */
.q-group {
padding: 0;
font-size: 20px;
color: #313131;
overflow: hidden;
.q-item {
display: block;
font-weight: 700;
margin-bottom: 10px;
}
.star-item {
line-height: 2;
overflow: hidden;
.left-txt {
float: left;
width: 58%;
font-size: 18px;
line-height: 40px;
}
.right-stars {
float: right;
.icon {
font-size: 18px;
cursor: pointer;
&.el-icon-self-star_full {
color: #a98c58;
}
}
}
}
}
.q-group:last-child {
border-bottom: none;
}
.btns-fix {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
.btn {
float: left;
width: 100%;
height: 50px;
text-align: center;
font-size: 18px;
line-height: 50px;
color: #eedfb1;
background: #b01b3c;
cursor: pointer;
&.none {
display: none;
}
&.two {
width: 50%;
}
&.c-btn {
background: #b5b5b5;
color: #ffffff;
}
}
}
}
}
</style>
......@@ -108,6 +108,9 @@ export default class ChapterActon {
}, {
name: '课程资料',
id: 'course_info'
}, {
name: '教学评估',
id: 'teach_evaluation'
}]
})
let courseWork = _res.curriculum || {}
......@@ -193,4 +196,6 @@ export default class ChapterActon {
getCourseHomework (sid, cid) { return chapterApi.getCourseHomework(sid, cid).then(res => res) }
/* 提交大作业 */
updateCourseHomework (sid, cid, obj) { return chapterApi.updateCourseHomework(sid, cid, obj).then(res => res) }
/* 提交课程考核 */
updateSurveyAnswer (obj) { return chapterApi.updateSurveyAnswer(obj).then(res => res) }
}
......@@ -138,6 +138,14 @@ export default class CourseAction {
sid: sid,
cid: cid
})
json.tabs1ChapterList.course.push({
title: '教学评估',
isUp: true,
chapters: [],
type: 'teach_evaluation',
sid: sid,
cid: cid
})
/* 课程考核 考核标准文案读取 */
json.tabs3richTest = cur.course_evaluation
// callback(json) // 可以不使用callback 因为使用then
......
......@@ -11,17 +11,17 @@
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
<div class="compulsory-core">
<div class="title">必修学分</div>
<div class="core">{{score.must + 1}}</div>
<div class="core">{{score.must}}</div>
<el-progress :text-inside="true" :stroke-width="30" :percentage="Math.floor(score.myMust/score.must) || 0" color="#8ca4cf"></el-progress>
</div>
</el-col>
<!-- <el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12">
<div class="elective-core">
<div class="title">选修学分</div>
<div class="core">{{score.unmust}}</div>
<el-progress :text-inside="true" :stroke-width="30" :percentage="Math.floor(score.myUnmust/score.unmust) || 0" color="#66c6bd"></el-progress>
</div>
</el-col> -->
</el-col>
</el-row>
<div class="color-box">
<div class="color" style="background: #8ca4cf;"></div><div class="txt">必修学分</div>
......
......@@ -453,6 +453,16 @@ export default {
this.$router.push({ path: `/player/${sid}/${cid}/course-info/course_info` })
} else if (course.type === 'course_work') {
this.$router.push({ path: `/player/${sid}/${cid}/course-work/course_work` })
} else if (course.type === 'teach_evaluation') {
/* 暂时 不增加 手机端 */
// let w = document.documentElement.clientWidth
window.localStorage.setItem('headerInfo', JSON.stringify(this.headerInfo))
this.$router.push({ path: `/survey/${sid}/${cid}` })
// if (w > 767) {
// this.$router.push({ path: `/survey/${sid}/${cid}` })
// } else {
// this.$router.push({ path: `/survey-phone/${sid}/${cid}` })
// }
}
}
},
......
......@@ -122,6 +122,22 @@ export default [
},
/* App 内登录页面未找到时 - 指向 */
{ path: '/player/*', redirect: '/player/0/0/error/404' },
{
path: '/survey/:sid/:cid',
name: 'survey',
component: () => import('../../components/survey/survey.vue'),
props: true
},
/* survey 内未找到页面时 - 指向 */
{ path: '/survey/*', redirect: '/learn-error/learn-error' },
{
path: '/survey-phone/:sid/:cid',
name: 'survey-phone',
component: () => import('../../components/survey/surveyPhone.vue'),
props: true
},
/* survey-phone 内未找到页面时 - 指向 */
{ path: '/survey-phone/*', redirect: '/learn-error/learn-error' },
/* 静态测试页面 */
{ path: '/static/index', component: () => import('../pages/static/index.vue') },
/* 如果所有页面都没找到 - 指向 */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论