直播数据中心

9.6335cb4e40bce4b94dd5.js 74KB

1
  1. webpackJsonp([9],{"+6db":function(t,e){t.exports="data:image/png;base64,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"},"+AQf":function(t,e){},"2QxX":function(t,e){},"4Y2K":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("//Fk"),s=a.n(i),n=a("lzyk"),r={data:function(){return{tableLoading:!1,btnLoading:!1,permise_limit:{hasAuno:!1,err:""},sort_type:"sell_money",infoList:{},page:1,page_size:10,pages:0,total:"",switch_time_btn:1,time_id:10,timeSize:[{name:"10分钟",value:10},{name:"20分钟",value:20},{name:"30分钟",value:30}]}},methods:{goAdverst:function(){var t="singleMarketDou"==this.$route.name?2:1,e=this.$router.resolve({path:"/advertisingPlan/"+this.$route.params.living_id+"/"+t});window.open(e.href,"_blank")},exportEvent:function(){var t=this;if(0==this.infoList.length)return this.$message({message:"数据为空,不能导出!",type:"success"}),!1;this.btnLoading=!0,this.$axios.get(this.URL.BASEURL+this.URL.kwai_liveLaunchList,{params:{live_stream_id:this.$route.params.living_id,granularity:this.time_id,type:1==this.switch_time_btn?"total":"incr",page:1,page_size:500}}).then(function(e){var a,i,s=[];(e=e.data)&&0==e.errno?(i="时段,时段消耗,有效观看数,直播间点击成本,商品点击数,商品点击成本,转化订单数,转化销售额,ROI\n",a="投放数据",e.rst.data.forEach(function(t){s.push({d_time:t.d_time,cost:t.cost,valid_play:t.valid_play,ad_show1k_cost:t.ad_show1k_cost,goods_view:t.goods_view,goods_view_cost:t.goods_view_cost,paied_order:t.paied_order,gmv:t.gmv,roi:t.roi})}),t.$exportToExcel({th_arr:i,jsonData:s,name:a}).then(function(){t.btnLoading=!1})):(t.btnLoading=!1,t.$message({message:e.err,type:"warning"}))}).catch(function(e){t.btnLoading=!1})},handleCurrentChange:function(t){this.tableLoading=!0,this.page=t,this.$parent.init_putOn()},switchClick:function(t){this.tableLoading=!0,this.switch_time_btn=t,this.$parent.init_putOn(),this.page=1}}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"putOn"},[a("div",{staticClass:"flex",staticStyle:{padding:"0 0.2rem"}},[a("div",{staticClass:"flex"},[a("div",{staticClass:"rMar15 f14rem"},[t._v("统计方式:")]),t._v(" "),a("div",{staticClass:"switch_btn",class:1==t.switch_time_btn?"switch_btn_active":"",on:{click:function(e){return t.switchClick(1)}}},[t._v("累加")]),t._v(" "),a("div",{staticClass:"switch_btn",class:0==t.switch_time_btn?"switch_btn_active":"",on:{click:function(e){return t.switchClick(0)}}},[t._v("分段")])]),t._v(" "),a("div",{staticClass:"lMar20 f14rem"},[t._v("时间粒度:")]),t._v(" "),a("el-select",{staticClass:"self_list_input__inner mar_inner lMar8",attrs:{size:"small",placeholder:"筛选"},on:{change:function(e){return t.switchClick(t.switch_time_btn)}},model:{value:t.time_id,callback:function(e){t.time_id=e},expression:"time_id"}},t._l(t.timeSize,function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.value}})}),1),t._v(" "),a("div",{staticClass:"lMarauto"},[a("span",{directives:[{name:"loading",rawName:"v-loading",value:t.btnLoading,expression:"btnLoading"}],staticClass:"switch_btn switch_btn_active",on:{click:t.exportEvent}},[t._v("导出")]),t._v(" "),a("span",{staticClass:"switch_btn switch_btn_active",on:{click:t.goAdverst}},[t._v("广告计划")])])],1),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],staticClass:"table_div"},[a("table",[a("thead",[a("tr",{staticStyle:{"background-color":"#1E2135"}},[t._m(0),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),t._m(7),t._v(" "),a("th",[a("div",{staticClass:"th_title"},[t._v("\n 投放 "),a("br"),t._v(" ROI\n "),a("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"投放ROI=投放产生的销售额/ 投放金额",placement:"top"}},[a("i",{staticClass:"el-icon-question"})])],1)])])]),t._v(" "),a("tbody",t._l(t.infoList,function(e,i){return a("tr",{key:i},[a("td",[e.d_time?a("span",[t._v(t._s(e.d_time))]):a("span",[t._v("-")])]),t._v(" "),a("td",[t._v("\n "+t._s(t.$NumberHandle(e.cost,2))+"\n ")]),t._v(" "),a("td",[t._v("\n "+t._s(t.$NumberHandle(e.valid_play,2))+"\n ")]),t._v(" "),a("td",[t._v("\n "+t._s(t.$NumberHandle(e.ad_show1k_cost,2))+"\n ")]),t._v(" "),a("td",[t._v("\n "+t._s(t.$NumberHandle(e.goods_view,2))+"\n ")]),t._v(" "),a("td",[t._v("\n "+t._s(t.$NumberHandle(e.goods_view_cost,2))+"\n ")]),t._v(" "),a("td",[t._v("\n "+t._s(t.$NumberHandle(e.paied_order,2))+"\n ")]),t._v(" "),a("td",[t._v("\n "+t._s(t.$NumberHandle(e.gmv,2))+"\n ")]),t._v(" "),a("td",[t._v("\n "+t._s(t.$NumberHandle(e.roi))+"\n ")])])}),0)])]),t._v(" "),t.permise_limit.hasAuno||t.tableLoading||0!=t.infoList.length?t._e():a("div",{staticClass:"noHaveDate"},[t._v("暂无数据")]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.permise_limit.hasAuno&&0!=t.total||t.permise_limit.hasAuno&&t.page_size<t.total,expression:"(!permise_limit.hasAuno&&total!=0)||(permise_limit.hasAuno&&page_size<total)"}],staticClass:"bottom"},[a("el-pagination",{attrs:{background:"","current-page":t.page,layout:"prev, pager, next","page-count":Number(t.pages)},on:{"current-change":t.handleCurrentChange}})],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("th",{staticStyle:{width:"20%"}},[e("div",{staticClass:"th_title"},[this._v("\n 时段\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("div",{staticClass:"th_title"},[this._v("\n 时段消耗\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("div",{staticClass:"th_title"},[this._v("\n 有效观看数\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("div",{staticClass:"th_title"},[this._v("\n 千次曝"),e("br"),this._v("光成本\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("div",{staticClass:"th_title"},[this._v("\n 商品点击数\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("div",{staticClass:"th_title"},[this._v("\n 商品点"),e("br"),this._v("击成本\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("div",{staticClass:"th_title"},[this._v("\n 转化订单数\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("div",{staticClass:"th_title"},[this._v("\n 转化销售额\n ")])])}]};var l=a("VU/8")(r,o,!1,function(t){a("OJTK"),a("d/ya")},"data-v-6ecdc678",null).exports,c={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"moduleBox goodsBox"},[i("div",{staticClass:"title"},[t._v("商品列表 "),i("span",{staticClass:"data"},[t._v(t._s(t.dayItemList&&t.dayItemList.length)+"件")])]),t._v(" "),i("div",{staticClass:"table_div"},[i("table",[t._m(0),t._v(" "),i("tbody",t._l(t.dayItemList,function(e,a){return i("tr",{key:a},[i("td",{staticStyle:{"padding-left":"0.1rem"}},[i("div",{staticClass:"goodsInfo"},[i("img",{staticClass:"goodsImg",attrs:{src:e.img,alt:""}}),t._v(" "),i("div",{staticClass:"info"},[i("el-tooltip",{attrs:{effect:"dark",content:e.title,disabled:!(e.title&&e.title.length>40),placement:"top"}},[i("p",{staticClass:"goodsName"},[t._v(t._s(e.title?e.title:"-"))])]),t._v(" "),i("p",{staticClass:"goodsOther"},[t._v("¥"+t._s(t.$formatNum(e.price)))])],1)])]),t._v(" "),i("td",{staticStyle:{width:"15%","text-align":"center"}},[t._v("\n "+t._s(t.$formatNum(e.sell_count))+"\n ")]),t._v(" "),i("td",{staticStyle:{width:"15%","text-align":"center"}},[t._v("\n ¥"+t._s(t.$formatNum(e.sell_money))+"\n ")])])}),0)])]),t._v(" "),t.dayItemList&&0!=t.dayItemList.length?t._e():i("div",{staticClass:"flexNoLiving"},[i("img",{attrs:{src:a("nu6d"),alt:""}}),t._v(" "),i("span",{staticClass:"text"},[t._v("暂无数据")])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",{staticStyle:{"background-color":"#1E2135"}},[e("th",{staticStyle:{"padding-left":"0.1rem"}},[e("div",{staticClass:"th_title"},[this._v("\n 商品信息\n ")])]),this._v(" "),e("th",{staticStyle:{width:"15%","text-align":"center"}},[e("div",{staticClass:"th_title"},[this._v("\n 销量\n ")])]),this._v(" "),e("th",{staticStyle:{width:"15%","text-align":"center"}},[e("div",{staticClass:"th_title"},[this._v("\n 销售额\n ")])])])])}]};var d=a("VU/8")({name:"goodsList",props:["dayItemList"]},c,!1,function(t){a("E4y8")},"data-v-a75369dc",null).exports,_=a("LKfE"),v={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"gaugeTrend"})},staticRenderFns:[]};var u=a("VU/8")({props:["trend_prop"],data:function(){return{}},mounted:function(){this.gaugeTrend()},methods:{gaugeTrend:function(){var t={series:[{type:"gauge",progress:{show:!0,width:5,itemStyle:{color:this.trend_prop.color,borderWidth:1,borderColor:this.trend_prop.color}},axisLine:{lineStyle:{width:5,color:[[1,"#1f222a"]]}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{show:!1},pointer:{show:!1},anchor:{show:!1},title:{show:!0,fontSize:12,offsetCenter:[0,"70%"],color:"#FFFFFF"},detail:{valueAnimation:!1,fontSize:14,offsetCenter:[0,"0%"],color:this.trend_prop.color,formatter:function(t){return t+"%"}},data:[{value:this.trend_prop.data,name:this.trend_prop.name}]}]};this.$echarts.init(this.$refs.gaugeTrend).setOption(t,!0)}}},v,!1,function(t){a("7yxc")},"data-v-455a7c9e",null).exports,m=a("bOdI"),g=a.n(m),h={props:["trend_prop"],data:function(){return{isData:!0}},mounted:function(){(!this.trend_prop||0==this.trend_prop.data1[0]&&this.trend_prop.data1[1]==this.trend_prop.data2[0]&&this.trend_prop.data2[0]==this.trend_prop.data2[1])&&(this.isData=!1),this.buyAnalysisTrend({dom:"buyAnalysisTrend1",name:"订单量(单)",data:this.trend_prop&&this.trend_prop.data1,color:"#4F7EFF",categoryFlag:!0}),this.buyAnalysisTrend({dom:"buyAnalysisTrend2",name:"支付金额(元)",data:this.trend_prop&&this.trend_prop.data2,color:"#FFB450",categoryFlag:!1})},methods:{buyAnalysisTrend:function(t){var e,a=t.dom,i=t.data,s=t.color,n=t.categoryFlag,r=t.name,o=this,l={tooltip:{show:!1,trigger:"item",axisPointer:{type:"shadow"}},legend:(e={},g()(e,n?"right":"left","auto"),g()(e,"show",!0),g()(e,"itemHeight",6),g()(e,"itemWidth",6),g()(e,"borderRadius",30),g()(e,"textStyle",{color:"#fft",fontSize:12}),e),grid:{top:"28%",left:n?"10%":"3%",right:"1%",bottom:"0%",containLabel:!0},xAxis:[{show:!1,type:"value",axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:"#ffffff",fontSize:10,show:!1,formatter:function(t){var e=Math.abs(t);return o.$NumberHandle(e)}}}],yAxis:[{show:n,type:"category",position:"right",axisTick:{show:!1},axisLine:{show:!1,lineStyle:{color:"#ffffff",fontSize:12}},data:["新客","老客"]}],series:[{name:r,type:"bar",barWidth:6,showBackground:!o.isData,stack:"Total",itemStyle:{color:s},label:{show:!0,position:"top",formatter:function(t){return t.value},textStyle:{color:"#fff",fontSize:12}},data:i}]};this.$echarts.init(o.$refs[a]).setOption(l,!0)}}},f={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{position:"relative",height:"1.35rem"}},[e("div",{staticClass:"flex",staticStyle:{"padding-top":"0.15rem"}},[e("div",{ref:"buyAnalysisTrend1",staticClass:"buyAnalysis"}),this._v(" "),e("div",{ref:"buyAnalysisTrend2",staticClass:"buyAnalysis"})])])},staticRenderFns:[]};var p=a("VU/8")(h,f,!1,function(t){a("+AQf")},"data-v-77d893ad",null).exports,y=a("kQKH"),C=(a("jCVx"),a("khgg")),b={components:{MaskedInput:a("4q2C").a},data:function(){return{bj_type:1,type:1,earlyWarning_loading:!1,earlyWarningFlag:!1,liveControlList:[],liveThresholdGetData:{onlive_user_incr:{value:"",name:"在线人数涨幅"},onlive_user_decr:{value:"",name:"在线人数跌幅"},fan_add_decr:{value:"",name:"转粉率跌幅"},uv_decr:{value:"",name:"人均价值跌幅"},barrage_decr:{value:"",name:"弹幕数跌幅"}},liveNotesList:[],record_time:"",record_time_flag:!1,fieldNotes_content:"",bj_loading:!1}},methods:{maskedInputBlur:function(){this.isValidDate(this.$date_compatible(this.record_time))?this.record_time_flag=!1:this.record_time_flag=!0},isValidDate:function(t){return t instanceof Date&&!isNaN(t.getTime())},typeEvent:function(t){1==this.type&&this.getLiveControlListEvent(function(){t&&t()}),2==this.type&&(this.thisMoment(),this.getliveNotesListEvent(function(){t&&t()}))},thisMoment:function(){var t=new Date;this.record_time=t.getFullYear()+"-"+(t.getMonth()+1>9?t.getMonth()+1:"0"+(t.getMonth()+1))+"-"+(t.getDate()>9?t.getDate():"0"+t.getDate())+" "+(t.getHours()>9?t.getHours():"0"+t.getHours())+":"+ +(t.getMinutes()>9?t.getMinutes():"0"+t.getMinutes()),this.maskedInputBlur()},bj_submit:function(){var t=this;this.record_time_flag?this.$message({message:"请正确输入记录时间",type:"warning"}):""!=this.fieldNotes_content&&this.fieldNotes_content?(this.bj_loading=!0,this.$axios.post(this.URL.BASEURL+this.URL.kwai_liveNotesAdd,{live_stream_id:this.$route.params.living_id,record_time:this.$day_format(this.$date_compatible(this.record_time+":00")),content:this.fieldNotes_content,mark_type:1==this.bj_type?"#EF3554":2==this.bj_type?"#4F7EFF":3==this.bj_type?"#FF9B56":"#00000"}).then(function(e){e=e.data;t.bj_loading=!1,e&&0==e.errno&&(t.$message({message:"提交成功",type:"success"}),t.typeEvent(),t.fieldNotes_content="")}).catch(function(e){t.bj_loading=!1})):this.$message({message:"请输入关键记录",type:"warning"})},earlyWarningSubmit:function(){var t=this;for(var e in this.liveThresholdGetData)if(this.liveThresholdGetData[e].value<=0)return void this.$message({message:"请正确输入"+this.liveThresholdGetData[e].name+"预警值",type:"warning"});this.earlyWarning_loading=!0,this.$axios.post(this.URL.BASEURL+this.URL.kwai_liveThresholdSet,{live_stream_id:this.$route.params.living_id,onlive_user_incr:this.liveThresholdGetData.onlive_user_incr.value,onlive_user_decr:this.liveThresholdGetData.onlive_user_decr.value,fan_add_decr:this.liveThresholdGetData.fan_add_decr.value,uv_decr:this.liveThresholdGetData.uv_decr.value,barrage_decr:this.liveThresholdGetData.barrage_decr.value}).then(function(e){e=e.data;t.earlyWarning_loading=!1,e&&0==e.errno&&(t.earlyWarningFlag=!1,t.$message({message:"设置成功",type:"success"}))}).catch(function(e){t.earlyWarning_loading=!1})},earlyWarningSetup:function(){var t=this;this.earlyWarning_loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.kwai_liveThresholdGet,{params:{live_stream_id:this.$route.params.living_id}}).then(function(e){e=e.data;t.earlyWarning_loading=!1,e&&0==e.errno&&(t.earlyWarningFlag=!0,t.liveThresholdGetData.onlive_user_incr.value=e.rst.onlive_user_incr,t.liveThresholdGetData.onlive_user_decr.value=e.rst.onlive_user_decr,t.liveThresholdGetData.fan_add_decr.value=e.rst.fan_add_decr,t.liveThresholdGetData.uv_decr.value=e.rst.uv_decr,t.liveThresholdGetData.barrage_decr.value=e.rst.barrage_decr)}).catch(function(e){t.earlyWarning_loading=!1})},getLiveControlListEvent:function(t){var e=this;this.$axios.get(this.URL.BASEURL+this.URL.kwai_liveControlList,{params:{live_stream_id:this.$route.params.living_id}}).then(function(a){a=a.data;t&&t(),a&&0==a.errno&&(e.liveControlList=a.rst)}).catch(function(e){t&&t()})},getliveNotesListEvent:function(t){var e=this;this.$axios.get(this.URL.BASEURL+this.URL.kwai_liveNotesList,{params:{live_stream_id:this.$route.params.living_id}}).then(function(a){a=a.data;t&&t(),a&&0==a.errno&&(e.liveNotesList=a.rst)}).catch(function(e){t&&t()})}}},x={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"fieldControl"},[i("div",{staticClass:"topTitleBox"},[i("div",{staticClass:"operation"},[i("div",{class:1==t.type?"active":"",on:{click:function(e){t.type=1,t.typeEvent()}}},[t._v("场控")]),t._v(" "),i("span",[t._v("/")]),t._v(" "),i("div",{class:2==t.type?"active":"",on:{click:function(e){t.type=2,t.typeEvent()}}},[t._v("场记")])]),t._v(" "),1==t.type?i("div",{staticClass:"toolsIcon",on:{click:t.earlyWarningSetup}},[i("i",{staticClass:"el-icon-s-tools"}),t._v(" "),i("span",[t._v("设置")])]):t._e()]),t._v(" "),i("div",{staticClass:"contentBox"},[1==t.type?[t._l(t.liveControlList,function(e,s){return i("div",{key:s+"liveControlList",class:["controlBox",s+1!=t.liveControlList.length&&t.liveControlList?"controlBoxBefore":""]},["gmv"==e.type||"order"==e.type?i("img",{staticClass:"main_icon",attrs:{src:a("+6db"),alt:""}}):"violation"==e.type?i("img",{staticClass:"main_icon",attrs:{src:a("NjsB"),alt:""}}):i("img",{staticClass:"main_icon",attrs:{src:a("NlKv"),alt:""}}),t._v(" "),i("div",{staticClass:"dataInfo"},[i("div",{staticClass:"dataTitle"},[i("span",{staticClass:"name"},[t._v(t._s(e.type_desc))]),t._v(" "),"gmv"!=e.type&&"order"!=e.type&&"violation"!=e.type?i("span",{staticClass:"dataTrend",style:"onlive_user_incr"==e.type?"color:#FFB450":""},[t._v("\n "+t._s(e.rate?e.rate:"")+" "),i("span",[t._v("%")]),t._v(" "),"onlive_user_incr"==e.type?i("img",{attrs:{src:a("XngP"),alt:""}}):i("img",{attrs:{src:a("lWrq"),alt:""}})]):t._e()]),t._v(" "),i("div",{staticClass:"describe"},[t._v(t._s(e.desc))])]),t._v(" "),i("div",{staticClass:"data_time"},[t._v(t._s(e.time&&e.time.length>=1&&e.time.split(" ")[1].slice(0,5)))])])}),t._v(" "),t.liveControlList&&0==t.liveControlList.length?i("div",{staticStyle:{"text-align":"center","margin-top":"1rem"}},[i("i",{staticClass:"iconfont icon-zanwu_icon",staticStyle:{"font-size":"0.8rem",color:"rgba(88, 88, 88, 0.8)"}}),t._v(" "),i("div",{staticStyle:{color:"#666666","font-size":"16px","font-weight":"200","margin-top":"0.3rem"}},[t._v("暂无数据")])]):t._e()]:t._e(),t._v(" "),2==t.type?[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.bj_loading,expression:"bj_loading"}],staticClass:"fieldNotes",staticStyle:{"margin-bottom":"0.2rem"}},[i("div",{staticClass:"self_date_picker"},[i("masked-input",{staticClass:"makedInput",style:t.record_time_flag?"border-color:red":"",attrs:{mask:"1111-11-11 11:11",placeholder:"时间段"},nativeOn:{blur:function(e){return t.maskedInputBlur.apply(null,arguments)}},model:{value:t.record_time,callback:function(e){t.record_time=e},expression:"record_time"}}),t._v(" "),i("span",{staticStyle:{color:"#999999"},on:{click:t.thisMoment}},[t._v("此刻")])],1),t._v(" "),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fieldNotes_content,expression:"fieldNotes_content"}],staticStyle:{resize:"none"},attrs:{placeholder:"请输入关键记录…"},domProps:{value:t.fieldNotes_content},on:{input:function(e){e.target.composing||(t.fieldNotes_content=e.target.value)}}}),t._v(" "),i("div",{staticClass:"flex-between bj_box"},[i("div",{staticClass:"flex"},[i("span",{staticClass:"name"},[t._v("标记")]),t._v(" "),i("div",{staticClass:"bj_icon",staticStyle:{background:"#EF3554"},on:{click:function(e){t.bj_type=1}}},[1==t.bj_type?i("i",{staticClass:"el-icon-check",staticStyle:{color:"#000000"}}):t._e()]),t._v(" "),i("div",{staticClass:"bj_icon",staticStyle:{background:"#4F7EFF"},on:{click:function(e){t.bj_type=2}}},[2==t.bj_type?i("i",{staticClass:"el-icon-check",staticStyle:{color:"#000000"}}):t._e()]),t._v(" "),i("div",{staticClass:"bj_icon",staticStyle:{background:"#FF9B56"},on:{click:function(e){t.bj_type=3}}},[3==t.bj_type?i("i",{staticClass:"el-icon-check",staticStyle:{color:"#000000"}}):t._e()])]),t._v(" "),i("button",{on:{click:t.bj_submit}},[t._v("提交")])])]),t._v(" "),i("div",{staticClass:"liveNotesBox"},t._l(t.liveNotesList,function(e,a){return i("div",{key:a+"liveNotesList",class:["controlBox",a+1!=t.liveNotesList.length&&t.liveNotesList?"controlBoxBefore":""]},[i("div",{staticStyle:{width:"0.13rem",height:"0.13rem","border-radius":"50%","margin-left":"0.04rem",position:"relative","margin-top":"0.03rem"},style:"background:"+e.mark_type}),t._v(" "),i("div",{staticClass:"dataInfo"},[i("div",{staticClass:"dataTitle"},[i("span",{staticClass:"name"},[t._v(t._s(e.user.real_name)+t._s(e.user.station_name?" - "+e.user.station_name:""))])]),t._v(" "),i("div",{staticClass:"describe"},[t._v(t._s(e.content))])]),t._v(" "),i("div",{staticClass:"data_time"},[t._v(t._s(e.record_time&&e.record_time.length>=1&&e.record_time.split(" ")[1].slice(0,5)))])])}),0)]:t._e()],2),t._v(" "),i("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:t.earlyWarning_loading,expression:"earlyWarning_loading"}],staticClass:"earlyWarning_content",attrs:{title:"设置预警阈值",visible:t.earlyWarningFlag,width:"400px","close-on-click-modal":!1,left:""},on:{"update:visible":function(e){t.earlyWarningFlag=e}}},[i("div",[i("p",{staticClass:"earlyWarningHint"},[t._v("当以下任一情况出现时,将预警提示:")]),t._v(" "),t._l(t.liveThresholdGetData,function(e,a){return i("div",{key:a,staticClass:"earlyWarningItem"},[i("label",[i("em",[t._v("*")]),t._v(t._s(e.name)+" ≥:")]),t._v(" "),i("div",{staticClass:"inputBox"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"item.value"}],attrs:{type:"number"},domProps:{value:e.value},on:{input:function(a){a.target.composing||t.$set(e,"value",a.target.value)}}}),t._v(" "),i("em",[t._v("%")])])])})],2),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticStyle:{background:"transparent",color:"#fff","border-color":"#323751"},attrs:{size:"mini"},on:{click:function(e){t.earlyWarningFlag=!1}}},[t._v("取 消")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"primary"},on:{click:t.earlyWarningSubmit}},[t._v("提 交")])],1)])],1)},staticRenderFns:[]};var w=a("VU/8")(b,x,!1,function(t){a("Ew6G"),a("aze+")},"data-v-326cb7ea",null).exports,k=a("mvHQ"),A=a.n(k),S={data:function(){return{type:2,infoList:[],loading:!1,set_loading:!1,setFlag:!1,keyword:"",defaultComment:[]}},methods:{tagEvent:function(t,e){t.enable=1==t.enable?0:1,this.$set(this.defaultComment,e,t)},setImportantComment:function(){var t=this,e=this.keyword.split("\n").filter(function(t){return""!=t}),a=this.defaultComment.filter(function(t){return 1==t.enable});0!=e.length||0!=a.length?(this.set_loading=!0,this.$axios.post(this.URL.BASEURL+this.URL.kwai_setImportantComment,{live_stream_id:this.$route.params.living_id,comment_json:A()(e),default_json:A()(this.defaultComment)}).then(function(e){e=e.data;t.set_loading=!1,e&&0==e.errno&&(t.$message({message:"设置成功",type:"warning"}),t.setFlag=!1,2==t.type&&t.init())}).catch(function(e){t.set_loading=!1})):this.$message({message:"请输入或选择关键评论",type:"warning"})},dou_getImportantComment:function(){var t=this;this.set_loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.kwai_getImportantComment,{params:{live_stream_id:this.$route.params.living_id}}).then(function(e){e=e.data;t.set_loading=!1,e&&0==e.errno&&(t.keyword=e.rst&&e.rst.customer_comment_config?e.rst.customer_comment_config.join("\n"):"",t.defaultComment=e.rst&&e.rst.default_comment_config?e.rst.default_comment_config:[])}).catch(function(e){t.set_loading=!1})},init:function(t){var e=this;this.$axios.get(this.URL.BASEURL+this.URL.kwai_barrageIndex,{params:{live_stream_id:this.$route.params.living_id,type:this.type,page:1,page_size:999}}).then(function(a){a=a.data;e.loading=!1,t&&t(),a&&0==a.errno&&(e.infoList=a.rst.data)}).catch(function(a){e.loading=!1,t&&t()})}}},L={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dpBarrageBox"},[i("div",{staticClass:"tab"},[i("div",{class:["tabItem",2==t.type?"active":""],on:{click:function(e){t.type=2,t.loading=!0,t.init()}}},[t._v("关键评论"),i("i",{staticClass:"el-icon-edit",on:{click:function(e){e.stopPropagation(),t.setFlag=!0,t.dou_getImportantComment()}}})]),t._v(" "),i("div",{class:["tabItem",1==t.type?"active":""],on:{click:function(e){t.type=1,t.loading=!0,t.init()}}},[t._v("全部评论")])]),t._v(" "),i("div",{staticClass:"listBox self-scrollbar-0"},[t._l(t.infoList,function(e,a){return i("div",{key:a+"barrageList",staticClass:"item"},[i("div",{staticClass:"nameBox"},[i("span",{staticClass:"name"},[t._v(t._s(e.nickname)+":")]),t._v(" "),i("span",{staticClass:"desc"},[t._v(t._s(e.content))])]),t._v(" "),i("div",{staticClass:"time"},[t._v(t._s(e.created_at.slice(11,16)))])])}),t._v(" "),0!=t.infoList.length||t.loading?t._e():i("div",{staticClass:"curve_no_data",staticStyle:{top:"80px"}},[i("img",{attrs:{src:a("nu6d"),alt:""}}),t._v(" "),i("span",[t._v("暂无数据")])])],2),t._v(" "),i("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:t.set_loading,expression:"set_loading"}],staticClass:"earlyWarning_barrage_content",attrs:{title:"自定义关键词评论",visible:t.setFlag,width:"420px","close-on-click-modal":!1,left:""},on:{"update:visible":function(e){t.setFlag=e}}},[i("div",[i("p",{staticClass:"earlyWarningHint",staticStyle:{"margin-top":"0"}},[t._v("点击可以取消/选中默认关键词")]),t._v(" "),i("div",{staticClass:"tagsBox"},[t._l(t.defaultComment,function(e,a){return[i("div",{key:a+"defaultComment",staticClass:"tagItem",class:1!=e.enable?"tagItem_active":"",on:{click:function(i){return t.tagEvent(e,a)}}},[t._v(t._s(e.content))])]})],2),t._v(" "),i("p",{staticClass:"earlyWarningHint"},[t._v("自定义筛选关键评论,用换行隔开")]),t._v(" "),i("el-input",{staticClass:"textarea",attrs:{height:"100px",type:"textarea",placeholder:"请输入关键评论"},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}})],1),t._v(" "),i("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{staticStyle:{background:"transparent",color:"#fff","border-color":"#323751"},attrs:{size:"mini"},on:{click:function(e){t.setFlag=!1}}},[t._v("取 消")]),t._v(" "),i("el-button",{attrs:{size:"mini",type:"primary"},on:{click:t.setImportantComment}},[t._v("提 交")])],1)])],1)},staticRenderFns:[]};var E=a("VU/8")(S,L,!1,function(t){a("V80L"),a("D+pv")},"data-v-0967dfff",null).exports,D={name:"singleMarket",components:{trend:_.a,countTo:y.a,gaugeTrend:u,buyAnalysisTrend:p,videoFlvjs:C.a,trendGan:n.a,putOn:l,goodsList:d,fieldControl:w,barrage:E},data:function(){return{is_existence:"loading...",tabAc:0,tabData_center:["数据趋势","投放数据","商品列表"],dataInfo:362203,progressShow:!1,touristSrc:{},oldScorePreview:{},pageLoading:!0,key_index:1,dayItemList:[],time_arr:{totalTime:null},mouseSwiper:"",trendData:{},basicData:{},staffPreview:[],liveInfoPreview:{},orderListLeft:[],quanData:[],lineData:[],videoFlvFlag:!1,tabCenterLoading:!0,streamerData_dad:[],live_record_info:{},playbackLoading:!1}},mounted:function(){var t=this;this.proAll_init("first"),this.pro_trend(),window.onresize=function(){t.$route.path!="/bgsingleMarket/"+t.$route.params.living_id&&t.$route.path!="/singlemarket/"+t.$route.params.living_id||(document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen||document.msFullscreenElement?t.$route.path!="/bgsingleMarket/"+t.$route.params.living_id&&t.$router.replace({path:"/bgsingleMarket/"+t.$route.params.living_id}):t.$route.path!="/singlemarket/"+t.$route.params.living_id&&t.$router.replace({path:"/singlemarket/"+t.$route.params.living_id}),t.key_index+=1)};var e="hidden"in document?"hidden":"webkitHidden"in document?"webkitHidden":"mozHidden"in document?"mozHidden":null,a=e.replace(/hidden/i,"visibilitychange");document.addEventListener(a,function(){if(t.$route.path=="/bgsingleMarket/"+t.$route.params.living_id||t.$route.path=="/singlemarket/"+t.$route.params.living_id)if(document[e])for(var a in t.progressShow=!1,t.time_arr)clearTimeout(t.time_arr[a]);else t.pageLoading||(t.time_arr.visibilityChange=setTimeout(function(){t.progressShow=!0,t.proAll_init()},2e3))})},methods:{tabCenterClick:function(t){this.tabAc=t,this.tabCenterLoading=!0,2==this.tabAc&&this.market_dayItemList(),0==this.tabAc&&this.pro_trend(),1==this.tabAc&&this.init_putOn()},createVideo:function(t){this.videoFlvFlag=!0,this.video_pause_src=t},market_orderProductList:function(t){var e=this;t&&t();var a={params:{live_id:this.$route.params.living_id}};this.$axios.get(this.URL.BASEURL+this.URL.market_orderProductList,a).then(function(t){(t=t.data)&&0==t.errno&&(e.orderListLeft=t.rst)}).catch(function(e){t&&t()})},market_touristSrc:function(t){var e=this,a={params:{live_id:this.$route.params.living_id}};this.$axios.get(this.URL.BASEURL+this.URL.market_touristSrc,a).then(function(a){t&&t(),(a=a.data)&&0==a.errno&&(e.lineData=a.rst.tourist_order_info,e.quanData=a.rst.tourist_info)}).catch(function(e){t&&t()})},liveDeinfoLeft:function(t){var e=this;this.loading=!0;var a={params:{live_stream_id:this.$route.params.living_id}};this.$axios.get(this.URL.BASEURL+this.URL.liveDeinfoLeft,a).then(function(a){t&&t(),(a=a.data)&&0==a.errno&&(e.oldScorePreview=a.rst.data_preview,e.infoData=a.rst.live_info),e.loading=!1}).catch(function(a){t&&t(),e.loading=!1})},market_dayItemList:function(t){var e=this;this.$nextTick(function(){e.$axios.get(e.URL.BASEURL+e.URL.liveDeGoodsList,{params:{live_id:e.$route.params.living_id,sort:"sell_money",page:1,page_size:500}}).then(function(a){a=a.data;t&&t(),e.tabCenterLoading=!1,a&&0==a.errno&&(e.dayItemList=a.rst.data)}).catch(function(a){t&&t(),e.tabCenterLoading=!1})})},streamer_scheduling:function(t){var e=this;this.$nextTick(function(){var a={params:{live_stream_id:e.$route.params.living_id}};e.$axios.get(e.URL.BASEURL+e.URL.streamer_scheduling,a).then(function(a){t&&t(),e.tabCenterLoading=!1,(a=a.data)&&0==a.errno&&(e.streamerData_dad=a.rst)}).catch(function(a){t&&t(),e.tabCenterLoading=!1})})},liveDeTrends:function(t){var e=this;this.$nextTick(function(){var a={params:{live_stream_id:e.$route.params.living_id}};a.params.minute_unit=e.$refs.trendGanChild&&e.$refs.trendGanChild.minute_unit&&""!=e.$refs.trendGanChild.minute_unit?e.$refs.trendGanChild.minute_unit:1,e.$axios.get(e.URL.BASEURL+e.URL.liveDeTrends,a).then(function(a){t&&t(),!(a=a.data)||0!=a.errno||(e.$refs.trendGanChild.trendData=a.rst,a.rst)}).catch(function(a){e.tabCenterLoading=!1,t&&t()})})},pro_trend:function(t){var e=this;if(0==this.tabAc)var a=new s.a(function(t,a){e.streamer_scheduling(function(){t()})}),i=new s.a(function(t,a){e.liveDeTrends(function(){t()})});if(1==this.tabAc)var n=new s.a(function(t,a){e.init_putOn(function(){t()})});var r=0==this.tabAc?[a,i]:[n];s.a.all(r).then(function(t){0==e.tabAc&&(e.$refs.trendGanChild.trendData&&(e.$refs.trendGanChild.key_index_trend+=1),e.tabCenterLoading=!1),"loading..."==e.is_existence&&0==e.infoData.is_end&&(clearTimeout(e.time_arr.trendTime),e.time_arr.trendTime=setTimeout(function(){e.pro_trend()},6e4))})},init_putOn:function(t){var e=this;this.$nextTick(function(){var a={params:{live_stream_id:e.$route.params.living_id,granularity:e.$refs.putOnChild.time_id,type:1==e.$refs.putOnChild.switch_time_btn?"total":"incr",page:e.$refs.putOnChild.page,page_size:e.$refs.putOnChild.page_size}};e.$axios.get(e.URL.BASEURL+e.URL.kwai_liveLaunchList,a).then(function(a){if(t&&t(),e.tabCenterLoading=!1,e.$refs.putOnChild.tableLoading=!1,4001==(a=a.data).errno?(e.$refs.putOnChild.permise_limit.hasAuno=!0,e.$refs.putOnChild.permise_limit.err=a.err):e.$refs.putOnChild.permise_limit.hasAuno=!1,a&&0==a.errno){var i=a.rst;e.$refs.putOnChild.total=i.pageInfo.total,e.$refs.putOnChild.pages=i.pageInfo.pages,e.$refs.putOnChild.page=parseInt(i.pageInfo.page),e.$refs.putOnChild.infoList=i.data}}).catch(function(a){t&&t(),e.tabCenterLoading=!1,e.$refs.putOnChild.tableLoading=!1})})},proAll_init:function(t){var e=this;if(2==this.tabAc)var a=new s.a(function(t,a){e.market_dayItemList(function(){t()})});var i=new s.a(function(t,a){e.liveDeinfoLeft(function(a){a&&(e.is_existence=a),t()})}),n=new s.a(function(t,a){e.market_orderProductList(function(){t()})}),r=new s.a(function(t,a){e.market_touristSrc(function(){t()})}),o=new s.a(function(t,a){e.$refs.fieldControl&&e.$refs.fieldControl.typeEvent?e.$nextTick(function(){e.$refs.fieldControl.typeEvent(function(){t()})}):t()}),l=new s.a(function(t,a){e.anchorShiftEvent(function(){t()})}),c=new s.a(function(t,a){e.$refs.barrage&&e.$refs.barrage.init?e.$nextTick(function(){e.$refs.barrage.init(function(){t()})}):t()}),d=2==this.tabAc?[a,i,n,r,o,l]:[i,n,r,o,l,c];s.a.all(d).then(function(a){"loading..."==e.is_existence&&(e.pageLoading=!1,"first"==t&&(e.$nextTick(function(){e.$refs.fieldControl&&e.$refs.fieldControl.typeEvent&&e.$refs.fieldControl.typeEvent(),e.$refs.barrage&&e.$refs.barrage.init&&e.$refs.barrage.init()}),e.time_arr.progress=setTimeout(function(){e.progressShow=!0},1e3)),0==e.infoData.is_end&&(clearTimeout(e.time_arr.totalTime),e.time_arr.totalTime=setTimeout(function(){e.progressShow=!1,e.time_arr.progress2=setTimeout(function(){e.progressShow=!0},1e3),e.proAll_init(),e.key_index+=1},1e4)))})},anchorShiftEvent:function(t){var e=this;this.$axios.get(this.URL.BASEURL+this.URL.anchorShiftList,{params:{live_stream_id:this.$route.params.living_id}}).then(function(a){(a=a.data)&&0==a.errno?(t&&t(),e.staffPreview=a.rst):t&&t(a.err)}).catch(function(e){t&&t()})},openBgMarket:function(){this.$route.path=="/bgsingleMarket/"+this.$route.params.living_id?(this.cancelFullScreen(),this.$router.replace({path:"/singlemarket/"+this.$route.params.living_id})):(this.openFullScreen(),this.$router.replace({path:"/bgsingleMarket/"+this.$route.params.living_id}))},openFullScreen:function(){var t=document.body;t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen?t.webkitRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()},cancelFullScreen:function(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()},clipVideo:function(){this.live_record_info&&this.live_record_info.tag_play_url?this.$router.push({path:"/videoClip/"+this.$route.params.living_id+"/1"}):this.live_record()},live_record:function(){var t=this;this.playbackLoading=!0,this.$axios.get(this.URL.BASEURL+this.URL.kwai_live_record,{params:{live_stream_id:this.$route.params.living_id}}).then(function(e){e=e.data;t.playbackLoading=!1,e&&0==e.errno?(t.live_record_info=e.rst,e.rst&&e.rst.tag_play_url&&""!=e.rst.tag_play_url?t.$router.push({path:"/videoClip/"+t.$route.params.living_id+"/1"}):t.$message({message:"该直播暂无直播回放,无法剪辑视频!",type:"warning"})):t.$message({message:e.err,type:"warning"})}).catch(function(e){t.playbackLoading=!1})}},beforeDestroy:function(){for(var t in this.time_arr)clearTimeout(this.time_arr[t])},destroyed:function(){for(var t in this.time_arr)clearTimeout(this.time_arr[t])}},N={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.pageLoading?i("div",{staticClass:"initLoading"},[i("div",{staticClass:"initLoadingContent"},[i("img",{staticClass:"initLoadingImg",attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/newIcon/gif3.gif",alt:""}}),t._v(" "),i("div",{staticClass:"title"},[t._v("酷炫单场直播实时大盘")]),t._v(" "),i("div",{staticClass:"hint"},[t._v(t._s(t.is_existence))])])]):i("div",{staticClass:"market_container",style:t.$route.path=="/bgsingleMarket/"+t.$route.params.living_id?"padding-top:0.1rem":""},[t.videoFlvFlag?i("videoFlvjs",{attrs:{url:t.video_pause_src},on:{close:function(e){t.videoFlvFlag=!1}}}):t._e(),t._v(" "),t.$route.path=="/bgsingleMarket/"+t.$route.params.living_id?i("div",{staticClass:"market_top_box"},[i("img",{staticClass:"logo_icon",attrs:{src:a("xdlU"),alt:""}}),t._v(" "),i("div",{staticClass:"market_title"},[t._v("酷炫单场直播实时大盘")]),t._v(" "),i("div",{staticClass:"signOutFullScreen",on:{click:t.openBgMarket}},[i("span",[t._v("退出全屏")]),i("i",{staticClass:"iconfont icon-quanping_icon"})])]):t._e(),t._v(" "),i("div",{class:["flex_between"]},[i("div",{staticClass:"sideModule moduleBox"},[i("div",{staticStyle:{overflow:"hidden",height:"calc(100%)","margin-top":"0.1rem"}},[i("div",{staticClass:"flex-row c-fff"},[i("img",{staticStyle:{width:"60px","margin-right":"8px"},attrs:{src:t.infoData.live_cover_img,alt:""}}),t._v(" "),i("div",[i("div",{staticClass:"f14 c-fff clampOne",staticStyle:{width:"200px"}},[t._v(t._s(t.infoData.live_title?t.infoData.live_title:"-"))]),t._v(" "),i("div",{staticClass:"tMar8"},[i("span",{staticClass:"f10"},[t._v("人气: "+t._s(t.infoData.onlive_display_watching_count?t.$NumberHandle(t.infoData.onlive_display_watching_count):"-"))]),t._v(" "),i("span",{staticClass:"f10"},[t._v("销售额: "+t._s(t.infoData.sell_money?t.$NumberHandle(t.infoData.sell_money):"-"))])]),t._v(" "),i("div",{staticClass:"flex"},[i("div",{staticClass:"openLivingBox",on:{click:function(e){return t.createVideo(t.infoData.play_url)}}},[i("i",{staticClass:"iconfont icon-guankanrenshu_icon rMar5",staticStyle:{"font-size":"10px"}}),t._v("\n 查看直播实况\n ")]),t._v(" "),i("div",{staticClass:"openLivingBox",staticStyle:{width:"60px","margin-left":"10px"},on:{click:function(e){return t.clipVideo()}}},[i("i",{staticClass:"el-icon-scissors rMar5",staticStyle:{"font-size":"10px"}}),t._v("\n 剪辑\n "),t.playbackLoading?i("i",{staticClass:"el-icon-loading"}):t._e()])])])]),t._v(" "),i("div",{staticClass:"tMar20 bMar15"},[i("div",{staticClass:"c-fff f12"},[t._v("直播时长: "),i("span",{staticStyle:{color:"#FFB450"}},[t._v(t._s(t.infoData.live_duration_desc))])]),t._v(" "),i("div",{staticClass:"c-fff f10 tMar10",staticStyle:{padding:"0.1rem 0.2rem 0.1rem 0.07rem",background:"#212633","border-radius":"5px",display:"inline-block"}},[i("img",{staticStyle:{width:"0.16rem",display:"inline-block","margin-right":"0.06rem","vertical-align":"middle"},attrs:{src:a("yREE"),alt:""}}),t._v(" "),i("span",{staticStyle:{"vertical-align":"middle"}},[t._v("开始时间:"+t._s(t.infoData.start_time))])])]),t._v(" "),i("div",{staticClass:"line"}),t._v(" "),i("div",{staticClass:"left_scroll"},[i("div",{staticClass:"smallModule"},[i("div",{staticClass:"title"},[t._v("累计观看人数 "),i("span",{staticClass:"data"},[t._v(t._s(t.$formatNum(t.oldScorePreview.total_watching_count))+"人")])]),t._v(" "),i("div",{staticClass:"title",staticStyle:{color:"#aaa","margin-top":"0.1rem","font-size":"0.14rem","font-weight":"initial"}},[t._v("人群分析")]),t._v(" "),i("div",{staticClass:"flex"},[i("div",{staticClass:"gaugeBox"},[i("gaugeTrend",{key:t.key_index+"gauge1",staticClass:"gauge",attrs:{trend_prop:{name:"老客",color:"#4F7EFF",data:t.quanData.rate.old_tourist}}}),t._v(" "),i("span",{staticClass:"gaugeValue"},[t._v("\n "+t._s(t.quanData.num.old_tourist)+"\n 人\n ")])],1),t._v(" "),i("div",{staticClass:"gaugeBox"},[i("gaugeTrend",{key:t.key_index+"gauge2",staticClass:"gauge",attrs:{trend_prop:{name:"新客",color:"#FFB450",data:t.quanData.rate.new_tourist}}}),t._v(" "),i("span",{staticClass:"gaugeValue"},[t._v("\n "+t._s(t.quanData.num.new_tourist)+"\n 人")])],1),t._v(" "),i("div",{staticClass:"gaugeBox"},[i("gaugeTrend",{key:t.key_index+"gauge3",staticClass:"gauge",attrs:{trend_prop:{name:"潜客",color:"#55BB6D",data:t.quanData.rate.dive_tourist}}}),t._v(" "),i("span",{staticClass:"gaugeValue"},[t._v("\n "+t._s(t.quanData.num.dive_tourist)+"人")])],1)]),t._v(" "),i("div",{staticClass:"title",staticStyle:{color:"#aaa","margin-top":"0.1rem","font-size":"0.14rem","font-weight":"initial"}},[t._v("人群购买分析")]),t._v(" "),i("buyAnalysisTrend",{attrs:{key_index:t.key_index+"buyAnalysis",trend_prop:{data1:[t.lineData.count.new_tourist,t.lineData.count.old_tourist],data2:[t.lineData.money.new_tourist,t.lineData.money.old_tourist]}}})],1),t._v(" "),i("div",{staticClass:"line"}),t._v(" "),i("barrage",{ref:"barrage"}),t._v(" "),i("div",{staticClass:"goodsBox"},[i("div",{staticClass:"title"},[t._v("最新订单")]),t._v(" "),t.orderListLeft.data&&0!=t.orderListLeft.pageInfo.total?[t._m(0),t._v(" "),i("div",{staticClass:"goodsBody"},t._l(t.orderListLeft.data,function(e,a){return i("div",{key:e.item_id+a,staticClass:"goodsItem",style:0==a?"background:#22242c":""},[0==a?i("div",{staticClass:"newest"},[t._v("最"),i("br"),t._v("新")]):t._e(),t._v(" "),i("div",{staticClass:"goodsInfo clampOne",staticStyle:{width:"140px"}},[i("img",{staticClass:"goodsImg",attrs:{src:e.item_img,alt:""}}),t._v(" "),i("div",{staticClass:"info",staticStyle:{"margin-left":"0.1rem"}},[i("el-tooltip",{attrs:{effect:"dark",content:e.item_title,disabled:!(e.item_title&&e.item_title.length>10),placement:"top"}},[i("p",{staticClass:"goodsName"},[t._v(t._s(e.item_title))])]),t._v(" "),i("p",{staticClass:"goodsOther",staticStyle:{color:"#E1E1E1"}},[t._v(t._s(e.create_time))])],1)]),t._v(" "),i("div",{staticClass:"th thData",staticStyle:{"margin-right":"0.2rem",color:"#FFB450",width:"0.8rem"}},[t._v("¥"+t._s(t.$formatNum(e.total_price)))])])}),0)]:i("div",{staticClass:"flexNoLiving",staticStyle:{position:"absolute",top:"0",height:"auto",left:"0",right:"0"}},[i("img",{staticStyle:{width:"2rem","margin-top":"0.2rem"},attrs:{src:a("nu6d"),alt:""}}),t._v(" "),i("span",{staticClass:"text",staticStyle:{"margin-bottom":"0.2rem","font-size":"14px"}},[t._v("暂无数据")])])],2)],1)])]),t._v(" "),i("div",{staticClass:"centerModule"},[i("div",{staticClass:"moduleBox dataModule"},[i("el-tooltip",{attrs:{effect:"dark",content:"打开全屏",placement:"top"}},[t.$route.path!="/bgsingleMarket/"+t.$route.params.living_id?i("div",{staticClass:"fullScreen",on:{click:t.openBgMarket}},[i("i",{staticClass:"iconfont icon-quanping_icon"})]):t._e()]),t._v(" "),i("img",{staticClass:"earth",attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/earth.gif",alt:""}}),t._v(" "),i("div",{staticClass:"liveTurnover"},[i("p",{staticClass:"name"},[t._v("直播间成交额")]),t._v(" "),i("countTo",{staticClass:"liveTurnoverData",attrs:{autoplay:!0,startVal:t.oldScorePreview.total_money?Number(t.oldScorePreview.total_money):0,endVal:Number(t.oldScorePreview.total_money),duration:1e4}})],1),t._v(" "),i("div",{staticClass:"dataBox"},[i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("实际销售额")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,decimals:0,startVal:t.oldScorePreview.total_actual_money?Number(t.oldScorePreview.total_actual_money):0,endVal:Number(t.oldScorePreview.total_actual_money),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("元")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("退款金额")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,decimals:0,startVal:t.oldScorePreview.total_refund_money?Number(t.oldScorePreview.total_refund_money):0,endVal:Number(t.oldScorePreview.total_refund_money),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("元")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("直播间订单量")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,startVal:t.oldScorePreview.total_order?Number(t.oldScorePreview.total_order):0,endVal:Number(t.oldScorePreview.total_order),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("单")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("实际下单量")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,decimals:0,startVal:t.oldScorePreview.total_order_actual?Number(t.oldScorePreview.total_order_actual):0,endVal:Number(t.oldScorePreview.total_order_actual),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("单")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("退单量")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,decimals:0,startVal:t.oldScorePreview.total_order_back?Number(t.oldScorePreview.total_order_back):0,endVal:Number(t.oldScorePreview.total_order_back),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("单")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("累计成交人数")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,startVal:t.oldScorePreview.total_order_user?Number(t.oldScorePreview.total_order_user):0,endVal:Number(t.oldScorePreview.total_order_user),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("人")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("累计涨粉数")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,startVal:t.oldScorePreview.total_fans_add?Number(t.oldScorePreview.total_fans_add):0,endVal:Number(t.oldScorePreview.total_fans_add),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("人")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("\n 成交转化率\n "),i("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"成交转化率=成交人数/累计观看人数",placement:"top"}},[i("i",{staticClass:"el-icon-question"})])],1),t._v(" "),i("div",{staticClass:"dataInfo"},[i("span",{staticClass:"data"},[t._v(t._s(t.oldScorePreview.convertion_buy_rate?t.oldScorePreview.convertion_buy_rate:"-"))]),t._v(" "),i("span",{staticClass:"unit"},[t._v("%")])])]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("\n 千次观看成交额\n "),i("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"千次观看成交额=直播间销售额/直播间观看次数*1000",placement:"top"}},[i("i",{staticClass:"el-icon-question"})])],1),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,startVal:t.oldScorePreview.GPM?Number(t.oldScorePreview.GPM):0,endVal:Number(t.oldScorePreview.GPM),duration:1e4}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("元")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("新客成交占比")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("span",{staticClass:"data"},[t._v(t._s(t.oldScorePreview.new_custom_order_rate?t.oldScorePreview.new_custom_order_rate:"-"))]),t._v(" "),i("span",{staticClass:"unit"},[t._v("%")])])]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("\n 人均观看时长\n "),i("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"人均观看时长=平均观看人数 * 直播时长 / 累计观看人数",placement:"top"}},[i("i",{staticClass:"el-icon-question"})])],1),t._v(" "),i("div",{staticClass:"dataInfo"},[i("span",{staticClass:"data",staticStyle:{"font-size":"0.24rem"}},[t._v(t._s(t.oldScorePreview.customer_avg_in_live_time?t.oldScorePreview.customer_avg_in_live_time:"0"))])])]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("实时观看人数")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,decimals:0,startVal:t.oldScorePreview.total_onlive_watching_count?Number(t.oldScorePreview.total_onlive_watching_count):0,endVal:Number(t.oldScorePreview.total_onlive_watching_count),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("人")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("累计观看人数")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,decimals:0,startVal:t.oldScorePreview.total_watching_count?Number(t.oldScorePreview.total_watching_count):0,endVal:Number(t.oldScorePreview.total_watching_count),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("人")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("投放金额")]),t._v(" "),i("div",{staticClass:"dataInfo"},[i("countTo",{staticClass:"data",attrs:{autoplay:!0,decimals:0,startVal:t.oldScorePreview.stat_cost?Number(t.oldScorePreview.stat_cost):0,endVal:Number(t.oldScorePreview.stat_cost),duration:1e3}}),t._v(" "),i("span",{staticClass:"unit"},[t._v("元")])],1)]),t._v(" "),i("div",{staticClass:"dataItem"},[i("p",{staticClass:"name"},[t._v("\n 投放ROI\n "),i("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"投放ROI=投放产生的销售额/ 投放金额",placement:"top"}},[i("i",{staticClass:"el-icon-question"})])],1),t._v(" "),i("div",{staticClass:"dataInfo"},[i("span",{staticClass:"data"},[t._v(t._s(t.oldScorePreview.roi))])])])]),t._v(" "),i("div",{staticClass:"progress"},[i("transition",{attrs:{name:"fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.progressShow,expression:"progressShow"}],staticClass:"progressBar"})])],1)],1),t._v(" "),i("div",{staticStyle:{height:"0.05rem","background-color":"#161723"}}),t._v(" "),i("div",{staticClass:"market_center_tab"},t._l(t.tabData_center,function(e,a){return i("div",{key:a,class:t.tabAc==a?"market_center_tab_active":"",on:{click:function(e){return t.tabCenterClick(a)}}},[t._v(t._s(e))])}),0),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.tabCenterLoading,expression:"tabCenterLoading"}],staticClass:"data_puton_shop",staticStyle:{"overflow-y":"auto",height:"calc(100vh - 5.6rem)"}},[0==t.tabAc?i("trendGan",{ref:"trendGanChild",attrs:{id:"trend",streamerData:t.streamerData_dad,platform:"1"}}):t._e(),t._v(" "),1==t.tabAc?i("putOn",{ref:"putOnChild"}):t._e(),t._v(" "),2==t.tabAc?i("goodsList",{ref:"goodsChild",attrs:{dayItemList:t.dayItemList}}):t._e()],1)]),t._v(" "),i("div",{staticClass:"sideModule",staticStyle:{"overflow-y":"auto"}},[i("div",{staticClass:"moduleBox championBox",class:t.staffPreview&&t.staffPreview.length>0?"championBox_staff":""},[i("div",{staticClass:"title flex-between"},[t._v("主播轮班情况\n "),t.staffPreview&&0==t.staffPreview.length?i("div",{staticClass:"flex"},[i("i",{staticClass:"iconfont icon-zanwu_icon rMar5",staticStyle:{color:"rgba(88, 88, 88, 0.22)"}}),t._v(" "),i("span",{staticStyle:{color:"#666666","font-size":"11px","font-weight":"200"}},[t._v("暂无人员配置")])]):t._e()]),t._v(" "),t._l(t.staffPreview,function(e){return i("div",{key:e.id,staticClass:"flex line21 tMar10",staticStyle:{padding:"0 20px"}},[i("div",{staticClass:"f10 c-E1E1E1 flex",staticStyle:{"font-size":"0.14rem","align-items":"center"}},[i("span",[t._v(t._s(e.staff_name?e.staff_name:"-"))]),t._v(" "),1==e.show_now?i("div",{staticClass:"liveing"},[i("img",{attrs:{src:a("wcBb"),alt:""}}),t._v(" 直播中")]):t._e()]),t._v(" "),i("div",{staticClass:"lMarauto f14 c-fff",staticStyle:{"font-size":"0.14rem"}},[t._v("\n "+t._s(e.star_time?e.star_time:"-")+" - "+t._s(e.end_time?e.end_time:"-")+"\n ")])])})],2),t._v(" "),i("fieldControl",{ref:"fieldControl",style:(t.staffPreview&&0==t.staffPreview.length?"height: calc(100% - 0.7rem)":"height: calc(100% - 1.98rem)")+";overflow: hidden;"})],1)])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"goodsHead"},[e("div",{staticClass:"goodsInfo clampOne",staticStyle:{width:"140px"}},[this._v("订单信息")]),this._v(" "),e("div",{staticClass:"th",staticStyle:{"margin-right":"0.2rem",width:"0.8rem"}},[this._v("订单金额")])])}]};var R=a("VU/8")(D,N,!1,function(t){a("fLWg")},"data-v-144e2e40",null);e.default=R.exports},"7yxc":function(t,e){},"D+pv":function(t,e){},E4y8:function(t,e){},Ew6G:function(t,e){},NjsB:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAaCAYAAACtv5zzAAAAAXNSR0IArs4c6QAABERJREFUSA21Vk1rZEUUvVWvuw0MLdLtOMObVjIkOMH1gIvZDOhCCKRxbYJkcOcQ8ReY/AERcTkwoD1LcSaQhbgRQRf6B1xMUJKehtGo0djpTrqqrufeqnrdmQ938+B1va5X95x7Tt1b3UTP+DL/h99ffK/jfOha5mVDfoFCKIkDGeIBEe8ieGfuueJe+/6d/tNwnkiwd+VmyePhFoDWiULBEZQMRiUwrKM8WyaPj9t14z86v78N4rPXYwR7l2+sMHOPgm+CAEBeMo6ApNlHEszleSPzTEf4WL042NmepbCzX/bn1zfIu7smTJoWiRl2uGX0VJjwY8PWF2w9zFsKP5jgIE7ex5EYMcF99duFNzZmMSsFe5ffXTE+3EWUEUssMmQAawZCYs1b5f6XX0vww7L7ZmD3jWSe9qRSCiWQ494+//A7VaLxv1+5Udrge8wOMQ6WegTICADN0lON3HHOLFjvcuZRoSiJa6HEmhB6w5evlbJeCcaj8RbDFrVErFF7kkWEYHxnH9qZwPpJW4GTjdmqbCdwmqejyZYS9Bff6cC7dclWblmUs1aiIN+FdDIlIN+SZESprMeeaBJ53yQeJb1+3Hq9UzMnky7SK8RLzGKhVEfyllE9aY4DVwTGOTwLadwn+BktkgSxCXE+FBPrujXDk2VZoECZJAFXGwgSNNuUgCctIEqWKftcxgDHnGBJkeD9cg0g6NCYzWzNRxUxG5nHVREApW3EOslc1AJUMq9GSVTUEC3U4H8ZOzVPpiCoyFYlJRUBvG8F9T5nnkjUqjinscRlDU0FdklGGCNJAkxzUQU2vCUy9PKujVrU93mtlqnYUuEgDqpqxoQBJl+VF+isSAIidFsiRJAST/eAjEeZTgliU8YEp8eHkPEAibhd3QMtuVjz4u+0kXI5ugu8uYm9ZlME91Ku/aopq95JsXLMANscXLz+Ps6fz+RY0BJViVlqHKMCVIahL7QEvVvTTa1URjWa/Yx6a8xN88el6x0an/yKui7iAgFFhTxCpO+SLfIcPZ/uW47N1mH0c9SYt+0H3/at8bdzB5NsulRIvjUj2ERuhKCPMW5i/WE8TqRjxRJRgFE7ONksmKMHfT1Nhy9eK095+DPqOP0GzEhOSlBhHzT/2f1Uqujf519ZQ0N9DtSo9IxaLZCjhi2WzPHBQA+7cwffDwofVpF1yOdQPldETTx3wi8CLleN/V+6Lp20cvLKHc8uFwrLqwIua1WBPMj19wuvbVh2n6Dx0Bopuzwy/1RYvybrgg89KLqaNz+vRbkiffthY3SoSmXtGQKZGDYXV4IJPXiK4zuTyGbm5zzO2Ih3hsxRsGZ17vhQf2gESy61KD7Gz3NH97dto76Egr8FNV5lo8azdbn+1brYgB7wt+q2vvQouCA+pmCWjFuXOifj0y7mlqFmAarwKwUFJN1Pu6agnTrX7pnRn0/92zKL90ye/wPGrzrXLr4hhAAAAABJRU5ErkJggg=="},NlKv:function(t,e){t.exports="data:image/png;base64,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"},OJTK:function(t,e){},V80L:function(t,e){},XngP:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAYAAAD6S912AAAAAXNSR0IArs4c6QAAAn1JREFUOBGdlU1oE1EQx/+zWYpN/QKxxVpRBC9+IGhBRKyKaGMTlSYsWAVBhHr1KAjqTfDj5ilHpbQ1Ji3YpFpBvfiJiJf6hRQpWBWhQsWA7XbH2W128zbZZMUHy8z838wv817eviX84+B8agfYykLX91Is86lWmVZrQtX5fnczYN0BeDVMc4hf9UbVedUPBTIbEZgYAHPbQiFvxvcfN1SI6ocCUTCvCGyfWiTxKR5JnvZppYCCRFfj0e5jmOd+N/ZZwh8gsofi2ReqXhPIeWMLMPcMjCa1oMKfgq61Uyz31dUDl8wPjGVgMxsCsxmtMK1BfnRJrwlkZsKs2Sf/6AY3KcTuxu83V92c6g4LqYuy6XEngegbNLrmJnuW6KP4aRBmStpZzieP274PyKOpLjlv5yXxLiLaUUS3rsEh/VypqGwYrykxfAYtzatA2kmZeCx1aS4YG721O9kaJhBZtJYODkwtVOekWTmH1WPClqg9XRRzy354JLUeUX3GB6TO7Hs70TeeLJG3YtonCcoBqiIlso7mW7Ka4Pm/iis833Ui/NZ1K204cN5s9RURTSOmv/RpShAO1MxtSr64fI8oM+/XylE40KJd5XSbR8O+uCKoC+TCiaVCOOLVED4grue8OMCpC4RV7JUa9e67UG+5Nr/25VBItsHid9Lh4lIjBcSHEkTEpTjQBHbIT41Ggd0uw2gcWlNPGMz+hSogjxsN+Dk3KLCdTgtEz9God1JXn/veBnbmij6g8+34bD6Ua+uw7MasJF1Hy8oO2p/54haEWW8P5bbokK5uSsFyefrRoF+mA5nJMEDlPDlLnDR75BbYLmdsDOv0MdqUsbv7r/EX69PDHD1Ypx8AAAAASUVORK5CYII="},YgG8:function(t,e){},"aze+":function(t,e){},"d/ya":function(t,e){},fLWg:function(t,e){},jCVx:function(t,e){},lWrq:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAYCAYAAAD6S912AAAAAXNSR0IArs4c6QAAAnNJREFUOBGdlE1oE0EUx/9v0wSqRaSHikdzUSyKiBZU8FwRMUmbUtGTiB70oqggSjrJpbcieAuKIH4EozFVEFFEQUE9eTCK6E3aKgVB6hc22xnfhEw6m93sls7lff5/efORpaxQCVfigCRsdQhPuoDHZUHzWOYio8sItVtKXON4tSLcShDGGfzF1JdqW0AtSAvVx9AKu7uIMA/Cpb61OFc8RvVlAbVIH0Fd4o4C9jUghNeJOIbLF2h6KVDPhEaQnVDd9R94ytAdzdz7Hgc7bwiaMz2drBNUKJ+iv46DEd72r2a9/7dESSk+3YgVCNSaiqAplueNnqfdk84ja+JOtiNQC3qAIl/MHyNWEoXsbRUzcZANBTbP7L4lXO/WkLFinxsK1N2OwktbxceQsuN2PxIoHbxtEw2GbTsSyNc6YwOVQq/7EQN2zvYjgb3d+G4LtK9cbGzPmZi/BYtrSKgNcWCuJKg11c91fMu1xR7t8ftMejMAa5MJ1nqALpBckKimcuoRP+zLm4GH+ADfIUru08CjQq2YlRjip3WYv1jbWTPge/kpoQS/t7HGBIRvfCbXpcJpeyKe8BPHz/mxj0JhVaPm4OCkoJs+oP57pcbwgJv22pAwn3/gYjVPJ3WP71KISJGDQ/xLn8MgpsZ9L7YQzlixcb12f0FtgotXnF3prVgRYSaWwLbKefpqsr4JTWEyR+/4kI+YOMD+64ohY8N0T0egLt4TVOLzmdB+++KtHr+bozft+VCgbo734yybZx6hg6vVAl3x5JpBJLA8Qgu89VGedEpr2NbWACeCYDoXCdRNvPXZWAzD7E7HCemioNY3Utft9R/N9qzOUvM8AwAAAABJRU5ErkJggg=="},lzyk:function(t,e,a){"use strict";var i=a("mvHQ"),s=a.n(i),n=a("//Fk"),r=a.n(n),o=a("aCK0"),l=a("XLwt"),c=null,d={props:["streamerData","platform"],data:function(){return{trendData:{},screenAc:null,errorAc:null,loading:!1,dataZoom_start:0,dataZoom_end:100,key_index_trend:1,screenData:[],screenList:{},columnArr:[],partName:"living_trend",platNum:"singlemarket"==this.$route.name?1:2,minute_unit:"",minute_unit_list:[{id:30,name:"30分钟"},{id:60,name:"60分钟"},{id:90,name:"90分钟"},{id:120,name:"120分钟"}],is_minute_grain:!1,trendLoading:!1}},components:{selfDialogTrend:o.a},watch:{key_index_trend:function(){var t=this;this.$nextTick(function(){t.trendEcharts()})}},created:function(){var t=this;this.is_minute_grain=!(!this.minute_unit||""==this.minute_unit),this.init_screenData().then(function(){t.trendEcharts()})},methods:{init_screenData:function(){var t=this;return new r.a(function(e,a){t.$axios.get(t.URL.BASEURL+t.URL.search_config,{params:{type:"singlemarket"==t.$route.name?"KS_LIVE_TRENDS_V2":"DY_LIVE_TRENDS_V2",method:"user"}}).then(function(a){(a=a.data)&&0==a.errno?(t.screenData=a.rst.show_checked_column,t.screenData.forEach(function(e,a){e.color_rgba=t.$store.state.color_trend_arrs[a]})):4002!=a.errno&&t.$message({message:a.err,type:"warning"}),e()}).catch(function(t){e()})})},getscreenData:function(t){var e=this;t.forEach(function(t,a){t.color_rgba=e.$store.state.color_trend_arrs[a]}),this.screenData=t,this.$nextTick(function(){e.trendEcharts()})},editscreenData:function(){if(!this.columnArr&&this.columnArr.length<1)return this.$message({message:"请求错误,请稍后再试!",type:"warning"}),!1;this.$axios.post(this.URL.BASEURL+this.URL.save_config,{type:"singlemarket"==this.$route.name?"KS_LIVE_TRENDS_V2":"DY_LIVE_TRENDS_V2",column:this.columnArr})},openDialog:function(){this.$refs.dialogChild.dialogFormVisible=!0,this.$refs.dialogChild.init("user")},screenSplice:function(t){var e=this;if(1!=this.screenData.length){for(var a in this.screenData.splice(t,1),this.columnArr=[],this.screenData)this.columnArr.push(this.screenData[a].key);this.editscreenData(),this.$nextTick(function(){e.trendEcharts()})}else this.$message({message:"至少有一条趋势",type:"warning"})},screenIn:function(t){this.screenAc=t},screenOut:function(t){this.screenAc=null},errorIn:function(t){this.errorAc=t},errorOut:function(t){this.errorAc=null},trend_liveDeTrends:function(t,e){var a=this,i={params:{live_stream_id:this.$route.params.living_id}};i.params.minute_unit=this.minute_unit&&""!=this.minute_unit?this.minute_unit:1,this.trendLoading=!0,this.$axios.get(this.URL.BASEURL+(1==this.platform?this.URL.liveDeTrends:this.URL.dou_liveTrends),i).then(function(e){e=e.data;t&&t(),a.trendLoading=!1,!e||0!=e.errno||(a.trendData=e.rst,a.$nextTick(function(){a.trendEcharts()}),e.rst)}).catch(function(e){t&&t(),a.trendLoading=!1})},grainChange:function(){var t=this;this.is_minute_grain=!(!this.minute_unit||""==this.minute_unit),this.key_index_trend++,this.$nextTick(function(){t.trend_liveDeTrends()})},trendEcharts:function(){var t=this;function e(t,e){var a=e.value(0),i=e.coord([e.value(1),a]),s=e.coord([e.value(2),a]),n=e.size([0,1])[1],r=l.graphic.clipRectByRect({x:i[0],y:i[1]-n/2,width:s[0]-i[0],height:n},{x:t.coordSys.x,y:t.coordSys.y,width:t.coordSys.width,height:t.coordSys.height});return r&&{type:"rect",shape:r,style:e.style()}}var a=[],i=[],n=[],r=[],o=[],d=[],_=[],v=[],u=[],m=this,g=[];if(this.trendData&&0!=this.trendData.length&&"{}"!=s()(this.trendData)){this.trendData.forEach(function(t){t.lotterys&&0!=t.lotterys.length&&i.push([t.xtime,1,t.lotterys]),t.goods_on_sale&&0!=t.goods_on_sale.length&&n.push([t.xtime,1,t.goods_on_sale]),t.live_notes&&r.push([t.xtime,1,t.live_notes]),t.live_control&&o.push([t.xtime,1,t.live_control]),a.push(t.xtime)}),this.screenData.forEach(function(e){e.data=[],t.trendData.forEach(function(t){e.data.push(t[e.key]?t[e.key]:0)})});var h=0,f=[];if(this.is_minute_grain)h=0;else{f=[{name:"商品上架",data:n,seriesFourtop:"62%",color:"#5E4CFF"},{name:"场记",data:r,seriesFourtop:"68%",color:"#E39063"},{name:"场控预警",data:o,seriesFourtop:"74%",color:"#6CB1E4"}],2==this.platform&&f.unshift({name:"福袋",data:i,seriesFourtop:"56%",color:"#FF4C4C"}),f.forEach(function(t,e){d.push({name:t.name,type:"scatter",xAxisIndex:e,yAxisIndex:e,symbolSize:6,data:t.data,itemStyle:{color:t.color},emphasis:{itemStyle:{color:t.color,borderColor:t.color,borderWidth:3,shadowBlur:4,shadowColor:t.color}}}),u.push({left:"6%",right:"3%",top:t.seriesFourtop,height:"5%"}),v.push({gridIndex:e,name:"",type:"value",inverse:!0,min:1,max:2,axisTick:{show:!1},splitLine:{show:!1},axisLine:{show:!1},nameTextStyle:{color:t.color,fontSize:14,padding:[0,35,0,0]},axisLabel:{show:!1,color:"#999999",fontSize:13,formatter:function(t){return""}}}),_.push({gridIndex:e,type:"category",boundaryGap:!1,data:a,position:"top",show:!0,axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"#444"}},axisLabel:{show:!1}})});var p=[];a.forEach(function(t,e){p.push(e)}),m.streamerData.forEach(function(t){t.self_data={min:0,max:0},a.forEach(function(e,a){m.$date_compatible(t.start_time).getTime()>=m.$date_compatible(e).getTime()&&(t.self_data.min=a),m.$date_compatible(t.end_time).getTime()>=m.$date_compatible(e).getTime()&&(t.self_data.max=a)})}),m.streamerData.forEach(function(t){var a=[],i=t.self_data.max-t.self_data.min;a.push({name:t.staff_name,value:[1,t.self_data.min,t.self_data.max,i]}),d.push({name:t.staff_name,type:"custom",renderItem:e,xAxisIndex:f.length,yAxisIndex:f.length,itemStyle:{opacity:.8},encode:{x:[1,2],y:0},data:a,label:{normal:{show:!0,formatter:function(t){return t.name},color:"#fff"}}})}),u.push({left:"6%",right:"3%",top:"77%",height:this.streamerData&&this.streamerData.length>0?"5%":"3%"}),v.push({data:["A"],show:!1,gridIndex:f.length}),_.push({gridIndex:f.length,min:0,boundaryGap:!1,show:!(this.streamerData&&this.streamerData.length>0),axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"#444444"}},axisLabel:{show:!1},data:a}),g=[];for(var y=0;y<f.length+1;y++)g.push(y);h=f.length+1}this.screenData.forEach(function(t,e){d.push({name:t.name,type:"line",xAxisIndex:e+h,yAxisIndex:e+h,symbolSize:2,data:t.data,smooth:!0,lineStyle:{width:2},emphasis:{scale:!1,lineStyle:{width:2}},itemStyle:{color:"rgb("+t.color_rgba+")",borderType:"dotted"},symbol:1==a.length?"emptyCircle":"none",showSymbol:!1,showAllSymbol:!1,areaStyle:{color:new l.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba("+t.color_rgba+",0.3)"},{offset:1,color:"rgba("+t.color_rgba+",0)"}])}}),v.push({show:0==e,name:"",gridIndex:e+h,xAxisIndex:e+h,yAxisIndex:e+h,type:"value",min:0,max:function(t){return t.max+1},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{color:"#444444",type:"dashed"}},axisLine:{show:!1},nameTextStyle:{color:"#999999",fontSize:14,padding:[0,35,0,0]},axisLabel:{color:"#999999",fontSize:13,formatter:function(t){return""}}}),_.push({show:0==e,type:"category",boundaryGap:!1,gridIndex:e+h,data:a,position:"bottom",axisLine:{show:0==e,lineStyle:{color:"#F2F2F2"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:"#999999",fontSize:10,formatter:function(t){return t.split(" ")[1]}}}),u.push({top:"2%",left:"6%",right:"3%",height:m.is_minute_grain?"70%":1==m.platform?"52%":"42%"}),g.push(e+h)});var C={tooltip:{triggerOn:"mousemove|click",show:!0,enterable:!0,borderWidth:0,trigger:"axis",padding:[10,10],textStyle:{lineHeight:24,fontSize:12},axisPointer:{type:"line",axis:"x",lineStyle:{color:"rgba(255,255,255,0.15)",shadowBlur:0}},alwaysShowContent:!1,position:function(t,e,a,i,s){return[t[0]<s.viewSize[0]/2?t[0]+0:t[0]-a.offsetWidth-0,"20%"]},hideDelay:200,formatter:function(t){var e=t[0].name+"<br>";return t.forEach(function(t,a){"福袋"==t.seriesName?(e+="<div style='display: flex;align-items: center;font-size:13px;color:#333;margin-top:8px;'><img src='https://kx-bigdata.oss-cn-beijing.aliyuncs.com/shop_live/luckybag.png' style='width:16px;height:16px;margin-right:4px'/>"+t.seriesName+"</div>",t.data[2].forEach(function(t){e+="<div style='font-size:13px;margin-left:18px;color:#444'><span style='color:#888'>奖励:</span>"+t.prize_name+"<br/></div>\n <div style='font-size:13px;margin-left:18px;color:#444'><span style='color:#888'>条件:</span>"+t.condition+"<br/></div>\n <div style='font-size:13px;margin-left:18px;color:#444'><span style='color:#888'>开始时间:</span>"+t.start_time+"<br/></div>\n <div style='font-size:13px;margin-left:18px;color:#444'><span style='color:#888'>结束时间:</span>"+t.draw_time+"<br/></div>\n "})):"场记"==t.seriesName?e+="<div style='display: flex;align-items: center;font-size:13px;color:#333;margin-top:8px;'><img src='https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/cj.png' style='width:16px;height:16px;margin-right:4px'/>"+t.seriesName+":"+t.data[2].content+"</div>":"场控预警"==t.seriesName?(e+="<div style='display: flex;align-items: center;font-size:13px;color:#333;margin-top:8px;'>\n <img src='https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/ck.png' style='width:0.16rem;height:0.16rem;margin-right:0.04rem'/>"+t.seriesName+"</div>",t.data[2].forEach(function(t,a){e+="<div style='margin-top:0.02rem;font-size:0.13rem;margin-left:0.18rem;'>\n"+(a+1)+" : "+t.type_desc+' : <i class="'+("onlive_user_incr"==t.type?"el-icon-top":"gmv"==t.type||"violation"==t.type?"":"el-icon-bottom")+'" style="color: #4f7eff;"></i> '+(t.rate?t.rate:t.desc?t.desc:"")+"\n</div>"})):"商品上架"==t.seriesName?(e+="<div style='display: flex;align-items: center;font-size:13px;color:#333;margin-top:8px;'>\n <img src='https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/spsj.png' style='width:0.16rem;height:0.16rem;margin-right:0.04rem'/>"+t.seriesName+"</div><div style='height: auto;max-height: 160px;overflow-y: auto;'>",t.data[2].forEach(function(t){e+='<div style="display: flex;align-items: center;background-color: #f4f4f4;padding: 0.04rem">\n <div>\n <img src="'+t.img+'" alt="" style="width: 0.38rem;height: 0.38rem;border-radius: 0.04rem;margin-right: 0.04rem">\n </div>\n <div style="font-size:0.13rem;">\n <div style=\'width:350px; white-space:pre-wrap;word-break:break-all;\'>'+t.title+"</div>\n <div>"+t.sell_price+"</div>\n </div>\n </div>\n "}),e+="</div>"):e+="<div style='margin-top:8px'>"+t.marker+t.seriesName+":"+m.$formatNum(t.value)+"</div>"}),e}},axisPointer:{link:{xAxisIndex:"all"}},dataZoom:[{type:"slider",filterMode:"weakFilter",start:m.dataZoom_start,end:m.dataZoom_end,xAxisIndex:g,height:22,moveHandleSize:0,color:"#fff",borderColor:"rgba(37, 42, 62, 0.8)",fillerColor:"rgba(37, 42, 62, 0.8)",backgroundColor:"#02050E",handleStyle:{color:"#fff",shadowBlur:3,shadowColor:"rgba(0, 0, 0, 0.6)",shadowOffsetX:2,shadowOffsetY:2},textStyle:{color:"#fff",fontSize:10}}],grid:u,xAxis:_,yAxis:v,series:d};(c=this.$echarts.init(document.getElementById("trend_echarts"))).setOption(C,!0),c.on("dataZoom",function(t){t.batch?(m.dataZoom_start=t.batch[0].start,m.dataZoom_end=t.batch[0].end):(m.dataZoom_start=t.start,m.dataZoom_end=t.end)})}}},beforeDestroy:function(){c&&c.clear()}},_={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading||t.trendLoading,expression:"loading||trendLoading"}],key:t.key_index_trend+"trend_market",staticClass:"screenBox_dad zb_big_trend_box"},[t.trendData&&(!t.trendData||0!=t.trendData.length)||t.loading?i("div",{staticClass:"flex",staticStyle:{"justify-content":"flex-end","margin-bottom":"6px"}},[i("label",{staticClass:"f13"},[t._v("时间粒度:")]),t._v(" "),i("el-select",{staticClass:"self_list_input__inner",staticStyle:{width:"140px","margin-right":"15px"},attrs:{size:"mini",filterable:"",clearable:"",placeholder:"请选择"},on:{change:t.grainChange},model:{value:t.minute_unit,callback:function(e){t.minute_unit=e},expression:"minute_unit"}},t._l(t.minute_unit_list,function(t,e){return i("el-option",{key:e,attrs:{label:t.name,value:t.id}})}),1),t._v(" "),i("div",{staticClass:"self_btn",on:{click:t.openDialog}},[t._v("自定义指标")])],1):i("div",{staticClass:"flexNoLiving"},[i("img",{attrs:{src:a("nu6d"),alt:""}}),t._v(" "),i("span",{staticClass:"text"},[t._v("暂无数据")])]),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?i("div",{staticClass:"screenUl_checked_dad"},t._l(t.screenData,function(e,a){return i("div",{key:e.key,staticClass:"screenUl_checked",on:{click:function(e){return t.screenSplice(a)},mouseenter:function(e){return t.errorIn(a)},mouseleave:function(e){return t.errorOut(a)}}},[i("span",{staticClass:"icon_block",style:{backgroundColor:"rgb("+e.color_rgba+")"}}),t._v(" "),i("span",[t._v(t._s(e.name))]),t._v(" "),i("i",{staticClass:"el-icon-error",class:t.errorAc==a?"":"error_trans"})])}),0):t._e(),t._v(" "),i("div",{staticClass:"posRela"},[t.is_minute_grain?t._e():[2==t.platform&&t.trendData&&0!=t.trendData.length&&!t.loading?i("div",{staticClass:"scatter_text scatter_text1"},[i("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/shop_live/luckybag.png",alt:""}}),t._v(" "),i("span",[t._v("福袋")])]):t._e(),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?i("div",{staticClass:"scatter_text scatter_text2"},[i("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/spsj.png",alt:""}}),t._v(" "),i("span",[t._v("商品上架")])]):t._e(),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?i("div",{staticClass:"scatter_text scatter_text3"},[i("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/cj.png",alt:""}}),t._v(" "),i("span",[t._v("场记")])]):t._e(),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?i("div",{staticClass:"scatter_text scatter_text4"},[i("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/ck.png",alt:""}}),t._v(" "),i("span",[t._v("场控预警")])]):t._e(),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?i("div",{staticClass:"scatter_text scatter_text5"},[i("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/zb.png",alt:""}}),t._v(" "),i("span",[t._v("主播")])]):t._e()],t._v(" "),i("div",{style:t.is_minute_grain?"height:3.5rem":"",attrs:{id:"trend_echarts"}})],2),t._v(" "),i("selfDialogTrend",{ref:"dialogChild",attrs:{propData:t.partName,propplatNum:t.platNum},on:{getscreenData:t.getscreenData}})],1)},staticRenderFns:[]};var v=a("VU/8")(d,_,!1,function(t){a("YgG8"),a("2QxX")},"data-v-05283094",null);e.a=v.exports}});