webpackJsonp([26],{MV5j:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a("Dd8w"),r=a.n(n),s=a("2Uyi"),i=a("oAV5"),c={name:"data_earning",data:function(){return{inputlist:[],allTeamList:[],search:{name:"",date:Object(i.f)(new Date,"{y}-{m}-{d}")},titlePlaceholder:"",earningList:[{title:"日期",render:function(t,e){var a=new Date;return t("span",a.getFullYear()+"-"+Number(a.getMonth()+1)+"-"+a.getDate())}},{title:"员工",key:"manager_name"},{title:"注册数",key:"register_num",sortable:!0},{title:"独立IP数",key:"ip_num",sortable:!0},{title:"充值人数",key:"recharge_count",sortable:!0},{title:"充值统计",key:"recharge_pay_sum",sortable:!0}],earningData:[]}},watch:{},methods:{getDataEarning:function(){var t=this;this.$store.commit("changeloading",!0),this.$api.getDataEarning(r()({},this.search)).then(function(e){200==e.code?(t.earningData=[],e.data.forEach(function(e,a){t.earningData.push({manager_name:e.manager_name,register_num:e.register_count||0,effective_reister:e.recharge_pay_sum||0,ip_num:e.register_ip_count||0,recharge_count:e.recharge_count||0,recharge_pay_sum:e.recharge_pay_sum.toFixed(2)||0})}),t.$store.commit("changeloading",!1)):(t.$Message.info(e.msg),t.$store.commit("changeloading",!1))})},removeSearch:function(){this.search=r()({},Object(s.f)(r()({},this.search)))}},created:function(){this.getDataEarning()}},o={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"right_con"},[n("div",{staticClass:"news_info_fgx fl"}),t._v(" "),n("p",{staticClass:"date_earning fl"},[t._v("组员业绩总览")]),t._v(" "),n("Poptip",{staticClass:"hover_contents",staticStyle:{"marign-top":"3px"},attrs:{"word-wrap":"",width:"380",placement:"bottom-start",trigger:"hover"}},[n("div",{attrs:{slot:"content"},slot:"content"},[n("p",[n("span",[t._v("注册数：")]),t._v(" 当日新注册玩家数，包含全部站点内的新用户")]),t._v(" "),n("p",[n("span",[t._v("独立注册IP：")]),t._v("当日新注册玩家数（排除重复注册IP）")]),t._v(" "),n("p",[n("span",[t._v("达标用户：")]),t._v("当日游戏角色达标用户数，含新老用户")]),t._v(" "),n("p",[n("span",[t._v("推广奖金：")]),t._v("当日得到的推广人数奖金")]),t._v(" "),n("p",[n("span",[t._v("充值用户：")]),t._v("当日游戏内消费过的玩家数，统计所有消费方式")]),t._v(" "),n("p",[n("span",[t._v("注：")]),t._v("数据每1小时更新1次，整点更新")])]),t._v(" "),n("img",{staticClass:"title_why",attrs:{src:a("WHn+"),alt:""}})]),t._v(" "),n("div",{staticClass:"fr mar_T_15"},[n("div",{staticClass:"search"},[n("Input",{staticClass:"wid_120 fl mar_L_5 mar_T_3",attrs:{placeholder:"员工名称"},model:{value:t.search.name,callback:function(e){t.$set(t.search,"name",e)},expression:"search.name"}}),t._v(" "),n("Button",{staticClass:"mar_L_5",attrs:{type:"primary"},on:{click:function(e){return t.getDataEarning()}}},[t._v("搜索")]),t._v(" "),n("Button",{staticClass:"clear_btn",on:{click:t.removeSearch}},[t._v("清空")])],1)]),t._v(" "),n("Table",{staticClass:"tables clear",attrs:{columns:t.earningList,data:t.earningData,border:""}})],1)},staticRenderFns:[]};var g=a("VU/8")(c,o,!1,function(t){a("sb1Y")},null,null);e.default=g.exports},"WHn+":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB5ElEQVQ4T42TPYgTURSFz3mzUQgBEQ2rxaqNaGHnvJnGxkIbQfCnEP8rf1gwYKWoIGhlI6yLgiKKK2yxFoosiE22nnlqky4iCIJaBCMSDSS5V2ZJhsmQEV/33j3ne+/eOUPkVqPRWNPpdA4YYw4D2A7AAPgI4DXJV77v/85amN3EcbyP5CNV3ZoHD/dfRaQWhuHSqJ4C4jieBTBfYBw7JnnD9/3byeEqILkZwNucecUY80xE/gDYC+Bcrn7cWrvIer0+ValUPgGYyQgWrLWnnXMXRKRSrVbnW63WWVV9MNKo6o9yubyFcRwfBZD2lAhEZIcxZg+Ax0PDzV6vd6dUKv0C4GUgNUZR9JzkidzzXgDYBWDnap/krDFmaTAYfB+1PdQvJ4CIpP3H8O5Zay9FUXSf5MWxT0i+o3POqeruAsBLa+2hKIqekjwzQfM+mcEigGOTAKp6UEQGnuctF1zwJmnhJMmFAsEXAFMANk2qi8gVNpvNte12+zOA6bzI87xt/X5/PckPEwCdbrc7MwrSEQDJ5PPrMoANAK7lC6p6PgiCh2mUnXPXVfXW/0RZVeeCIKilUR6ZhvO4C2BjAegnyau+76eJHPsbE5Nzbp2qngKwX1U3J8ExxnwTkRVVfRKGYSsL/wu9ULscvPTHUwAAAABJRU5ErkJggg=="},sb1Y:function(t,e){}});