You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
8.3 KiB
1 lines
8.3 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5ce8afc5"],{"1a98":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:"divBox"},[n("el-card",{staticClass:"box-card"},[n("div",{staticClass:"filter-container"},[n("div",{staticClass:"demo-input-suffix"},[t._v("\n 管理员ID:\n "),n("el-input",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"请输入"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleFilter(e)}},model:{value:t.tableFrom.admin_id,callback:function(e){t.$set(t.tableFrom,"admin_id",e)},expression:"tableFrom.admin_id"}}),t._v(" "),n("el-select",{staticClass:"filter-item",staticStyle:{width:"200px"},attrs:{placeholder:"请选择",clearable:""},model:{value:t.tableFrom.method,callback:function(e){t.$set(t.tableFrom,"method",e)},expression:"tableFrom.method"}},t._l(t.importanceOptions,(function(t){return n("el-option",{key:t,attrs:{label:t,value:t}})})),1),t._v(" "),n("el-date-picker",{staticStyle:{width:"250px"},attrs:{"value-format":"yyyy/MM/dd",format:"yyyy/MM/dd",size:"small",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{change:t.onchangeTime},model:{value:t.timeVal,callback:function(e){t.timeVal=e},expression:"timeVal"}}),t._v(" "),n("el-button",{staticClass:"filter-item",attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")])],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.data,size:"small"}},[n("el-table-column",{attrs:{prop:"admin_id",label:"管理员ID","min-width":"60"}}),t._v(" "),n("el-table-column",{attrs:{prop:"admin_name",label:"管理员名称","min-width":"120"}}),t._v(" "),n("el-table-column",{attrs:{prop:"route",label:"请求","min-width":"200"}}),t._v(" "),n("el-table-column",{attrs:{prop:"method",label:"请求方式","min-width":"100"}}),t._v(" "),n("el-table-column",{attrs:{prop:"url",label:"链接","min-width":"250"}}),t._v(" "),n("el-table-column",{attrs:{prop:"ip",label:"IP","min-width":"150"}}),t._v(" "),n("el-table-column",{attrs:{prop:"create_time",label:"操作时间","min-width":"150"}})],1),t._v(" "),n("div",{staticClass:"block"},[n("el-pagination",{attrs:{"page-sizes":[20,40,60,80],"page-size":t.tableFrom.limit,"current-page":t.tableFrom.page,layout:"total, sizes, prev, pager, next, jumper",total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.pageChange}})],1)],1)],1)},a=[],i=n("90e7"),o={name:"SystemLog",data:function(){return{isChecked:!1,listLoading:!0,tableData:{data:[],total:0},timeVal:[],section_time:[],importanceOptions:["POST","DELETE"],tableFrom:{page:1,limit:20,admin_id:"",method:"",date:""}}},mounted:function(){this.getList("")},methods:{getList:function(t){var e=this;this.listLoading=!0,this.tableFrom.page=t||this.tableFrom.page,Object(i["f"])(this.tableFrom).then((function(t){e.tableData.data=t.data.list,e.tableData.total=t.data.count,e.listLoading=!1})).catch((function(t){e.listLoading=!1,e.$message.error(t.message)}))},pageChange:function(t){this.tableFrom.page=t,this.getList("")},handleSizeChange:function(t){this.tableFrom.limit=t,this.getList(1)},onChange:function(t){null==t?(this.tableFrom.section_startTime="",this.tableFrom.section_endTime=""):(this.tableFrom.section_startTime=t[0],this.tableFrom.section_endTime=t[1]),this.getList("")},onchangeTime:function(t){this.timeVal=t,this.tableFrom.date=t?this.timeVal.join("-"):"",this.tableFrom.page=1,this.getList("")}}},u=o,c=(n("e4b7"),n("2877")),s=Object(c["a"])(u,r,a,!1,null,"7c0ddb97",null);e["default"]=s.exports},"90e7":function(t,e,n){"use strict";n.d(e,"x",(function(){return a})),n.d(e,"H",(function(){return i})),n.d(e,"K",(function(){return o})),n.d(e,"I",(function(){return u})),n.d(e,"J",(function(){return c})),n.d(e,"e",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"i",(function(){return d})),n.d(e,"d",(function(){return f})),n.d(e,"h",(function(){return m})),n.d(e,"g",(function(){return g})),n.d(e,"f",(function(){return p})),n.d(e,"u",(function(){return h})),n.d(e,"L",(function(){return b})),n.d(e,"S",(function(){return v})),n.d(e,"w",(function(){return y})),n.d(e,"n",(function(){return _})),n.d(e,"D",(function(){return w})),n.d(e,"T",(function(){return F})),n.d(e,"P",(function(){return k})),n.d(e,"O",(function(){return L})),n.d(e,"N",(function(){return x})),n.d(e,"p",(function(){return C})),n.d(e,"q",(function(){return z})),n.d(e,"l",(function(){return D})),n.d(e,"Q",(function(){return S})),n.d(e,"m",(function(){return T})),n.d(e,"M",(function(){return O})),n.d(e,"s",(function(){return V})),n.d(e,"Z",(function(){return E})),n.d(e,"b",(function(){return j})),n.d(e,"j",(function(){return M})),n.d(e,"k",(function(){return I})),n.d(e,"Y",(function(){return $})),n.d(e,"o",(function(){return J})),n.d(e,"G",(function(){return P})),n.d(e,"F",(function(){return B})),n.d(e,"y",(function(){return N})),n.d(e,"A",(function(){return q})),n.d(e,"a",(function(){return A})),n.d(e,"B",(function(){return G})),n.d(e,"z",(function(){return H})),n.d(e,"C",(function(){return K})),n.d(e,"U",(function(){return Q})),n.d(e,"V",(function(){return R})),n.d(e,"t",(function(){return U})),n.d(e,"R",(function(){return Y})),n.d(e,"v",(function(){return Z})),n.d(e,"r",(function(){return W})),n.d(e,"E",(function(){return X}));var r=n("0c6d");function a(t){return r["a"].get("system/role/lst",t)}function i(){return r["a"].get("system/role/create/form")}function o(t){return r["a"].get("system/role/update/form/".concat(t))}function u(t){return r["a"].delete("system/role/delete/".concat(t))}function c(t,e){return r["a"].post("system/role/status/".concat(t),{status:e})}function s(t){return r["a"].get("system/admin/lst",t)}function l(){return r["a"].get("/system/admin/create/form")}function d(t){return r["a"].get("system/admin/update/form/".concat(t))}function f(t){return r["a"].delete("system/admin/delete/".concat(t))}function m(t,e){return r["a"].post("system/admin/status/".concat(t),{status:e})}function g(t){return r["a"].get("system/admin/password/form/".concat(t))}function p(t){return r["a"].get("system/admin/log",t)}function h(){return r["a"].get("serve/user/is_login")}function b(){return r["a"].get("serve/user/info")}function v(t){return r["a"].get("serve/mealList/".concat(t))}function y(){return r["a"].get("sms/logout")}function _(t){return r["a"].post("serve/login",t)}function w(t){return r["a"].get("serve/paymeal",t)}function F(t){return r["a"].get("sms/record",t)}function k(t){return r["a"].get("serve/record",t)}function L(t){return r["a"].get("serve/us_lst",t)}function x(t){return r["a"].post("serve/open",t)}function C(){return r["a"].get("serve/expr/lst")}function z(t){return r["a"].get("serve/expr/temps",t)}function D(t){return r["a"].get("serve/captcha/".concat(t))}function S(t){return r["a"].post("serve/change_sign",t)}function T(t){return r["a"].post("serve/captcha",t)}function O(t){return r["a"].post("serve/change_password",t)}function V(){return r["a"].get("serve/config")}function E(t){return r["a"].post("serve/config",t)}function j(){return r["a"].get("serve/meal/create/form")}function M(t){return r["a"].get("serve/meal/lst",t)}function I(t,e){return r["a"].post("serve/meal/status/".concat(t),e)}function $(t){return r["a"].get("serve/meal/update/".concat(t,"/form"))}function J(t){return r["a"].delete("serve/meal/detele/".concat(t))}function P(t){return r["a"].get("serve/paylst",t)}function B(t){return r["a"].get("serve/mer/paylst",t)}function N(t){return r["a"].get("serve/mer/lst",t)}function q(t){return r["a"].get("notice/config/lst",t)}function A(){return r["a"].get("notice/config/create/form")}function G(t){return r["a"].get("notice/config/update/".concat(t,"/form"))}function H(t){return r["a"].get("notice/config/change/".concat(t,"/form"))}function K(t,e){return r["a"].post("notice/config/status/".concat(t),e)}function Q(){return r["a"].get("wechat/template/min/sync")}function R(){return r["a"].get("wechat/template/sync")}function U(){return r["a"].get("change/color")}function Y(t){return r["a"].post("change/color",t)}function Z(){return r["a"].get("agreement/keylst")}function W(t){return r["a"].get("agreement/".concat(t))}function X(t,e){return r["a"].post("agreement/".concat(t),e)}},"96c3":function(t,e,n){},e4b7:function(t,e,n){"use strict";n("96c3")}}]); |