| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8d044b4e"],{"5ca8":function(t,e,n){},"7a49":function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return a})),n.d(e,"b",(function(){return o})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return c}));var u=n("b775");function r(t){return Object(u["a"])({url:"/system/menu/page",method:"post",data:t})}function a(){return Object(u["a"])({url:"/system/menu/tree",method:"post"})}function o(t){return Object(u["a"])({url:"/system/menu/get/".concat(t),method:"get"})}function s(t){return Object(u["a"])({url:"/system/menu/save",method:"post",data:t})}function c(t){return Object(u["a"])({url:"/system/menu/delete/".concat(t),method:"post"})}},9406:function(t,e,n){"use strict";n.r(e);var u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"div-table"},[n("el-table",{attrs:{id:"out-table",data:t.list,"element-loading-text":"Loading",border:"",fit:"","highlight-current-row":"","default-sort":{prop:"time",order:"descending"}}},[n("el-table-column",{attrs:{label:"序号",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.$index+1))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"日期",width:"120",prop:"time"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.time))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"新增角色",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.regCount))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"DAU(账号)",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.loginCount))])]}}])})],1)],1)])},r=[],a=n("5530"),o=n("eb8c"),s=n("7a49"),c=n("ed08"),i={filters:{typeFilter:function(t){var e={1:"目录",2:"菜单"};return e[t]},statusFilter:function(t){var e={1:"启用",2:"禁用"};return e[t]},statusTypeFilter:function(t){var e={1:"success",2:"danger"};return e[t]}},data:function(){return{treeData:null,list:null,option:null,pickerOptions:null,listLoading:!0,defaultProps:{children:"children",label:"name",id:"id"},searchForm:{name:"",serverid:"",rows:"10",page:"1",channel:""}}},created:function(){this.fetchData()},methods:{fetchData:function(){var t=this;this.listLoading=!0,Object(o["n"])(Object(a["a"])({},this.searchForm)).then((function(e){t.list=e.data.rows,t.listLoading=!1;var n=[],u=[],r=[],a=[],o=[],s=[],c=[],i=[],d=[],l=[],m=[],f=[],h=[],p=[],g=[],b=[],y=[],j=0,O=0,v=0,w=0;e.data.rows.map((function(t){n.push(t.time),r.push(t.uniquserid),a.push(t.count),o.push(t.pDayu),j=t.uniquserid/t.count*100,u.push(j.toFixed(2)),s.push(t.sumprice),O=t.sumprice/t.count,c.push(O),d.push(t.regnum),l.push(t.count),m.push(t.newpaymoney/100),f.push(t.newdaypaymoney/100),h.push(t.newpaynum),p.push(t.newdaypaynum),g.push(t.uniqnewpaynum),b.push(t.uniqnewdaypaynum),"0"===t.uniquserid?i.push(0):(v=t.sumprice/t.uniquserid,i.push(v.toFixed(2))),0===t.regnum?y.push(0):(w=t.newpaynum/t.regnum,y.push(w.toFixed(2)))})),console.log(y)}))},fetchTreeData:function(){var t=this;this.listLoading=!0,Object(s["d"])().then((function(e){t.menulist=e.data,t.treeData=Object(c["b"])(e.data),t.listLoading=!1}))},handelMenuCheck:function(){var t=this.$refs.menuTree.getCheckedKeys();t.length?this.showMenuErr=!1:this.showMenuErr=!0},numFilter:function(t){var e=parseFloat(t).toFixed(2);return e}}},d=i,l=(n("d265"),n("2877")),m=Object(l["a"])(d,u,r,!1,null,"42224516",null);e["default"]=m.exports},d265:function(t,e,n){"use strict";n("5ca8")},eb8c:function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"s",(function(){return a})),n.d(e,"n",(function(){return o})),n.d(e,"m",(function(){return s})),n.d(e,"x",(function(){return c})),n.d(e,"y",(function(){return i})),n.d(e,"h",(function(){return d})),n.d(e,"i",(function(){return l})),n.d(e,"w",(function(){return m})),n.d(e,"E",(function(){return f})),n.d(e,"v",(function(){return h})),n.d(e,"D",(function(){return p})),n.d(e,"c",(function(){return g})),n.d(e,"z",(function(){return b})),n.d(e,"A",(function(){return y})),n.d(e,"F",(function(){return j})),n.d(e,"d",(function(){return O})),n.d(e,"e",(function(){return v})),n.d(e,"f",(function(){return w})),n.d(e,"B",(function(){return _})),n.d(e,"a",(function(){return k})),n.d(e,"o",(function(){return F})),n.d(e,"p",(function(){return x})),n.d(e,"C",(function(){return D})),n.d(e,"b",(function(){return q})),n.d(e,"u",(function(){return C})),n.d(e,"t",(function(){return L})),n.d(e,"r",(function(){return E})),n.d(e,"g",(function(){return S})),n.d(e,"G",(function(){return M})),n.d(e,"q",(function(){return T})),n.d(e,"l",(function(){return $})),n.d(e,"j",(function(){return A}));var u=n("b775");function r(t){return Object(u["a"])({url:"/system/game/liucun",method:"post",data:t})}function a(t){return Object(u["a"])({url:"/system/game/payliucun",method:"post",data:t})}function o(t){return Object(u["a"])({url:"/system/game/maindate",method:"post",data:t})}function s(t){return Object(u["a"])({url:"/system/game/lv",method:"post",data:t})}function c(t){return Object(u["a"])({url:"/system/game/playerinfo",method:"post",data:t})}function i(t){return Object(u["a"])({url:"/system/game/vip",method:"post",data:t})}function d(t){return Object(u["a"])({url:"/system/game/hour",method:"post",data:t})}function l(t){return Object(u["a"])({url:"/system/game/hourlogin",method:"post",data:t})}function m(t){return Object(u["a"])({url:"/system/game/serverinfo",method:"post",data:t})}function f(t){return Object(u["a"])({url:"/system/game/saveupdatestatue",method:"post",data:t})}function h(t){return Object(u["a"])({url:"/system/game/getserverdetail/".concat(t),method:"get"})}function p(t){return Object(u["a"])({url:"/system/game/saveserver",method:"post",data:t})}function g(t){return Object(u["a"])({url:"/system/game/delserver/".concat(t),method:"post"})}function b(t){return Object(u["a"])({url:"/system/game/whitelist",method:"post",data:t})}function y(t){return Object(u["a"])({url:"/system/game/getwhitelistdetail/".concat(t),method:"get"})}function j(t){return Object(u["a"])({url:"/system/game/savewhitelist",method:"post",data:t})}function O(t){return Object(u["a"])({url:"/system/game/delwhitelist/".concat(t),method:"post"})}function v(t){return Object(u["a"])({url:"/system/game/blacklist",method:"post",data:t})}function w(t){return Object(u["a"])({url:"/system/game/getblacklistdetail/".concat(t),method:"get"})}function _(t){return Object(u["a"])({url:"/system/game/saveblacklist",method:"post",data:t})}function k(t){return Object(u["a"])({url:"/system/game/delblacklist/".concat(t),method:"post"})}function F(t){return Object(u["a"])({url:"/system/game/noticeinfo",method:"post",data:t})}function x(t){return Object(u["a"])({url:"/system/game/getnoticeinfodetail/".concat(t),method:"get"})}function D(t){return Object(u["a"])({url:"/system/game/savenoticeinfo",method:"post",data:t})}function q(t){return Object(u["a"])({url:"/system/game/delnoticeinfo/".concat(t),method:"post"})}function C(){return Object(u["a"])({url:"/system/game/getserverlist",method:"get"})}function L(t){return Object(u["a"])({url:"/system/game/getrechargestatisticslist",method:"post",data:t})}function E(t){return Object(u["a"])({url:"/system/game/rechargeflow",method:"post",data:t})}function S(t){return Object(u["a"])({url:"/system/game/getchatinfolist",method:"post",data:t})}function M(t,e,n){return Object(u["a"])({url:"/system/game/setsilence?id=".concat(t,"&type=").concat(e,"&serverId=").concat(n),method:"get"})}function T(t){return Object(u["a"])({url:"/system/game/getonlinenumlist",method:"post",data:t})}function $(t){return Object(u["a"])({url:"/system/game/getltvlist",method:"post",data:t})}function A(t){return Object(u["a"])({url:"/system/game/getitemloglist",method:"post",data:t})}}}]);
|