sk_gm_server/public/static/js/chunk-1a9a4e54.dc1589e1.js

1 line
7.0 KiB
Go

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1a9a4e54"],{2406:function(t,e,n){"use strict";n.d(e,"k",(function(){return r})),n.d(e,"j",(function(){return i})),n.d(e,"n",(function(){return o})),n.d(e,"o",(function(){return s})),n.d(e,"r",(function(){return u})),n.d(e,"i",(function(){return c})),n.d(e,"m",(function(){return l})),n.d(e,"h",(function(){return d})),n.d(e,"a",(function(){return p})),n.d(e,"e",(function(){return m})),n.d(e,"c",(function(){return f})),n.d(e,"b",(function(){return g})),n.d(e,"d",(function(){return h})),n.d(e,"p",(function(){return b})),n.d(e,"l",(function(){return y})),n.d(e,"f",(function(){return _})),n.d(e,"q",(function(){return v})),n.d(e,"g",(function(){return w}));var a=n("b775");function r(t){return Object(a["a"])({url:"/system/gm/getsendmaillist",method:"post",data:t})}function i(t){return Object(a["a"])({url:"/system/gm/getsendmailalllist",method:"post",data:t})}function o(t){return Object(a["a"])({url:"/system/gm/savemaillog",method:"post",data:t})}function s(t){return Object(a["a"])({url:"/system/gm/sendmail",method:"post",data:t})}function u(t){return Object(a["a"])({url:"/system/gm/updatemail",method:"post",data:t})}function c(t){return Object(a["a"])({url:"/system/gm/getrechargeinfolist",method:"post",data:t})}function l(t){return Object(a["a"])({url:"/system/gm/pay",method:"post",data:t})}function d(t){return Object(a["a"])({url:"/system/gm/getpayloglist",method:"post",data:t})}function p(t){return Object(a["a"])({url:"/system/gm/creatcdk",method:"post",data:t})}function m(t){return Object(a["a"])({url:"/system/gm/getcreatcdklist",method:"post",data:t})}function f(t){return Object(a["a"])({url:"/system/gm/getcdkidlist",method:"post",data:t})}function g(t){return Object(a["a"])({url:"/system/gm/creatcdkcode",method:"post",data:t})}function h(t){return Object(a["a"])({url:"/system/gm/getcreatcdkcodelist",method:"post",data:t})}function b(t){return Object(a["a"])({url:"/system/gm/setsilence",method:"post",data:t})}function y(t){return Object(a["a"])({url:"/system/gm/getsilencelist",method:"post",data:t})}function _(t){return Object(a["a"])({url:"/system/gm/herocommentlist",method:"post",data:t})}function v(t){return Object(a["a"])({url:"/system/gm/setsilenceherocomment",method:"post",data:t})}function w(t){return Object(a["a"])({url:"/system/gm/herocommentloglist",method:"post",data:t})}},"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=[],i={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}}},o=i,s=(n("5c29"),n("2877")),u=Object(s["a"])(o,a,r,!1,null,null,null);e["a"]=u.exports},"5c29":function(t,e,n){"use strict";n("90b0")},7534:function(t,e,n){"use strict";n("9d6f")},"90b0":function(t,e,n){},"9d6f":function(t,e,n){},e907: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:"div-table"},[n("el-table",{attrs:{data:t.list,"element-loading-text":"Loading",border:"",fit:"","highlight-current-row":"","header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},"default-sort":{prop:"updatetime",order:"descending"}}},[n("el-table-column",{attrs:{type:"index",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:"uid",width:"120",prop:"uid"},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:"服务器id",width:"120",prop:"serverId"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.serverId))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"服务器",width:"120",prop:"serverName"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.serverName))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"类型",width:"120",prop:"stype"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(0==e.row.type?"解除禁言":"禁言"))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"cmd",width:"200",prop:"cmd"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.cmd))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作人",width:"120",prop:"updateuser"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.updateuser))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作时间",width:"200",prop:"updatetime"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.updatetime))])]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.type?n("el-button",{attrs:{size:"small",type:"primary"},on:{click:function(){return t.unSilence(e.row)}}},[t._v("解除禁言")]):t._e()]}}])})],1)],1),t._v(" "),n("div",[n("pagination",{attrs:{pagination:t.pagination}})],1)])},r=[],i=n("5530"),o=n("333d"),s=n("2406"),u=n("83d6"),c={components:{pagination:o["a"]},data:function(){return{editNotavailable:!1,treeData:null,list:null,listLoading:!0,serverMaps:null,searchForm:{uid:"",heroId:"",rows:"10",page:"1"},pagination:u["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.fetchData(),this.fetchData1()},methods:{fetchData:function(){var t=this;this.listLoading=!0,Object(s["g"])(Object(i["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(s["g"])(Object(i["a"])({},this.searchForm)).then((function(e){t.list=e.data.rows,t.pagination.total=e.data.total,t.pagination.currentPage=1,t.pagination.pageSize=10,t.listLoading=!1}))},unSilence:function(t){var e=this;t.stype=0,this.$confirm("确定给‘"+t.uid+"‘解除禁言吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["q"])(t).then((function(t){0===t.code?(e.$message({message:"操作成功",type:"success"}),e.dialogFormVisible=!1,e.fetchData()):e.$message({message:t.msg,type:"error"})}))})).catch((function(){e.$message({type:"info",message:"已取消操作"})}))}}},l=c,d=(n("7534"),n("2877")),p=Object(d["a"])(l,a,r,!1,null,"0c938ac2",null);e["default"]=p.exports}}]);