webpackJsonp([1],{"4+0H":function(t,e){},"4Rnu":function(t,e){},"5e6U":function(t,e){},IlvY:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAAAXNSR0IArs4c6QAABSNJREFUaAXtmQuIVVUUhr2aWfka388Uy9KwiIroTRNElFn0QBOGTBAGRDEEs8hKBEmMKAiEiCYiSitJoaKoKEFCwsLsXZgSlYlm9vbRVNP32/kvy919eo+jxCz4+9fZ/9prrc7su88+x27duqzrDvy/70Chs/73Ojo6elOrBUwGE0A/sBtsAmvBS4VCoQM+doymp4KdoJJtRjzzmOmaZhaX6HYHYxvBL4n2K9fNR715mrg/aWw112PdGH4BXAh0t20/4BRjHNtpTPHl7gRuBzPKFUfrCZ4DtlXlYo/oONUfdAewmp5arSAxA8B2IPsbDK82J1edgg+rcmZ/wDfVWoDYezwRvq3WeQ3HUeyRUFhN31BPUuKvCfOX1DP3sGIpph/ZilD0AP51TobfBJ4AAz1WitEvBbZlpWJyG6OKmn7U1eD94FoXwB8I3gMy7R6DraWMNk9Bmc1N9dyuKaCmH3MleB+42gXwB4H3gW0rzsnWIzPeHbzjQHhS1HPzs0JtoZCavsoF8AeDD4K+BX+09ZTR7gixG1M9l2sK6O48GQrtxb/SyfGHgI+C/gX+KOspo00D2jZlf4HL05iGr0naAzwFbL/jXOHE+MPAxxbhz8EI6ymjTQd/AttCxzCgpdjD14fNSgKeAbbfcIp3B384+NRi5pd9kKC3gNj0UjfHuJp+HOiJepzH62ZNBs8Cmw5ElzkR/gigu2vTXR9qPWW0GUDLwlbctxlIl2JbOr+maxKp6eddAdap7hJPxh8FtI5tH+IMsZ4y2kwQm77PMYyr6XQpNluvmUmiA9ALwPYzzkVOgD8aaMewVdurZxGos4htUcilpfi0BVhLsdl6zcwkNb0W2H7CucAJ8MeArRbhTWCQ9ZTRWkFs+i7HMK6mVwHbIUvRcVWZ2ceDF50F/hGc74n4Y8E2YNPTcYD1lNFmg9j0AscwXnEpOq4mJtlKYNuDc54n4o8DX1mE9TbTZD1ltLkhVu58x+BXXIqOq4lJFk9p+iGe44n4p4KvgU2P6f7WU0aL5w/NmecY/IpL0XE1Mcn0q/4S2OIpbzyD31iANwC9rZc0tPkhVu4cB+JXXIqOq5lJOFkVMlvjiVwPBd9agN8Gfa2njLYgxGptz3YMfi/wctAPWYqOq4tJ1hYSXuzJjK0J4+vx+1hLGe3OEKumWx2Dr6ZfCbpejotL0XF1M0n0xJMpYXclgM/VQGafwPq4U9LQFjkQVtOzHIh/AngN2L7HOdt6Q0wi7dWyd50Iv/XgyL//ucXjKSPfG+L0ZJzpGPwTwRtB34V/lvWGmWT7s+TrnYzru7MxUfEkaF3M+JIQo6ZvtY5/Engz6Dvx831RIKG3ui2hcNweV3jczJyloSmd9lqC1pvrdUHXV6wzrOfGJH09K6L1OVKJ4X7guzCu7yaTgNb+ymxcpKanuxn8PkA/ZJtyTLSeK5M47r3xUD/F1ctwO+PT3Ax+X6At07Yd53TruTPJR4IDWTXtLMVDE/6NQH/q1D5jIJ4Y9RfaEIL00Bqfe7NpQoo8FIq+hd/TMfhNQO+Iy8BicD3oFfT+XMe3df1mTrF+RJlCai4+9tV82e8hboaY00B8ddNBbJz1TmEKTgR7gG03zkLwn3dIxnTwegDsBbZtOEfnczGFJ4D4SqamtNvoruphsg6owdQ2MzCmU+5wuSI0oB/acqAPPtVMf6HbwcGjQrmceYwXak1CM8OIvRlMAdqL9a2kHewCOh68ClbzD1D74C7rugNdd6DBO/APbQj+HlJoTq8AAAAASUVORK5CYII="},UWQm:function(t,e){},YSRP:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={props:["app_id"],data:function(){return{hasAuno:!1,noneDone:!1,loadCanvas:!1,day:7,stime:this.getDay(-7,!1),etime:this.getDay(0,!1),isIncr:!0,dataInfo:""}},mounted:function(){this.admonitor()},methods:{admonitor:function(){var t=this;this.loadCanvas=!0,this.$axios.get(this.URL.BASEURL+this.URL.dou_videoMicroLine,{params:{app_id:this.app_id,start_time:this.stime,end_time:this.etime}}).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&&4001!=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:[],user_count:[],video_count:[]};(this.isIncr?this.dataInfo.list:this.dataInfo.total).forEach(function(e){t.keyes.push(e.date),t.user_count.push(e.user_count),t.video_count.push(e.video_count)});var e=this,i={tooltip:{trigger:"axis",formatter:function(t){var i=t[0].name+"
";return t.forEach(function(t,a){i+=t.marker+t.seriesName+":"+e.$NumberHandle(t.value)+"
"}),i}},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 i=t;return e.$NumberHandle(i)}}},{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 i=t;return e.$NumberHandle(i)}}}],series:[{smooth:!0,name:"达人数",yAxisIndex:0,type:"line",data:t.user_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.video_count,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(i,!0)},interactionEcharts:function(){var t={keyes:[],share_count:[],digg_count:[],comment_count:[]};(this.isIncr?this.dataInfo.list:this.dataInfo.total).forEach(function(e){t.keyes.push(e.date),t.share_count.push(e.share_count),t.digg_count.push(e.digg_count),t.comment_count.push(e.comment_count)});var e=this,i={tooltip:{trigger:"axis",formatter:function(t){var i=t[0].name+"
";return t.forEach(function(t,a){i+=t.marker+t.seriesName+":"+e.$NumberHandle(t.value)+"
"}),i}},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 i=t;return e.$NumberHandle(i)}}}],series:[{smooth:!0,name:"分享量",yAxisIndex:0,type:"line",data:t.share_count,lineStyle:{color:"#C2C213",width:2},itemStyle:{opacity:0,color:"#C2C213",barBorderRadius:[4,4,4,4],borderType:"dotted"}},{smooth:!0,name:"点赞量",type:"line",data:t.digg_count,lineStyle:{color:"#D80619",width:2},itemStyle:{opacity:0,color:"#D80619",barBorderRadius:[4,4,4,4],borderType:"dotted"}},{smooth:!0,name:"评论量",type:"line",data:t.comment_count,lineStyle:{color:"#45C2C2",width:2},itemStyle:{opacity:0,color:"#45C2C2",barBorderRadius:[4,4,4,4],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("interaction_echarts")).setOption(i,!0)}},watch:{day:function(){this.stime=this.getDay(-this.day,!1),this.admonitor()}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.hasAuno||t.noneDone?a("nopermission"):a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadCanvas,expression:"loadCanvas"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[a("ul",{staticClass:"select_time clear"},[a("li",{class:["select_time_item",7==t.day?"select_time_item_active":""],on:{click:function(e){t.day=7}}},[t._v("近7天")]),t._v(" "),a("li",{class:["select_time_item",30==t.day?"select_time_item_active":""],on:{click:function(e){t.day=30}}},[t._v("近30天")]),t._v(" "),a("li",{class:["select_time_item",90==t.day?"select_time_item_active":""],on:{click:function(e){t.day=90}}},[t._v("近90天")]),t._v(" "),a("li",{class:["select_time_item",t.isIncr?"":"select_time_item_active"],staticStyle:{float:"right",padding:"0 10px"},on:{click:function(e){t.isIncr=!1,t.echarts()}}},[t._v("总量")]),t._v(" "),a("li",{class:["select_time_item",t.isIncr?"select_time_item_active":""],staticStyle:{float:"right",padding:"0 10px"},on:{click:function(e){t.isIncr=!0,t.echarts()}}},[t._v("增量")])]),t._v(" "),a("div",{staticClass:"sale_trend"},[a("div",{staticClass:"platform_common_title clear"},[a("span",[t._v("热推达人/视频")]),t._v(" "),a("div",{staticClass:"legend"},[a("div",{staticClass:"sale"},[a("span",{staticStyle:{background:"#FF835E"}}),t._v(" 视频数")])]),t._v(" "),a("div",{staticClass:"legend"},[a("div",{staticClass:"views"},[a("span",{staticStyle:{background:"#4B76FB"}}),t._v(" 达人数")])])]),t._v(" "),a("div",{staticStyle:{height:"300px"},attrs:{id:"sale_echarts"}}),t._v(" "),t.dataInfo||t.loadCanvas?t._e():a("div",{staticClass:"curve_no_data"},[a("img",{attrs:{src:i("vLvk"),alt:""}}),t._v(" "),a("span",[t._v("暂无数据")])])]),t._v(" "),a("div",{staticClass:"sale_trend",staticStyle:{"margin-top":"60px"}},[a("div",{staticClass:"platform_common_title clear"},[a("span",[t._v("互动趋势")]),t._v(" "),a("div",{staticClass:"legend"},[a("div",{staticClass:"sale"},[a("span",{staticStyle:{background:"#45C2C2"}}),t._v(" 评论量")])]),t._v(" "),a("div",{staticClass:"legend"},[a("div",{staticClass:"sale"},[a("span",{staticStyle:{background:"#D80619"}}),t._v(" 点赞量")])]),t._v(" "),a("div",{staticClass:"legend"},[a("div",{staticClass:"sale"},[a("span",{staticStyle:{background:"#C2C213"}}),t._v(" 分享量")])])]),t._v(" "),a("div",{staticStyle:{height:"300px"},attrs:{id:"interaction_echarts"}}),t._v(" "),t.dataInfo||t.loadCanvas?t._e():a("div",{staticClass:"curve_no_data"},[a("img",{attrs:{src:i("vLvk"),alt:""}}),t._v(" "),a("span",[t._v("暂无数据")])])])])},staticRenderFns:[]};var n=i("C7Lr")(a,s,!1,function(t){i("UWQm")},"data-v-08d5e9ec",null).exports,o={props:["app_id"],data:function(){return{loading:!1,hasAuno:!1,noneDone:!1,total:0,infoList:[],sort_type:"count",pagesize:10,page:1,video_loading:!1,video_hasAuno:!1,video_noneDone:!1,video_total:0,video_pages:0,video_infoList:[],video_sort_type:"created_time",video_pagesize:10,video_page:1,userNameSearch:""}},created:function(){this.init(1),this.videoInit(1)},methods:{sortEvent:function(t){this.sort_type==t||(this.sort_type=t,this.init(1))},video_sortEvent:function(t){this.video_sort_type==t||(this.video_sort_type=t,this.videoInit(1))},handleCurrentChange:function(t){this.init(t)},init:function(t){var e=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.loading=!0,this.page=t,this.$axios.get(this.URL.BASEURL+this.URL.dou_microAdUserList,{params:{app_id:this.app_id,sort_field:this.sort_type,page:this.page,pagesize:this.pagesize}}).then(function(t){t=t.data;if(e.loading=!1,4403==t.auno?e.hasAuno=!0:e.hasAuno=!1,e.noneDone=4003==t.errno,t&&0==t.errno){var i=t.rst.data;e.total=t.rst.pageInfo.total,e.infoList=i}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loading=!1})},toDetail:function(t){var e=this.$router.resolve({path:"/userDetailD/"+t.user_id});window.open(e.href,"_blank")},relationVideo:function(t){this.userNameSearch=t,this.videoInit(1,"",t)},toDetailVideo:function(t){var e=this.$router.resolve({path:"/videoDetail/"+t.photo_id+"/"+t.user_id});window.open(e.href,"_blank")},videoInit:function(t,e,i){var a=this;if(this.$message.closeAll(),this.video_hasAuno||this.video_noneDone)return this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});"all"==e&&(this.userNameSearch=""),this.video_loading=!0,this.video_page=t,this.$axios.get(this.URL.BASEURL+this.URL.dou_microAdVideoList,{params:{app_id:this.app_id,sort_field:this.video_sort_type,page:this.video_page,pagesize:this.video_pagesize,username:this.userNameSearch,user_id:i||""}}).then(function(t){t=t.data;if(a.video_loading=!1,4403==t.auno?a.video_hasAuno=!0:a.video_hasAuno=!1,a.video_noneDone=4003==t.errno,t&&0==t.errno){var e=t.rst.data;a.video_total=t.rst.pageInfo.total,a.video_pages=t.rst.pageInfo.pages,a.video_infoList=e}else 4003!=t.errno&&a.$message({message:t.err,type:"warning"})}).catch(function(t){a.video_loading=!1})},video_handleCurrentChange:function(t){this.videoInit(t)}}},c={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"relationAnalysis"},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[t._m(0),t._v(" "),t.noneDone?t._e():a("div",[a("div",{staticClass:"table_div"},[a("table",[a("tr",[a("td",{staticStyle:{"text-align":"left","padding-left":"100px"}},[a("div",{staticClass:"th_title",class:["common_select_td","fan"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("fan")}}},[t._v("\n 达人\n "),t._m(1)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("count")}}},[t._v("\n 关联视频\n "),t._m(2)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","share_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("share_count")}}},[t._v("\n 分享量\n "),t._m(3)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","digg_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("digg_count")}}},[t._v("\n 点赞量\n "),t._m(4)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","comment_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("comment_count")}}},[t._v("\n 评论量\n "),t._m(5)])]),t._v(" "),a("td",[t._v("操作")])]),t._v(" "),t._l(t.infoList,function(e,s){return a("tr",{key:s,staticStyle:{cursor:"pointer"},on:{click:function(i){return t.toDetail(e)}}},[a("td",{staticStyle:{width:"340px"}},[a("div",{staticClass:"drBox"},[a("div",{staticClass:"drInfoBox"},[a("img",{staticClass:"drImg",attrs:{src:e.headurl,alt:""}}),t._v(" "),a("div",{staticClass:"drInfo"},[a("div",{staticClass:"drName"},[a("el-tooltip",{attrs:{effect:"dark",content:e.user_name,placement:"top"}},[a("p",[t._v(t._s(e.user_name))])]),t._v(" "),a("img",{attrs:{src:i("AJUD"),alt:""}})],1),t._v(" "),a("div",{staticClass:"drId",class:"fan"==t.sort_type?"common_selected":""},[t._v("粉丝:"+t._s(e.fan||0==e.fan?t.$NumberHandle(e.fan):"-"))])])]),t._v(" "),a("div",{staticClass:"drTagBox"},[e.sign?a("div",{staticClass:"drTag"},[t._v("\n "+t._s(e.sign)+"\n ")]):t._e()])])]),t._v(" "),a("td",{class:"count"==t.sort_type?"common_selected":""},[t._v(t._s(e.count||0==e.count?t.$NumberHandle(e.count):"-"))]),t._v(" "),a("td",{class:"share_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.share_count||0==e.share_count?t.$NumberHandle(e.share_count):"-"))]),t._v(" "),a("td",{class:"digg_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.digg_count||0==e.digg_count?t.$NumberHandle(e.digg_count):"-"))]),t._v(" "),a("td",{class:"comment_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.comment_count||0==e.comment_count?t.$NumberHandle(e.comment_count):"-"))]),t._v(" "),a("td",[a("a",{staticClass:"relationButton",attrs:{href:"#anchorPoint"},on:{click:function(i){return i.stopPropagation(),t.relationVideo(e.user_id)}}},[t._v("关联视频")])])])})],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.hasAuno&&0!=t.total,expression:"!hasAuno&&total!=0"}],staticClass:"bottom"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),a("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?a("list-permission"):t._e(),t._v(" "),!t.hasAuno&&t.noneDone?a("nopermission"):t._e()],1),t._v(" "),a("div",{staticClass:"line"}),t._v(" "),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.video_loading,expression:"video_loading"}],staticStyle:{"margin-top":"30px"},attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading",id:"anchorPoint"}},[a("div",{staticClass:"platform_common_title clear"},[a("span",[t._v("关联视频")]),t._v(" "),a("div",{staticClass:"videoSearchBox"},[a("button",{staticClass:"allButton",style:t.userNameSearch?"":"border-color:#dcdfe5;color:#ccc;cursor: not-allowed",on:{click:function(e){t.userNameSearch&&t.videoInit(1,"all")}}},[t._v("全部")]),t._v(" "),a("el-input",{staticClass:"searchInput",attrs:{placeholder:"达人名称查询",size:"mini",clearable:""},on:{clear:function(e){return t.videoInit(1)}},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.userNameSearch&&t.videoInit(1)}},model:{value:t.userNameSearch,callback:function(e){t.userNameSearch=e},expression:"userNameSearch"}}),t._v(" "),a("button",{staticClass:"searchButton",on:{click:function(e){t.userNameSearch&&t.videoInit(1)}}},[t._v("查询")])],1)]),t._v(" "),t.video_noneDone?t._e():a("div",[a("div",{staticClass:"table_div"},[a("table",[a("tr",[a("td",[t._v("视频")]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","fan"==t.video_sort_type?"common_selected_down":""],on:{click:function(e){return t.video_sortEvent("fan")}}},[t._v("\n 达人\n "),t._m(6)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","created_time"==t.video_sort_type?"common_selected_down":""],on:{click:function(e){return t.video_sortEvent("created_time")}}},[t._v("\n 发布时间\n "),t._m(7)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","share_count"==t.video_sort_type?"common_selected_down":""],on:{click:function(e){return t.video_sortEvent("share_count")}}},[t._v("\n 分享量\n "),t._m(8)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","digg_count"==t.video_sort_type?"common_selected_down":""],on:{click:function(e){return t.video_sortEvent("digg_count")}}},[t._v("\n 点赞量\n "),t._m(9)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","comment_count"==t.video_sort_type?"common_selected_down":""],on:{click:function(e){return t.video_sortEvent("comment_count")}}},[t._v("\n 评论量\n "),t._m(10)])])]),t._v(" "),t._l(t.video_infoList,function(e,i){return a("tr",{key:i,staticStyle:{cursor:"pointer"},on:{click:function(i){return t.toDetailVideo(e)}}},[a("td",{staticStyle:{width:"260px"}},[a("div",{staticClass:"videoBox"},[a("div",{staticClass:"videoImg"},[a("img",{attrs:{src:e.cover_url,alt:""}})]),t._v(" "),a("div",{staticClass:"videoInfo"},[a("p",{staticClass:"videoTitle"},[t._v(t._s(e.desc?e.desc:"-"))])])])]),t._v(" "),a("td",{staticStyle:{width:"200px"}},[a("div",{staticClass:"hrBox"},[a("img",{staticClass:"hrImg",attrs:{src:e.headurl,alt:""}}),t._v(" "),a("div",{staticClass:"hrInfo"},[a("p",{staticClass:"hrTitle"},[t._v(t._s(e.user_name))]),t._v(" "),a("p",{staticClass:"hrFan",class:"fan"==t.video_sort_type?"common_selected":""},[t._v("粉丝数:"+t._s(e.fan||0==e.fan?t.$NumberHandle(e.fan):"-"))])])])]),t._v(" "),a("td",{class:"created_time"==t.video_sort_type?"common_selected":"",staticStyle:{width:"130px"}},[a("p",{staticClass:"videoTime"},[t._v(t._s(e.created_time?e.created_time.split(" ")[0]:"-"))])]),t._v(" "),a("td",{class:"share_count"==t.video_sort_type?"common_selected":""},[t._v(t._s(e.share_count||0==e.share_count?t.$NumberHandle(e.share_count):"-"))]),t._v(" "),a("td",{class:"digg_count"==t.video_sort_type?"common_selected":""},[t._v(t._s(e.digg_count||0==e.digg_count?t.$NumberHandle(e.digg_count):"-"))]),t._v(" "),a("td",{class:"comment_count"==t.video_sort_type?"common_selected":""},[t._v(t._s(e.comment_count||0==e.comment_count?t.$NumberHandle(e.comment_count):"-"))])])})],2)]),t._v(" "),t.video_loading||0!=t.video_infoList.length?t._e():a("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])]),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.video_hasAuno&&0!=t.video_total,expression:"!video_hasAuno&&video_total!=0"}],staticClass:"bottom"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.video_total)+"条结果")]),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.video_page,layout:"prev, pager, next","page-count":t.video_pages},on:{"current-change":t.video_handleCurrentChange}})],1),t._v(" "),t.video_infoList.length>0&&!t.video_noneDone&&t.video_hasAuno&&!t.video_loading?a("list-permission"):t._e(),t._v(" "),!t.video_hasAuno&&t.video_noneDone?a("nopermission"):t._e()],1)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"platform_common_title"},[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"})])},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 r=i("C7Lr")(o,c,!1,function(t){i("4Rnu")},"data-v-a2410916",null).exports,l=i("a3Yh"),d=i.n(l),_={props:["app_id"],data:function(){return{hasAuno:!1,noneDone:!1,loading:!1,region:1,time:1,dataInfo:{}}},mounted:function(){this.kwaiMagicFaceUserChart()},methods:{kwaiMagicFaceUserChart:function(){var t=this;this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.dou_microFansView,{params:{app_id:this.app_id}}).then(function(e){e=e.data;if(t.loading=!1,4403==e.auno?t.hasAuno=!0:t.hasAuno=!1,t.noneDone=4003==e.errno,e&&0==e.errno){var i=e.rst;if(0==i.length)return!1;t.dataInfo=i,t.$nextTick(function(){t.sexEcharts(),t.ageEcharts(),t.regionEcharts(),t.timeEcharts()})}else"4003"!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loading=!1})},sexEcharts:function(){var t=(Math.floor(this.dataInfo.sex_view.data.M/this.dataInfo.sex_view.count*1e4)/100).toFixed(2),e={color:["#FF835E","#4B76FB"],tooltip:{trigger:"item",formatter:function(e){return-1==t?"暂无数据":e.seriesName+": "+e.value+"%"}},grid:{left:"0%",right:"0%",top:"0%",bottom:"0%",width:"98%"},xAxis:{type:"value",max:100,show:!1},yAxis:{type:"category",data:[" "],show:!1},series:[{name:"女",type:"bar",barWidth:10,label:{show:!0,position:"top",color:"#999999",formatter:function(t){return t.value<=0?"":"女性"+t.value+"%"}},itemStyle:{color:-1==t?"#dddddd":"#FF835E",barBorderRadius:t<=0?[16,16,16,16]:[16,0,0,16],borderType:"dotted"},stack:"总量",data:[-1==t?100:100-t]},{name:"男",type:"bar",stack:"总量",label:{show:!0,position:"top",color:"#999999",formatter:function(t){return t.value<=0?"":"男性"+t.value+"%"}},data:[-1==t?0:t],itemStyle:{color:"#4B76FB",barBorderRadius:100==t?[16,16,16,16]:[0,16,16,0],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("sex_echarts")).setOption(e)},ageEcharts:function(){var t,e=[];for(var i in this.dataInfo.age_view.data)e.push({name:i,value:this.dataInfo.age_view.data[i]});var a=this.$echarts.init(document.getElementById("age_echarts")),s={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+"
"+t.percent+"%"}},series:[(t={type:"pie",radius:["40%","60%"],avoidLabelOverlap:!1},d()(t,"avoidLabelOverlap",!0),d()(t,"minShowLabelAngle",2),d()(t,"minAngle",22),d()(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}}}}),d()(t,"labelLine",{normal:{show:!0}}),d()(t,"data",e),t)]};a.setOption(s)},regionEcharts:function(){var t=[],e=[],i={};for(var a in(i=1==this.region?this.dataInfo.province_view:this.dataInfo.city_view).data)t.push(a),e.push(Math.ceil(i.data[a]/i.count*100));var s=this,n={tooltip:{trigger:"axis",show:!0,formatter:function(t){return(t=t[0]).name+":"+(t.value?t.value+"%":"-")+"
"}},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:13}}],yAxis:[{type:"value",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 s.$NumberHandle(e)}}}],series:[{type:"bar",barWidth:100/t.length>14?14:100/t.length,yAxisIndex:0,barGap:0,data:e,label:{show:!0,position:"top",color:"#999999",formatter:function(t){return t.value?t.value:""}},itemStyle:{color:"#4B76FB",barBorderRadius:[4,4,4,4],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("region_echarts")).setOption(n)},timeEcharts:function(){var t=[],e=[],i={};for(var a in(i=1==this.time?this.dataInfo.hour_view:this.dataInfo.week_view).data)t.push(a),e.push(Math.round(i.data[a]/i.count*100));var s=this,n={tooltip:{trigger:"axis",show:!0,formatter:function(t){return(t=t[0]).name+":"+(t.value?t.value+"%":"-")+"
"}},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:13}}],yAxis:[{type:"value",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 s.$NumberHandle(e)}}}],series:[{type:"bar",barWidth:100/t.length>14?14:100/t.length,yAxisIndex:0,barGap:0,data:e,label:{show:!0,position:"top",color:"#999999",formatter:function(t){return t.value?t.value:""}},itemStyle:{color:"#4B76FB",barBorderRadius:[4,4,4,4],borderType:"dotted"}}]};this.$echarts.init(document.getElementById("time_echarts")).setOption(n)}}},v={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.hasAuno||t.noneDone?a("nopermission"):a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"curve_box clear"},[a("div",{staticClass:"curve",staticStyle:{width:"45%",float:"left"}},[a("div",{staticClass:"platform_common_title"},[a("span",[t._v("性别分布")])]),t._v(" "),t.loading?t._e():a("div",{attrs:{id:"sex_echarts"}}),t._v(" "),a("div",{staticClass:"platform_common_title",staticStyle:{"margin-top":"10px"}},[a("span",[t._v("年龄分布")])]),t._v(" "),a("div",{staticStyle:{height:"240px"},attrs:{id:"age_echarts"}}),t._v(" "),t.dataInfo.age_view&&t.dataInfo.age_view.data&&0!=t.dataInfo.age_view.data.length||t.loading?t._e():a("div",{staticClass:"curve_no_data",staticStyle:{top:"240px"}},[a("img",{attrs:{src:i("vLvk"),alt:""}}),t._v(" "),a("span",[t._v("暂无数据")])])]),t._v(" "),a("div",{staticClass:"curve",staticStyle:{width:"50%",float:"right"}},[a("div",{staticClass:"platform_common_title clear"},[a("span",[t._v("地域分布")]),t._v(" "),a("ul",{staticClass:"select_time clear",staticStyle:{float:"right"}},[a("li",{class:["select_time_item",1==t.region?"select_time_item_active":""],on:{click:function(e){t.region=1,t.regionEcharts()}}},[t._v("地域")]),t._v(" "),a("li",{class:["select_time_item",2==t.region?"select_time_item_active":""],on:{click:function(e){t.region=2,t.regionEcharts()}}},[t._v("城市")])])]),t._v(" "),a("div",{staticStyle:{height:"350px"},attrs:{id:"region_echarts"}}),t._v(" "),t.dataInfo||t.loading?t._e():a("div",{staticClass:"curve_no_data"},[a("img",{attrs:{src:i("vLvk"),alt:""}}),t._v(" "),a("span",[t._v("暂无数据")])])])]),t._v(" "),a("div",{staticClass:"curve",staticStyle:{"margin-top":"40px"}},[a("div",{staticClass:"platform_common_title clear"},[a("span",[t._v("粉丝活跃时间分布")]),t._v(" "),a("ul",{staticClass:"select_time clear",staticStyle:{float:"right"}},[a("li",{class:["select_time_item",1==t.time?"select_time_item_active":""],on:{click:function(e){t.time=1,t.timeEcharts()}}},[t._v("小时")]),t._v(" "),a("li",{class:["select_time_item",2==t.time?"select_time_item_active":""],staticStyle:{padding:"0 7px"},on:{click:function(e){t.time=2,t.timeEcharts()}}},[t._v("周")])])]),t._v(" "),a("div",{staticStyle:{height:"350px"},attrs:{id:"time_echarts"}}),t._v(" "),t.dataInfo||t.loading?t._e():a("div",{staticClass:"curve_no_data"},[a("img",{attrs:{src:i("vLvk"),alt:""}}),t._v(" "),a("span",[t._v("暂无数据")])])])])},staticRenderFns:[]};var u={components:{trend:n,relationAnalysis:r,audience:i("C7Lr")(_,v,!1,function(t){i("4+0H")},"data-v-4a2f74f7",null).exports},data:function(){return{hasAuno:!1,noneDone:!1,tab:1,loading:!1,detailInfo:{},app_id:""}},created:function(){this.app_id=this.$route.params.app_id,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:this.$Login({visible:!0})},appDetail:function(){var t=this;this.$cookie.getCookie("isLogin")?(this.loading=!0,this.$axios(this.URL.BASEURL+this.URL.dou_videoMicroTotal,{params:{app_id:this.app_id}}).then(function(e){e=e.data;t.loading=!1,4403==e.auno?t.hasAuno=!0:t.hasAuno=!1,t.noneDone=4003==e.errno,e&&0==e.errno?(t.detailInfo=e.rst,-1!=t.$route.path.indexOf("appletDetail")&&(document.title=t.detailInfo.app_name+" - 广告详情 - 问星数据 - 抖音")):4001!=e.errno&&4003!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.$emit("loading",!1)})):this.$Login({visible:!0})},followWhEvent:function(t){var e=this;this.$cookie.getCookie("isLogin")&&this.$exportNumber({type_id:11,cb:function(){e.$axios.post(e.URL.BASEURL+e.URL[t],{app_id:e.app_id}).then(function(i){(i=i.data)&&0==i.errno?e.detailInfo.is_follow="delAdMicroFocus"!=t:4001!=i.errno&&e.$message({message:i.err,type:"warning"})}).catch(function(t){})}})}}},m={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"box",on:{click:function(e){return t.checkLogin()}}},[t.hasAuno||t.noneDone?a("nopermission"):a("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"}},[a("div",{staticClass:"imgBox"},[a("img",{attrs:{src:t.detailInfo.icon,alt:""}})]),t._v(" "),a("div",{staticClass:"infoBox"},[a("div",{staticClass:"info1 clear"},[a("p",{staticClass:"nameBox"},[t._v(t._s(t.detailInfo.app_name?t.detailInfo.app_name:"-"))]),t._v(" "),a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.detailInfo&&t.detailInfo.is_follow?"取消关注":"关注广告",placement:"top-start"}},[t.detailInfo&&t.detailInfo.is_follow?a("img",{staticClass:"followIcon",attrs:{src:i("fXRA"),alt:""},on:{click:function(e){return t.followWhEvent(t.detailInfo.is_follow?"delAdMicroFocus":"addAdMicroFocus")}}}):a("img",{staticClass:"followIcon",attrs:{src:i("OSUF"),alt:""},on:{click:function(e){return t.followWhEvent(t.detailInfo.is_follow?"delAdMicroFocus":"addAdMicroFocus")}}})])],1),t._v(" "),a("div",{staticClass:"info2 clear"},[a("div",{staticClass:"left"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.detailInfo.description,disabled:!!(t.detailInfo.description&&t.detailInfo.description.length<18),placement:"top-start"}},[a("span",{staticClass:"desc"},[t._v("描述:"+t._s(t.detailInfo.description?t.detailInfo.description:"-"))])]),t._v(" "),a("span",[t._v("分类:"+t._s(t.detailInfo.cate_name?t.detailInfo.cate_name:"-"))])],1),t._v(" "),a("div",{staticClass:"right"},[t._v("数据更新时间"+t._s(t.detailInfo.updated_at?t.detailInfo.updated_at:"-"))])]),t._v(" "),a("div",{staticClass:"info3"},[a("div",{staticClass:"data"},[a("span",[t._v(t._s(t.detailInfo.user_count||0==t.detailInfo.user_count?t.$NumberHandle(t.detailInfo.user_count):"-"))]),t._v(" "),a("p",[t._v("推广达人数")])]),t._v(" "),a("div",{staticClass:"data"},[a("span",[t._v(t._s(t.detailInfo.video_count||0==t.detailInfo.video_count?t.$NumberHandle(t.detailInfo.video_count):"-"))]),t._v(" "),a("p",[t._v("关联视频数")])]),t._v(" "),a("div",{staticClass:"data"},[a("span",[t._v(t._s(t.detailInfo.share_count||0==t.detailInfo.share_count?t.$NumberHandle(t.detailInfo.share_count):"-"))]),t._v(" "),a("p",[t._v("总分享数")])]),t._v(" "),a("div",{staticClass:"data"},[a("span",[t._v(t._s(t.detailInfo.digg_count||0==t.detailInfo.digg_count?t.$NumberHandle(t.detailInfo.digg_count):"-"))]),t._v(" "),a("p",[t._v("总点赞数")])]),t._v(" "),a("div",{staticClass:"data"},[a("span",[t._v(t._s(t.detailInfo.comment_count||0==t.detailInfo.comment_count?t.$NumberHandle(t.detailInfo.comment_count):"-"))]),t._v(" "),a("p",[t._v("总评论数")])])])])]),t._v(" "),a("div",{staticClass:"container clear"},[a("ul",{staticClass:"common_detail_Tab clear"},[a("li",{class:1==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(1)}}},[1==t.tab?a("img",{staticClass:"icon",attrs:{src:i("KFQl"),alt:""}}):a("img",{staticClass:"icon",attrs:{src:i("Sq8p"),alt:""}}),t._v(" "),a("span",[t._v("基础趋势")])]),t._v(" "),a("li",{class:2==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(2)}}},[2==t.tab?a("img",{staticClass:"icon",attrs:{src:i("IlvY"),alt:""}}):a("img",{staticClass:"icon",attrs:{src:i("hWsA"),alt:""}}),t._v(" "),a("span",[t._v("关联分析")])]),t._v(" "),a("li",{class:3==t.tab?"active":"",on:{click:function(e){return e.stopPropagation(),t.checkTab(3)}}},[3==t.tab?a("img",{staticClass:"icon",attrs:{src:i("kPfV"),alt:""}}):a("img",{staticClass:"icon",attrs:{src:i("kK7S"),alt:""}}),t._v(" "),a("span",[t._v("受众分析")])])]),t._v(" "),a("div",{staticClass:"content"},[1==t.tab?a("trend",{attrs:{app_id:t.app_id}}):t._e(),t._v(" "),2==t.tab?a("relation-analysis",{attrs:{app_id:t.app_id}}):t._e(),t._v(" "),3==t.tab?a("audience",{attrs:{app_id:t.app_id}}):t._e()],1)])],1)},staticRenderFns:[]};var h=i("C7Lr")(u,m,!1,function(t){i("5e6U")},"data-v-afe78216",null);e.default=h.exports},hWsA:function(t,e){t.exports="data:image/png;base64,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"},lFbj:function(t,e){},msPs:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={data:function(){return{isLogin:!0,au_nums:0,loading:!1,noneDone:!1,hasAuno:!1,infoList:[],page:1,total:0,page_size:20,search_key_word:"",timeRange:[{id:1,name:"昨日",start_time:this.getDay(-1,!1),end_time:this.getDay(-1,!1)},{id:7,name:"近7天",start_time:this.getDay(-7,!1),end_time:this.getDay(-1,!1)},{id:30,name:"近30天",start_time:this.getDay(-30,!1),end_time:this.getDay(-1,!1)},{id:90,name:"近90天",start_time:this.getDay(-90,!1),end_time:this.getDay(-1,!1)}],day:7,start_time:this.getDay(-7,!1),end_time:this.getDay(-1,!1),sort_type:"user_count"}},created:function(){this.isLogin=this.$cookie.getCookie("isLogin"),this.init(1)},methods:{toDetail:function(t){if(t){var e=this.$router.resolve({path:"/appletDetail/"+t});window.open(e.href,"_blank")}else this.$message({message:"该小程序暂无详情,敬请期待!",type:"warning"})},sortEvent:function(t){this.sort_type==t||(this.sort_type=t,this.init(1))},init:function(t,e){var i=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 a=this.page_size;if("dataExport"==e){var s=this.$loading({lock:!0,text:"加载中...",spinner:"el-icon-loading",background:"rgba(255, 2550, 255, 0.7)"});a=100}else this.infoList=[],this.loading=!0,this.page=t;this.$axios.get(this.URL.BASEURL+this.URL.microAdLists,{params:{keyword:this.search_key_word,page:t,pagesize:a,day:this.day,sort:this.sort_type,is_export:"dataExport"==e?1:""}}).then(function(t){t=t.data;if(i.loading=!1,"dataExport"==e&&s.close(),4403==t.auno?(i.au_nums=t.au_nums,i.hasAuno=!0):i.hasAuno=!1,i.noneDone=4003==t.errno||4001==t.errno,t&&0==t.errno){var a=t.rst.data;"dataExport"==e&&i.exportToExcel(a),i.infoList=a,i.total=Number(t.rst.pageInfo.total)}else 4003!=t.errno&&4001!=t.errno&&i.$message({message:t.err,type:"warning"})}).catch(function(t){"dataExport"==e&&s.close(),i.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=t,i=[];for(var a in e)i.push({app_name:e[a].app_name,cate_name:e[a].cate_name,user_count:e[a].user_count,video_count:e[a].video_count||0==e[a].video_count?e[a].video_count:"空",share_count:e[a].share_count,digg_count:e[a].digg_count,comment_count:e[a].comment_count,ad_description:e[a].desc,icon:e[a].icon});for(var s="应用名称,分类,推广达人数,关联视频数,视频分享量,视频点赞量,视频评论量,应用描述,应用图片\n",n=0;n0&&!t.noneDone?a("li",{staticClass:"common_select_info common_data_export",on:{click:t.getMoreList}},[t._v("导出")]):t._e()])])]),t._v(" "),t.noneDone?t._e():a("div",[a("div",{staticClass:"table_div"},[a("table",[a("tr",[a("td",{staticStyle:{"text-align":"left","padding-left":"92px"}},[t._v("应用名称")]),t._v(" "),a("td",[t._v("分类")]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","user_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("user_count")}}},[t._v("\n 关联达人\n "),t._m(0)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","video_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("video_count")}}},[t._v("\n 关联视频\n "),t._m(1)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","share_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("share_count")}}},[t._v("\n 视频分享量\n "),t._m(2)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","digg_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("digg_count")}}},[t._v("\n 视频点赞量\n "),t._m(3)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td","comment_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("comment_count")}}},[t._v("\n 视频评论量\n "),t._m(4)])]),t._v(" "),a("td",[t._v("收藏")])]),t._v(" "),t._l(t.infoList,function(e,s){return a("tr",{key:s,staticStyle:{cursor:"pointer"},on:{click:function(i){return t.toDetail(e.app_id)}}},[a("td",{staticStyle:{width:"280px"}},[a("div",{staticClass:"videoBox"},[a("div",{staticClass:"videoImg"},[a("img",{attrs:{src:e.icon,alt:""}})]),t._v(" "),a("div",{staticClass:"videoInfo"},[a("p",{staticClass:"videoTitle"},[t._v(t._s(e.app_name?e.app_name:"-"))]),t._v(" "),a("p",{staticClass:"time"},[t._v(t._s(e.desc?e.desc:"-"))])])])]),t._v(" "),a("td",{staticStyle:{"font-size":"14px"}},[t._v(t._s(e.cate_name?e.cate_name:"-"))]),t._v(" "),a("td",{class:"user_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.user_count||0==e.user_count?t.$NumberHandle(e.user_count):"-"))]),t._v(" "),a("td",{class:"video_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.video_count||0==e.video_count?t.$NumberHandle(e.video_count):"-"))]),t._v(" "),a("td",{class:"share_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.share_count||0==e.share_count?t.$NumberHandle(e.share_count):"-"))]),t._v(" "),a("td",{class:"digg_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.digg_count||0==e.digg_count?t.$NumberHandle(e.digg_count):"-"))]),t._v(" "),a("td",{class:"comment_count"==t.sort_type?"common_selected":""},[t._v(t._s(e.comment_count||0==e.comment_count?t.$NumberHandle(e.comment_count):"-"))]),t._v(" "),a("td",[a("div",{on:{click:function(i){return i.stopPropagation(),t.followWhEvent(1==e.is_follow?"delAdMicroFocus":"addAdMicroFocus",e,s)}}},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:1==e.is_follow?"取消关注":"关注广告",placement:"top-start"}},[1==e.is_follow?a("img",{staticClass:"followIcon",attrs:{src:i("fXRA"),alt:""}}):a("img",{staticClass:"followIcon",attrs:{src:i("OSUF"),alt:""}})])],1)])])})],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.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"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,"page-size":t.page_size,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}})],1),t._v(" "),t.hasAuno||!t.noneDone||t.isLogin?t._e():a("list-permission",{staticStyle:{"margin-top":"20px"},attrs:{au_nums:t.au_nums}}),t._v(" "),!t.hasAuno&&t.noneDone&&t.isLogin?a("nopermission"):t._e()],1)},staticRenderFns:[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=i("C7Lr")(a,s,!1,function(t){i("lFbj")},"data-v-9f4acbbe",null);e.default=n.exports}});