(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7eae7740"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,a,r){return e/=r/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var r=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function n(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,a){var i=o(),u=e-i,s=20,c=0;t="undefined"===typeof t?500:t;var l=function e(){c+=s;var o=Math.easeInOutQuad(c,i,u,t);n(o),c0?a("el-button",{staticClass:"fontBtn",attrs:{type:"text"},on:{click:function(t){e.payVisible=!0}}},[e._v("直播回放 "),a("i",{staticClass:"el-icon-video-play"})]):e._e()],1),e._v(" "),a("p",{staticClass:"liveRemark"},[e._v("\n 直播内容:"),a("span",[e._v(e._s(e.detail.liveRemark))])])],1),e._v(" "),a("div",{staticClass:"infoWrap"},[a("statistic",{staticClass:"statistic",attrs:{cols:0}},[a("statistic-item",[a("span",[e._v(" 参与学员 ")]),e._v(" "),a("span",[e._v(e._s(e.detail.totalLookNum))])]),e._v(" "),a("statistic-item",[a("span",[e._v(" 累计点赞 ")]),e._v(" "),a("span",[e._v(e._s(e.detail.totalLikeNum))])]),e._v(" "),a("statistic-item",[a("span",[e._v(" 直播时长(分钟) ")]),e._v(" "),a("span",[e._v(e._s(e.detail.totalLiveTime))])])],1)],1),e._v(" "),a("save-form",{ref:"searchForm",attrs:{inline:!0,model:e.searchForm},on:{submit:e.search,reset:e.onReSet}},[a("el-form-item",[a("el-input",{attrs:{clearable:"",placeholder:"学员编号/姓名"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){t.target.blur(),e.$refs.searchForm.save(),e.search()}(t)}},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[e._v("重置")]),e._v(" "),e.tableList.length>0?a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"export/liveBroadcastRoomMember",expression:"'export/liveBroadcastRoomMember'"}],attrs:{type:"primary"},on:{click:e.exportStudent}},[e._v("导出")]):e._e()],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:e.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"学员编号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentName",label:"学员姓名"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"organName",label:"分部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"musicGroupName",label:"乐团"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("tooltip",{attrs:{content:e.row.musicGroupName}})]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subName",label:"声部"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"joinTime",label:"进入时间"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"totalViewTime",label:"观看时长"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(t.row.totalViewTime)+"分钟")])]}}])})],1),e._v(" "),a("pagination",{attrs:{sync:"",total:e.rules.total,page:e.rules.page,limit:e.rules.limit,"page-sizes":e.rules.page_size},on:{"update:total":function(t){return e.$set(e.rules,"total",t)},"update:page":function(t){return e.$set(e.rules,"page",t)},"update:limit":function(t){return e.$set(e.rules,"limit",t)},pagination:e.getList}})],1)],1),e._v(" "),e.payVisible?a("el-dialog",{attrs:{visible:e.payVisible,width:"500px",title:"直播回放"},on:{"update:visible":function(t){e.payVisible=t}}},[a("div",{staticClass:"lineWrap"},e._l(e.videoList,(function(t,r){return a("div",{key:r,staticClass:"linkItem",on:{click:function(a){return e.opneVideo(t)}}},[a("div",{staticClass:"linkItemWrap"},[a("img",{attrs:{width:"110px",src:e.videoPlace,alt:""}}),e._v(" "),a("i",{staticClass:"el-icon-video-play linkIcon"})]),e._v(" "),a("p",{staticClass:"lineTitle",attrs:{underline:!1,type:"text"}},[e._v("\n "+e._s(e._f("dateForMinFormat")(t.endTime))+"\n ")])])})),0),e._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(t){e.payVisible=!1}}},[e._v("确 定")])],1)]):e._e(),e._v(" "),e.videoVisible?a("el-dialog",{attrs:{title:e._f("dateForMinFormat")(e.activeVideo.endTime),width:"680px","append-to-body":"",visible:e.videoVisible},on:{"update:visible":function(t){e.videoVisible=t}}},[a("div",{staticClass:"activeVideoWrap"},[a("videoTcplayer",{staticClass:"ql-video",attrs:{src:e.activeVideo.url}})],1)]):e._e()],1)},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",{staticClass:"squrtTitle"},[a("div",{staticClass:"squrt"}),e._v("\n 直播数据\n ")])}],o=a("5530"),i=a("c7eb"),u=(a("96cf"),a("1da1")),s=(a("386d"),a("8793")),c=a("333d"),l=a("e3eb"),d=a.n(l),p=a("4328"),m=a.n(p),f=a("64ca"),b=a("adb21"),v=a("b023"),h=a.n(v),g=a("12f5"),w=a.n(g),y={components:{pagination:c["a"],videoTcplayer:s["a"]},data:function(){return{searchForm:{search:""},tableList:[],detail:{list:null,liveRemark:"",roomTitle:"",roomUid:"",speakerName:"",totalLikeNum:0,totalLiveTime:0,totalLookNum:0},rules:{limit:10,page:1,total:0,page_size:[10,20,40,50]},videoList:[],payVisible:!1,videoVisible:!1,activeVideo:{endTime:""},HLSCore:w.a,videoPlace:h.a}},mounted:function(){this.getDetail(),this.getList()},methods:{onCancel:function(){this.$router.push("/liveClassManager"),this.$store.dispatch("delVisitedViews",this.$route)},search:function(){this.rules.page=1,this.getList()},onReSet:function(){this.searchForm.search="",this.search()},getList:function(){var e=Object(u["a"])(Object(i["a"])().mark((function e(){var t,a;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t={rows:this.rules.limit,page:this.rules.page,roomUid:this.$route.query.roomUid,search:this.searchForm.search},e.next=4,Object(f["v"])(t);case 4:a=e.sent,this.tableList=a.data.rows,this.rules.total=a.data.total,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](0),console.log(e.t0);case 12:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}(),getDetail:function(){var e=Object(u["a"])(Object(i["a"])().mark((function e(){var t,a;return Object(i["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t={roomUid:this.$route.query.roomUid},e.next=4,Object(f["u"])(t);case 4:a=e.sent,this.detail=Object(o["a"])({},a.data),this.videoList=a.data.videoList,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](0),console.log(e.t0);case 12:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}(),opneVideo:function(e){console.log(e,"opneVideo"),this.activeVideo=e,this.videoVisible=!0},exportStudent:function(){var e={rows:this.rules.limit,page:this.rules.page,roomUid:this.$route.query.roomUid,search:this.searchForm.search};Object(b["a"])(this,{url:"/api-web/export/liveBroadcastRoomMember",fileName:'"'.concat(this.detail.roomTitle,'"参与学员.xls'),method:"post",params:m.a.stringify(d()(e))},'您确定导出"'.concat(this.detail.roomTitle,'"参与学员?'))}}},_=y,O=(a("ceb3e"),a("2877")),j=Object(O["a"])(_,r,n,!1,null,"846b3dc0",null);t["default"]=j.exports},"806f":function(e,t,a){},adb21:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var r=a("bc3a"),n=a.n(r),o=(a("4328"),a("5f87")),i=a("3908"),u=a("e3eb"),s=a.n(u),c=function(e,t,a,r){var u=t.url,c={method:t.method?t.method:"get",headers:{Authorization:Object(o["b"])(),tenantId:Object(o["a"])()},url:u,responseType:"blob"};"post"==c.method?c.data=t.params:c.params=t.params,e.$confirm(a||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){i["a"].startLoading(),n()(s()(c)).then((function(a){var n=new Blob([a.data],{type:"application/vnd.ms-excel;charset=utf-8"}),o=new Response(n).text();o.then((function(a){if(-1!=a.indexOf("code")){var o=JSON.parse(a);if(403==o.code)return e.$message.error("登录过期,请重新登录!"),void setTimeout((function(){e.$store.dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);200==o.code?e.$message.success(o.msg):e.$message.error(o.msg),r&&r()}else{var i=URL.createObjectURL(n),u=document.createElement("a"),s=t.fileName||"导出文件.xls";u.href=i,u.setAttribute("download",s),document.body.appendChild(u),u.click(),r&&r()}})),i["a"].endLoading()})).catch((function(t){console.log(t),e.$message.error("下载失败,请联系管理员"),i["a"].endLoading()}))})).catch((function(){}))}},b023:function(e,t,a){e.exports=a.p+"static/img/video-place.77af8bcb.png"},ceb3e:function(e,t,a){"use strict";a("806f")}}]);