1 |
- webpackJsonp([40],{"/FkA":function(t,e){},v8Yf:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={data:function(){return{time:[this.$getDay(-31,!1),this.$getDay(-1,!1)],timeList:[{id:1,name:"昨日",start_time:this.$getDay(-1,!1),end_time:this.$getDay(-1,!1)},{id:7,name:"近7日",start_time:this.$getDay(-8,!1),end_time:this.$getDay(-1,!1)},{id:30,name:"近30日",start_time:this.$getDay(-31,!1),end_time:this.$getDay(-1,!1)}],pickerTimes:{disabledDate:function(t){return t>Date.now()}},plat_val:0,plat_list:[{name:"全部",id:0},{name:"快手",id:1},{name:"抖音",id:2}],sort_type:"sell_money",loading:!1,infoList:[]}},created:function(){this.init()},methods:{timeChange:function(t){t&&0!=t.length&&this.init()},changeInit:function(t){this.time=[t.start_time,t.end_time],this.init()},init:function(){var t=this;this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.accountListV3,{params:{platform:this.plat_val,start_date:this.time[0],end_date:this.time[1],sort_field:this.sort_type}}).then(function(e){t.loading=!1,(e=e.data)&&0==e.errno?t.infoList=e.rst:4002!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loading=!1})},sortEvent:function(t){this.sort_type=t,this.init()},goDetial:function(t,e){var s="快手"==e?"/accountDetial/":"/accountDetialDou/",a=this.$router.resolve({path:s+t});window.open(a.href,"_blank")}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}]},[a("div",{staticClass:"operation_container flex"},[a("div",{staticClass:"flex"},[a("div",{staticClass:"commonInfoName"},[t._v("时间筛选")]),t._v(" "),a("ul",{staticClass:"commonTimeList flex"},[t._l(t.timeList,function(e){return a("li",{key:e.id,class:t.time[0]==e.start_time&&t.time[1]==e.end_time?"active":"",on:{click:function(s){return t.changeInit(e)}}},[t._v(t._s(e.name))])}),t._v(" "),a("li",{staticClass:"commonTime_container"},[t._v("\n "+t._s(t.time&&0!=t.time.length?t.time[0]+" ~ "+t.time[1]:"开始时间 - 结束时间")+"\n "),a("i",{staticClass:"iconfont icon-rili_icon"}),t._v(" "),a("el-date-picker",{staticClass:"commonTime_picker",attrs:{size:"small",clearable:!1,"value-format":"yyyy-MM-dd",type:"daterange","picker-options":t.pickerTimes,"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},on:{change:t.timeChange},model:{value:t.time,callback:function(e){t.time=e},expression:"time"}})],1)],2)]),t._v(" "),a("div",{staticClass:"flex"},[a("div",{staticClass:"commonInfoName lMar20"},[t._v("平台筛选")]),t._v(" "),a("el-select",{staticClass:"self_list_input__inner",staticStyle:{width:"140px"},attrs:{size:"small",filterable:"",clearable:"",placeholder:"平台筛选"},on:{change:function(e){return t.init()}},model:{value:t.plat_val,callback:function(e){t.plat_val=e},expression:"plat_val"}},t._l(t.plat_list,function(t){return a("el-option",{key:t.id,attrs:{label:t.name,value:t.id}})}),1)],1)]),t._v(" "),a("div",{staticClass:"table_div"},[a("table",[a("thead",[a("tr",{staticStyle:{"background-color":"#1E2135"}},[t._m(0),t._v(" "),t._m(1),t._v(" "),t._m(2),t._v(" "),a("th",{staticStyle:{width:"10%"}},[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(3)])]),t._v(" "),a("th",{staticStyle:{width:"10%"}},[a("div",{staticClass:"th_title",class:["common_select_td","fan_incr"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("fan_incr")}}},[t._v("\n 涨粉量\n "),t._m(4)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","live_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("live_count")}}},[t._v("\n 直播场次\n "),t._m(5)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","sell_money"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("sell_money")}}},[t._v("\n 直播销售额\n "),t._m(6)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","sell_count"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("sell_count")}}},[t._v("\n 直播销量\n "),t._m(7)])]),t._v(" "),a("th",[a("div",{staticClass:"th_title",class:["common_select_td","stat_cost"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("stat_cost")}}},[t._v("\n 投放金额\n "),t._m(8)])]),t._v(" "),a("th",{staticStyle:{width:"8%"}},[a("div",{staticClass:"th_title",class:["common_select_td","roi"==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent("roi")}}},[t._v("\n 投放ROI\n "),a("el-tooltip",{staticClass:"disinblock",attrs:{effect:"light",content:"投放ROI=投放产生的销售额/ 投放金额",placement:"top"}},[a("i",{staticClass:"el-icon-question"})]),t._v(" "),t._m(9)],1)])])]),t._v(" "),a("tbody",t._l(t.infoList,function(e,i){return a("tr",{key:e.seller_id,staticClass:"pointer",on:{click:function(s){return t.goDetial(e.seller_id,e.platform)}}},[a("td",[0==i?a("img",{staticStyle:{width:"30px",margin:"auto"},attrs:{src:s("UMSe"),alt:""}}):1==i?a("img",{staticStyle:{width:"30px",margin:"auto"},attrs:{src:s("P+ka"),alt:""}}):2==i?a("img",{staticStyle:{width:"30px",margin:"auto"},attrs:{src:s("60PX"),alt:""}}):a("span",[t._v(t._s(i+1))])]),t._v(" "),a("td",{staticClass:"f13",staticStyle:{"text-align":"left"}},[a("div",{staticClass:"brand_name_icon"},[a("img",{staticClass:"brand_name_img",attrs:{src:e.head,alt:""}}),t._v(" "),a("div",{staticClass:"line21"},[t._v(t._s(e.name))])])]),t._v(" "),a("td",[e.platform?a("span",["快手"==e.platform?a("img",{staticClass:"platImg",attrs:{src:s("FxTv"),alt:""}}):t._e(),t._v(" "),"抖音"==e.platform?a("img",{staticClass:"platImg",attrs:{src:s("AJUD"),alt:""}}):t._e(),t._v("\n "+t._s(e.platform)+"\n ")]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"fan"==t.sort_type?"common_selected":""},[e.fan?a("span",[t._v(t._s(t.$formatNum(e.fan)))]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"fan_incr"==t.sort_type?"common_selected":""},[e.fan_incr?a("span",[t._v(t._s(t.$formatNum(e.fan_incr)))]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"live_count"==t.sort_type?"common_selected":""},[e.live_count?a("span",[t._v(t._s(t.$formatNum(e.live_count)))]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"sell_money"==t.sort_type?"common_selected":""},[e.sell_money?a("span",[t._v(t._s(t.$formatNum(e.sell_money)))]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"sell_count"==t.sort_type?"common_selected":""},[e.sell_count?a("span",[t._v(t._s(t.$formatNum(e.sell_count)))]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"stat_cost"==t.sort_type?"common_selected":""},[e.stat_cost?a("span",[t._v(t._s(t.$formatNum(e.stat_cost)))]):a("span",[t._v("-")])]),t._v(" "),a("td",{class:"roi"==t.sort_type?"common_selected":""},[a("span",[t._v(t._s(e.roi))])])])}),0)])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("th",{staticStyle:{width:"8%"}},[e("div",{staticClass:"th_title"},[this._v("排名")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",{staticStyle:{width:"14%","text-align":"left","padding-left":"20px"}},[e("div",{staticClass:"th_title"},[this._v("\n 账号\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("div",{staticClass:"th_title"},[this._v("平台")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])}]};var n=s("VU/8")(a,i,!1,function(t){s("/FkA")},"data-v-8b493106",null);e.default=n.exports}});
|