1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-513c902a"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),Math.easeInOutQuad=function(e,t,a,o){return e/=o/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var o=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function i(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(e,t,a){var n=r(),s=e-n,c=20,u=0;t="undefined"===typeof t?500:t;var l=function e(){u+=c;var r=Math.easeInOutQuad(u,n,s,t);i(r),u<t?o(e):a&&"function"===typeof a&&a()};l()}},"64ca":function(e,t,a){"use strict";a.d(t,"f",(function(){return i})),a.d(t,"m",(function(){return r})),a.d(t,"g",(function(){return n})),a.d(t,"n",(function(){return s})),a.d(t,"o",(function(){return c})),a.d(t,"v",(function(){return u})),a.d(t,"l",(function(){return l})),a.d(t,"x",(function(){return d})),a.d(t,"e",(function(){return p})),a.d(t,"u",(function(){return m})),a.d(t,"p",(function(){return v})),a.d(t,"c",(function(){return f})),a.d(t,"r",(function(){return b})),a.d(t,"z",(function(){return h})),a.d(t,"s",(function(){return _})),a.d(t,"j",(function(){return g})),a.d(t,"a",(function(){return y})),a.d(t,"h",(function(){return w})),a.d(t,"k",(function(){return L})),a.d(t,"q",(function(){return O})),a.d(t,"t",(function(){return j})),a.d(t,"d",(function(){return k})),a.d(t,"i",(function(){return R})),a.d(t,"b",(function(){return T})),a.d(t,"w",(function(){return V})),a.d(t,"y",(function(){return x}));var o=a("829b"),i=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/add",method:"post",data:e,requestType:"json"})},r=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/queryPage",method:"post",data:e,requestType:"json"})},n=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/delete",method:"post",data:e,requestType:"json"})},s=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoomMember/queryRoomDetail",method:"post",data:e})},c=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoomMember/queryRoomMember",method:"post",data:e})},u=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/update",method:"post",data:e,requestType:"json"})},l=function(e){return Object(o["a"])({url:"/api-web/imGroup/queryGroupList",method:"get",data:e,params:e})},d=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/shareGroup",method:"get",data:e,params:e})},p=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/roomDestroy/"+e,method:"get",data:e,params:e})},m=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/opsPopularize",method:"get",data:e,params:e})},v=function(e){return Object(o["a"])({url:"/api-web/liveGoodsMapper/page",method:"post",data:e,requestType:"form"})},f=function(e){return Object(o["a"])({url:"/api-web/liveGoodsMapper/add",method:"post",data:e,requestType:"form"})},b=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/queryRoomInfo",method:"get",data:e,params:e})},h=function(e){return Object(o["a"])({url:"/api-web/liveGoodsMapper/updateStatus",method:"post",data:e,requestType:"form"})},_=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/query/roomUser",method:"post",data:e})},g=function(e){return Object(o["a"])({url:"/api-web/imLiveRoomBlack/queryBlackList",method:"post",data:e})},y=function(e){return Object(o["a"])({url:"/api-web/imLiveRoomBlack/add",method:"post",data:e})},w=function(e){return Object(o["a"])({url:"/api-web/imLiveRoomBlack/delete",method:"post",data:e})},L=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/queryLiveRoomGoodsOrderList",method:"get",data:e,params:e})},O=function(e){return Object(o["a"])({url:"/api-web/imLiveRoomPurview/queryStudent",method:"post",data:e})},j=function(e){return Object(o["a"])({url:"/api-web/imLiveRoomPurview/selectRoomPurviewStudent",method:"post",data:e})},k=function(e){return Object(o["a"])({url:"/api-web/imLiveRoomPurview/add",method:"get",data:e,params:e})},R=function(e){return Object(o["a"])({url:"/api-web/imLiveRoomPurview/delete",method:"get",data:e,params:e})},T=function(e){return Object(o["a"])({url:"/api-web/imLiveRoomPurview/addByCondition",method:"post",data:e,params:e})},V=function(e){return Object(o["a"])({url:"/api-web/imLiveBroadcastRoom/roomStart/".concat(e),method:"get",data:e,params:e})},x=function(e){return Object(o["a"])({url:"/api-web/sysTenantConfig/queryAll",params:e,method:"get"})}},"67ab9":function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[a("h2",[a("el-page-header",{attrs:{content:"直播详情"},on:{back:e.onCancel}})],1),e._v(" "),a("div",{staticClass:"m-core"},[a("div",{staticClass:"titleWrap"},[e._m(0),e._v(" "),a("el-row",{staticClass:"row"},[a("p",{staticClass:"teacherName"},[e._v("\n 主讲人:"),a("span",[e._v(e._s(e.detail.speakerName))])]),e._v(" "),a("p",{staticClass:"teacherName sub"},[e._v("\n 主题:"),a("span",[e._v(e._s(e.detail.roomTitle))])]),e._v(" "),e.videoList.length>0?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,o){return a("div",{key:o,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"},["mobile"==e.activeVideo.os&&"m3u8"!=e.activeVideo.videoType?a("vue-core-video-player",{ref:"dialogVideo",staticStyle:{width:"480px"},attrs:{src:e.activeVideo.url}},[e._v("\n 您的浏览器不支持视频播放\n ")]):e._e(),e._v(" "),"mobile"==e.activeVideo.os&&"m3u8"==e.activeVideo.videoType?a("vue-core-video-player",{ref:"dialogVideo",staticStyle:{width:"480px"},attrs:{src:e.activeVideo.url,core:e.HLSCore}},[e._v("\n 您的浏览器不支持视频播放\n ")]):e._e(),e._v(" "),"client"==e.activeVideo.os?a("vue-core-video-player",{ref:"dialogVideo",staticStyle:{width:"640px"},attrs:{src:e.activeVideo.url,core:e.HLSCore}},[e._v("\n 您的浏览器不支持视频播放\n ")]):e._e(),e._v(" "),"pc"==e.activeVideo.os?a("vue-core-video-player",{ref:"dialogVideo",staticStyle:{width:"640px"},attrs:{src:e.activeVideo.url}},[e._v("\n 您的浏览器不支持视频播放\n ")]):e._e()],1)]):e._e()],1)},i=[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 ")])}],r=a("db72"),n=a("c80c"),s=(a("96cf"),a("3b8d")),c=(a("386d"),a("333d")),u=a("e3eb"),l=a.n(u),d=a("4328"),p=a.n(d),m=a("64ca"),v=a("adb21"),f=a("b023"),b=a.n(f),h=a("12f5"),_=a.n(h),g={components:{pagination:c["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:_.a,videoPlace:b.a}},mounted:function(){this.getDetail(),this.getList(),console.log(_.a,"HLSCore")},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(s["a"])(Object(n["a"])().mark((function e(){var t,a;return Object(n["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(m["o"])(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(s["a"])(Object(n["a"])().mark((function e(){var t,a;return Object(n["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(m["n"])(t);case 4:a=e.sent,this.detail=Object(r["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(v["a"])(this,{url:"/api-web/export/liveBroadcastRoomMember",fileName:'"'.concat(this.detail.roomTitle,'"参与学员.xls'),method:"post",params:p.a.stringify(l()(e))},'您确定导出"'.concat(this.detail.roomTitle,'"参与学员?'))}}},y=g,w=(a("687b"),a("2877")),L=Object(w["a"])(y,o,i,!1,null,"d9ce4dc4",null);t["default"]=L.exports},"687b":function(e,t,a){"use strict";a("8f4c")},"8f4c":function(e,t,a){},adb21:function(e,t,a){"use strict";a.d(t,"a",(function(){return u}));var o=a("bc3a"),i=a.n(o),r=(a("4328"),a("5f87")),n=a("3908"),s=a("e3eb"),c=a.n(s),u=function(e,t,a,o){var s=t.url,u={method:t.method?t.method:"get",headers:{Authorization:Object(r["b"])(),tenantId:Object(r["a"])()},url:s,responseType:"blob"};"post"==u.method?u.data=t.params:u.params=t.params,e.$confirm(a||"您确定下载模板","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){n["a"].startLoading(),i()(c()(u)).then((function(a){var i=new Blob([a.data],{type:"application/vnd.ms-excel;charset=utf-8"}),r=new Response(i).text();r.then((function(a){if(-1!=a.indexOf("code")){var r=JSON.parse(a);if(403==r.code)return e.$message.error("登录过期,请重新登录!"),void setTimeout((function(){e.$store.dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);200==r.code?e.$message.success(r.msg):e.$message.error(r.msg),o&&o()}else{var n=URL.createObjectURL(i),s=document.createElement("a"),c=t.fileName||"导出文件.xls";s.href=n,s.setAttribute("download",c),document.body.appendChild(s),s.click(),o&&o()}})),n["a"].endLoading()})).catch((function(t){console.log(t),e.$message.error("下载失败,请联系管理员"),n["a"].endLoading()}))})).catch((function(){}))}},b023:function(e,t,a){e.exports=a.p+"static/img/video-place.77af8bcb.png"}}]);
|