sk_gm_server/public/static/js/chunk-7e192020.c43a5348.js

1 line
8.8 KiB
Go

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7e192020"],{"5c3b":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("div",{staticClass:"search-form",staticStyle:{"margin-bottom":"15px"}},[n("span",[t._v("服务器:")]),t._v(" "),n("el-select",{attrs:{size:"small",clearable:"",filterable:"",placeholder:"请选择服务器"},on:{change:t.selectServer},model:{value:t.searchForm.serverid,callback:function(e){t.$set(t.searchForm,"serverid",e)},expression:"searchForm.serverid"}},t._l(t.serverMaps,(function(t){return n("el-option",{key:t.serverid,attrs:{label:t.name,value:t.serverid}})})),1),t._v(" "),n("el-input",{staticStyle:{width:"200px"},attrs:{size:"small",clearable:"",placeholder:"nickName"},model:{value:t.searchForm.uid,callback:function(e){t.$set(t.searchForm,"uid",e)},expression:"searchForm.uid"}}),t._v(" "),n("el-input",{staticStyle:{width:"200px"},attrs:{size:"small",clearable:"",placeholder:"userId"},model:{value:t.searchForm.sdkuid,callback:function(e){t.$set(t.searchForm,"sdkuid",e)},expression:"searchForm.sdkuid"}}),t._v(" "),n("el-input",{staticStyle:{width:"200px"},attrs:{size:"small",clearable:"",placeholder:"openId"},model:{value:t.searchForm.openid,callback:function(e){t.$set(t.searchForm,"openid",e)},expression:"searchForm.openid"}}),t._v(" "),n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(){return t.fetchData()}}},[t._v("查询")])],1),t._v(" "),n("div",{staticClass:"div-table"},[n("el-table",{attrs:{data:t.list,"element-loading-text":"Loading",border:"",fit:"","highlight-current-row":""}},[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:"userId"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.id))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"openId"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.openId))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"昵称"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.nickName))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"等级"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.level))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"注册时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.createTime))]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"登录时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(e.row.loginTime))]}}])})],1)],1)])},a=[],u=n("5530"),s=n("eb8c"),o=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{serverMaps:null,treeData:null,list:null,option:null,pickerOptions:null,listLoading:!0,defaultProps:{children:"children",label:"name",id:"id"},searchForm:{serverid:"",name:"",rows:"10",page:"1",sdkuid:"",nickName:"",openid:"",username:""}}},created:function(){this.getServerList(),this.fetchData()},methods:{selectServer:function(){this.fetchData()},fetchData:function(){var t=this;this.listLoading=!0,Object(s["x"])(Object(u["a"])({},this.searchForm)).then((function(e){t.list=e.data.rows,t.listLoading=!1}))},fetchTreeData:function(){var t=this;this.listLoading=!0,Object(o["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},getServerList:function(){var t=this;Object(s["u"])().then((function(e){t.serverMaps=e.data}))}}},l=i,d=(n("a096"),n("2877")),m=Object(d["a"])(l,r,a,!1,null,"d259511a",null);e["default"]=m.exports},"690d":function(t,e,n){},"7a49":function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return u})),n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return o})),n.d(e,"a",(function(){return c}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/menu/page",method:"post",data:t})}function u(){return Object(r["a"])({url:"/system/menu/tree",method:"post"})}function s(t){return Object(r["a"])({url:"/system/menu/get/".concat(t),method:"get"})}function o(t){return Object(r["a"])({url:"/system/menu/save",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/system/menu/delete/".concat(t),method:"post"})}},a096:function(t,e,n){"use strict";n("690d")},eb8c:function(t,e,n){"use strict";n.d(e,"k",(function(){return a})),n.d(e,"s",(function(){return u})),n.d(e,"n",(function(){return s})),n.d(e,"m",(function(){return o})),n.d(e,"x",(function(){return c})),n.d(e,"y",(function(){return i})),n.d(e,"h",(function(){return l})),n.d(e,"i",(function(){return d})),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 b})),n.d(e,"z",(function(){return g})),n.d(e,"A",(function(){return v})),n.d(e,"F",(function(){return y})),n.d(e,"d",(function(){return j})),n.d(e,"e",(function(){return O})),n.d(e,"f",(function(){return _})),n.d(e,"B",(function(){return k})),n.d(e,"a",(function(){return w})),n.d(e,"o",(function(){return F})),n.d(e,"p",(function(){return S})),n.d(e,"C",(function(){return x})),n.d(e,"b",(function(){return D})),n.d(e,"u",(function(){return L})),n.d(e,"t",(function(){return $})),n.d(e,"r",(function(){return z})),n.d(e,"g",(function(){return C})),n.d(e,"G",(function(){return I})),n.d(e,"q",(function(){return M})),n.d(e,"l",(function(){return T})),n.d(e,"j",(function(){return E}));var r=n("b775");function a(t){return Object(r["a"])({url:"/system/game/liucun",method:"post",data:t})}function u(t){return Object(r["a"])({url:"/system/game/payliucun",method:"post",data:t})}function s(t){return Object(r["a"])({url:"/system/game/maindate",method:"post",data:t})}function o(t){return Object(r["a"])({url:"/system/game/lv",method:"post",data:t})}function c(t){return Object(r["a"])({url:"/system/game/playerinfo",method:"post",data:t})}function i(t){return Object(r["a"])({url:"/system/game/vip",method:"post",data:t})}function l(t){return Object(r["a"])({url:"/system/game/hour",method:"post",data:t})}function d(t){return Object(r["a"])({url:"/system/game/hourlogin",method:"post",data:t})}function m(t){return Object(r["a"])({url:"/system/game/serverinfo",method:"post",data:t})}function f(t){return Object(r["a"])({url:"/system/game/saveupdatestatue",method:"post",data:t})}function h(t){return Object(r["a"])({url:"/system/game/getserverdetail/".concat(t),method:"get"})}function p(t){return Object(r["a"])({url:"/system/game/saveserver",method:"post",data:t})}function b(t){return Object(r["a"])({url:"/system/game/delserver/".concat(t),method:"post"})}function g(t){return Object(r["a"])({url:"/system/game/whitelist",method:"post",data:t})}function v(t){return Object(r["a"])({url:"/system/game/getwhitelistdetail/".concat(t),method:"get"})}function y(t){return Object(r["a"])({url:"/system/game/savewhitelist",method:"post",data:t})}function j(t){return Object(r["a"])({url:"/system/game/delwhitelist/".concat(t),method:"post"})}function O(t){return Object(r["a"])({url:"/system/game/blacklist",method:"post",data:t})}function _(t){return Object(r["a"])({url:"/system/game/getblacklistdetail/".concat(t),method:"get"})}function k(t){return Object(r["a"])({url:"/system/game/saveblacklist",method:"post",data:t})}function w(t){return Object(r["a"])({url:"/system/game/delblacklist/".concat(t),method:"post"})}function F(t){return Object(r["a"])({url:"/system/game/noticeinfo",method:"post",data:t})}function S(t){return Object(r["a"])({url:"/system/game/getnoticeinfodetail/".concat(t),method:"get"})}function x(t){return Object(r["a"])({url:"/system/game/savenoticeinfo",method:"post",data:t})}function D(t){return Object(r["a"])({url:"/system/game/delnoticeinfo/".concat(t),method:"post"})}function L(){return Object(r["a"])({url:"/system/game/getserverlist",method:"get"})}function $(t){return Object(r["a"])({url:"/system/game/getrechargestatisticslist",method:"post",data:t})}function z(t){return Object(r["a"])({url:"/system/game/rechargeflow",method:"post",data:t})}function C(t){return Object(r["a"])({url:"/system/game/getchatinfolist",method:"post",data:t})}function I(t,e,n){return Object(r["a"])({url:"/system/game/setsilence?id=".concat(t,"&type=").concat(e,"&serverId=").concat(n),method:"get"})}function M(t){return Object(r["a"])({url:"/system/game/getonlinenumlist",method:"post",data:t})}function T(t){return Object(r["a"])({url:"/system/game/getltvlist",method:"post",data:t})}function E(t){return Object(r["a"])({url:"/system/game/getitemloglist",method:"post",data:t})}}}]);