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pqxA0JX1LnLM92iVHweK8We3yrAIBC09bNYXme3okqXU9hHaQChMzo+rnbcXi08B1CcTqrjqTmMiDZyFbbVwltdJlEepQOEzjw3Lbk+PfVsWSmfTsz2RtjGhzu37Onpfdlsfwad/7iO0gJCFwgsBfa8KnwNW+idgsNxstG2TOTWf5iZ/Bo3+MLaynfRTEg9D1V6QOjA4JH7aK5NFr4Jok+hOfkGXNK08b4850oJzcKb0Pyrmb78b2u3/pOHzs2UNBQgjORfGJ/tKS8XH1FF+TGM+DwG6/GA8X7k5/jEAHeV50bi3DvauF1w5LT4qLBhAVHL8/vjCwMrK0uPwt94FPcOoRs7BJB01eYL5Dc+WAbDz++UXUYv4W1+fET/3kQg5cdYSGIAUU+G5y/N92NTwCFRVobKZTGE5nsQTc12KLETwOnYOHaiXe/k8/BX5nFtHvd4XOARpn8Obgy+eAsA4LuW/JSh9iXDehUm4Nr/A093NTNpxkw1AAAAAElFTkSuQmCC"},"5vo6":function(t,e){},"9Ntv":function(t,e){},Ai5f:function(t,e){},FUVH:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAAAXNSR0IArs4c6QAABJtJREFUaAXtmEuolVUUx8/xmfi8PkDJywUhFB3JlSQREdGBkqNUlJIGJdZIHTi40SDxAabiyImgICiIqFGjICwt7IVaaUqiWIrPKIvSlBSPv/9xL11n33POt7977gEHZ8HfvZ7/tdx3f69TKLSktQOtHXgud6CYZ6pSqdSP/DfAS3nqEnMvkLe3WCw+TMxPT2PwpaCZsjR1mj6piSFvTs78vOnJ/MlHhW0ezRTnwUjwC5gNekuOQjQJ3AYTOS5/sDYuDN0JfnRnZFXjrM8Y4F3tuNWn81m0BxoEk8FZRyr1GBgEhvWAslsJPCPAQPAV8HIOY3K3ghQHhVs9E/ohMBL8Cu6AiSk8tXKonwbugZ/BMCB+L9tq1WZdnMNd4QzO3mvBHsc6GIx18Z6o4yl6AbSDB4H/FUdU86+q+3I9Kbng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yj6s3xFEsVZ39wHMdzHpuA8+m0wbTUjHGjJ0WcDw5ZaTQTRfdzESybRyAOmS9beCAtArmJWC6vaSK2/5Adj3uRDgBnRqIHEcZLijgn7l0rruEnhQkg3/r2KKkw1Ezl6Kjaxy0P9n1B+3APrON4trMfpAt5Dt+RdC9NYBw1T/ADF925UfiqTGuuoy1AeZKRcCEt6PTq1H7kP/aeaGD/tTrygyg/XVPsmN0pPWlm5XqhngtsS3R0mjgX5MNvno+WYidZgqnCxEcNtHW4iIW4CXnfVwP25cFNtESdO7UxCdklxHXdvCL5eDhM72M+RNu0xDfxO9b9S8FS8YW2dUYmvcbjFa0qEXuGpFMB9u030JEGjgHhRvxI+ubATMrvKtIKNx6BrrANmyfvaL5OY1Mt+upYifizKzC7Mbo70N2B7g78dx34F4B+bRqlLhPfAAAAAElFTkSuQmCC"},"a1+q":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("a3Yh"),s=a.n(i),n={props:["detailInfo"],data:function(){return{drInfo:[],liveInfo:[],goodsList:[],loadingProduct:!1,pagesize:300,page:1,total:0,total1:0,selectGoods:[],selectGoodsInfo:[],isAllGoods:!1,keyword:"",checkLive:!0,liveInfoModle:[],liveInfoList:[{value:'{"value":"price","label":"直播商品价格"}',label:"直播商品价格"},{value:'{"value":"sell_count","label":"直播销量(大于100)"}',label:"直播销量(大于100)"},{value:'{"value":"sell_money","label":"直播销售额"}',label:"直播销售额"},{value:'{"value":"created_at","label":"上架时间"}',label:"上架时间"},{value:'{"value":"sale_minute","label":"上架时长"}',label:"上架时长"},{value:'{"value":"display_watching_count","label":"上架时在线人数"}',label:"上架时在线人数"},{value:'{"value":"refund_rate","label":"直播退货率(估算)"}',label:"直播退货率(估算)"},{value:'{"value":"user_name","label":"红人名称"}',label:"红人名称"},{value:'{"value":"user_id","label":"红人ID"}',label:"红人ID"},{value:'{"value":"fan","label":"粉丝数"}',label:"粉丝数"},{value:'{"value":"start_time","label":"开播时间"}',label:"开播时间"},{value:'{"value":"minute","label":"开播时长"}',label:"开播时长"},{value:'{"value":"reward_count","label":"本场礼物数"}',label:"本场礼物数"},{value:'{"value":"bast_display_watching_count","label":"本场在线峰值"}',label:"本场在线峰值"},{value:'{"value":"url","label":"直播商品链接"}',label:"直播商品链接"}],checkVideo:!0,videoInfoModle:[],videoInfoList:[{value:'{"value":"price","label":"视频商品价格"}',label:"视频商品价格"},{value:'{"value":"view_count","label":"视频观看量"}',label:"视频观看量"},{value:'{"value":"like_count","label":"视频点赞量"}',label:"视频点赞量"},{value:'{"value":"comment_count","label":"视频评论量"}',label:"视频评论量"},{value:'{"value":"share_count","label":"视频分享量"}',label:"视频分享量"},{value:'{"value":"video_url","label":"视频链接"}',label:"视频链接"},{value:'{"value":"goods_url","label":"商品链接"}',label:"商品链接"},{value:'{"value":"user_name","label":"红人名称"}',label:"红人名称"},{value:'{"value":"user_id","label":"红人ID"}',label:"红人ID"},{value:'{"value":"fan","label":"粉丝数"}',label:"粉丝数"}],goodsTypeList:[{label:"全部商品",value:0},{label:"直播商品",value:1},{label:"视频商品",value:2}],goodsType:0,date:[this.getDay(-90,!1),this.getDay(0,!1)],pickerTimes:{disabledDate:function(t){return t>Date.now()}}}},created:function(){var t=this;this.liveInfoModle=[],this.videoInfoModle=[],this.checkLive&&this.liveInfoList.forEach(function(e){t.liveInfoModle.push(e.value)}),this.checkVideo&&this.videoInfoList.forEach(function(e){t.videoInfoModle.push(e.value)}),this.goodsInit()},methods:{closeEvent:function(){this.$emit("clearExport")},goodsChange:function(t){var e=this;if(this.isAllGoods=!1,this.selectGoodsInfo.length<t.length&&this.goodsList.forEach(function(a){a.only_voucher==t[t.length-1]&&e.selectGoodsInfo.push(a)}),this.selectGoodsInfo.length>t.length){var a=[];t.forEach(function(t){var i=e.selectGoodsInfo.filter(function(e){return e.only_voucher==t});i.length>0&&a.push(i[0])}),this.selectGoodsInfo=a}t.length==this.goodsList.length?this.isAllGoods=!0:this.isAllGoods=!1},allGoodsChange:function(t){var e=this;t?(this.selectGoods=[],this.goodsList.forEach(function(t){e.selectGoods.push(t.only_voucher)}),this.selectGoodsInfo=this.goodsList):(this.selectGoods=[],this.selectGoodsInfo=[])},emptyEvent:function(){this.selectGoods=[],this.selectGoodsInfo=[],this.isAllGoods=!1},goodsInit:function(){var t=this;this.loadingProduct=!0,this.$axios.get(this.URL.BASEURL+this.URL.brandDetailGoodsList,{params:s()({brand:this.detailInfo.brand,start_time:this.date[0],end_time:this.date[1],product_name:"",type:this.goodsType},"product_name",this.keyword)}).then(function(e){if(t.loadingProduct=!1,(e=e.data)&&0==e.errno){var a=e.rst;a&&(a.forEach(function(t,e){t.only_voucher=t.commodity_id+t.ad_goods}),t.goodsList=a,t.total=t.goodsList.length)}else 4003!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loadingProduct=!1})},checkLiveEvent:function(t){var e=this;t?this.liveInfoList.forEach(function(t){e.liveInfoModle.push(t.value)}):this.liveInfoModle=[]},checkVideoEvent:function(t){var e=this;t?this.videoInfoList.forEach(function(t){e.videoInfoModle.push(t.value)}):this.videoInfoModle=[]},exportEvent:function(){var t,e=this;if(this.selectGoodsInfo.length<=0)this.$message({message:"您未选择任何商品进行导出",type:"warning"});else{var a=[];this.selectGoodsInfo.forEach(function(t){a.push({commodity_id:t.commodity_id,ad_goods:t.ad_goods})});var i=this.$loading({lock:!0,text:"加载中...",spinner:"el-icon-loading",background:"rgba(255, 2550, 255, 0.7)"});this.$axios.post(this.URL.BASEURL+this.URL.brandDetailGoodsExport,(t={brand:this.detailInfo.brand,start_time:this.date[0],end_time:this.date[1],product_name:"",type:0,all:0},s()(t,"product_name",this.keyword),s()(t,"commodity_ids",a),t)).then(function(t){if(i.close(),(t=t.data)&&0==t.errno){var a=t.rst;e.exportToExcel(a)}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){i.close()})}},exportToExcel:function(t){var e=this;if(0!=this.videoInfoModle.length||0!=this.liveInfoModle.length){var a="品牌名称,品牌分类\n"+(this.detailInfo.brand?this.detailInfo.brand:"-")+","+(this.detailInfo.category?this.detailInfo.category:"-")+"\n\n";if(0!=this.liveInfoModle.length||0!=this.videoInfoModle.length){a+="商品ID,商品名称,,",this.liveInfoModle.forEach(function(t){a+=JSON.parse(t).label+","}),a+=",,",this.videoInfoModle.forEach(function(t){a+=JSON.parse(t).label+","}),a+="\n";var i="";t.forEach(function(t,s){t.commodity_id&&(a+=t.commodity_id+"\t,"+("string"==typeof t.title?t.title.replace(/,|\n/g," "):"")+",,"),t.goods_id&&(a+=t.goods_id+"\t,"+("string"==typeof t.title?t.title.replace(/,|\n/g," "):"")+",,"),t.commodity_id?e.liveInfoModle.forEach(function(e){"string"==typeof(i=t[JSON.parse(e).value]||0==t[JSON.parse(e).value]?t[JSON.parse(e).value]:"")&&(i=i.replace(/,|\n/g," ")),a+=i+","}):e.liveInfoModle.forEach(function(t){a+=","}),a+=",,",t.goods_id&&e.videoInfoModle.forEach(function(e){"string"==typeof(i=t[JSON.parse(e).value]||0==t[JSON.parse(e).value]?t[JSON.parse(e).value]:"")&&(i=i.replace(/,|\n/g," ")),a+=i+","}),a+="\n"})}var s="data:text/csv;charset=utf-8,\ufeff"+encodeURIComponent(a),n=document.createElement("a");n.href=s,n.download="("+this.detailInfo.brand+")品牌数据.csv",document.body.appendChild(n),n.click(),document.body.removeChild(n),this.$emit("clearExport")}else this.$message({message:"您未选择导出商品数据项",type:"warning"})}},watch:{date:function(){this.date&&this.date!=[]||(this.date=[this.getDay(-90,!1),this.getDay(0,!1)]),this.goodsInit()},goodsType:function(){this.goodsInit()}}},o={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"exportTitle"},[t._v("达人单场直播数据导出")]),t._v(" "),a("div",{staticClass:"common_screen clear"},[a("div",{staticClass:"common_screen_title"},[t._v("品牌名")]),t._v(" "),a("div",{staticClass:"checkbox",staticStyle:{"font-size":"14px"}},[t._v(t._s(t.detailInfo.brand?t.detailInfo.brand:"-"))])]),t._v(" "),a("div",{staticClass:"common_screen clear",staticStyle:{"border-bottom":"1px solid #E9E9E9","padding-bottom":"25px"}},[a("div",{staticClass:"common_screen_title"},[t._v("品牌分类")]),t._v(" "),a("div",{staticClass:"checkbox",staticStyle:{"font-size":"14px"}},[t._v(t._s(t.detailInfo.category?t.detailInfo.category:"-"))])]),t._v(" "),a("div",{staticClass:"goodsBox"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadingProduct,expression:"loadingProduct"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"common_screen clear",staticStyle:{"margin-top":"0","padding-top":"20px"}},[a("div",{staticClass:"common_screen_title"},[t._v("品牌商品")]),t._v(" "),a("el-date-picker",{staticClass:"common_select_li",staticStyle:{width:"250px","margin-top":"7px","margin-left":"8px"},attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"",clearable:!1,size:"mini","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerTimes},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1),t._v(" "),a("div",{staticClass:"common_screen clear",staticStyle:{"margin-top":"0","padding-top":"20px"}},[a("div",{staticClass:"common_screen_title"},[t._v("商品数据")]),t._v(" "),a("el-select",{staticClass:"common_select_li",staticStyle:{width:"150px","margin-top":"7px","margin-left":"8px"},attrs:{size:"mini"},model:{value:t.goodsType,callback:function(e){t.goodsType=e},expression:"goodsType"}},t._l(t.goodsTypeList,function(t,e){return a("el-option",{key:e,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),a("div",{staticClass:"searchResultBox"},[a("div",{staticClass:"searchResult searchResultOne"},[a("div",{staticClass:"title clear",staticStyle:{"line-height":"25px"}},[t._v("本场商品\n "),a("div",{staticStyle:{float:"right"}},[a("el-input",{staticClass:"searchInput",staticStyle:{"margin-left":"10px"},attrs:{placeholder:"商品名称查询",size:"mini",clearable:""},on:{clear:function(e){return t.goodsInit(1)}},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.keyword&&t.goodsInit(1)}},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),t._v(" "),a("button",{staticClass:"searchButton",on:{click:function(e){t.keyword&&t.goodsInit(1)}}},[t._v("查询")])],1)]),t._v(" "),a("ul",{staticClass:"resultUl"},[a("el-checkbox-group",{on:{change:t.goodsChange},model:{value:t.selectGoods,callback:function(e){t.selectGoods=e},expression:"selectGoods"}},t._l(t.goodsList,function(e,i){return a("el-checkbox",{key:i,staticClass:"resultLi",attrs:{label:e.only_voucher}},[a("div",{staticClass:"userImg"},[a("img",{attrs:{src:e.img,alt:""}})]),t._v(" "),a("div",{staticClass:"userInfo clear"},[a("div",{staticClass:"info"},[a("p",{staticClass:"userName"},[t._v(t._s(e.title?e.title:"-"))]),t._v(" "),e.price?a("p",{staticClass:"userID"},[t._v(t._s(e.price?"¥"+e.price:""))]):t._e()])])])}),1),t._v(" "),0!=t.goodsList.length||t.loadingProduct?t._e():a("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])],1),t._v(" "),a("div",{staticClass:"resultBottom clear"},[a("el-checkbox",{staticClass:"checkbox",on:{change:t.allGoodsChange},model:{value:t.isAllGoods,callback:function(e){t.isAllGoods=e},expression:"isAllGoods"}},[t._v("全选")]),t._v(" "),a("span",{staticStyle:{float:"right"}},[t._v("共"+t._s(t.total)+"个商品")])],1)]),t._v(" "),a("div",{staticClass:"searchResult",staticStyle:{"margin-left":"25px"}},[a("div",{staticClass:"title clear",staticStyle:{background:"#E4EDFF",padding:"10px 14px"}},[t._v("已选"),a("em",{staticStyle:{float:"right",color:"#2661FF",cursor:"pointer"},on:{click:t.emptyEvent}},[t._v("清空")])]),t._v(" "),a("ul",{staticClass:"resultUl",staticStyle:{"margin-top":"28px"}},[a("el-checkbox-group",{on:{change:t.goodsChange},model:{value:t.selectGoods,callback:function(e){t.selectGoods=e},expression:"selectGoods"}},t._l(t.selectGoodsInfo,function(e,i){return a("el-checkbox",{key:i,staticClass:"resultLi",attrs:{label:e.only_voucher}},[a("div",{staticClass:"userImg"},[a("img",{attrs:{src:e.img,alt:""}})]),t._v(" "),a("div",{staticClass:"userInfo clear"},[a("div",{staticClass:"info"},[a("p",{staticClass:"userName"},[t._v(t._s(e.title?e.title:"-"))]),t._v(" "),e.price?a("p",{staticClass:"userID"},[t._v(t._s(e.price?"¥"+e.price:""))]):t._e()])])])}),1),t._v(" "),0!=t.selectGoodsInfo.length||t.loadingProduct?t._e():a("div",{staticClass:"noHaveDate"},[t._v("暂未选择任何商品")])],1),t._v(" "),a("div",{staticClass:"resultBottom"},[a("span",[t._v("共"+t._s(t.selectGoodsInfo.length)+"个商品")])])])])]),t._v(" "),a("div",{staticClass:"common_screen clear"},[a("div",{staticClass:"common_screen_title",staticStyle:{float:"none",width:"100px"}},[t._v("直播相关数据")]),t._v(" "),a("el-checkbox",{staticClass:"checkbox",on:{change:t.checkLiveEvent},model:{value:t.checkLive,callback:function(e){t.checkLive=e},expression:"checkLive"}},[t._v("全选")])],1),t._v(" "),a("el-checkbox-group",{staticStyle:{"margin-top":"15px","border-bottom":"1px solid #E9E9E9","padding-bottom":"30px"},on:{change:function(e){e.length==t.liveInfoList.length?t.checkLive=!0:t.checkLive=!1}},model:{value:t.liveInfoModle,callback:function(e){t.liveInfoModle=e},expression:"liveInfoModle"}},t._l(t.liveInfoList,function(e,i){return a("el-checkbox",{key:i,attrs:{label:e.value}},[t._v(t._s(e.label))])}),1),t._v(" "),a("div",{staticClass:"common_screen clear"},[a("div",{staticClass:"common_screen_title",staticStyle:{float:"none",width:"100px"}},[t._v("视频相关数据")]),t._v(" "),a("el-checkbox",{staticClass:"checkbox",on:{change:t.checkVideoEvent},model:{value:t.checkVideo,callback:function(e){t.checkVideo=e},expression:"checkVideo"}},[t._v("全选")])],1),t._v(" "),a("el-checkbox-group",{staticStyle:{"margin-top":"15px","border-bottom":"1px solid #E9E9E9","padding-bottom":"30px"},on:{change:function(e){e.length==t.videoInfoList.length?t.checkVideo=!0:t.checkVideo=!1}},model:{value:t.videoInfoModle,callback:function(e){t.videoInfoModle=e},expression:"videoInfoModle"}},t._l(t.videoInfoList,function(e,i){return a("el-checkbox",{key:i,attrs:{label:e.value}},[t._v(t._s(e.label))])}),1)],1),t._v(" "),a("div",{staticClass:"buttonBox"},[a("button",{staticClass:"operation_button",on:{click:function(e){return t.closeEvent()}}},[t._v("取消")]),t._v(" "),a("button",{staticClass:"operation_button operation_button_yes",on:{click:t.exportEvent}},[t._v("导出")])])])},staticRenderFns:[]};var l={props:["brand"],data:function(){return{au_nums:"",timeList:[{name:"近7天",time:[this.getDay(-7,!1),this.getDay(0,!1)]},{name:"近30天",time:[this.getDay(-30,!1),this.getDay(0,!1)]},{name:"近90天",time:[this.getDay(-90,!1),this.getDay(0,!1)]}],date:[this.getDay(-7,!1),this.getDay(0,!1)],pickerTimes:{disabledDate:function(t){return t>Date.now()}},loading:!1,barData:{},hasAuno:!1,noneDone:!1,total:0,page:1,pagesize:10,infoList:[],userNameSearch:"",sort_type:1,drLoading:!1}},mounted:function(){this.getBarData(),this.init(1)},methods:{getBarData:function(){var t=this;this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.kuai_brandRedPart,{params:{brand:this.brand,start_time:this.date[0],end_time:this.date[1]}}).then(function(e){e=e.data;t.loading=!1,e&&0==e.errno&&(t.barData=e.rst,t.$nextTick(function(){t.drawFan(),t.drawSign()}))}).catch(function(e){t.loading=!1})},drawFan:function(){var t;if(this.barData.fan_arr){var e=[];for(var a in this.barData.fan_arr)e.push({name:a,value:this.barData.fan_arr[a]});var i=this.$echarts.init(document.getElementById("fan_echarts")),n={color:["#2662FF","#FF5A7B","#BCA4FC","#F9D778","#A4FCD6","#F6564A","#FF936B","#9CCCFF","#FFACB8","#E5F2FE","#B7EEA8","#FFB89D","#FCE500","#9F9F9F"],title:{padding:[5,40],text:"粉丝量分布",textStyle:{fontSize:"13"},show:!1},grid:{left:"0%",right:"0%",top:"0%",bottom:"0%"},tooltip:{trigger:"item",formatter:function(t){return t.data.name+"<br/>"+t.percent+"%"}},series:[(t={type:"pie",radius:["35%","55%"],avoidLabelOverlap:!1},s()(t,"avoidLabelOverlap",!0),s()(t,"minShowLabelAngle",2),s()(t,"minAngle",22),s()(t,"label",{normal:{formatter:"{a|{b}}{abg|}\n{hr|}\n {per|{d}%}",rich:{a:{color:"#666666",fontSize:11,lineHeight:20,align:"center"},hr:{width:"100%",height:0,alien:"center"},per:{color:"#000000",align:"center",fontSize:13}}}}),s()(t,"labelLine",{normal:{show:!0}}),s()(t,"data",e),t)]};i.setOption(n)}},drawSign:function(){if(this.barData&&this.barData.sign_arr){var t=[],e=[];for(var a in this.barData.sign_arr)t.push(a),e.push(this.barData.sign_arr[a]);var i=this,s={tooltip:{trigger:"axis",show:!0,formatter:function(t){return(t=t[0]).name+":"+(t.value?t.value:"-")+"<br/>"}},grid:{left:"1%",right:"2%",bottom:"1%",containLabel:!0},xAxis:[{type:"category",data:t=t.splice(0,10),axisLine:{lineStyle:{color:"#ECEDF2"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:"#999999",fontSize:13}}],yAxis:[{type:"value",axisLine:{lineStyle:{color:"#ECEDF2"}},max:0==(e=e.splice(0,10)).length?1e5:"dataMax",min:function(t){return t.min<=0?t.min:0},axisTick:{show:!1},splitLine:{lineStyle:{color:"#DADADA",type:"dashed"}},nameTextStyle:{color:"#999999",fontSize:14,padding:[0,35,0,0]},axisLabel:{color:"#999999",fontSize:13,formatter:function(t){var e=t;return i.$NumberHandle(e)}}}],series:[{type:"bar",barWidth:100/t.length>14?14:100/t.length,yAxisIndex:0,barGap:0,label:{show:!0,position:"top",color:"#999999",formatter:function(t){return t.value?t.value:""}},data:e,itemStyle:{color:"#4B76FB",barBorderRadius:[4,4,4,4],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("region_echarts")).setOption(s)}},toDetail:function(t){var e=this.$router.resolve({path:"/userDetail/"+t.user_id});window.open(e.href,"_blank")},sortEvent:function(t){this.sort_type==t||(this.sort_type=t,this.init(1))},handleCurrentChange:function(t){this.init(t)},init:function(t){var e=this;this.page=t,this.drLoading=!0,this.$axios.get(this.URL.BASEURL+this.URL.kuai_brandForUser,{params:{page:t,brand:this.brand,user_name:this.userNameSearch,sort:this.sort_type,pagesize:this.pagesize,start_time:this.date[0],end_time:this.date[1]}}).then(function(t){t=t.data;if(e.drLoading=!1,4403==t.auno?(e.hasAuno=!0,e.au_nums=t.au_nums):e.hasAuno=!1,e.noneDone=4003==t.errno,t&&0==t.errno){var a=t.rst;e.infoList=a.data,e.total=a.pageInfo.total}else 4403==t.auno&&400==t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){e.drLoading=!1})},followWhEvent:function(t,e,a){var i=this;this.$exportNumber({type_id:5,cb:function(){i.$axios({url:i.URL.BASEURL+i.URL[t],method:"post",data:{user_id:"string"==typeof e.user_id?e.user_id:e.user_id.toFixed()}}).then(function(e){(e=e.data)&&0==e.errno?i.infoList[a].is_follow="kuai_follow_delete"!=t:i.$message({message:e.err,type:"warning"})}).catch(function(t){})}})}},watch:{date:function(){this.date&&this.date!=[]||(this.date=this.timeList[0].time),this.getBarData(),this.init(1)}}},r={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[i("div",{staticClass:"common_screen clear"},[i("ul",{staticClass:"common_select_time clear"},t._l(t.timeList,function(e,a){return i("li",{key:"time"+a,class:["common_select_time_item",t.date&&t.date.join(",")==e.time.join(",")?"common_select_time_item_active":""],on:{click:function(a){t.date=e.time}}},[t._v(t._s(e.name))])}),0),t._v(" "),i("el-date-picker",{staticClass:"common_select_li",staticStyle:{width:"250px","margin-top":"7px","margin-left":"8px"},attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"",size:"mini","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerTimes},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1),t._v(" "),i("div",{staticClass:"curve_box clear"},[i("div",{staticClass:"curve",staticStyle:{width:"45%",float:"left"}},[t._m(0),t._v(" "),i("div",{staticStyle:{height:"300px"},attrs:{id:"fan_echarts"}}),t._v(" "),t.barData&&t.barData.fan_arr&&0!=t.barData.fan_arr.length||t.loading?t._e():i("div",{staticClass:"curve_no_data",staticStyle:{top:"150px"}},[i("img",{attrs:{src:a("vLvk"),alt:""}}),t._v(" "),i("span",[t._v("暂无数据")])])]),t._v(" "),i("div",{staticClass:"curve",staticStyle:{width:"50%",float:"right"}},[t._m(1),t._v(" "),i("div",{staticStyle:{height:"300px"},attrs:{id:"region_echarts"}}),t._v(" "),t.barData&&t.barData.sign_arr&&0!=t.barData.sign_arr.length||t.loading?t._e():i("div",{staticClass:"curve_no_data",staticStyle:{top:"150px"}},[i("img",{attrs:{src:a("vLvk"),alt:""}}),t._v(" "),i("span",[t._v("暂无数据")])])])])]),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.drLoading,expression:"drLoading"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[i("div",{staticClass:"clear",staticStyle:{"margin-top":"50px"}},[t._m(2),t._v(" "),i("div",{staticClass:"videoSearchBox clear"},[i("el-input",{staticClass:"searchInput",staticStyle:{"margin-left":"10px"},attrs:{placeholder:"达人名称查询",size:"mini",clearable:""},on:{clear:function(e){return t.init()}},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.userNameSearch&&t.init()}},model:{value:t.userNameSearch,callback:function(e){t.userNameSearch=e},expression:"userNameSearch"}}),t._v(" "),i("button",{staticClass:"searchButton",on:{click:function(e){t.userNameSearch&&t.init()}}},[t._v("查询")])],1)]),t._v(" "),i("div",{staticStyle:{"margin-top":"10px"}},[t.noneDone?t._e():i("div",[i("div",{staticClass:"table_div"},[i("table",[i("tr",[i("td",[i("div",{staticClass:"th_title",class:["common_select_td",3==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(3)}}},[t._v("\n 达人\n "),t._m(3)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",4==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(4)}}},[t._v("\n 直播次数\n "),t._m(4)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",1==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(1)}}},[t._v("\n 累计销量\n "),t._m(5)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",2==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(2)}}},[t._v("\n 累计销售额\n "),t._m(6)])]),t._v(" "),i("td",[t._v("收藏")])]),t._v(" "),t._l(t.infoList,function(e,s){return i("tr",{key:s,staticStyle:{cursor:"pointer"},on:{click:function(a){return t.toDetail(e)}}},[i("td",{staticStyle:{width:"190px"}},[i("div",{staticClass:"drBox"},[i("div",{staticClass:"drInfoBox"},[i("div",{staticClass:"drImg"},[i("img",{staticClass:"userImg",attrs:{src:e.headurl,alt:""}}),t._v(" "),1==e.is_live?i("div",{staticClass:"liveing"},[i("img",{staticClass:"gif_icon",attrs:{src:a("Zp58"),alt:""}}),t._v(" "),i("span",[t._v("直播中")])]):t._e()]),t._v(" "),i("div",{staticClass:"drInfo"},[i("div",{staticClass:"drName"},[i("el-tooltip",{attrs:{effect:"dark",content:e.user_name,placement:"top"}},[i("p",[t._v(t._s(e.user_name))])])],1),t._v(" "),i("div",{staticClass:"drId",class:3==t.sort_type?"common_selected":""},[t._v("粉丝数 "+t._s(e.fan?t.$NumberHandle(e.fan):"-"))])])])])]),t._v(" "),i("td",{class:4==t.sort_type?"common_selected":""},[t._v(t._s(e.onlive_num||0==e.onlive_num?t.$NumberHandle(e.onlive_num):"-"))]),t._v(" "),i("td",{class:1==t.sort_type?"common_selected":""},[t._v(t._s(e.sell_count||0==e.sell_count?t.$NumberHandle(e.sell_count):"-"))]),t._v(" "),i("td",{class:2==t.sort_type?"common_selected":""},[t._v(t._s(e.sell_money||0==e.sell_money?t.$NumberHandle(e.sell_money):"-"))]),t._v(" "),i("td",[i("div",{on:{click:function(a){return a.stopPropagation(),t.followWhEvent(e.is_follow?"kuai_follow_delete":"kuai_follow_create",e,s)}}},[i("el-tooltip",{staticClass:"operation",attrs:{effect:"dark",content:1==e.is_follow?"取消关注":"关注达人",placement:"top-start"}},[1==e.is_follow?i("img",{staticClass:"followIcon",attrs:{src:a("fXRA"),alt:""}}):i("img",{staticClass:"followIcon",attrs:{src:a("OSUF"),alt:""}})])],1)])])})],2)]),t._v(" "),t.drLoading||0!=t.infoList.length?t._e():i("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.hasAuno&&0!=t.total||t.hasAuno&&t.au_nums<=t.total&&t.page>1,expression:"(!hasAuno&&total!=0)||(hasAuno&&au_nums<=total&&page>1)"}],staticClass:"bottom"},[i("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),i("el-pagination",{attrs:{background:"","current-page":t.page,layout:"prev, pager, next","page-size":t.pagesize,total:t.total},on:{"current-change":t.handleCurrentChange}})],1),t._v(" "),t.infoList.length>0&&!t.noneDone&&t.hasAuno&&!t.loading?i("list-permission",{attrs:{au_nums:t.au_nums}}):t._e(),t._v(" "),!t.hasAuno&&t.noneDone?i("nopermission"):t._e()],1)])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title",staticStyle:{"margin-top":"10px"}},[e("span",[this._v("达人粉丝量分布")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title clear"},[e("span",[this._v("达人类目分布")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title",staticStyle:{float:"left"}},[e("span",[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"})])}]};var c={props:["brand"],data:function(){return{loadCanvas:!1,isIncr:!0,dataInfo:"",timeList:[{name:"近7天",time:[this.getDay(-7,!1),this.getDay(0,!1)]},{name:"近30天",time:[this.getDay(-30,!1),this.getDay(0,!1)]},{name:"近90天",time:[this.getDay(-90,!1),this.getDay(0,!1)]}],date:[this.getDay(-7,!1),this.getDay(0,!1)],pickerTimes:{disabledDate:function(t){return t>Date.now()}}}},mounted:function(){this.admonitor()},methods:{admonitor:function(){var t=this;this.loadCanvas=!0,this.$axios.get(this.URL.BASEURL+this.URL.kuai_brandSellTrend,{params:{brand:this.brand,start_time:this.date[0],end_time:this.date[1]}}).then(function(e){4003==(e=e.data).errno?t.hasAuno=!0:t.hasAuno=!1,t.loadCanvas=!1,e&&0==e.errno?(t.dataInfo=e.rst,t.$nextTick(function(){t.echarts()})):4003!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loadCanvas=!1})},echarts:function(){this.drEcharts(),this.interactionEcharts()},drEcharts:function(){var t={keyes:[],sell_count:[],sell_money:[]};(this.isIncr?this.dataInfo.list:this.dataInfo.total).forEach(function(e){t.keyes.push(e.date),t.sell_count.push(e.sell_count),t.sell_money.push(e.sell_money)});var e=this,a={tooltip:{trigger:"axis",formatter:function(t){var a=t[0].name+"<br>";return t.forEach(function(t,i){a+=t.marker+t.seriesName+":"+e.$NumberHandle(t.value)+"<br/>"}),a}},grid:{left:"3%",right:"2%",bottom:"3%",containLabel:!0},legend:{show:!1},xAxis:[{type:"category",data:t.keyes,axisLine:{lineStyle:{color:"#ECEDF2"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:"#999999",fontSize:13}}],yAxis:[{type:"value",name:"销量",axisLine:{lineStyle:{color:"#ECEDF2"}},axisTick:{show:!1},splitLine:{lineStyle:{color:"#DADADA",type:"dashed"}},max:0==t.keyes.length?1e5:"dataMax",min:0,nameTextStyle:{color:"#999999",fontSize:14,padding:[0,35,0,0]},axisLabel:{color:"#999999",fontSize:13,formatter:function(t){var a=t;return e.$NumberHandle(a)}}},{type:"value",name:"销售额",position:"right",axisLine:{lineStyle:{color:"#ECEDF2"}},axisTick:{show:!1},splitLine:{lineStyle:{color:"#DADADA",type:"dashed"}},max:0==t.keyes.length?1e5:"dataMax",min:0,nameTextStyle:{color:"#999999",fontSize:14,padding:[0,-20,0,0]},axisLabel:{color:"#999999",fontSize:13,formatter:function(t){var a=t;return e.$NumberHandle(a)}}}],series:[{smooth:!0,name:"销量",yAxisIndex:0,type:"line",data:t.sell_count,lineStyle:{color:"#4B76FB",width:2},itemStyle:{opacity:0,color:"#4B76FB",barBorderRadius:[4,4,4,4],borderType:"dotted"}},{smooth:!0,name:"销售额",yAxisIndex:1,type:"line",data:t.sell_money,lineStyle:{color:"#FF835E",width:2},itemStyle:{opacity:0,color:"#FF835E",barBorderRadius:[4,4,4,4],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("sale_echarts")).setOption(a,!0)},interactionEcharts:function(){var t={keyes:[],red_count:[],live_count:[]};(this.isIncr?this.dataInfo.list:this.dataInfo.total).forEach(function(e){t.keyes.push(e.date),t.red_count.push(e.red_count),t.live_count.push(e.live_count)});var e=this,a={tooltip:{trigger:"axis",formatter:function(t){var a=t[0].name+"<br>";return t.forEach(function(t,i){a+=t.marker+t.seriesName+":"+e.$NumberHandle(t.value)+"<br/>"}),a}},grid:{left:"3%",right:"2%",bottom:"3%",containLabel:!0},legend:{show:!1},xAxis:[{type:"category",data:t.keyes,axisLine:{lineStyle:{color:"#ECEDF2"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:"#999999",fontSize:13}}],yAxis:[{type:"value",axisLine:{lineStyle:{color:"#ECEDF2"}},axisTick:{show:!1},splitLine:{lineStyle:{color:"#DADADA",type:"dashed"}},max:0==t.keyes.length?1e5:"dataMax",min:0,nameTextStyle:{color:"#999999",fontSize:14,padding:[0,35,0,0]},axisLabel:{color:"#999999",fontSize:13,formatter:function(t){var a=t;return e.$NumberHandle(a)}}}],series:[{smooth:!0,name:"达人数",yAxisIndex:0,type:"line",data:t.red_count,lineStyle:{color:"#45C2C2",width:2},itemStyle:{opacity:0,color:"#45C2C2",barBorderRadius:[4,4,4,4],borderType:"dotted"}},{smooth:!0,name:"直播数",type:"line",data:t.live_count,lineStyle:{color:"#D80619",width:2},itemStyle:{opacity:0,color:"#D80619",barBorderRadius:[4,4,4,4],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("interaction_echarts")).setOption(a,!0)}},watch:{date:function(){this.date&&this.date!=[]||(this.date=this.timeList[0].time),this.admonitor()}}},d={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadCanvas,expression:"loadCanvas"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[i("div",{staticClass:"common_screen clear"},[i("ul",{staticClass:"common_select_time clear"},t._l(t.timeList,function(e,a){return i("li",{key:"time"+a,class:["common_select_time_item",t.date&&t.date.join(",")==e.time.join(",")?"common_select_time_item_active":""],on:{click:function(a){t.date=e.time}}},[t._v(t._s(e.name))])}),0),t._v(" "),i("el-date-picker",{staticClass:"common_select_li",staticStyle:{width:"250px","margin-top":"7px","margin-left":"8px"},attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"",size:"mini","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerTimes},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}}),t._v(" "),i("ul",{staticClass:"common_select_time clear",staticStyle:{float:"right"}},[i("li",{class:["common_select_time_item",t.isIncr?"":"common_select_time_item_active"],on:{click:function(e){t.isIncr=!1,t.echarts()}}},[t._v("总量")]),t._v(" "),i("li",{class:["common_select_time_item",t.isIncr?"common_select_time_item_active":""],on:{click:function(e){t.isIncr=!0,t.echarts()}}},[t._v("增量")])])],1),t._v(" "),i("div",{staticClass:"sale_trend"},[t._m(0),t._v(" "),i("div",{staticStyle:{height:"300px"},attrs:{id:"sale_echarts"}}),t._v(" "),t.dataInfo||t.loadCanvas?t._e():i("div",{staticClass:"curve_no_data"},[i("img",{attrs:{src:a("vLvk"),alt:""}}),t._v(" "),i("span",[t._v("暂无数据")])])]),t._v(" "),i("div",{staticClass:"sale_trend",staticStyle:{"margin-top":"60px"}},[t._m(1),t._v(" "),i("div",{staticStyle:{height:"300px"},attrs:{id:"interaction_echarts"}}),t._v(" "),t.dataInfo||t.loadCanvas?t._e():i("div",{staticClass:"curve_no_data"},[i("img",{attrs:{src:a("vLvk"),alt:""}}),t._v(" "),i("span",[t._v("暂无数据")])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title clear"},[e("span",[this._v("商品销量趋势")]),this._v(" "),e("div",{staticClass:"legend"},[e("div",{staticClass:"sale"},[e("span",{staticStyle:{background:"#FF835E"}}),this._v(" 销售额")])]),this._v(" "),e("div",{staticClass:"legend"},[e("div",{staticClass:"views"},[e("span",{staticStyle:{background:"#4B76FB"}}),this._v(" 销量")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title clear"},[e("span",[this._v("关联直播/达人趋势")]),this._v(" "),e("div",{staticClass:"legend"},[e("div",{staticClass:"sale"},[e("span",{staticStyle:{background:"#45C2C2"}}),this._v(" 达人数")])]),this._v(" "),e("div",{staticClass:"legend"},[e("div",{staticClass:"sale"},[e("span",{staticStyle:{background:"#D80619"}}),this._v(" 直播数")])])])}]};var u={props:["brand"],data:function(){return{au_nums:"",loading:!1,timeList:[{name:"近7天",time:[this.getDay(-7,!1),this.getDay(-1,!1)]},{name:"近30天",time:[this.getDay(-30,!1),this.getDay(-1,!1)]},{name:"近90天",time:[this.getDay(-90,!1),this.getDay(-1,!1)]}],date:[this.getDay(-7,!1),this.getDay(-1,!1)],pickerTimes:{disabledDate:function(t){return t>Date.now()}},hasAuno:!1,noneDone:!1,total:0,page:1,pages:0,pagesize:20,infoList:[],userNameSearch:"",sort_type:2}},created:function(){this.init(1)},methods:{toUserDetail:function(t){if(t){var e=this.$router.resolve({path:"/userDetail/"+t});window.open(e.href,"_blank")}else this.$message({message:"该达人暂无详情,敬请期待!",type:"warning"})},toDetail:function(t){var e=this.$router.resolve({path:"/goodsDetail/"+t.commodity_id+"?isLive=1"});window.open(e.href,"_blank")},sortEvent:function(t){this.sort_type==t||(this.sort_type=t,this.init(1))},init:function(t,e){var a=this;if(this.$message.closeAll(),this.hasAuno||this.noneDone)return this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});var i=this.pagesize;t=t;"dataExport"==e?(i=100,t=1):this.page=t,this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.kuai_getGoodsByBrand,{params:{page:t,brand:this.brand,pagesize:i,start_time:this.date[0],end_time:this.date[1],product_name:this.userNameSearch,sort:this.sort_type,is_export:"dataExport"==e?1:""}}).then(function(t){t=t.data;if(a.loading=!1,4403==t.auno?(a.au_nums=t.au_nums,a.hasAuno=!0):a.hasAuno=!1,a.noneDone=4003==t.errno,t&&0==t.errno){var i=t.rst;"dataExport"==e?a.exportToExcel(i.list):(a.infoList=i.list,a.total=i.count,a.pages=i.pages)}else 4403==t.auno&&400==t.errno&&a.$message({message:t.err,type:"warning"})}).catch(function(t){a.loading=!1})},handleCurrentChange:function(t){this.init(t)},getMoreList:function(){var t=this;this.$exportNumber({type_id:2,cb:function(){t.init(1,"dataExport")}})},exportToExcel:function(t){var e=[],a="",i=t;for(var s in i)e.push({title:i[s].title?i[s].title:"",commodity_id:i[s].commodity_id?i[s].commodity_id:"",price:i[s].price?i[s].price:"",sale_count:i[s].sale_count||0==i[s].sale_count?i[s].sale_count:"",sale_money:i[s].sale_money||0==i[s].sale_money?i[s].sale_money:"",user_name:i[s].topUserInfo&&i[s].topUserInfo.user_name?i[s].topUserInfo.user_name:"",user_id:i[s].topUserInfo&&i[s].topUserInfo.user_id?i[s].topUserInfo.user_id:"",fan:i[s].topUserInfo&&i[s].topUserInfo.fan?i[s].topUserInfo.fan:"",top_user_sell_count:i[s].top_user_sell_count||0==i[s].top_user_sell_count?i[s].top_user_sell_count:""});a="商品名称,商品ID,价格,销量,销售额,销量最高达人名称,销量最高达人快手号,销量最高达人粉丝数,最高达人销量\n";for(var n=0;n<e.length;n++){for(var o in e[n])a+=e[n][o]+",";a+="\n"}var l="data:text/csv;charset=utf-8,\ufeff"+encodeURIComponent(a),r=document.createElement("a");r.href=l,r.download="关联商品列表.csv",document.body.appendChild(r),r.click(),document.body.removeChild(r)},followWhEvent:function(t,e,a){var i=this;this.$exportNumber({type_id:8,cb:function(){i.$axios.post(i.URL.BASEURL+i.URL[t],{commodity_id:e.commodity_id,channel:e.channel}).then(function(e){(e=e.data)&&0==e.errno?i.infoList[a].is_follow="del_userGoodsFollow"!=t:i.$message({message:e.err,type:"warning"})}).catch(function(t){})}})}},watch:{date:function(){this.date&&this.date!=[]||(this.date=this.timeList[0].time),this.init(1)}}},_={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:"goodsRelation",attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[i("div",{staticClass:"common_screen clear"},[i("ul",{staticClass:"common_select_time clear"},t._l(t.timeList,function(e,a){return i("li",{key:"time"+a,class:["common_select_time_item",t.date&&t.date.join(",")==e.time.join(",")?"common_select_time_item_active":""],on:{click:function(a){t.date=e.time}}},[t._v(t._s(e.name))])}),0),t._v(" "),i("el-date-picker",{staticClass:"common_select_li",staticStyle:{width:"250px","margin-top":"7px","margin-left":"8px"},attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"",size:"mini","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerTimes},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1),t._v(" "),i("div",{staticClass:"clear",staticStyle:{"margin-top":"40px"}},[t._m(0),t._v(" "),i("div",{staticClass:"videoSearchBox clear"},[i("el-input",{staticClass:"searchInput",staticStyle:{"margin-left":"10px"},attrs:{placeholder:"商品名称查询",size:"mini",clearable:""},on:{clear:function(e){return t.init()}},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.userNameSearch&&t.init()}},model:{value:t.userNameSearch,callback:function(e){t.userNameSearch=e},expression:"userNameSearch"}}),t._v(" "),i("button",{staticClass:"searchButton",on:{click:function(e){t.userNameSearch&&t.init()}}},[t._v("查询")]),t._v(" "),t.infoList.length>0?i("button",{staticClass:"allButton",staticStyle:{"margin-left":"10px"},on:{click:t.getMoreList}},[t._v("导出")]):t._e()],1)]),t._v(" "),i("div",{staticStyle:{"margin-top":"20px"}},[t.noneDone?t._e():i("div",[i("div",{staticClass:"table_div"},[i("table",[i("tr",[i("td",[t._v("商品")]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",1==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(1)}}},[t._v("\n 价格\n "),t._m(1)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",2==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(2)}}},[t._v("\n 累计销量\n "),t._m(2)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",3==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(3)}}},[t._v("\n 累计销售额\n "),t._m(3)])]),t._v(" "),i("td",[t._v("销量最高达人")]),t._v(" "),i("td",[t._v("最高达人销量")]),t._v(" "),i("td",[t._v("收藏")])]),t._v(" "),t._l(t.infoList,function(e,s){return i("tr",{key:s,staticStyle:{cursor:"pointer"},on:{click:function(a){return t.toDetail(e)}}},[i("td",{staticStyle:{width:"260px"}},[i("div",{staticClass:"videoBox"},[i("div",{staticClass:"videoImg"},[i("img",{attrs:{src:e.img,alt:""}})]),t._v(" "),i("div",{staticClass:"videoInfo clear"},[i("p",{staticClass:"videoTitle"},[t._v(t._s(e.title?e.title:"-"))])])])]),t._v(" "),i("td",{class:1==t.sort_type?"common_selected":""},[t._v(t._s(e.price||0==e.price?"¥"+e.price:"-"))]),t._v(" "),i("td",{class:2==t.sort_type?"common_selected":""},[t._v(t._s(e.sale_count||0==e.sale_count?t.$NumberHandle(e.sale_count):"-"))]),t._v(" "),i("td",{class:3==t.sort_type?"common_selected":""},[t._v(t._s(e.sale_money||0==e.sale_money?t.$NumberHandle(e.sale_money):"-"))]),t._v(" "),i("td",{staticStyle:{width:"200px"}},[e.topUserInfo?i("div",{staticClass:"hrBox",on:{click:function(a){return a.stopPropagation(),t.toUserDetail(e.topUserInfo&&e.topUserInfo.user_id?e.topUserInfo.user_id:"")}}},[i("img",{staticClass:"hrImg",attrs:{src:e.topUserInfo.headurl,alt:""}}),t._v(" "),i("div",{staticClass:"hrInfo"},[i("p",{staticClass:"hrTitle"},[t._v(t._s(e.topUserInfo.user_name?e.topUserInfo.user_name:"-"))]),t._v(" "),i("p",{staticClass:"hrFan"},[t._v("粉丝数:"+t._s(e.topUserInfo.fan||0==e.topUserInfo.fan?t.$NumberHandle(e.topUserInfo.fan):"-"))])])]):i("span",[t._v("-")])]),t._v(" "),i("td",[t._v(t._s(e.top_user_sell_count||0==e.top_user_sell_count?t.$NumberHandle(e.top_user_sell_count):"-"))]),t._v(" "),i("td",[i("div",{on:{click:function(a){return a.stopPropagation(),t.followWhEvent(e.is_follow?"del_userGoodsFollow":"create_userGoodsFollow",e,s)}}},[i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:e.is_follow?"取消关注":"关注商品",placement:"top-start"}},[e.is_follow?i("img",{staticClass:"followIcon",attrs:{src:a("fXRA"),alt:""}}):i("img",{staticClass:"followIcon",attrs:{src:a("OSUF"),alt:""}})])],1)])])})],2)]),t._v(" "),t.loading||0!=t.infoList.length?t._e():i("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.hasAuno&&0!=t.total||t.hasAuno&&t.au_nums<=t.total&&t.page>1,expression:"(!hasAuno&&total!=0)||(hasAuno&&au_nums<=total&&page>1)"}],staticClass:"bottom"},[i("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),i("el-pagination",{attrs:{background:"","current-page":t.page,layout:"prev, pager, next","page-count":t.pages},on:{"current-change":t.handleCurrentChange}})],1),t._v(" "),t.infoList.length>0&&!t.noneDone&&t.hasAuno&&!t.loading?i("list-permission",{attrs:{au_nums:t.au_nums}}):t._e(),t._v(" "),!t.hasAuno&&t.noneDone?i("nopermission"):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title",staticStyle:{float:"left"}},[e("span",[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"})])}]};var v={props:["brand"],data:function(){return{au_nums:"",loading:!1,timeList:[{name:"近7天",time:[this.getDay(-7,!1),this.getDay(0,!1)]},{name:"近30天",time:[this.getDay(-30,!1),this.getDay(0,!1)]},{name:"近90天",time:[this.getDay(-90,!1),this.getDay(0,!1)]}],date:[this.getDay(-7,!1),this.getDay(0,!1)],pickerTimes:{disabledDate:function(t){return t>Date.now()}},hasAuno:!1,noneDone:!1,total:0,page:1,pagesize:20,infoList:[],userNameSearch:"",sort_type:1}},created:function(){this.init(1)},methods:{toLiveDetail:function(t){var e=this.$router.resolve({path:"/userDetail/"+t.kwai_user_id});window.open(e.href,"_blank")},toDetail:function(t){var e=this.$router.resolve({path:"/basicsDataDetail/"+t.live_stream_id});window.open(e.href,"_blank")},sortEvent:function(t){this.sort_type==t||(this.sort_type=t,this.init(1))},init:function(t,e){var a=this;if(this.$message.closeAll(),this.hasAuno||this.noneDone)return this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});this.page=t,this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.kuai_getUserByBrand,{params:{page:t,brand:this.brand,user_name:this.userNameSearch,sort:this.sort_type,start_time:this.date[0],end_time:this.date[1],pagesize:this.pagesize}}).then(function(t){t=t.data;if(a.loading=!1,4403==t.auno?(a.hasAuno=!0,a.au_nums=t.au_nums):a.hasAuno=!1,a.noneDone=4003==t.errno,t&&0==t.errno){var e=t.rst;a.infoList=e.data,a.total=e.count}else 4403==t.auno&&400==t.errno&&a.$message({message:t.err,type:"warning"})}).catch(function(t){a.loading=!1})},handleCurrentChange:function(t){this.init(t)},followWhEvent:function(t,e,a){var i=this;this.$exportNumber({type_id:6,cb:function(){i.$axios({url:i.URL.BASEURL+i.URL[t],method:"post",data:{live_stream_id:e.live_stream_id}}).then(function(e){(e=e.data)&&0==e.errno?i.infoList[a].is_follow="KwaiShowFollow_delete"!=t:i.$message({message:e.err,type:"warning"})}).catch(function(t){})}})}},watch:{date:function(){this.date&&this.date!=[]||(this.date=this.timeList[0].time),this.init()}}},m={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:"goodsRelation",attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[i("div",{staticClass:"common_screen clear"},[i("ul",{staticClass:"common_select_time clear"},t._l(t.timeList,function(e,a){return i("li",{key:"time"+a,class:["common_select_time_item",t.date&&t.date.join(",")==e.time.join(",")?"common_select_time_item_active":""],on:{click:function(a){t.date=e.time}}},[t._v(t._s(e.name))])}),0),t._v(" "),i("el-date-picker",{staticClass:"common_select_li",staticStyle:{width:"250px","margin-top":"7px","margin-left":"8px"},attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"",size:"mini","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerTimes},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1),t._v(" "),i("div",{staticClass:"clear",staticStyle:{"margin-top":"40px"}},[t._m(0),t._v(" "),i("div",{staticClass:"videoSearchBox clear"},[i("el-input",{staticClass:"searchInput",staticStyle:{"margin-left":"10px"},attrs:{placeholder:"达人名称查询",size:"mini",clearable:""},on:{clear:function(e){return t.init()}},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.userNameSearch&&t.init()}},model:{value:t.userNameSearch,callback:function(e){t.userNameSearch=e},expression:"userNameSearch"}}),t._v(" "),i("button",{staticClass:"searchButton",on:{click:function(e){t.userNameSearch&&t.init()}}},[t._v("查询")])],1)]),t._v(" "),i("div",{staticStyle:{"margin-top":"20px"}},[t.noneDone?t._e():i("div",[i("div",{staticClass:"table_div"},[i("table",[i("tr",[i("td",[t._v("达人")]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",4==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(4)}}},[t._v("\n 开播时间\n "),t._m(1)])]),t._v(" "),i("td",[t._v("\n 上下架时间\n ")]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",3==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(3)}}},[t._v("\n 直播成交价\n "),t._m(2)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",1==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(1)}}},[t._v("\n 销量\n "),t._m(3)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",2==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(2)}}},[t._v("\n 销售额\n "),t._m(4)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",5==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(5)}}},[t._v("\n 上架在线峰值\n "),t._m(5)])]),t._v(" "),i("td",[t._v("收藏")])]),t._v(" "),t._l(t.infoList,function(e,s){return i("tr",{key:s,staticStyle:{cursor:"pointer"},on:{click:function(a){return t.toDetail(e)}}},[i("td",{staticStyle:{width:"190px"}},[i("div",{staticClass:"drBox",on:{click:function(a){return a.stopPropagation(),t.toLiveDetail(e)}}},[i("div",{staticClass:"drInfoBox"},[i("div",{staticClass:"drImg"},[i("img",{staticClass:"userImg",attrs:{src:e.headurl,alt:""}}),t._v(" "),1==e.is_live?i("div",{staticClass:"liveing"},[i("img",{staticClass:"gif_icon",attrs:{src:a("Zp58"),alt:""}}),t._v(" "),i("span",[t._v("直播中")])]):t._e()]),t._v(" "),i("div",{staticClass:"drInfo"},[i("div",{staticClass:"drName"},[i("el-tooltip",{attrs:{effect:"dark",content:e.user_name,placement:"top"}},[i("p",[t._v(t._s(e.user_name))])])],1),t._v(" "),i("div",{staticClass:"drId"},[t._v("粉丝数 "+t._s(e.fan?t.$NumberHandle(e.fan):"-"))])])])])]),t._v(" "),i("td",{class:4==t.sort_type?"common_selected":""},[i("p",{staticStyle:{"font-size":"14px",width:"90px",margin:"auto","line-height":"20px"}},[t._v(t._s(e.created_at?e.created_at:"-"))])]),t._v(" "),i("td",{staticStyle:{"font-size":"14px","line-height":"20px"}},[t._v(t._s(e.goods_start_time?e.goods_start_time.split(" ")[1]:"-")),i("br"),t._v(t._s(e.goods_end_time?e.goods_end_time.split(" ")[1]:"-"))]),t._v(" "),i("td",{class:3==t.sort_type?"common_selected":""},[t._v(t._s(e.price?"¥"+e.price:"-"))]),t._v(" "),i("td",{class:1==t.sort_type?"common_selected":""},[t._v(t._s(e.sell_count||0==e.sell_count?t.$NumberHandle(e.sell_count):"-"))]),t._v(" "),i("td",{class:2==t.sort_type?"common_selected":""},[t._v(t._s(e.sell_money||0==e.sell_money?t.$NumberHandle(e.sell_money):"-"))]),t._v(" "),i("td",{class:5==t.sort_type?"common_selected":""},[t._v(t._s(e.bast_display_watching_count||0==e.bast_display_watching_count?t.$NumberHandle(e.bast_display_watching_count):"-"))]),t._v(" "),i("td",[i("div",{on:{click:function(a){return a.stopPropagation(),t.followWhEvent(1==e.is_follow?"KwaiShowFollow_delete":"KwaiShowFollow_create",e,s)}}},[i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:1==e.is_follow?"取消关注":"关注直播",placement:"top-start"}},[1==e.is_follow?i("img",{staticClass:"followIcon",attrs:{src:a("fXRA"),alt:""}}):i("img",{staticClass:"followIcon",attrs:{src:a("OSUF"),alt:""}})])],1)])])})],2)]),t._v(" "),t.loading||0!=t.infoList.length?t._e():i("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.hasAuno&&0!=t.total||t.hasAuno&&t.au_nums<=t.total&&t.page>1,expression:"(!hasAuno&&total!=0)||(hasAuno&&au_nums<=total&&page>1)"}],staticClass:"bottom"},[i("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),i("el-pagination",{attrs:{background:"","current-page":t.page,layout:"prev, pager, next","page-size":t.pagesize,total:t.total},on:{"current-change":t.handleCurrentChange}})],1),t._v(" "),t.infoList.length>0&&!t.noneDone&&t.hasAuno&&!t.loading?i("list-permission",{attrs:{au_nums:t.au_nums}}):t._e(),t._v(" "),!t.hasAuno&&t.noneDone?i("nopermission"):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title",staticStyle:{float:"left"}},[e("span",[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"})])}]};var h={props:["brand"],data:function(){return{au_nums:"",loading:!1,timeList:[{name:"近7天",time:[this.getDay(-7,!1),this.getDay(-1,!1)]},{name:"近30天",time:[this.getDay(-30,!1),this.getDay(-1,!1)]},{name:"近90天",time:[this.getDay(-90,!1),this.getDay(-1,!1)]}],date:[this.getDay(-7,!1),this.getDay(-1,!1)],pickerTimes:{disabledDate:function(t){return t>Date.now()}},hasAuno:!1,noneDone:!1,total:0,page:1,pages:0,pagesize:20,infoList:[],userNameSearch:"",sort_type:1}},created:function(){this.init(1)},methods:{toUrl:function(t){t&&window.open(t,"_blank")},toGoodsDetail:function(t){if(t){var e=this.$router.resolve({path:"/goodsDetail/"+t});window.open(e.href,"_blank")}},toUserDetail:function(t){if(t){var e=this.$router.resolve({path:"/userDetail/"+t});window.open(e.href,"_blank")}else this.$message({message:"该达人暂无详情,敬请期待!",type:"warning"})},toDetail:function(t){var e=this.$router.resolve({path:"/videoDetail/"+t.user_id+"/"+t.photo_id});window.open(e.href,"_blank")},sortEvent:function(t){this.sort_type==t||(this.sort_type=t,this.init(1))},init:function(t,e){var a=this;if(this.$message.closeAll(),this.hasAuno||this.noneDone)return this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});var i=this.pagesize;t=t;"dataExport"==e?(i=100,t=1):this.page=t,this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.getVideoByBrand,{params:{page:t,brand:this.brand,page_size:i,start_time:this.date[0],end_time:this.date[1],name:this.userNameSearch,sort:this.sort_type}}).then(function(t){t=t.data;if(a.loading=!1,4403==t.auno?(a.au_nums=t.au_nums,a.hasAuno=!0):a.hasAuno=!1,a.noneDone=4003==t.errno,t&&0==t.errno){var i=t.rst;"dataExport"==e?a.exportToExcel(i.data):(a.infoList=i.data,a.total=i.pageInfo.total,a.pages=i.pageInfo.pages)}else 4403==t.auno&&400==t.errno&&a.$message({message:t.err,type:"warning"})}).catch(function(t){a.loading=!1})},handleCurrentChange:function(t){this.init(t)},getMoreList:function(){this.init(1,"dataExport")},exportToExcel:function(t){var e=[],a="",i=t;for(var s in i)e.push({video_title:i[s].video_title?i[s].video_title:"",video_url:i[s].video_url?i[s].video_url:"",goods_title:i[s].goods_title?i[s].goods_title:"",goods_id:i[s].goods_id?i[s].goods_id:"",price:i[s].price?i[s].price:"",user_count:i[s].user_count||0==i[s].user_count?i[s].user_count:"",view_count:i[s].view_count||0==i[s].view_count?i[s].view_count:"",like_count:i[s].like_count||0==i[s].like_count?i[s].like_count:"",comment_count:i[s].comment_count||0==i[s].comment_count?i[s].comment_count:""});a="视频标题,视频链接,商品名称,商品ID,商品价格,商品关联红人数,播放量,点赞量,评论量\n";for(var n=0;n<e.length;n++){for(var o in e[n])a+=e[n][o]+",";a+="\n"}var l="data:text/csv;charset=utf-8,\ufeff"+encodeURIComponent(a),r=document.createElement("a");r.href=l,r.download="关联视频列表.csv",document.body.appendChild(r),r.click(),document.body.removeChild(r)},followWhEvent:function(t,e,a){var i=this;this.$exportNumber({type_id:7,cb:function(){i.$axios.get(i.URL.BASEURL+i.URL[t],{params:{photo_id:e.photo_id,video_user_id:e.user_id}}).then(function(e){(e=e.data)&&0==e.errno?i.infoList[a].is_follow="followVideo"==t?1:0:i.$message({message:e.err,type:"warning"})}).catch(function(t){})}})}},watch:{date:function(){this.date&&this.date!=[]||(this.date=this.timeList[0].time),this.init(1)}}},p={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:"goodsRelation",attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[i("div",{staticClass:"common_screen clear"},[i("ul",{staticClass:"common_select_time clear"},t._l(t.timeList,function(e,a){return i("li",{key:"time"+a,class:["common_select_time_item",t.date&&t.date.join(",")==e.time.join(",")?"common_select_time_item_active":""],on:{click:function(a){t.date=e.time}}},[t._v(t._s(e.name))])}),0),t._v(" "),i("el-date-picker",{staticClass:"common_select_li",staticStyle:{width:"250px","margin-top":"7px","margin-left":"8px"},attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"",size:"mini","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","picker-options":t.pickerTimes},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1),t._v(" "),i("div",{staticClass:"clear",staticStyle:{"margin-top":"40px"}},[t._m(0),t._v(" "),i("div",{staticClass:"videoSearchBox clear"},[i("el-input",{staticClass:"searchInput",staticStyle:{"margin-left":"10px"},attrs:{placeholder:"请输入视频标题查询",size:"mini",clearable:""},on:{clear:function(e){return t.init()}},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.userNameSearch&&t.init()}},model:{value:t.userNameSearch,callback:function(e){t.userNameSearch=e},expression:"userNameSearch"}}),t._v(" "),i("button",{staticClass:"searchButton",on:{click:function(e){t.userNameSearch&&t.init()}}},[t._v("查询")]),t._v(" "),t.infoList.length>0?i("button",{staticClass:"allButton",staticStyle:{"margin-left":"10px"},on:{click:t.getMoreList}},[t._v("导出")]):t._e()],1)]),t._v(" "),i("div",{staticStyle:{"margin-top":"20px"}},[t.noneDone?t._e():i("div",[i("div",{staticClass:"table_div"},[i("table",[i("tr",[i("td",[t._v("视频")]),t._v(" "),i("td",[t._v("视频商品")]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",1==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(1)}}},[t._v("\n 商品价格\n "),t._m(1)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",2==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(2)}}},[t._v("\n 商品关联红人\n "),t._m(2)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",3==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(3)}}},[t._v("\n 播放\n "),t._m(3)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",4==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(4)}}},[t._v("\n 点赞\n "),t._m(4)])]),t._v(" "),i("td",[i("div",{staticClass:"th_title",class:["common_select_td",5==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(5)}}},[t._v("\n 评论\n "),t._m(5)])]),t._v(" "),i("td",[t._v("收藏")])]),t._v(" "),t._l(t.infoList,function(e,s){return i("tr",{key:s,staticStyle:{cursor:"pointer"},on:{click:function(a){return t.toDetail(e)}}},[i("td",{staticStyle:{width:"200px"}},[i("div",{staticClass:"videoBox"},[i("div",{staticClass:"videoImg",staticStyle:{height:"70px"}},[i("img",{attrs:{src:e.video_img,alt:""}})]),t._v(" "),i("div",{staticClass:"videoInfo clear"},[i("p",{staticClass:"videoTitle",on:{click:function(a){return a.stopPropagation(),t.toUrl(e.video_url)}}},[t._v(t._s(e.video_title?e.video_title:"-"))])])])]),t._v(" "),i("td",{staticStyle:{width:"200px"}},[i("div",{staticClass:"videoBox",staticStyle:{"margin-left":"10px"},on:{click:function(a){return a.stopPropagation(),t.toGoodsDetail(e.goods_id)}}},[i("div",{staticClass:"videoImg"},[i("img",{attrs:{src:e.goods_img,alt:""}})]),t._v(" "),i("div",{staticClass:"videoInfo clear"},[i("p",{staticClass:"videoTitle"},[t._v(t._s(e.goods_title?e.goods_title:"-"))])])])]),t._v(" "),i("td",{class:1==t.sort_type?"common_selected":""},[t._v(t._s(e.price||0==e.price?"¥"+e.price:"-"))]),t._v(" "),i("td",{class:2==t.sort_type?"common_selected":"",staticStyle:{width:"100px"}},[t._v(t._s(e.user_count||0==e.user_count?t.$NumberHandle(e.user_count):"-"))]),t._v(" "),i("td",{class:3==t.sort_type?"common_selected":""},[t._v(t._s(e.view_count||0==e.view_count?t.$NumberHandle(e.view_count):"-"))]),t._v(" "),i("td",{class:4==t.sort_type?"common_selected":""},[t._v(t._s(e.like_count||0==e.like_count?t.$NumberHandle(e.like_count):"-"))]),t._v(" "),i("td",{class:5==t.sort_type?"common_selected":""},[t._v(t._s(e.comment_count||0==e.comment_count?t.$NumberHandle(e.comment_count):"-"))]),t._v(" "),i("td",[i("div",{on:{click:function(a){return a.stopPropagation(),t.followWhEvent(1==e.is_follow?"cancelFollowVideo":"followVideo",e,s)}}},[i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:1==e.is_follow?"取消关注":"关注视频",placement:"top-start"}},[1==e.is_follow?i("img",{staticClass:"followIcon",attrs:{src:a("fXRA"),alt:""}}):i("img",{staticClass:"followIcon",attrs:{src:a("OSUF"),alt:""}})])],1)])])})],2)]),t._v(" "),t.loading||0!=t.infoList.length?t._e():i("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])]),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!t.hasAuno&&0!=t.total||t.hasAuno&&t.au_nums<=t.total&&t.page>1,expression:"(!hasAuno&&total!=0)||(hasAuno&&au_nums<=total&&page>1)"}],staticClass:"bottom"},[i("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),i("el-pagination",{attrs:{background:"","current-page":t.page,layout:"prev, pager, next","page-count":t.pages},on:{"current-change":t.handleCurrentChange}})],1),t._v(" "),t.infoList.length>0&&!t.noneDone&&t.hasAuno&&!t.loading?i("list-permission",{attrs:{au_nums:t.au_nums}}):t._e(),t._v(" "),!t.hasAuno&&t.noneDone?i("nopermission"):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title",staticStyle:{float:"left"}},[e("span",[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"})])}]};var g={props:["brand"],data:function(){var t;return t={hasAuno:!1,loading:!1,brand_hasAuno:!1,brand_loading:!1},s()(t,"brand_loading",!1),s()(t,"pickerTimes",{disabledDate:function(t){return t>Date.now()}}),s()(t,"date",[this.getDay(-30,!1),this.getDay(0,!1)]),s()(t,"dataInfo",""),s()(t,"brandList",[]),t},created:function(){this.brandGMV(),this.associatedBrand()},methods:{toBrandDetail:function(t){var e=this.$router.resolve({path:"/brandDetail?brand="+t});window.open(e.href,"_blank")},associatedBrand:function(){var t=this;this.brand_loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.associatedBrand,{params:{keyword:this.brand,page:1,page_size:5}}).then(function(e){if(4003==(e=e.data).errno||4003==e.errno?t.brand_hasAuno=!0:t.brand_hasAuno=!1,t.brand_loading=!1,e&&0==e.errno){var a=e.rst.data;a.forEach(function(t){"http://img.alicdn.com/bao/uploaded/i3/"!=t.img&&(t.isImg=!0)}),t.brandList=a}else 4003!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.brand_loading=!1})},brandGMV:function(){var t=this;this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.brandGMV,{params:{brand:this.brand,start_time:this.date[0],end_time:this.date[1]}}).then(function(e){4003==(e=e.data).errno||4003==e.errno?t.hasAuno=!0:t.hasAuno=!1,t.loading=!1,e&&0==e.errno?(t.dataInfo=e.rst,t.$nextTick(function(){t.gmvEcharts()})):4003!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loading=!1})},gmvEcharts:function(){var t=[],e=[];this.dataInfo.channel_info.forEach(function(a){t.push(a.channel),e.push({value:a.rate,sell_money:a.sell_money})});var a=this,i={tooltip:{trigger:"axis",show:!0,formatter:function(t){return(t=t[0]).name+":"+(t.value?t.value+"%":"-")+"<br/>成交额:"+a.$NumberHandle(t.data.sell_money,1)}},grid:{left:"1%",right:"2%",bottom:"1%",containLabel:!0},xAxis:[{type:"category",data:t,axisLine:{lineStyle:{color:"#ECEDF2"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:"#999999",fontSize:12,rotate:30}}],yAxis:[{type:"value",name:"%",axisLine:{lineStyle:{color:"#ECEDF2"}},max:0==e.length?1e5:"dataMax",min:function(t){return t.min<=0?t.min:0},axisTick:{show:!1},splitLine:{lineStyle:{color:"#DADADA",type:"dashed"}},nameTextStyle:{color:"#999999",fontSize:14,padding:[0,35,0,0]},axisLabel:{color:"#999999",fontSize:13,formatter:function(t){var e=t;return a.$NumberHandle(e)}}}],series:[{type:"bar",barWidth:100/t.length>14?14:100/t.length,yAxisIndex:0,barGap:0,label:{show:!0,position:"top",fontSize:10,color:"#999999",formatter:function(t){return t.value?t.value+"%\nGMV:"+a.$NumberHandle(t.data.sell_money,1):""}},data:e,itemStyle:{color:"#4B76FB",barBorderRadius:[4,4,4,4],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("gmv_channel_echarts")).setOption(i)}}},f={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"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[i("div",{staticClass:"common_screen clear",staticStyle:{"margin-top":"0"}},[i("el-date-picker",{staticClass:"common_select_li",staticStyle:{width:"250px","margin-left":"8px"},attrs:{type:"daterange",align:"right","value-format":"yyyy-MM-dd","unlink-panels":"",size:"mini","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期",clearable:!1,"picker-options":t.pickerTimes},on:{change:function(e){return t.brandGMV()}},model:{value:t.date,callback:function(e){t.date=e},expression:"date"}})],1),t._v(" "),i("div",{staticClass:"sale_trend",staticStyle:{"margin-top":"20px"}},[i("div",{staticClass:"platform_common_title clear"},[i("span",[t._v("GMV渠道占比")]),t._v(" "),t.dataInfo&&t.dataInfo.gmv_total?i("p",{staticStyle:{float:"right"}},[t._v("渠道GMV汇总:¥"+t._s(t.$NumberHandle(t.dataInfo.gmv_total,1)))]):t._e()]),t._v(" "),t.hasAuno?t._e():i("div",{staticStyle:{height:"300px"},attrs:{id:"gmv_channel_echarts"}}),t._v(" "),t.dataInfo&&0!=t.dataInfo.channel_info.length||t.loading||t.hasAuno?t._e():i("div",{staticClass:"curve_no_data"},[i("img",{attrs:{src:a("vLvk"),alt:""}}),t._v(" "),i("span",[t._v("暂无数据")])]),t._v(" "),t.hasAuno?i("nopermission",{attrs:{noBack:!1}}):t._e()],1),t._v(" "),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.brand_loading,expression:"brand_loading"}],staticStyle:{position:"relative","min-height":"300px"}},[t._m(0),t._v(" "),i("ul",{staticClass:"brandUl clear"},t._l(t.brandList,function(e,s){return i("li",{key:s,staticClass:"brandLi",on:{click:function(a){return t.toBrandDetail(e.brand)}}},[i("div",{staticClass:"imgBox"},[e.isImg?i("img",{attrs:{src:e.img,alt:""}}):i("img",{staticStyle:{width:"74px"},attrs:{src:a("536/"),alt:""}})]),t._v(" "),i("p",{staticClass:"brandName"},[t._v(t._s(e.brand))])])}),0),t._v(" "),0!=t.brandList.length||t.brand_loading||t.brand_hasAuno?t._e():i("div",{staticClass:"curve_no_data"},[i("img",{attrs:{src:a("vLvk"),alt:""}}),t._v(" "),i("span",[t._v("暂无数据")])]),t._v(" "),t.brand_hasAuno?i("nopermission",{attrs:{noBack:!1}}):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title clear"},[e("span",[this._v("关联品牌")])])}]};var b={components:{exportData:a("C7Lr")(n,o,!1,function(t){a("kqGT")},"data-v-1b25922a",null).exports,drDistribution:a("C7Lr")(l,r,!1,function(t){a("KY9g")},"data-v-2c4a71ac",null).exports,trend:a("C7Lr")(c,d,!1,function(t){a("ctQV")},"data-v-58f4d2fc",null).exports,goodsRelation:a("C7Lr")(u,_,!1,function(t){a("Ai5f")},"data-v-3b819ec1",null).exports,liveRelation:a("C7Lr")(v,m,!1,function(t){a("9Ntv")},"data-v-548c57f7",null).exports,videoRelation:a("C7Lr")(h,p,!1,function(t){a("c0Mu")},"data-v-306d85d2",null).exports,BrandGmv:a("C7Lr")(g,f,!1,function(t){a("JlhJ")},"data-v-c8d670e8",null).exports},data:function(){return{tab:1,loading:!1,detailInfo:{},brand:"",exportFlag:!1}},created:function(){this.brand=this.$route.query.brand,this.appDetail()},methods:{checkLogin:function(){var t=this;this.$cookie.getCookie("isLogin")||this.$confirm("当前是游客状态,请登录查看更多","提示",{confirmButtonText:"登录",cancelButtonText:"取消",type:"warning"}).then(function(){t.$Login({visible:!0})}).catch(function(){t.$message({type:"info",message:"已取消登录"})})},checkTab:function(t){this.$cookie.getCookie("isLogin")&&(this.tab=t)},appDetail:function(){var t=this;this.loading=!0,this.$axios(this.URL.BASEURL+this.URL.kuai_goodsCondition,{params:{brand:this.brand}}).then(function(e){e=e.data;t.loading=!1,e&&0==e.errno?(t.detailInfo=e.rst,-1!=t.$route.path.indexOf("brandDetail")&&(document.title=t.detailInfo.brand+" - 品牌详情 - 问星数据 - 快手")):"4001"!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.$emit("loading",!1)})},followWhEvent:function(t){var e=this;this.$cookie.getCookie("isLogin")&&this.$exportNumber({type_id:9,cb:function(){e.$axios.post(e.URL.BASEURL+e.URL[t],{brand:e.brand,top_cid:e.detailInfo.top_cid?e.detailInfo.top_cid.toString():"null"}).then(function(a){(a=a.data)&&0==a.errno?e.detailInfo.has_follow="delUserBrandFollow"!=t:"4001"!=a.errno&&e.$message({message:a.err,type:"warning"})}).catch(function(t){})}})},allDataExprt:function(){var t=this;this.$cookie.getCookie("isLogin")&&this.$exportNumber({type_id:2,cb:function(){t.exportFlag=!0}})}}},y={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"box",on:{click:function(e){return t.checkLogin()}}},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"detail_info_box",attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[t._m(0),t._v(" "),i("div",{staticClass:"infoBox"},[i("div",{staticClass:"info1 clear"},[i("p",{staticClass:"nameBox"},[t._v(t._s(t.detailInfo.brand?t.detailInfo.brand:"-"))]),t._v(" "),i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"数据导出",placement:"top-start"}},[i("img",{staticClass:"followIcon",attrs:{src:a("j6dv"),alt:""},on:{click:function(e){return t.allDataExprt()}}})]),t._v(" "),i("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.detailInfo&&t.detailInfo.has_follow?"取消关注":"关注品牌",placement:"top-start"}},[t.detailInfo&&t.detailInfo.has_follow?i("img",{staticClass:"followIcon",attrs:{src:a("fXRA"),alt:""},on:{click:function(e){return t.followWhEvent(t.detailInfo.has_follow?"delUserBrandFollow":"createUserBrandFollow")}}}):i("img",{staticClass:"followIcon",attrs:{src:a("OSUF"),alt:""},on:{click:function(e){return t.followWhEvent(t.detailInfo.has_follow?"delUserBrandFollow":"createUserBrandFollow")}}})])],1),t._v(" "),i("div",{staticClass:"info2 clear"},[i("div",{staticClass:"left"},[i("span",[t._v("分类:"+t._s(t.detailInfo.category?t.detailInfo.category:"-"))])]),t._v(" "),i("div",{staticClass:"right"},[t._v("数据更新时间"+t._s(t.detailInfo.updated_at?t.detailInfo.updated_at:"-"))])]),t._v(" "),i("div",{staticClass:"info3"},[i("div",{staticClass:"data"},[i("span",[t._v(t._s(t.detailInfo.user_count||0==t.detailInfo.user_count?t.$NumberHandle(t.detailInfo.user_count):"-"))]),t._v(" "),i("p",[t._v("关联达人数")])]),t._v(" "),i("div",{staticClass:"data"},[i("span",[t._v(t._s(t.detailInfo.live_count||0==t.detailInfo.live_count?t.$NumberHandle(t.detailInfo.live_count):"-"))]),t._v(" "),i("p",[t._v("关联直播数")])]),t._v(" "),i("div",{staticClass:"data"},[i("span",[t._v(t._s(t.detailInfo.commodity_count||0==t.detailInfo.commodity_count?t.$NumberHandle(t.detailInfo.commodity_count):"-"))]),t._v(" "),i("p",[t._v("关联商品数")])]),t._v(" "),i("div",{staticClass:"data"},[i("span",[t._v(t._s(t.detailInfo.sale_count||0==t.detailInfo.sale_count?t.$NumberHandle(t.detailInfo.sale_count):"-"))]),t._v(" "),i("p",[t._v("商品销量")])]),t._v(" "),i("div",{staticClass:"data"},[i("span",[t._v(t._s(t.detailInfo.sale_money||0==t.detailInfo.sale_money?t.$NumberHandle(t.detailInfo.sale_money):"-"))]),t._v(" "),i("p",[t._v("商品销售额")])])])])]),t._v(" "),i("div",{staticClass:"container clear"},[i("ul",{staticClass:"common_detail_Tab clear"},[i("li",{class:1==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(1)}}},[1==t.tab?i("img",{staticClass:"icon",attrs:{src:a("kPfV"),alt:""}}):i("img",{staticClass:"icon",attrs:{src:a("kK7S"),alt:""}}),t._v(" "),i("span",[t._v("达人分布")])]),t._v(" "),i("li",{class:2==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(2)}}},[2==t.tab?i("img",{staticClass:"icon",attrs:{src:a("KFQl"),alt:""}}):i("img",{staticClass:"icon",attrs:{src:a("Sq8p"),alt:""}}),t._v(" "),i("span",[t._v("销量趋势")])]),t._v(" "),i("li",{class:3==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(3)}}},[3==t.tab?i("img",{staticClass:"icon",attrs:{src:a("GMMS"),alt:""}}):i("img",{staticClass:"icon",attrs:{src:a("kBwf"),alt:""}}),t._v(" "),i("span",[t._v("关联商品")])]),t._v(" "),i("li",{class:4==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(4)}}},[4==t.tab?i("img",{staticClass:"icon",attrs:{src:a("ZWMw"),alt:""}}):i("img",{staticClass:"icon",attrs:{src:a("59RJ"),alt:""}}),t._v(" "),i("span",[t._v("关联直播")])]),t._v(" "),i("li",{class:5==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(5)}}},[5==t.tab?i("img",{staticClass:"icon",attrs:{src:a("vf3d"),alt:""}}):i("img",{staticClass:"icon",attrs:{src:a("wUgb"),alt:""}}),t._v(" "),i("span",[t._v("关联视频")])]),t._v(" "),i("li",{class:6==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(6)}}},[6==t.tab?i("img",{staticClass:"icon",attrs:{src:a("FUVH"),alt:""}}):i("img",{staticClass:"icon",attrs:{src:a("VRkv"),alt:""}}),t._v(" "),i("span",[t._v("品牌GMV")])])]),t._v(" "),i("div",{staticClass:"content",on:{click:function(t){t.stopPropagation()}}},[1==t.tab?i("dr-distribution",{attrs:{brand:t.brand}}):t._e(),t._v(" "),2==t.tab?i("trend",{attrs:{brand:t.brand}}):t._e(),t._v(" "),3==t.tab?i("goods-relation",{attrs:{brand:t.brand}}):t._e(),t._v(" "),4==t.tab?i("live-relation",{attrs:{brand:t.brand}}):t._e(),t._v(" "),5==t.tab?i("video-relation",{attrs:{brand:t.brand}}):t._e(),t._v(" "),6==t.tab?i("brand-gmv",{attrs:{brand:t.brand}}):t._e()],1)]),t._v(" "),i("my-dialog",{attrs:{visible:t.exportFlag,width:"80%",minWidth:"1100px"},on:{"update:visible":function(e){t.exportFlag=e}}},[i("export-data",{attrs:{detailInfo:t.detailInfo},on:{clearExport:function(){t.exportFlag=!1}}})],1)],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"imgBox"},[e("img",{attrs:{src:a("szC4"),alt:""}})])}]};var C=a("C7Lr")(b,y,!1,function(t){a("5vo6")},"data-v-42f44afa",null);e.default=C.exports},c0Mu:function(t,e){},ctQV:function(t,e){},j6dv:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAAAXNSR0IArs4c6QAAA5lJREFUaAXtWV1IFFEUPndX28LMUoiKUCp119YsyIckiIgIggRfKoIiVjct7aFejILEh94KonpISgsiCBQiX+whCTMwqHxRBDdCyh76szKs1N12Tt9dd2RxZmdndrclYgZm7r3nfPee735z7t3xSmRftgKmFBCmUBZBnnrexGFqZkHjm/dQS9cBEbY4REJ42om7a9nNRAPElI/oTIK6swvp4EirCCZkYwHgsIBNCPUe4y3M1B8lLf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