sk_gm_server/public/static/js/chunk-a8414c1e.4a7acf35.js

1 line
12 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a8414c1e"],{"333d":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pagination"},[n("el-pagination",{attrs:{layout:"total, sizes, prev, pager, next, jumper",pagination:t.pagination,"page-size":t.pagination.pageSize,"current-page":t.pagination.currentPage,total:t.pagination.total,"page-sizes":t.pagination.pageSizes},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1)},r=[],o={props:{pagination:{type:Object,default:function(){return{pageSizes:[],pageSize:10,currentPage:1,total:0}}}},methods:{handleCurrentChange:function(t){this.pagination.currentPage=t},handleSizeChange:function(t){this.pagination.pageSize=t}}},i=o,s=(n("5c29"),n("2877")),l=Object(s["a"])(i,a,r,!1,null,null,null);e["a"]=l.exports},"4ee4":function(t,e,n){"use strict";n("58c6")},"58c6":function(t,e,n){},"5c29":function(t,e,n){"use strict";n("90b0")},"90b0":function(t,e,n){},eb8c:function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"s",(function(){return o})),n.d(e,"n",(function(){return i})),n.d(e,"m",(function(){return s})),n.d(e,"x",(function(){return l})),n.d(e,"y",(function(){return c})),n.d(e,"h",(function(){return u})),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 p})),n.d(e,"D",(function(){return h})),n.d(e,"c",(function(){return g})),n.d(e,"z",(function(){return v})),n.d(e,"A",(function(){return b})),n.d(e,"F",(function(){return y})),n.d(e,"d",(function(){return _})),n.d(e,"e",(function(){return w})),n.d(e,"f",(function(){return j})),n.d(e,"B",(function(){return S})),n.d(e,"a",(function(){return O})),n.d(e,"o",(function(){return k})),n.d(e,"p",(function(){return x})),n.d(e,"C",(function(){return F})),n.d(e,"b",(function(){return z})),n.d(e,"u",(function(){return D})),n.d(e,"t",(function(){return C})),n.d(e,"r",(function(){return I})),n.d(e,"g",(function(){return L})),n.d(e,"G",(function(){return $})),n.d(e,"q",(function(){return P})),n.d(e,"l",(function(){return M})),n.d(e,"j",(function(){return E}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/game/liucun",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/system/game/payliucun",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/system/game/maindate",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/system/game/lv",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/system/game/playerinfo",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/system/game/vip",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/system/game/hour",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/system/game/hourlogin",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/game/serverinfo",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/system/game/saveupdatestatue",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/system/game/getserverdetail/".concat(t),method:"get"})}function h(t){return Object(a["a"])({url:"/system/game/saveserver",method:"post",data:t})}function g(t){return Object(a["a"])({url:"/system/game/delserver/".concat(t),method:"post"})}function v(t){return Object(a["a"])({url:"/system/game/whitelist",method:"post",data:t})}function b(t){return Object(a["a"])({url:"/system/game/getwhitelistdetail/".concat(t),method:"get"})}function y(t){return Object(a["a"])({url:"/system/game/savewhitelist",method:"post",data:t})}function _(t){return Object(a["a"])({url:"/system/game/delwhitelist/".concat(t),method:"post"})}function w(t){return Object(a["a"])({url:"/system/game/blacklist",method:"post",data:t})}function j(t){return Object(a["a"])({url:"/system/game/getblacklistdetail/".concat(t),method:"get"})}function S(t){return Object(a["a"])({url:"/system/game/saveblacklist",method:"post",data:t})}function O(t){return Object(a["a"])({url:"/system/game/delblacklist/".concat(t),method:"post"})}function k(t){return Object(a["a"])({url:"/system/game/noticeinfo",method:"post",data:t})}function x(t){return Object(a["a"])({url:"/system/game/getnoticeinfodetail/".concat(t),method:"get"})}function F(t){return Object(a["a"])({url:"/system/game/savenoticeinfo",method:"post",data:t})}function z(t){return Object(a["a"])({url:"/system/game/delnoticeinfo/".concat(t),method:"post"})}function D(){return Object(a["a"])({url:"/system/game/getserverlist",method:"get"})}function C(t){return Object(a["a"])({url:"/system/game/getrechargestatisticslist",method:"post",data:t})}function I(t){return Object(a["a"])({url:"/system/game/rechargeflow",method:"post",data:t})}function L(t){return Object(a["a"])({url:"/system/game/getchatinfolist",method:"post",data:t})}function $(t,e,n){return Object(a["a"])({url:"/system/game/setsilence?id=".concat(t,"&type=").concat(e,"&serverId=").concat(n),method:"get"})}function P(t){return Object(a["a"])({url:"/system/game/getonlinenumlist",method:"post",data:t})}function M(t){return Object(a["a"])({url:"/system/game/getltvlist",method:"post",data:t})}function E(t){return Object(a["a"])({url:"/system/game/getitemloglist",method:"post",data:t})}},f0c3:function(t,e,n){"use strict";n.r(e);var a=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",{staticStyle:{width:"150px"},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("span",{staticStyle:{"margin-left":"20px"}},[t._v("类型:")]),t._v(" "),n("el-select",{staticStyle:{width:"150px"},attrs:{size:"small",clearable:"",filterable:"",placeholder:"请选择类型"},model:{value:t.searchForm.typenum,callback:function(e){t.$set(t.searchForm,"typenum",e)},expression:"searchForm.typenum"}},[n("el-option",{attrs:{label:"获得",value:"0"}}),t._v(" "),n("el-option",{attrs:{label:"消耗",value:"1"}})],1),t._v(" "),n("span",{staticStyle:{"margin-left":"20px"}},[t._v("角色id")]),t._v(" "),n("el-input",{staticStyle:{width:"130px"},attrs:{size:"small",clearable:"",placeholder:"请输入角色id"},model:{value:t.searchForm.uid,callback:function(e){t.$set(t.searchForm,"uid",e)},expression:"searchForm.uid"}}),t._v(" "),n("span",{staticStyle:{"margin-left":"20px"}},[t._v("reason")]),t._v(" "),n("el-input",{staticStyle:{width:"130px"},attrs:{size:"small",clearable:"",placeholder:"请输入reason"},model:{value:t.searchForm.reasonid,callback:function(e){t.$set(t.searchForm,"reasonid",e)},expression:"searchForm.reasonid"}}),t._v(" "),n("span",{staticStyle:{"margin-left":"20px"}},[t._v("itemId")]),t._v(" "),n("el-input",{staticStyle:{width:"130px"},attrs:{size:"small",clearable:"",placeholder:"请输入itemid"},model:{value:t.searchForm.itemId,callback:function(e){t.$set(t.searchForm,"itemId",e)},expression:"searchForm.itemId"}}),t._v(" "),n("br"),t._v(" "),n("div",{staticStyle:{"padding-top":"10px"}},[n("span",[t._v("日期:")]),t._v(" "),n("el-date-picker",{attrs:{type:"datetimerange",align:"right","value-format":"yyyy-MM-dd HH:mm:ss","unlink-panels":"","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["00:00:00","23:59:59"]},model:{value:t.searchForm.searchData,callback:function(e){t.$set(t.searchForm,"searchData",e)},expression:"searchForm.searchData"}}),t._v(" "),n("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"primary",size:"small"},on:{click:function(){return t.fetchData1()}}},[t._v("\n 查询\n ")])],1)],1),t._v(" "),n("div",{staticClass:"div-table"},[n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.list,"element-loading-text":"Loading",border:"",fit:"","highlight-current-row":"","default-sort":{prop:"time",order:"descending"},"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},"row-style":t.rowStyle}},[n("el-table-column",{attrs:{label:"序号",width:"50"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(e.$index+1)+"\n ")]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"时间",width:"160",prop:"time"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.time))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"角色id",width:"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.uid))])]}}])}),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.level))])]}}])}),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(0==e.row.typenum?"获得":"消耗"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"reason",width:"90"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.reasonid))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"项目"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.reason))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"itemid",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.itemid))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"物品"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.itemname))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"作战方案"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.exitInfo))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"数量",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.itemnum))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"剩余数量",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.itemtotalnum))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"验证",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.totalnum))])]}}])}),t._v(" "),t._e()],1)],1),t._v(" "),n("div",[n("pagination",{attrs:{pagination:t.pagination}})],1)])},r=[],o=n("5530"),i=n("eb8c"),s=n("83d6"),l=n("333d"),c={components:{pagination:l["a"]},data:function(){return{serverMaps:null,editNotavailable:!1,treeData:null,list:null,listLoading:!0,searchForm:{typenum:"",reasonid:"",itemId:"",searchData:"",orderId:"",serverid:"",uid:"",rows:"10",page:"1"},dialogFormVisible:!1,formLabelWidth:"100px",pagination:s["pageParams"]}},watch:{"pagination.currentPage":function(){this.searchForm.page=this.pagination.currentPage,this.fetchData()},"pagination.pageSize":function(){this.searchForm.rows=this.pagination.pageSize,this.searchForm.page=1,this.fetchData()}},created:function(){this.getServerList(),this.fetchData(),this.fetchData1()},methods:{selectServer:function(){this.fetchData1()},fetchData:function(){var t=this;this.listLoading=!0,Object(i["j"])(Object(o["a"])({},this.searchForm)).then((function(e){t.list=e.data.rows,t.pagination.total=e.data.total,t.pagination.currentPage=e.data.current,t.listLoading=!1}))},fetchData1:function(){var t=this;this.listLoading=!0,Object(i["j"])(Object(o["a"])({},this.searchForm)).then((function(e){t.list=e.data.rows,t.pagination.total=e.data.total,t.pagination.currentPage=1,t.pagination.pageSize=20,t.listLoading=!1}))},getServerList:function(){var t=this;Object(i["u"])().then((function(e){t.serverMaps=e.data}))},rowStyle:function(t){var e=t.row;t.rowIndex;if("1"===e.state)return{backgroundColor:"lightpink"}}}},u=c,d=(n("4ee4"),n("2877")),m=Object(d["a"])(u,a,r,!1,null,"2c9256da",null);e["default"]=m.exports}}]);