webpackJsonp([2],{"1Gwb":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAArZJREFUSA29lllrVEEQhWeiiVsUReOGieNGBAX1zRfBH++jDxEFl8SRcYE4ipFozKJkPF9T1dR0+jJX0Rwoqrqquk9Xd92l09lndP+EbzQakT8jOSTZlWx3u92f0q0xkVAkB7TaRck5yWnJlCRiR4OhZFXkn2KgZjcSWjXzmnRdQkVt8FVJL0S81pRcJRTZtCbckcw1TZzgfynSfi2nPJ6Okd0vyDY0fiqp7RwfsR8Sx6LWueWDqMcIlcT4nmQ2Jsnua8fvpZ8UfoZLFisrWtB6vTJ/jFDBKxIao8RRHFp4U4p7cqzJt2WDlOMB0zdFejz6MqECtPvVGAw2Her46IZ0tM8Hv5v0yKIP0JlQ9oLkIM4KZrUhP+ZIskquVVGrkPBcrDISxipILJHiOkIa6Jtk3Y6YvElzc/WpIu3gsCadYGYFK/JRya8QexxszA8SKr8guSYpcUaOZZx+hEfKDBvvSr9WJeiM0CjJ55Vq41RP48WTIycftxNSYQ1MpNPSXVnChgi2seXnDXTM/CgqLMnwzyh3io074QhvAy7LjzieyXhng7PStz3QRjth2nHDBO6OZ8835c8d6dj+wuYROCnxNWVm7FAdIw9u5tBe45HfURmSHzIn5IjphYdlnsb5tZfOWxPZ6Xolkaq8skq46qrl5015hcykrctHg2N6oJ1/IcEw0AY/Y8vP14QXBiD3lGnGEaydEAnfykNLRx9JjGkOx9ANabo7xkIom0NtkBdFQm5hOfly983/rxTH+youlgnNCWE6rphU2HycHdF2X9TPY3UExggVZEdLku8EG9Dj7uz+eg05uAdab1DGueg90GLc210JTfE34L/mTW1ilZBEkRK7JLkh+b8/USLIELH/JtKNvPXHrkFj3lJ0Lr+Jk+4/PTvKbQerOv4Ib4kkfrbaLbSfWb8B8a6/zYg9VfUAAAAASUVORK5CYII="},"4Cf8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAcJJREFUSA21lttKAzEQhl0PeKxiFVREhQoFEa+88P1fwQsFD2BFQbQqeBYP6/eHpGzXZLrIOjCkmcz8X7KbZJsNVbA8zzPSlvEVfAYfxt/xe7yTZdkrrWkSMA3IBAlb+Hwi8Yv4CbDLxLgLmyAgo2Tt4eOWiB8T7DyVp0dgWZvBKhBptJjYdEosCaKoQZHeS1WT1mYqOQmiYCFVZMSbTDCqGQ16oUlDMDUkvbHYoAXKYwUVYtE6C/RcQbSc8kngoxxU3wJ1GY/OLibkY9ds8WhNEuRP+5khWh7SSk7LwdBPgnxCh/YhJA9oD5lc9LGpzrwZlOC3a4uf6+pH7IXYARBzQgNBQdgf4CX6ulRHcF2qd/gVkG9a00wQ4hJsetflqruvaHrxAj7hXYDJnRoF+ce1RvEGXhYnlDSt8BTgYznjFwiILtEdfLacXLGvVR4Duyjm94GA6PrYxaeKSX/8fVSElbf3dk0Qza3NxOfCJHsggosE9eLrNH3PnPVA9FZ9rM6mwQLcu3YgOmrrXk2YsPuuhRVpp/VtjJBVQ+u+awFUg54t4UBsQ/0v0+n+D7uRaHFF+/Rv8YH3lgor2Bs5OksO9AMcR2eHRXk6HAAAAABJRU5ErkJggg=="},"6IOE":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={name:"advertisingPlan",components:{plans:a("JHlR").a},mounted:function(){var t=this;this.$nextTick(function(){t.$refs.plansChild.init(1)})}},i={render:function(){var t=this.$createElement;return(this._self._c||t)("plans",{ref:"plansChild"})},staticRenderFns:[]},n=a("VU/8")(s,i,!1,null,null,null);e.default=n.exports},"6cHa":function(t,e){},"94/F":function(t,e){},C6tV:function(t,e){},"DyI/":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAACICAYAAACV4qmDAAAAAXNSR0IArs4c6QAAAZNJREFUeAHt3FFqg0AYReEo3UKWIAhdT7KzbCJZT0FwCVmDmhlBmCm2EA7B/+HkpWnSq5dvLvTN0yn4q9nrNwzDsvf5EZ+1R9z0nXvuCr5zgU/97XaK4QUtSCegoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgObdoIJUgOb/3eA4juf0/Ks7vQnJ/1kwFbvM8/yTLn4hN6DZr98XyGrTNN1ysWU5/hFwlWAUtRJtFYymVhZsslrTNLd0nOfyiyjvqyOOUqrssT7erzzi8svtfd/3hz0GcBXsuu6ZSlxToWs67udWLMLP6ohTyUfbtt+p2CNCudyhKpg/iKyZ+1WvCP/qqkIRf3kBMcFLMV+mg70AAAAASUVORK5CYII="},GErv:function(t,e){},JHlR:function(t,e,a){"use strict";var s={name:"plans",data:function(){return{loading:!1,infoList:[],sort_type:"roi",total:0,page:1,pages:1,page_size:20}},methods:{goputDetail:function(t){var e=void 0;"advertisingPlan"==this.$route.name?e=this.$route.params.plat_type:"replay"==this.$route.name&&(e=this.$route.params.platform);var a=this.$router.resolve({path:"/putOnId/"+t+"/"+e});window.open(a.href,"_blank")},sortEvent:function(t){if(this.infoList==[]||0==this.infoList.length)return this.$message({message:"暂无数据",type:"info"}),!1;this.sort_type=t,this.init(1)},init:function(t){var e=this;this.loading=!0;var a=void 0;"advertisingPlan"==this.$route.name?a=1==this.$route.params.plat_type?this.URL.replay_put_plan_kwai:this.URL.dou_advert:"replay"==this.$route.name&&(a=1==this.$route.params.platform?this.URL.replay_put_plan_kwai:this.URL.dou_advert),this.$axios.get(this.URL.BASEURL+a,{params:{live_stream_id:this.$route.params.living_id,sort_column:this.sort_type,page:t,page_size:this.page_size}}).then(function(t){t=t.data;e.loading=!1,t&&0==t.errno?(e.infoList=t.rst.data,e.total=t.rst.pageInfo.total,e.pages=t.rst.pageInfo.pages,e.page=t.rst.pageInfo.page):4002!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loading=!1})},handleCurrentChange:function(t){this.init(t)},exportEvent:function(t){var e=this;if(0==this.infoList.length)return this.$message({message:"数据为空,不能导出!",type:"success"}),!1;this.loading=!0;var a=1==this.$route.params.platform?this.URL.replay_put_plan_kwai:this.URL.dou_advert;this.$axios.get(this.URL.BASEURL+a,{params:{live_stream_id:this.$route.params.living_id,sort_column:this.sort_type,page:1,page_size:100}}).then(function(a){var s,i,n=[];(a=a.data)&&0==a.errno?(i="关联账号,广告计划,消耗,展示数,点击数,点击率,转化订单数,转化销售额,转粉数,转化成本,转化率,投放ROI\n",s=t+" - 投放计划",a.rst.data.forEach(function(t){n.push({shop_name:1==e.$route.params.platType?t.account.name:t.shop_name,campaign_name:t.campaign_name,stat_cost:t.stat_cost,show_cnt:t.show_cnt,click_cnt:t.click_cnt,ctr:t.ctr,pay_order_count:t.pay_order_count,pay_order_amount:t.pay_order_amount,fan_add:t.fan_add,per_order_cost:t.per_order_cost,to_order_rate:t.to_order_rate,roi:t.roi})}),e.$exportToExcel({th_arr:i,jsonData:n,name:s}).then(function(){e.loading=!1})):(e.loading=!1,e.$message({message:a.err,type:"warning"}))}).catch(function(t){e.loading=!1})}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"table_div"},[a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[a("div",{staticClass:"th_title"},[t.$route.params.platType?[t._v("关联账号")]:[t._v("广告账号")]],2)]),t._v(" "),t._m(0),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","stat_cost"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("stat_cost")}}},[t._v("\n 消耗\n "),t._m(1)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","show_cnt"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("show_cnt")}}},[t._v("\n 展示数\n "),t._m(2)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","click_cnt"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("click_cnt")}}},[t._v("\n 点击数\n "),t._m(3)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","ctr"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("ctr")}}},[t._v("\n 点击率\n "),t._m(4)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","pay_order_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("pay_order_count")}}},[t._v("\n 转化订单数\n "),t._m(5)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","pay_order_amount"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("pay_order_amount")}}},[t._v("\n 转化销售额\n "),t._m(6)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","fan_add"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("fan_add")}}},[t._v("\n 转粉数\n "),t._m(7)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","per_order_cost"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("per_order_cost")}}},[t._v("\n 转化成本\n "),t._m(8)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","to_order_rate"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("to_order_rate")}}},[t._v("\n 转化率\n "),t._m(9)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","roi"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("roi")}}},[t._v("\n 投放ROI\n "),a("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"投放ROI=投放产生的销售额/ 投放金额",placement:"top"}},[a("i",{staticClass:"el-icon-question"})]),t._v(" "),t._m(10)],1)])])]),t._v(" "),a("tbody",[t._l(t.infoList,function(e,s){return[a("tr",{key:e.plan_id,staticClass:"pointer"},[a("td",{staticStyle:{"text-align":"left","padding-right":"10px"}},[a("el-tooltip",{attrs:{effect:"light",disabled:!(e.shop_name&&e.shop_name.length>15),content:e.shop_name,placement:"top"}},[a("div",{staticClass:"liveName clampOne liveNameACC",on:{click:function(a){return t.goputDetail(e.advertiser_id)}}},[t._v(t._s(e.shop_name?e.shop_name:"-"))])])],1),t._v(" "),a("td",{staticClass:"clampOne",staticStyle:{"text-align":"left"}},[a("el-tooltip",{attrs:{effect:"light",disabled:!(e.campaign_name&&e.campaign_name.length>9),content:e.campaign_name,placement:"top"}},[a("div",{staticClass:"liveName clampOne"},[t._v("\n "+t._s(e.campaign_name?e.campaign_name:"-"))])])],1),t._v(" "),a("td",{class:"stat_cost"==t.sort_type?"common_selected":""},[t._v(t._s(e.stat_cost?t.$formatNum(e.stat_cost):"-"))]),t._v(" "),a("td",{class:"show_cnt"==t.sort_type?"common_selected":""},[t._v(t._s(e.show_cnt?t.$formatNum(e.show_cnt):"-"))]),t._v(" "),a("td",{class:"click_cnt"==t.sort_type?"common_selected":""},[t._v(t._s(e.click_cnt||0==e.click_cnt?t.$formatNum(e.click_cnt):"-"))]),t._v(" "),a("td",{class:"ctr"==t.sort_type?"common_selected":""},[t._v(t._s(e.ctr||0==e.ctr?t.$formatNum(e.ctr):"-")+"%")]),t._v(" "),a("td",{class:"pay_order_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.pay_order_count||0==e.pay_order_count?t.$formatNum(e.pay_order_count):"-"))]),t._v(" "),a("td",{class:"pay_order_amount"==t.sort_type?"common_selected":""},[t._v(t._s(e.pay_order_amount||0==e.pay_order_amount?t.$formatNum(e.pay_order_amount):"-"))]),t._v(" "),a("td",{class:"fan_add"==t.sort_type?"common_selected":""},[t._v(t._s(e.fan_add||0==e.fan_add?t.$formatNum(e.fan_add):"-"))]),t._v(" "),a("td",{class:"per_order_cost"==t.sort_type?"common_selected":""},[t._v(t._s(e.per_order_cost?t.$formatNum(e.per_order_cost):"-"))]),t._v(" "),a("td",{class:"to_order_rate"==t.sort_type?"common_selected":""},[t._v(t._s(e.to_order_rate?t.$formatNum(e.to_order_rate):"-")+"%")]),t._v(" "),a("td",{class:"roi"==t.sort_type?"common_selected":""},[t._v(t._s(e.roi||0==e.roi?e.roi:"-"))])])]})],2)]),t._v(" "),t.loading||0!=t.infoList.length?t._e():a("div",{staticClass:"noHaveDate"},[t._v("暂无数据")]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total>0"}],staticClass:"bottom"},[a("el-pagination",{attrs:{background:"","current-page":Number(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:{"text-align":"left",width:"14%"}},[e("div",{staticClass:"th_title"},[this._v("广告计划")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])}]};var n=a("VU/8")(s,i,!1,function(t){a("GErv")},"data-v-bc5a05f8",null);e.a=n.exports},NUeJ:function(t,e){},bmIx:function(t,e){},kCXs:function(t,e,a){"use strict";var s=a("//Fk"),i=a.n(s),n=a("XLwt"),r=null,o={props:["platform"],data:function(){return{screenAc:null,errorAc:null,loading:!1,trendData:{},dataZoom_start:0,dataZoom_end:100,streamerData:[],screenData:[],screenList:{},columnArr:[],partName:"living_trend",platNum:this.platform,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,key_index:1}},components:{selfDialogTrend:a("aCK0").a},created:function(){var t=this;this.is_minute_grain=!(!this.minute_unit||""==this.minute_unit),this.$nextTick(function(){t.init_first()})},methods:{init_first:function(){var t=this;this.loading=!0;var e=[this.liveDeTrends()];(!this.screenData||this.screenData.length<=0)&&e.push(this.init_screenData()),this.is_minute_grain||e.push(this.streamer_scheduling()),i.a.all(e).then(function(){t.$nextTick(function(){t.trendData&&0!=t.trendData.length?t.trendEcharts():t.loading=!1})}).catch(function(){t.loading=!1})},init_screenData:function(){var t=this;return new i.a(function(e,a){t.$axios.get(t.URL.BASEURL+t.URL.search_config,{params:{type:1==t.platform?"KS_LIVE_TRENDS_V2":"DY_LIVE_TRENDS_V2",method:"user"}}).then(function(a){e(),(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"})}).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:1==this.platform?"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},streamer_scheduling:function(){var t=this;return new i.a(function(e,a){var s={params:{live_stream_id:t.$route.params.living_id}};t.$axios.get(t.URL.BASEURL+t.URL.streamer_scheduling,s).then(function(a){e(),(a=a.data)&&0==a.errno?t.streamerData=a.rst:t.$message({message:a.err,type:"warning"})}).catch(function(t){e()})})},liveDeTrends:function(){var t=this;return new i.a(function(e,a){var s={params:{live_stream_id:t.$route.params.living_id}};s.params.minute_unit=t.minute_unit&&""!=t.minute_unit?t.minute_unit:1,t.$axios.get(t.URL.BASEURL+(1==t.platform?t.URL.liveDeTrends:t.URL.dou_liveTrends),s).then(function(a){if(e(),(a=a.data)&&0==a.errno){if(t.trendData=a.rst,!a.rst)return}else t.$message({message:a.err,type:"warning"})}).catch(function(t){e()})})},grainChange:function(){var t=this;this.is_minute_grain=!(!this.minute_unit||""==this.minute_unit),this.key_index++,this.$nextTick(function(){t.init_first()})},trendEcharts:function(){var t=this;function e(t,e){var a=e.value(0),s=e.coord([e.value(1),a]),i=e.coord([e.value(2),a]),r=e.size([0,1])[1],o=n.graphic.clipRectByRect({x:s[0],y:s[1]-r/2,width:i[0]-s[0],height:r},{x:t.coordSys.x,y:t.coordSys.y,width:t.coordSys.width,height:t.coordSys.height});return o&&{type:"rect",shape:o,style:e.style()}}var a=[],s=[],i=[],o=[],l=[],c=[],_=[],d=[],v=[],m=this,f=[];this.trendData.forEach(function(t){t.lotterys&&0!=t.lotterys.length&&s.push([t.xtime,1,t.lotterys]),t.goods_on_sale&&0!=t.goods_on_sale.length&&i.push([t.xtime,1,t.goods_on_sale]),t.live_notes&&o.push([t.xtime,1,t.live_notes]),t.live_control&&l.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 p=0,u=[];if(this.is_minute_grain)p=0;else{u=[{name:"商品上架",data:i,seriesFourtop:"70%",color:"#5E4CFF"},{name:"场记",data:o,seriesFourtop:"75%",color:"#E39063"},{name:"场控预警",data:l,seriesFourtop:"80%",color:"#6CB1E4"}],2==this.platform&&u.unshift({name:"福袋",data:s,seriesFourtop:"65%",color:"#FF4C4C"}),u.forEach(function(t,e){c.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}}}),v.push({left:"3%",right:"1%",top:t.seriesFourtop,height:"5%"}),d.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 h=[];a.forEach(function(t,e){h.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=[],s=t.self_data.max-t.self_data.min;a.push({name:t.staff_name,value:[1,t.self_data.min,t.self_data.max,s]}),c.push({name:t.staff_name,type:"custom",renderItem:e,xAxisIndex:u.length,yAxisIndex:u.length,itemStyle:{opacity:.8},encode:{x:[1,2],y:0},data:a,label:{normal:{show:!0,formatter:function(t){return t.name},color:"#fff"}}})}),v.push({left:"3%",right:"1%",top:"83%",height:this.streamerData&&this.streamerData.length>0?"5%":"3%"}),d.push({data:["A"],show:!1,gridIndex:u.length}),_.push({gridIndex:u.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:h}),f=[];for(var g=0;g";return t.forEach(function(t,a){"福袋"==t.seriesName?(e+="
"+t.seriesName+"
",t.data[2].forEach(function(t){e+="
奖励:"+t.prize_name+"
\n
条件:"+t.condition+"
\n
开始时间:"+t.start_time+"
\n
结束时间:"+t.draw_time+"
\n "})):"场记"==t.seriesName?e+="
"+t.seriesName+":"+t.data[2].content+"
\n ":"场控预警"==t.seriesName?(e+="
"+t.seriesName+"
",t.data[2].forEach(function(t,a){e+="
\n"+(a+1)+" : "+t.type_desc+' : '+(t.rate?t.rate:t.desc?t.desc:"")+"\n
"})):"商品上架"==t.seriesName?(e+="
"+t.seriesName+"
",t.data[2].forEach(function(t){e+='\n
\n
\n \n
\n
\n
'+t.title+"
\n
"+t.sell_price+"
\n
\n\n
\n "}),e+="
"):e+="
"+t.marker+t.seriesName+":"+m.$formatNum(t.value)+"
"}),e}},axisPointer:{link:{xAxisIndex:"all"}},dataZoom:[{type:"slider",filterMode:"weakFilter",start:m.dataZoom_start,end:m.dataZoom_end,xAxisIndex:f,moveHandleSize:0,color:"#fff"},{start:m.dataZoom_start,end:m.dataZoom_end,borderColor:"rgba(37, 42, 62, 0.8)",fillerColor:"rgba(37, 42, 62, 0.8)",backgroundColor:"#02050E",filterMode:"weakFilter",moveHandleSize:0,handleStyle:{color:"#fff",shadowBlur:3,shadowColor:"rgba(0, 0, 0, 0.6)",shadowOffsetX:2,shadowOffsetY:2},textStyle:{color:"#fff"}}],grid:v,xAxis:_,yAxis:d,series:c};(r=this.$echarts.init(document.getElementById("trend_echarts"))).setOption(y,!0),r.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)}),this.loading=!1}},beforeDestroy:function(){r&&r.clear()}},l={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"screenBox_dad big_big_trend_box"},[s("div",{staticClass:"chartsBcg_title"},[t._m(0),t._v(" "),s("div",[s("label",{staticClass:"f13"},[t._v("时间粒度:")]),t._v(" "),s("el-select",{staticClass:"self_list_input__inner",staticStyle:{width:"140px"},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 s("el-option",{key:e,attrs:{label:t.name,value:t.id}})}),1),t._v(" "),s("div",{staticClass:"lMarauto self_btn",on:{click:t.openDialog}},[t._v("自定义指标")])],1)]),t._v(" "),s("div",{staticClass:"screenUl_checked_dad"},[t.trendData&&0!=t.trendData.length&&!t.loading?t._l(t.screenData,function(e,a){return s("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)}}},[s("span",{staticClass:"icon_block",style:{backgroundColor:"rgb("+e.color_rgba+")"}}),t._v(" "),s("span",[t._v(t._s(e.name))]),t._v(" "),s("i",{staticClass:"el-icon-error",class:t.errorAc==a?"":"error_trans"})])}):t._e()],2),t._v(" "),s("div",{staticClass:"posRela"},[t.is_minute_grain?t._e():[2==t.platform&&t.trendData&&0!=t.trendData.length&&!t.loading?s("div",{staticClass:"scatter_text",staticStyle:{top:"290px"}},[s("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/shop_live/luckybag.png",alt:""}}),t._v(" "),s("span",[t._v("福袋")])]):t._e(),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?s("div",{staticClass:"scatter_text",staticStyle:{top:"315px"}},[s("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/spsj.png",alt:""}}),t._v(" "),s("span",[t._v("商品上架")])]):t._e(),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?s("div",{staticClass:"scatter_text",staticStyle:{top:"339px"}},[s("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/cj.png",alt:""}}),t._v(" "),s("span",[t._v("场记")])]):t._e(),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?s("div",{staticClass:"scatter_text",staticStyle:{top:"362px"}},[s("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/ck.png",alt:""}}),t._v(" "),s("span",[t._v("场控预警")])]):t._e(),t._v(" "),t.trendData&&0!=t.trendData.length&&!t.loading?s("div",{staticClass:"scatter_text",staticStyle:{top:"385px"}},[s("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/data_center/zb.png",alt:""}}),t._v(" "),s("span",[t._v("主播")])]):t._e()],t._v(" "),s("div",{key:t.key_index,staticStyle:{"margin-left":"30px"},style:t.is_minute_grain?"height:300px":"height:460px",attrs:{id:"trend_echarts"}})],2),t._v(" "),t.trendData&&(!t.trendData||0!=t.trendData.length)||t.loading?t._e():s("div",{staticClass:"curve_no_data",staticStyle:{top:"220px",width:"200px"}},[s("img",{attrs:{src:a("60Fb"),alt:""}}),t._v(" "),s("span",[t._v("暂无数据")])]),t._v(" "),s("selfDialogTrend",{ref:"dialogChild",attrs:{propData:t.partName,propplatNum:t.platNum},on:{getscreenData:t.getscreenData}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"f14 fWeight600"},[e("span",{staticClass:"title_span"}),this._v("\n 观看趋势\n ")])}]};var c=a("VU/8")(o,l,!1,function(t){a("w5Zr"),a("zC0d")},"data-v-6e232227",null);e.a=c.exports},nYje:function(t,e){},poSZ:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=a("mvHQ"),i=a.n(s),n=a("kCXs"),r=a("LKfE"),o=a("ZCsk"),l=a("wM/Z"),c={components:{trend:r.a,sexEcharts:o.a,mapProvince:l.a},data:function(){return{trendLoading:!1,dataInfo:{key_index:1,sex:{},dataMap:[]},resembleList:[],ageAnalysis:{key_index:1,list:[]},partLoading:!1,liveGoodsPartData:{desc:[],count:[],key_index:1},userCompositionTrendsLoading:!1}},created:function(){this.init()},methods:{init:function(){var t=this;this.trendLoading=!0,this.$axios.get(this.URL.BASEURL+this.URL.dou_liveFanPart,{params:{live_stream_id:this.$route.params.living_id}}).then(function(e){e=e.data;if(t.trendLoading=!1,e&&0==e.errno){var a=e.rst;if(0==a.length)return!1;for(var s in a.age)t.ageAnalysis.list.push({name:s,value:a.age[s]});for(var i in t.dataInfo.sex.man=a.sex.male,t.dataInfo.sex.woman=a.sex.female,a.province)t.dataInfo.dataMap.push({name:i,value:a.province[i]});for(var n in a.price)t.liveGoodsPartData.count.push(a.price[n]),t.liveGoodsPartData.desc.push(n);t.dataInfo.key_index=t.dataInfo.key_index+1,t.ageAnalysis.key_index=t.ageAnalysis.key_index+1,t.liveGoodsPartData.key_index=t.liveGoodsPartData.key_index+1}else"4001"!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.trendLoading=!1})}}},_={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticStyle:{"margin-top":"10px"}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.trendLoading,expression:"trendLoading"}],staticClass:"detail_modlue"},[a("div",{staticClass:"flex",staticStyle:{"align-items":"baseline"}},[a("div",{staticClass:"trendBox",staticStyle:{"margin-right":"1%",width:"49%"}},[a("div",{staticClass:"curve",staticStyle:{height:"166px"}},[t._m(0),t._v(" "),a("sexEcharts",{key:t.dataInfo.key_index,attrs:{dataInfo:t.dataInfo.sex}})],1),t._v(" "),a("div",{staticClass:"curve"},[t._m(1),t._v(" "),a("map-province",{attrs:{is_x_100:"1",dataInfo:t.dataInfo.dataMap,key_index:"area"+t.dataInfo.key_index}})],1)]),t._v(" "),a("div",{staticStyle:{width:"50%"}},[a("div",{staticClass:"curve"},[t._m(2),t._v(" "),a("trend",{attrs:{key_index:"age"+t.ageAnalysis.key_index,trend_prop:{type:"pie",echartsHeight:"227px",name:"年龄分布",data:t.ageAnalysis.list}}})],1),t._v(" "),a("div",{staticClass:"curve"},[t._m(3),t._v(" "),a("trend",{attrs:{key_index:"prices"+t.liveGoodsPartData.key_index,trend_prop:{xArr:t.liveGoodsPartData.desc,rotate:!1,boundaryGap:!0,echartsHeight:"227.5px",lineColor:"#333333",yAxis_count:[{name:"",position:"left"}],list:[{data:t.liveGoodsPartData.count,bar_name:"价格分布",yAxisIndex:"0",type:"bar",topShow:!0,unit:"%"}]}}})],1)])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"f14 fWeight600 c-fff bMar15"},[e("span",{staticClass:"title_span"}),this._v("性别分布\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"f14 fWeight600 c-fff bMar15"},[e("span",{staticClass:"title_span"}),this._v("地域分布\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"f14 fWeight600 c-fff bMar15"},[e("span",{staticClass:"title_span"}),this._v("年龄分布\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"f14 fWeight600 c-fff bMar15"},[e("span",{staticClass:"title_span"}),this._v("购买价格需求分布\n ")])}]};var d=a("VU/8")(c,_,!1,function(t){a("nYje")},"data-v-20e4161d",null).exports,v={data:function(){return{tableLoading:!1,permise_limit:{hasAuno:!1,err:""},sort_type:"sell_money",infoList:{},page:1,page_size:10,pages:0,total:""}},created:function(){this.liveDeGoodsList(1)},methods:{liveDeGoodsList:function(t){var e=this;this.tableLoading=!0;var a={params:{live_id:this.$route.params.living_id,sort:this.sort_type,page:t,page_size:this.page_size}};this.$axios.get(this.URL.BASEURL+this.URL.dou_liveCommodityList,a).then(function(t){if(e.tableLoading=!1,4001==(t=t.data).errno?(e.permise_limit.hasAuno=!0,e.permise_limit.err=t.err):e.permise_limit.hasAuno=!1,t&&0==t.errno){var a=t.rst;e.total=a.pageInfo.total,e.pages=a.pageInfo.pages,e.page=parseInt(a.pageInfo.page),e.infoList=a.data}else e.$message({message:t.err,type:"warning"})}).catch(function(t){e.tableLoading=!1})},handleCurrentChange:function(t){this.liveDeGoodsList(t)},sortEvent:function(t){if(!this.permise_limit.hasAuno&&!this.tableLoading&&0==this.infoList.length)return this.$message({message:"暂无数据",type:"info"}),!1;this.sort_type=t,this.liveDeGoodsList(1)},goDetial:function(t){this.$message({message:"小弟正在努力开发,请稍候...",type:"warning"})}}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"livingList"},[t._m(0),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(1),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","sell_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("sell_count")}}},[t._v("\n 销量\n "),t._m(2)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","sell_money"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("sell_money")}}},[t._v("\n 销售额\n "),t._m(3)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","buy_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("buy_count")}}},[t._v("\n 下单人数\n "),t._m(4)])]),t._v(" "),t._m(5)])]),t._v(" "),a("tbody",t._l(t.infoList,function(e){return a("tr",{key:e.commodity_id},[a("td",{staticStyle:{"text-align":"left",padding:"15px 0 15px 15px"}},[a("div",{staticClass:"living_table_css"},[a("img",{attrs:{src:e.img,alt:""}}),t._v(" "),a("div",[a("div",{staticClass:"f13 c-fff clampTwo"},[t._v(t._s(e.title?e.title:"-"))]),t._v(" "),a("div",{staticClass:"tMar10 c-999",staticStyle:{"font-size":"10px!important"}},[t._v("¥"+t._s(e.sell_price?e.sell_price:"-"))])])])]),t._v(" "),a("td",{class:"sell_count"==t.sort_type?"common_selected":""},[e.sell_count?a("span",[t._v(t._s(t.$formatNum(e.sell_count)))]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"sell_money"==t.sort_type?"common_selected":""},[e.sell_money?a("span",[t._v(t._s(e.sell_money))]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"buy_count"==t.sort_type?"common_selected":""},[e.buy_count?a("span",[t._v(t._s(t.$formatNum(e.buy_count)))]):a("span",[t._v("-")])]),t._v(" "),a("td",[e.buy_rate?a("span",[t._v(t._s(t.$formatNum(e.buy_rate)))]):a("span",[t._v("-")])])])}),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_size0?s("div",{staticClass:"trendLenged"},[t._l(t.fansProfile.list,function(e,a){return a<4?s("div",{key:a,staticClass:"flex tMar5 line21"},[s("span",{staticClass:"leng_color",style:{backgroundColor:e.color}}),t._v(" "),s("span",{staticClass:"rMar10"},[t._v(t._s(e.name))]),t._v(" "),s("span",{staticClass:"lMarauto c-999"},[t._v(t._s((100*e.value).toFixed(2))+"%")])]):t._e()}),t._v(" "),s("el-popover",{attrs:{"popper-class":"popPut",placement:"top",width:0==t.trendAc?210:150,trigger:"hover"}},[s("div",{staticClass:"popPutDiv f12"},t._l(t.fansProfile.list,function(e,a){return s("div",{key:a,staticClass:"popPut_all"},[s("div",{staticClass:"flex f12"},[s("span",{staticClass:"color_span",style:{backgroundColor:e.color}}),t._v(" "),s("span",{staticClass:"rMar10"},[t._v(t._s(e.name))]),t._v(" "),s("span",{staticClass:"lMarauto c-999"},[t._v(t._s((100*e.value).toFixed(2))+"%")])]),t._v(" "),t._l(e.flow_list,function(a,i){return e.flow_list&&e.flow_list.length>0?s("div",{key:i,staticClass:"flex popPut_child"},[s("span",{staticClass:"rMar10"},[t._v(t._s(a.name))]),t._v(" "),s("span",{staticClass:"lMarauto c-999"},[t._v(t._s((100*a.value).toFixed(2))+"%")])]):t._e()})],2)}),0),t._v(" "),s("i",{staticClass:"el-icon-more",attrs:{slot:"reference"},slot:"reference"})])],2):t._e(),t._v(" "),t.fansProfile.list&&0!=t.fansProfile.list.length?t._e():s("div",{staticClass:"curve_no_data",staticStyle:{"margin-top":"20%"}},[s("img",{attrs:{src:a("nu6d"),alt:""}}),t._v(" "),s("span",[t._v("暂无数据")])])],1)]),t._v(" "),s("div",{staticClass:"putOn_block tMar10"},[t._m(5),t._v(" "),s("div",{staticClass:"flex",staticStyle:{padding:"10px 0"}},[s("div",{staticClass:"flex"},[s("div",{staticClass:"f14 rMar15"},[t._v("统计方式:")]),t._v(" "),s("div",{staticClass:"switch_btn",class:1==t.switch_time_btn?"switch_btn_active":"",on:{click:function(e){t.switch_time_btn=1,t.init(1)}}},[t._v("累加")]),t._v(" "),s("div",{staticClass:"switch_btn",class:0==t.switch_time_btn?"switch_btn_active":"",on:{click:function(e){t.switch_time_btn=0,t.init(1)}}},[t._v("分段")])]),t._v(" "),s("div",{staticClass:"f14 lMar20"},[t._v("时间粒度:")]),t._v(" "),s("el-select",{staticClass:"self_list_input__inner lMar8",staticStyle:{width:"150px"},attrs:{size:"small",placeholder:"筛选"},on:{change:function(e){return t.init(1)}},model:{value:t.time_id,callback:function(e){t.time_id=e},expression:"time_id"}},t._l(t.timeSize,function(t,e){return s("el-option",{key:e,attrs:{label:t.name,value:t.value}})}),1),t._v(" "),s("div",{staticClass:"lMarauto"},[s("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(" "),s("span",{staticClass:"switch_btn switch_btn_active",on:{click:t.goAdverst}},[t._v("广告计划")])])],1),t._v(" "),s("div",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],staticClass:"table_div"},[s("table",[s("thead",[s("tr",{staticStyle:{"background-color":"#1E2135"}},[t._m(6),t._v(" "),t._m(7),t._v(" "),t._m(8),t._v(" "),t._m(9),t._v(" "),t._m(10),t._v(" "),t._m(11),t._v(" "),s("th",[s("div",{staticClass:"th_title"},[t._v("\n 转化"),s("br"),t._v("订单数\n "),s("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"由投放产生的订单数",placement:"top"}},[s("i",{staticClass:"el-icon-question"})])],1)]),t._v(" "),s("th",[s("div",{staticClass:"th_title"},[t._v("\n 转化"),s("br"),t._v("销售额\n "),s("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"由投放产生的销售额",placement:"top"}},[s("i",{staticClass:"el-icon-question"})])],1)]),t._v(" "),s("th",[s("div",{staticClass:"th_title"},[t._v("\n 投放ROI\n "),s("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"投放ROI=投放产生的销售额/ 投放金额",placement:"top"}},[s("i",{staticClass:"el-icon-question"})])],1)])])]),t._v(" "),s("tbody",t._l(t.infoList,function(e,a){return s("tr",{key:a},[s("td",[e.begin_time&&e.end_time?s("span",[t._v("\n "+t._s(e.begin_time.split(" ")[1])+"-"+t._s(e.end_time.split(" ")[1])+"\n ")]):s("span",[t._v("-")])]),t._v(" "),s("td",[t._v("\n "+t._s(t.$NumberHandle(e.stat_cost,2))+"\n ")]),t._v(" "),s("td",[t._v("\n "+t._s(t.$NumberHandle(e.show_cnt,2))+"\n ")]),t._v(" "),s("td",[t._v("\n "+t._s(t.$NumberHandle(e.per_show_cost,2))+"\n ")]),t._v(" "),s("td",[t._v("\n "+t._s(t.$NumberHandle(e.click_cnt,2))+"\n ")]),t._v(" "),s("td",[t._v("\n "+t._s(t.$NumberHandle(e.per_click_cost,2))+"\n ")]),t._v(" "),s("td",[t._v("\n "+t._s(t.$NumberHandle(e.create_order_count,2))+"\n ")]),t._v(" "),s("td",[t._v("\n "+t._s(t.$NumberHandle(e.create_order_amount,2))+"\n ")]),t._v(" "),s("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():s("div",{staticClass:"noHaveDate"},[t._v("暂无数据")]),t._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.permise_limit.hasAuno&&0!=t.total||t.permise_limit.hasAuno&&t.page_size=a&&e=s&&e=i&&e=n&&e=r&&e0&&(t.staffPreview.has_flag=!0),t.liveInfoPreview=e.rst.live_info,t.accountInfo={head:t.liveInfoPreview.live_cover_img,name:t.liveInfoPreview.live_title,ruled:1,sellerId:i()(t.liveInfoPreview.seller_id),type:2}}else t.$message({message:e.err,type:"warning"});t.loading=!1}).catch(function(e){t.$message({message:e,type:"warning"}),t.loading=!1})},get_staffList:function(){var t=this;this.$axios.get(this.URL.BASEURL+this.URL.userListForFilter,{params:{is_pos:1}}).then(function(e){if((e=e.data)&&0==e.errno){var a=e.rst;a.forEach(function(t){t.name=t.real_name}),t.staffList=a}else 4002!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(t){})}}},k={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"accountDetialPage"},[s("div",{staticClass:"page_left"},[s("div",{staticClass:"flex"},[s("div",{staticClass:"liveImgBox"},[s("img",{staticClass:"liveImg",attrs:{src:t.liveInfoPreview.live_cover_img,alt:""}}),t._v(" "),0==t.liveInfoPreview.is_end?s("span",{staticClass:"living_span"},[s("img",{staticClass:"liveGif",attrs:{src:a("wcBb"),alt:""}}),t._v("\n 直播中\n ")]):t._e()]),t._v(" "),s("div",{staticStyle:{flex:"1",width:"200px"}},[s("div",{staticClass:"nickname"},[s("el-tooltip",{attrs:{effect:"dark",content:t.liveInfoPreview.live_title,disabled:!(t.liveInfoPreview.live_title&&t.liveInfoPreview.live_title.length>10),placement:"top"}},[s("div",{staticClass:"f16 fWeight600 nickname_div"},[t._v(t._s(t.liveInfoPreview.live_title))])])],1),t._v(" "),s("div",{staticClass:"tMar10 flex"},[s("i",{staticClass:"c-E1E1E1 f13"},[t._v("开播时间:"+t._s(t.liveInfoPreview&&t.liveInfoPreview.start_time?t.liveInfoPreview.start_time:"-"))])]),t._v(" "),s("div",{staticClass:"tMar10 flex"},[s("i",{staticClass:"c-E1E1E1 f13"},[t._v("直播时长:"+t._s(t.liveInfoPreview&&t.liveInfoPreview.live_duration_desc?t.liveInfoPreview.live_duration_desc:"-"))])])])]),t._v(" "),s("div",{staticClass:"flex"},[s("el-popover",{attrs:{placement:"bottom","popper-class":"playback-popper-class",width:"300",trigger:"manual"},model:{value:t.playbackFlag,callback:function(e){t.playbackFlag=e},expression:"playbackFlag"}},[s("i",{staticClass:"el-icon-close closePlayback",on:{click:t.closeVideo}}),t._v(" "),s("video",{staticClass:"video",staticStyle:{width:"240px",margin:"auto",display:"block"},attrs:{src:t.live_record_info.tag_play_url,id:"video",preload:"meta",autoplay:"",controls:"controls"}},[t._v("您的浏览器不支持 video 标签。")]),t._v(" "),s("div",{staticClass:"openLivingBox",attrs:{slot:"reference"},on:{click:function(e){return t.createVideo()}},slot:"reference"},[s("i",{staticClass:"iconfont icon-guankanrenshu_icon rMar5",staticStyle:{"font-size":"10px"}}),t._v("\n 直播回放\n "),t.playbackLoading?s("i",{staticClass:"el-icon-loading"}):t._e()])]),t._v(" "),s("div",{staticClass:"openLivingBox",staticStyle:{width:"90px"},on:{click:function(e){return t.createVideo("clip")}}},[s("i",{staticClass:"el-icon-scissors rMar5",staticStyle:{"font-size":"10px"}}),t._v("\n 视频剪辑\n "),t.playbackLoading2?s("i",{staticClass:"el-icon-loading"}):t._e()])],1),t._v(" "),s("div",{staticClass:"nameList"},[t._m(0),t._v(" "),s("div",{staticClass:"flex-row"},[s("div",{staticStyle:{"flex-shrink":"0"}},[t._v("账号: ")]),t._v(" "),s("div",{staticClass:"ellipsis_1 pointer",staticStyle:{flex:"1"},on:{click:t.toAccountDetail}},[s("img",{staticStyle:{"border-radius":"50%",width:"34px","margin-right":"2px",display:"inline-block"},attrs:{src:t.liveInfoPreview.seller_headimg,alt:""}}),t._v(" "),s("el-tooltip",{attrs:{effect:"dark",content:t.liveInfoPreview.seller_name,disabled:!(t.liveInfoPreview.seller_name&&t.liveInfoPreview.seller_name.length>10),placement:"top"}},[s("span",{staticClass:"f16 fWeight600"},[t._v(t._s(t.liveInfoPreview.seller_name))])])],1)]),t._v(" "),s("div",{staticStyle:{"margin-top":"20px"}},[s("div",{staticClass:"flex"},[t._v("人员:\n "),s("div",{staticClass:"f13 c-4F7EFF pointer fWeight600",on:{click:function(e){t.editPlanFlag=!0}}},[s("i",{staticClass:"el-icon-circle-plus-outline fWeight600 rMar3"}),s("span",[t._v(t._s(t.staffPreview&&t.staffPreview.has_flag?"编辑":"添加")+"人员")])])]),t._v(" "),s("div",{staticStyle:{"margin-left":"46px"}},[t.staffPreview&&t.staffPreview.zb_staff&&t.staffPreview.zb_staff.length>0?[s("div",{staticClass:"staff_title"},[t._v("主播")]),t._v(" "),t._l(t.staffPreview.zb_staff,function(e,a){return s("p",{key:a+"zb",staticClass:"staff_zy"},[t._v(t._s(e.time.start_time.slice(11,16))+"-"+t._s(e.time.end_time.slice(11,16))+" "),t._l(e.ren_staff,function(i,n){return s("span",{key:i.staff_id+a},[t._v(t._s(i.staff_name)),n0?[s("div",{staticClass:"staff_title"},[t._v("工作人员")]),t._v(" "),t._l(t.staffPreview.gz_staff,function(e,a){return s("p",{key:a+"gz",staticClass:"staff_zy"},[t._v(t._s(e.time.start_time.slice(11,16))+"-"+t._s(e.time.end_time.slice(11,16))+" "),t._l(e.ren_staff,function(i,n){return s("span",{key:i.staff_id+a},[t._v(t._s(i.staff_name)),n