(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-79b8a506"],{"10ae":function(t,e,n){"use strict";var s=n("9078"),a=n.n(s);a.a},"218f":function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"process__header"},[n("p",{staticClass:"process__header__p"},[t._v(t._s(this.$t("database_process_list")))]),n("div",[n("Button",{staticClass:"process__header__btn",attrs:{type:"primary"},on:{click:t.getQuery}},[t._v(t._s(t.$t("refresh")))])],1)]),n("Table",{staticClass:"process__tab",attrs:{border:"",width:"80%",columns:t.columnsList,data:t.loginData,loading:t.processLoad},scopedSlots:t._u([{key:"User",fn:function(e){var s=e.row;return[n("p",[t._v(" "+t._s(s.User)+" ")])]}},{key:"db",fn:function(e){var s=e.row;return[n("p",[t._v(" "+t._s(s.db)+" ")])]}},{key:"time",fn:function(e){var s=e.row;return[n("p",[t._v(t._s(s.Time/1e3))])]}},{key:"Command_str",fn:function(e){var s=e.row;return[n("p",[t._v(t._s(s.Command_str))])]}}])})],1)},a=[],r=n("c48b"),i=n("c276"),o={data:function(){return{token:Object(i["h"])(),loginData:[],processLoad:!1,columnsList:[{title:this.$t("pl_id"),key:"Id",align:"center"},{title:this.$t("pl_user"),key:"User",slot:"User",align:"center"},{title:this.$t("pl_db"),key:"db",slot:"db",align:"center"},{title:this.$t("pl_command"),key:"Command_str",align:"center",slot:"Command_str"},{title:this.$t("pl_time"),key:"Time",align:"center",slot:"time"},{title:this.$t("pl_state"),key:"State",align:"center"},{title:this.$t("pl_info"),key:"Info",align:"center"}]}},created:function(){this.getQuery()},mounted:function(){},methods:{getQuery:function(){var t=this;this.processLoad=!0;var e=new FormData;e.append("access_token",this.token),Object(r["a"])(e).then((function(e){200===e.ret?t.loginData=e.data:t.$Message.error(resData.msg),t.processLoad=!1}))}}},c=o,l=(n("10ae"),n("2877")),u=Object(l["a"])(c,s,a,!1,null,null,null);e["default"]=u.exports},9078:function(t,e,n){},c48b:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return r}));var s=n("66df"),a=function(t){return s["a"].request({method:"post",url:"api/admin.php?s=Admin.Database.GetSpaceIndex",data:t})},r=function(t){return s["a"].request({method:"post",url:"api/admin.php?s=Admin.Database.GetProcess",data:t})}}}]);