webpackJsonp([42],{WZgi:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=a("CCn6"),s={name:"sysConfig",components:{page:a("kmJW").a},data:function(){return{list:[],total:0,nowPage:1,limit:10,searchFrom:{admin_id:"",url:"",desc:""}}},mounted:function(){this.getList()},methods:{getList:function(){var e=this;this.searchFrom.page=this.nowPage;var t={page:this.nowPage,limit:this.limit};this.searchFrom.admin_id&&(t.admin_id=this.searchFrom.admin_id),this.searchFrom.url&&(t.url=this.searchFrom.url),this.searchFrom.desc&&(t.desc=this.searchFrom.desc),Object(l._31)(t).then(function(t){e.list=t.list,e.total=t.total})},onPageChange:function(e){this.nowPage=e,this.getList()},onSizeChange:function(e){this.nowPage=1,this.limit=e,this.getList()}}},r={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"log"},[a("el-form",{ref:"searchFrom",attrs:{model:e.searchFrom,"label-width":"80px",inline:""}},[a("el-form-item",{attrs:{label:"用户ID"}},[a("el-input",{model:{value:e.searchFrom.admin_id,callback:function(t){e.$set(e.searchFrom,"admin_id",t)},expression:"searchFrom.admin_id"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"地址"}},[a("el-input",{model:{value:e.searchFrom.url,callback:function(t){e.$set(e.searchFrom,"url",t)},expression:"searchFrom.url"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"功能名"}},[a("el-input",{model:{value:e.searchFrom.desc,callback:function(t){e.$set(e.searchFrom,"desc",t)},expression:"searchFrom.desc"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",plain:""},on:{click:e.getList}},[e._v("搜索")])],1)],1),e._v(" "),a("el-table",{staticStyle:{width:"100%"},attrs:{data:e.list}},[a("el-table-column",{attrs:{type:"expand"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-form",{staticClass:"demo-table-expand",attrs:{"label-position":"left"}},[a("el-form-item",{attrs:{label:"请求方法"}},[a("span",[e._v(e._s(t.row.method))])]),e._v(" "),a("el-form-item",{attrs:{label:"请求链接"}},[a("span",[e._v(e._s(t.row.url))])]),e._v(" "),a("el-form-item",{attrs:{label:"参数"}},[a("span",[e._v(e._s(t.row.params))])])],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"角色",prop:"user_role"}}),e._v(" "),a("el-table-column",{attrs:{label:"登陆名",prop:"user_name"}}),e._v(" "),a("el-table-column",{attrs:{label:"用户ID",prop:"admin_id",sortable:""}}),e._v(" "),a("el-table-column",{attrs:{label:"用户名",prop:"user_desc"}}),e._v(" "),a("el-table-column",{attrs:{label:"功能名",prop:"desc"}}),e._v(" "),a("el-table-column",{attrs:{prop:"created_at",label:"创建时间",sortable:""}})],1),e._v(" "),a("page",{attrs:{total:e.total,limit:e.limit},on:{pageChange:e.onPageChange,sizeChange:e.onSizeChange}})],1)},staticRenderFns:[]};var i=a("VU/8")(s,r,!1,function(e){a("hy97")},"data-v-e943b26a",null);t.default=i.exports},hy97:function(e,t){}});