(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-00920d3e"],{"20b3c":function(t,a,s){"use strict";s.r(a);var e=s("9ab4"),i=s("1b40"),l=s("4536");let r=class extends i.e{constructor(){super(...arguments),this.statisticsData={},this.topRule=[],this.topUser=[]}created(){Object(l.a)().then(t=>{this.statisticsData=t.recharge_data,this.topUser=t.top_user,this.topRule=t.top_rule}).catch(()=>{this.$message.error("请求数据失败，请刷新重载!")})}};r=Object(e.a)([i.a],r);var c=r,n=(s("32eb"),s("2877")),o=Object(n.a)(c,(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"ls-coupon"},[s("div",{staticClass:"ls-card"},[s("div",{staticClass:"title"},[t._v("充值数据")]),s("div",{staticClass:"content"},[s("el-row",{attrs:{gutter:20}},[s("el-col",{staticClass:"statistics-col",attrs:{span:6}},[s("div",{staticClass:"lighter"},[t._v("累计充值金额/元")]),s("div",{staticClass:"m-t-8 font-size-30"},[t._v(" "+t._s(t.statisticsData.total_amount)+" ")])]),s("el-col",{staticClass:"statistics-col",attrs:{span:6}},[s("div",{staticClass:"lighter"},[t._v("累计充值人数/人次")]),s("div",{staticClass:"m-t-8 font-size-30"},[t._v(" "+t._s(t.statisticsData.total_times)+" ")])])],1)],1)]),s("el-row",{staticClass:"m-t-16",attrs:{gutter:16}},[s("el-col",{attrs:{span:12}},[s("div",{staticClass:"ls-card"},[s("div",{staticClass:"title"},[t._v("用户充值排行榜")]),s("div",{staticClass:"content"},[s("el-table",{attrs:{data:t.topUser,size:"mini"}},[s("el-table-column",{attrs:{type:"index",label:"排行",width:"120"}}),s("el-table-column",{attrs:{label:"用户昵称","min-width":"120","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(a){return[s("div",{staticClass:"flex"},[s("el-image",{staticStyle:{width:"34px",height:"34px"},attrs:{src:a.row.avatar}}),s("div",{staticClass:"m-l-10"},[t._v(" "+t._s(a.row.nickname)+" ")])],1)]}}])}),s("el-table-column",{attrs:{prop:"total_amount",label:"累计充值金额"}})],1)],1)])]),s("el-col",{attrs:{span:12}},[s("div",{staticClass:"ls-card"},[s("div",{staticClass:"title"},[t._v("充值规则排行榜")]),s("div",{staticClass:"content"},[s("el-table",{attrs:{data:t.topRule,size:"mini"}},[s("el-table-column",{attrs:{type:"index",label:"排行",width:"120"}}),s("el-table-column",{attrs:{prop:"money",label:"规则金额","min-width":"120","show-overflow-tooltip":""}}),s("el-table-column",{attrs:{prop:"total_num",label:"累计充值人数"}})],1)],1)])])],1)],1)}),[],!1,null,"1f4a97cb",null);a.default=o.exports},"32eb":function(t,a,s){"use strict";s("cf77")},4536:function(t,a,s){"use strict";s.d(a,"a",(function(){return i})),s.d(a,"b",(function(){return l})),s.d(a,"d",(function(){return r})),s.d(a,"c",(function(){return c})),s.d(a,"g",(function(){return n})),s.d(a,"e",(function(){return o})),s.d(a,"h",(function(){return u})),s.d(a,"f",(function(){return d}));var e=s("f175");const i=t=>e.a.post("/recharge.recharge/dataCenter",t),l=t=>e.a.get("/recharge.recharge/getConfig",{params:t}),r=t=>e.a.post("/recharge.recharge/setConfig",t),c=t=>e.a.get("/recharge.recharge/lists",{params:t}),n=t=>e.a.get("/withdrawal/list",{params:t}),o=t=>e.a.get("/withdrawal/agree",{params:t}),u=t=>e.a.get("/withdrawal/reject",{params:t}),d=t=>e.a.get("/withdrawal/detail",{params:t})},cf77:function(t,a,s){}}]);