chunk-cb791008.e86eb8f2.js 17 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-cb791008"],{"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 o(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function n(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,a){var i=n(),u=e-i,s=20,c=0;t="undefined"===typeof t?500:t;var d=function e(){c+=s;var n=Math.easeInOutQuad(c,i,u,t);o(n),c<t?r(e):a&&"function"===typeof a&&a()};d()}},"64ca":function(e,t,a){"use strict";a.d(t,"h",(function(){return o})),a.d(t,"t",(function(){return n})),a.d(t,"j",(function(){return i})),a.d(t,"u",(function(){return u})),a.d(t,"v",(function(){return s})),a.d(t,"J",(function(){return c})),a.d(t,"s",(function(){return d})),a.d(t,"L",(function(){return l})),a.d(t,"g",(function(){return p})),a.d(t,"I",(function(){return m})),a.d(t,"w",(function(){return v})),a.d(t,"c",(function(){return f})),a.d(t,"z",(function(){return b})),a.d(t,"N",(function(){return h})),a.d(t,"A",(function(){return g})),a.d(t,"p",(function(){return w})),a.d(t,"a",(function(){return y})),a.d(t,"m",(function(){return _})),a.d(t,"r",(function(){return O})),a.d(t,"y",(function(){return j})),a.d(t,"C",(function(){return L})),a.d(t,"d",(function(){return S})),a.d(t,"n",(function(){return k})),a.d(t,"b",(function(){return T})),a.d(t,"K",(function(){return R})),a.d(t,"M",(function(){return C})),a.d(t,"G",(function(){return V})),a.d(t,"H",(function(){return x})),a.d(t,"F",(function(){return q})),a.d(t,"o",(function(){return B})),a.d(t,"B",(function(){return M})),a.d(t,"E",(function(){return F})),a.d(t,"O",(function(){return G})),a.d(t,"k",(function(){return N})),a.d(t,"i",(function(){return $})),a.d(t,"x",(function(){return P})),a.d(t,"e",(function(){return E})),a.d(t,"f",(function(){return I})),a.d(t,"l",(function(){return U})),a.d(t,"D",(function(){return A})),a.d(t,"q",(function(){return z}));var r=a("829b"),o=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/add",method:"post",data:e,requestType:"json"})},n=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/queryPage",method:"post",data:e,requestType:"json"})},i=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/delete",method:"post",data:e,requestType:"json"})},u=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoomMember/queryRoomDetail",method:"post",data:e})},s=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoomMember/queryRoomMember",method:"post",data:e})},c=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/update",method:"post",data:e,requestType:"json"})},d=function(e){return Object(r["a"])({url:"/api-web/imGroup/queryGroupList",method:"get",data:e,params:e})},l=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/shareGroup",method:"get",data:e,params:e})},p=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/roomDestroy/"+e,method:"get",data:e,params:e})},m=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/opsPopularize",method:"get",data:e,params:e})},v=function(e){return Object(r["a"])({url:"/api-web/liveGoodsMapper/page",method:"post",data:e,requestType:"form"})},f=function(e){return Object(r["a"])({url:"/api-web/liveGoodsMapper/add",method:"post",data:e,requestType:"form"})},b=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/queryRoomInfo",method:"get",data:e,params:e})},h=function(e){return Object(r["a"])({url:"/api-web/liveGoodsMapper/updateStatus",method:"post",data:e,requestType:"form"})},g=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/query/roomUser",method:"post",data:e})},w=function(e){return Object(r["a"])({url:"/api-web/imLiveRoomBlack/queryBlackList",method:"post",data:e})},y=function(e){return Object(r["a"])({url:"/api-web/imLiveRoomBlack/add",method:"post",data:e})},_=function(e){return Object(r["a"])({url:"/api-web/imLiveRoomBlack/delete",method:"post",data:e})},O=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/queryLiveRoomGoodsOrderList",method:"get",data:e,params:e})},j=function(e){return Object(r["a"])({url:"/api-web/imLiveRoomPurview/queryStudent",method:"post",data:e})},L=function(e){return Object(r["a"])({url:"/api-web/imLiveRoomPurview/selectRoomPurviewStudent",method:"post",data:e})},S=function(e){return Object(r["a"])({url:"/api-web/imLiveRoomPurview/add",method:"get",data:e,params:e})},k=function(e){return Object(r["a"])({url:"/api-web/imLiveRoomPurview/delete",method:"get",data:e,params:e})},T=function(e){return Object(r["a"])({url:"/api-web/imLiveRoomPurview/addByCondition",method:"post",data:e,params:e})},R=function(e){return Object(r["a"])({url:"/api-web/imLiveBroadcastRoom/roomStart/".concat(e),method:"get",data:e,params:e})},C=function(e){return Object(r["a"])({url:"/api-web/sysTenantConfig/queryAll",params:e,method:"get"})},V=function(e){return Object(r["a"])({url:"/api-web/vipGroupManage/liveGroupDetail/"+e.id,method:"get"})},x=function(e){return Object(r["a"])({url:"/api-web/vipGroupManage/liveStudentList",method:"post",data:e})},q=function(e){return Object(r["a"])({url:"/api-web/vipGroupManage/liveCourseList",method:"post",data:e})},B=function(e){return Object(r["a"])({url:"/api-web/teacher/findTeacherByTenantId",method:"get",params:e})};function M(e){return Object(r["a"])({url:"/api-web/vipGroupManage/getStudentSurplusCourseFee",method:"get",params:e})}function F(e){return Object(r["a"])({url:"/api-web/vipGroupManage/applyRefundForStudent",method:"POST",requestType:"form",data:e})}function G(e){return Object(r["a"])({url:"/api-web/vipGroupManage/updateLiveGroup",method:"POST",data:e})}function N(e){return Object(r["a"])({url:"/api-web/vipGroupManage/delLiveGroup/"+e.id,method:"get"})}function $(e){return Object(r["a"])({url:"/api-web/courseSchedule/updateCourseScheduleShareMode",method:"POST",data:e})}function P(e){return Object(r["a"])({url:"/api-web/courseShare/queryCourseSharedStudent",method:"get",data:e,params:e})}function E(e){return Object(r["a"])({url:"/api-web/courseShare/saveCourseShare",method:"post",data:e})}function I(e){return Object(r["a"])({url:"/api-web/courseShare/saveCourseShareByOne",method:"post",data:e})}function U(e){return Object(r["a"])({url:"/api-web/courseShare/deleteShareStudent",method:"post",data:e})}function A(e){return Object(r["a"])({url:"/api-web/courseShare/queryAllCourseShareStudent",method:"get",data:e,params:e})}function z(e){return Object(r["a"])({url:"/api-web/imLiveRoomVideo/queryList",method:"get",data:e,params:e})}},"67ab9":function(e,t,a){"use strict";a.r(t);var r=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,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"},["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)},o=[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 ")])}],n=a("db72"),i=a("c80c"),u=(a("96cf"),a("3b8d")),s=(a("386d"),a("333d")),c=a("e3eb"),d=a.n(c),l=a("4328"),p=a.n(l),m=a("64ca"),v=a("adb21"),f=a("b023"),b=a.n(f),h=a("12f5"),g=a.n(h),w={components:{pagination: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:g.a,videoPlace:b.a}},mounted:function(){this.getDetail(),this.getList(),console.log(g.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(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(m["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(m["u"])(t);case 4:a=e.sent,this.detail=Object(n["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(d()(e))},'您确定导出"'.concat(this.detail.roomTitle,'"参与学员?'))}}},y=w,_=(a("83ea"),a("2877")),O=Object(_["a"])(y,r,o,!1,null,"d9ce4dc4",null);t["default"]=O.exports},"83ea":function(e,t,a){"use strict";a("a43a")},a43a:function(e,t,a){},adb21:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var r=a("bc3a"),o=a.n(r),n=(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(n["b"])(),tenantId:Object(n["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(),o()(s()(c)).then((function(a){var o=new Blob([a.data],{type:"application/vnd.ms-excel;charset=utf-8"}),n=new Response(o).text();n.then((function(a){if(-1!=a.indexOf("code")){var n=JSON.parse(a);if(403==n.code)return e.$message.error("登录过期,请重新登录!"),void setTimeout((function(){e.$store.dispatch("user/resetToken").then((function(){location.reload()}))}),1e3);200==n.code?e.$message.success(n.msg):e.$message.error(n.msg),r&&r()}else{var i=URL.createObjectURL(o),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"}}]);