webpackJsonp([56],{"0WXi":function(t,e){},"7FsQ":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={data:function(){return{loading:!1,hasAuno:!1,noneDone:!1,infoList:[],page:1,total:0,pages:0,page_size:20,sort_type:"like_number",timeList:[{label:7},{label:10},{label:15},{label:30}],time:7,type:1,tag:0,signList:[],export_size:500,au_nums:""}},created:function(){this.getSignList(),this.init(1)},methods:{cycleChange:function(t){t!=this.type&&(this.type=t,this.time=7,this.init(1))},toVideoDetail:function(t){var e=this.$router.resolve({path:"/videoDetail/"+t.kwai_user_id+"/"+t.top_video_id});window.open(e.href,"_blank")},toUrl:function(t){t&&window.open(t,"_blank")},toLiveDetail:function(t){var e=this;this.$exportNumber({type_id:1,data_id:t.live_stream_id,cb:function(){var i=e.$router.resolve({path:"/onlineDetail/"+t.live_stream_id+"/"+t.kwai_user_id});window.open(i.href,"_blank")}})},sortEvent:function(t){if(this.hasAuno||this.noneDone)return this.$message.closeAll(),this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});this.sort_type==t||(this.sort_type=t,this.init(1))},handleCurrentChange:function(t){this.init(t)},init:function(t,e){var i=this;if(this.$message.closeAll(),this.noneDone||this.hasAuno)return this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});var s=this.page_size,n=(t=t,"");"dataExport"==e?(s=this.export_size,t=1,n=this.$loading({lock:!0,text:"加载中...",spinner:"el-icon-loading",background:"rgba(255, 2550, 255, 0.7)"})):(this.page=t,this.infoList=[],this.loading=!0),this.$axios.get(this.URL.BASEURL+this.URL.qualityList,{params:{page:t,sign_id:this.tag,range:this.time,type:this.type,sort:this.sort_type,pagesize:s}}).then(function(t){t=t.data;if("dataExport"==e&&n.close(),i.loading=!1,4403==t.auno?(i.hasAuno=!0,i.au_nums=t.au_nums):i.hasAuno=!1,i.noneDone=4003==t.errno,t&&0==t.errno){var s=t.rst.data;"dataExport"==e?i.exportToExcel(s):(i.infoList=s,i.total=t.rst.pageInfo.total,i.pages=t.rst.pageInfo.pages)}else 4003!=t.errno&&i.$message({message:t.err,type:"warning"})}).catch(function(t){"dataExport"==e&&n.close(),i.loading=!1})},getSignList:function(){var t=this;this.$axios({url:this.URL.BASEURL+this.URL.ScSignList,method:"get"}).then(function(e){if((e=e.data)&&0==e.errno){var i=e.rst;t.signList=i}else t.$message({message:e.err,type:"warning"})})},followWhEvent:function(t,e,i){var s=this;this.$exportNumber({type_id:5,cb:function(){s.$axios({url:s.URL.BASEURL+s.URL[t],method:"post",data:{user_id:e.kwai_user_id}}).then(function(e){(e=e.data)&&0==e.errno?s.infoList[i].is_follow="kuai_follow_delete"!=t:s.$message({message:e.err,type:"warning"})}).catch(function(t){})}})},toDetail:function(t){var e=this.$router.resolve({path:"/userDetail/"+t.kwai_user_id});window.open(e.href,"_blank")},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 s in e)i.push({user_name:e[s].user_name?e[s].user_name.replace(/,|,|\n|\r/g," "):"",fan:e[s].fan||0==e[s].fan?e[s].fan:"",kwaiId:e[s].kwaiId?e[s].kwaiId:"",like_number:e[s].like_number||0==e[s].like_number?e[s].like_number:"",view_number:e[s].view_number||0==e[s].view_number?e[s].view_number:"",comment_number:e[s].comment_number||0==e[s].comment_number?e[s].comment_number:"",share_number:e[s].share_number||0==e[s].share_number?e[s].share_number:"",top_video_title:e[s].top_video_title?e[s].top_video_title.replace(/,|,|\n|\r/g," "):"",top_video_like_number:e[s].top_video_like_number||0==e[s].top_video_like_number?e[s].top_video_like_number:"",top_video_img:e[s].top_video_img||0==e[s].top_video_img?e[s].top_video_img:""});for(var n="达人名称,粉丝总量,快手ID,获赞量,播放量,评论量,分享量,"+(1==this.type?"近"+this.time+"天最高点赞作品标题":"近"+this.time+"个作品点赞TOP1标题")+","+(1==this.type?"近"+this.time+"天最高点赞作品点赞量":"近"+this.time+"个作品点赞TOP1点赞量")+","+(1==this.type?"近"+this.time+"天最高点赞作品封面":"近"+this.time+"个作品点赞TOP1封面")+"\n",a=0;a0?s("li",{staticClass:"common_select_info common_data_export",on:{click:t.getMoreList}},[t._v("导出")]):t._e()])])]),t._v(" "),t.noneDone?t._e():s("div",[s("div",{staticClass:"table_div"},[s("table",[s("tr",[s("td",[t._v("排名")]),t._v(" "),s("td",{staticStyle:{"text-align":"left","padding-left":"94px"}},[t._v("达人")]),t._v(" "),s("td",[t._v("粉丝总量")]),t._v(" "),s("td",[s("div",{staticClass:"th_title",class:["common_select_td","like_number"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("like_number")}}},[t._v("\n 获赞量\n "),t._m(0)])]),t._v(" "),s("td",[s("div",{staticClass:"th_title",class:["common_select_td","view_number"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("view_number")}}},[t._v("\n 播放量\n "),t._m(1)])]),t._v(" "),s("td",[s("div",{staticClass:"th_title",class:["common_select_td","comment_number"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("comment_number")}}},[t._v("\n 评论量\n "),t._m(2)])]),t._v(" "),s("td",[s("div",{staticClass:"th_title",class:["common_select_td","share_number"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("share_number")}}},[t._v("\n 分享量\n "),t._m(3)])]),t._v(" "),s("td",[t._v(t._s(1==t.type?"近"+t.time+"天最高点赞作品":"近"+t.time+"个作品点赞TOP1"))]),t._v(" "),s("td",[t._v("操作")])]),t._v(" "),t._l(t.infoList,function(e,n){return s("tr",{key:n,staticStyle:{cursor:"pointer"},on:{click:function(i){return t.toDetail(e)}}},[s("td",[(t.page-1)*t.page_size+n+1==1?s("img",{staticClass:"rank_count_icon",attrs:{src:i("uIsc"),alt:""}}):(t.page-1)*t.page_size+n+1==2?s("img",{staticClass:"rank_count_icon",attrs:{src:i("37vy"),alt:""}}):(t.page-1)*t.page_size+n+1==3?s("img",{staticClass:"rank_count_icon",attrs:{src:i("u/A1"),alt:""}}):s("div",{staticClass:"rank_count"},[s("div",[t._v(t._s((t.page-1)*t.page_size+n+1))])])]),t._v(" "),s("td",{staticStyle:{width:"260px"}},[s("div",{staticClass:"drBox"},[s("div",{staticClass:"drInfoBox"},[s("div",{staticClass:"drImg"},[s("img",{staticClass:"userImg",attrs:{src:e.headurl,alt:""}}),t._v(" "),e.is_show?s("div",{staticClass:"liveing"},[s("img",{staticClass:"gif_icon",attrs:{src:i("Zp58"),alt:""}}),t._v(" "),s("span",[t._v("直播中")])]):t._e()]),t._v(" "),s("div",{staticClass:"drInfo"},[s("div",{staticClass:"drName"},[s("el-tooltip",{attrs:{effect:"dark",content:e.user_name,placement:"top"}},[s("p",[t._v(t._s(e.user_name))])]),t._v(" "),s("img",{attrs:{src:i("FxTv"),alt:""}}),t._v(" "),e.link?s("img",{attrs:{src:i("hd8u"),alt:""},on:{click:function(i){return i.stopPropagation(),t.toUrl(e.link)}}}):t._e()],1),t._v(" "),s("div",{staticClass:"drId"},[t._v("ID:"+t._s(e.kwai_user_id?e.kwai_user_id:"-"))]),t._v(" "),s("div",{staticClass:"drId",staticStyle:{"font-size":"12px","margin-top":"4px"}},[t._v("地区:"+t._s(e.cityName?e.cityName:"-"))])])])])]),t._v(" "),s("td",[t._v(t._s(e.fan||0==e.fan?t.$NumberHandle(e.fan):"-"))]),t._v(" "),s("td",{class:"like_number"==t.sort_type?"common_selected":""},[t._v(t._s(e.like_number||0==e.like_number?t.$NumberHandle(e.like_number):"-"))]),t._v(" "),s("td",{class:"view_number"==t.sort_type?"common_selected":""},[t._v(t._s(e.view_number||0==e.view_number?t.$NumberHandle(e.view_number):"-"))]),t._v(" "),s("td",{class:"comment_number"==t.sort_type?"common_selected":""},[t._v(t._s(e.comment_number||0==e.comment_number?t.$NumberHandle(e.comment_number):"-"))]),t._v(" "),s("td",{class:"share_number"==t.sort_type?"common_selected":""},[t._v(t._s(e.share_number||0==e.share_number?t.$NumberHandle(e.share_number):"-"))]),t._v(" "),s("td",{staticStyle:{width:"300px"}},[e.top_video_id?s("div",{staticClass:"worksBox",on:{click:function(i){return i.stopPropagation(),t.toVideoDetail(e)}}},[s("div",{staticClass:"imgBox"},[s("img",{attrs:{src:e.top_video_img?e.top_video_img:e.head_url,alt:""}})]),t._v(" "),s("div",{staticClass:"info"},[s("p",{staticClass:"worksName"},[t._v(t._s(e.top_video_title?e.top_video_title:"-"))]),t._v(" "),s("div",{staticClass:"clear"},[s("div",{staticClass:"zan"},[s("img",{attrs:{src:"https://kx-bigdata.oss-cn-beijing.aliyuncs.com/newIcon/userDetail_icon_fan.png",alt:""}}),t._v(" "),s("span",[t._v(t._s(e.top_video_like_number?t.$NumberHandle(e.top_video_like_number):"-"))])])])])]):s("div",{staticStyle:{color:"#333","font-weight":"initial","font-size":"14px"}},[t._v(t._s(1==t.type?"近"+t.time+"天未发布作品":"暂无作品"))])]),t._v(" "),s("td",[s("div",{staticStyle:{display:"inline-block","vertical-align":"middle"},on:{click:function(i){return i.stopPropagation(),t.followWhEvent(e.is_follow?"kuai_follow_delete":"kuai_follow_create",e,n)}}},[s("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:1==e.is_follow?"取消关注":"关注达人",placement:"top-start"}},[1==e.is_follow?s("img",{staticClass:"followIcon",attrs:{src:i("fXRA"),alt:""}}):s("img",{staticClass:"followIcon",attrs:{src:i("OSUF"),alt:""}})])],1),t._v(" "),e.is_show&&e.live_has_commodity&&e.kwai_user_id&&e.live_stream_id?s("div",{staticClass:"followIconDiv",staticStyle:{"margin-left":"2px",display:"inline-block","vertical-align":"middle"},on:{click:function(i){return i.stopPropagation(),t.toLiveDetail(e)}}},[s("el-tooltip",{attrs:{effect:"dark",content:"前往实时大盘",placement:"top-start"}},[s("div",[s("img",{staticClass:"followIcon followIcon_top",attrs:{src:i("n8NJ"),alt:""}}),t._v(" "),s("img",{staticClass:"followIcon followIcon_hover",attrs:{src:i("gSWm"),alt:""}})])])],1):t._e()])])})],2)]),t._v(" "),t.loading||0!=t.infoList.length?t._e():s("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])]),t._v(" "),s("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"},[s("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),s("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?s("list-permission",{attrs:{au_nums:t.au_nums}}):t._e(),t._v(" "),!t.hasAuno&&t.noneDone?s("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"})])}]};var a=i("C7Lr")(s,n,!1,function(t){i("0WXi")},"data-v-67f52ba0",null);e.default=a.exports}});