1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42d930ec"],{"09f4":function(t,e,a){"use strict";a.d(e,"a",(function(){return n})),Math.easeInOutQuad=function(t,e,a,i){return t/=i/2,t<1?a/2*t*t+e:(t--,-a/2*(t*(t-2)-1)+e)};var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function r(t){document.documentElement.scrollTop=t,document.body.parentNode.scrollTop=t,document.body.scrollTop=t}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function n(t,e,a){var n=o(),s=t-n,u=20,c=0;e="undefined"===typeof e?500:e;var l=function t(){c+=u;var o=Math.easeInOutQuad(c,n,s,e);r(o),c<e?i(t):a&&"function"===typeof a&&a()};l()}},"64ca":function(t,e,a){"use strict";a.d(e,"f",(function(){return r})),a.d(e,"m",(function(){return o})),a.d(e,"g",(function(){return n})),a.d(e,"n",(function(){return s})),a.d(e,"o",(function(){return u})),a.d(e,"w",(function(){return c})),a.d(e,"l",(function(){return l})),a.d(e,"x",(function(){return d})),a.d(e,"e",(function(){return p})),a.d(e,"v",(function(){return m})),a.d(e,"p",(function(){return v})),a.d(e,"c",(function(){return f})),a.d(e,"r",(function(){return b})),a.d(e,"y",(function(){return h})),a.d(e,"s",(function(){return _})),a.d(e,"j",(function(){return w})),a.d(e,"t",(function(){return y})),a.d(e,"a",(function(){return g})),a.d(e,"h",(function(){return L})),a.d(e,"k",(function(){return k})),a.d(e,"q",(function(){return j})),a.d(e,"u",(function(){return R})),a.d(e,"d",(function(){return O})),a.d(e,"i",(function(){return C})),a.d(e,"b",(function(){return T}));var i=a("829b"),r=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/add",method:"post",data:t,requestType:"json"})},o=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/queryPage",method:"post",data:t,requestType:"json"})},n=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/delete",method:"post",data:t,requestType:"json"})},s=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoomMember/queryRoomDetail",method:"post",data:t})},u=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoomMember/queryRoomMember",method:"post",data:t})},c=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/update",method:"post",data:t,requestType:"json"})},l=function(t){return Object(i["a"])({url:"/api-web/imGroup/queryGroupList",method:"get",data:t,params:t})},d=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/shareGroup",method:"get",data:t,params:t})},p=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/roomDestroy/"+t,method:"get",data:t,params:t})},m=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/opsPopularize",method:"get",data:t,params:t})},v=function(t){return Object(i["a"])({url:"/api-web/liveGoodsMapper/page",method:"post",data:t,requestType:"form"})},f=function(t){return Object(i["a"])({url:"/api-web/liveGoodsMapper/add",method:"post",data:t,requestType:"form"})},b=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/queryRoomInfo",method:"get",data:t,params:t})},h=function(t){return Object(i["a"])({url:"/api-web/liveGoodsMapper/updateStatus",method:"post",data:t,requestType:"form"})},_=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/query/roomUser",method:"post",data:t})},w=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomBlack/queryBlackList",method:"post",data:t})},y=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomBlack/queryStudentList",method:"post",data:t})},g=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomBlack/add",method:"post",data:t})},L=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomBlack/delete",method:"post",data:t})},k=function(t){return Object(i["a"])({url:"/api-web/imLiveBroadcastRoom/queryLiveRoomGoodsOrderList",method:"get",data:t,params:t})},j=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomPurview/queryStudent",method:"post",data:t})},R=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomPurview/selectRoomPurviewStudent",method:"post",data:t})},O=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomPurview/add",method:"get",data:t,params:t})},C=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomPurview/delete",method:"get",data:t,params:t})},T=function(t){return Object(i["a"])({url:"/api-web/imLiveRoomPurview/addByCondition",method:"post",data:t,params:t})}},"67ab9":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"m-container"},[a("h2",[a("el-page-header",{attrs:{content:"直播详情"},on:{back:t.onCancel}})],1),t._v(" "),a("div",{staticClass:"m-core"},[a("div",{staticClass:"titleWrap"},[t._m(0),t._v(" "),a("el-row",{staticClass:"row"},[a("p",{staticClass:"teacherName"},[t._v("\n 主讲人:"),a("span",[t._v(t._s(t.detail.speakerName))])]),t._v(" "),a("p",{staticClass:"teacherName sub"},[t._v("\n 主题:"),a("span",[t._v(t._s(t.detail.roomTitle))])]),t._v(" "),t.videoList.length>0?a("el-button",{staticClass:"fontBtn",attrs:{type:"text"},on:{click:function(e){t.payVisible=!0}}},[t._v("直播回放 "),a("i",{staticClass:"el-icon-video-play"})]):t._e()],1),t._v(" "),a("p",{staticClass:"liveRemark"},[t._v("\n 直播内容:"),a("span",[t._v(t._s(t.detail.liveRemark))])])],1),t._v(" "),a("div",{staticClass:"infoWrap"},[a("statistic",{staticClass:"statistic",attrs:{cols:0}},[a("statistic-item",[a("span",[t._v(" 参与学员 ")]),t._v(" "),a("span",[t._v(t._s(t.detail.totalLookNum))])]),t._v(" "),a("statistic-item",[a("span",[t._v(" 累计点赞 ")]),t._v(" "),a("span",[t._v(t._s(t.detail.totalLikeNum))])]),t._v(" "),a("statistic-item",[a("span",[t._v(" 直播时长(分钟) ")]),t._v(" "),a("span",[t._v(t._s(t.detail.totalLiveTime))])])],1)],1),t._v(" "),a("save-form",{ref:"searchForm",attrs:{inline:!0,model:t.searchForm},on:{submit:t.search,reset:t.onReSet}},[a("el-form-item",[a("el-input",{attrs:{clearable:"",placeholder:"学员编号/姓名"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:function(e){e.target.blur(),t.$refs.searchForm.save(),t.search()}(e)}},model:{value:t.searchForm.search,callback:function(e){t.$set(t.searchForm,"search","string"===typeof e?e.trim():e)},expression:"searchForm.search"}})],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"primary"}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"danger"}},[t._v("重置")])],1)],1),t._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#EDEEF0",color:"#444"},data:t.tableList}},[a("el-table-column",{attrs:{align:"center",prop:"studentId",label:"学员编号"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"studentName",label:"学员姓名"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"phone",label:"手机号"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"subName",label:"声部"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"joinTime",label:"进入时间"}}),t._v(" "),a("el-table-column",{attrs:{align:"center",prop:"totalViewTime",label:"观看时长"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("div",[t._v(t._s(e.row.totalViewTime)+"分钟")])]}}])})],1),t._v(" "),a("pagination",{attrs:{sync:"",total:t.rules.total,page:t.rules.page,limit:t.rules.limit,"page-sizes":t.rules.page_size},on:{"update:total":function(e){return t.$set(t.rules,"total",e)},"update:page":function(e){return t.$set(t.rules,"page",e)},"update:limit":function(e){return t.$set(t.rules,"limit",e)},pagination:t.getList}})],1)],1),t._v(" "),t.payVisible?a("el-dialog",{attrs:{visible:t.payVisible,width:"500px",title:"直播回放"},on:{"update:visible":function(e){t.payVisible=e}}},[a("div",{staticClass:"lineWrap"},t._l(t.videoList,(function(e,i){return a("div",{key:i,staticClass:"linkItem",on:{click:function(a){return t.opneVideo(e)}}},[a("div",{staticClass:"linkItemWrap"},[a("video",{attrs:{width:"110px",src:e.url}}),t._v(" "),a("i",{staticClass:"el-icon-video-play linkIcon"})]),t._v(" "),a("p",{staticClass:"lineTitle",attrs:{underline:!1,type:"text"}},[t._v("\n "+t._s(t._f("dateForMinFormat")(e.endTime))+"\n ")])])})),0),t._v(" "),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){t.payVisible=!1}}},[t._v("确 定")])],1)]):t._e(),t._v(" "),t.videoVisible?a("el-dialog",{attrs:{title:t._f("dateForMinFormat")(t.activeVideo.endTime),width:"680px","append-to-body":"",visible:t.videoVisible},on:{"update:visible":function(e){t.videoVisible=e}}},[a("div",{staticClass:"activeVideoWrap"},["mobile"==t.activeVideo.os?a("video",{ref:"dialogVideo",staticStyle:{width:"320px"},attrs:{src:t.activeVideo.url,controls:"controls"}},[t._v("\n 您的浏览器不支持视频播放\n ")]):a("video",{ref:"dialogVideo",staticStyle:{width:"640px"},attrs:{src:t.activeVideo.url,controls:"controls"}},[t._v("\n 您的浏览器不支持视频播放\n ")])])]):t._e()],1)},r=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("h2",{staticClass:"squrtTitle"},[a("div",{staticClass:"squrt"}),t._v("\n 直播数据\n ")])}],o=a("5530"),n=(a("96cf"),a("1da1")),s=(a("386d"),a("333d")),u=a("64ca"),c={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:""}}},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 t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e={rows:this.rules.limit,page:this.rules.page,roomUid:this.$route.query.roomUid,search:this.searchForm.search},t.next=4,Object(u["o"])(e);case 4:a=t.sent,this.tableList=a.data.rows,this.rules.total=a.data.total,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),console.log(t.t0);case 12:case"end":return t.stop()}}),t,this,[[0,9]])})));function e(){return t.apply(this,arguments)}return e}(),getDetail:function(){var t=Object(n["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e={roomUid:this.$route.query.roomUid},t.next=4,Object(u["n"])(e);case 4:a=t.sent,this.detail=Object(o["a"])({},a.data),this.videoList=a.data.videoList,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),console.log(t.t0);case 12:case"end":return t.stop()}}),t,this,[[0,9]])})));function e(){return t.apply(this,arguments)}return e}(),opneVideo:function(t){this.activeVideo=t,this.videoVisible=!0}}},l=c,d=(a("ea46"),a("2877")),p=Object(d["a"])(l,i,r,!1,null,"35669996",null);e["default"]=p.exports},cdb2:function(t,e,a){},ea46:function(t,e,a){"use strict";a("cdb2")}}]);
|