"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7753],{85968:function(I,l,e){var c=e(23674),_=e(62086),E=function(s){var t=(0,c.useModel)("@@initialState"),r=t.initialState,D=t.loading,v=t.error,M=t.refresh,O=t.setInitialState,u=r==null?void 0:r.authPermissionAction;if(!u)return(0,_.jsx)("span",{children:s.children});var n=u.indexOf(s.action);return n>=0?(0,_.jsx)("span",{children:s.children}):(0,_.jsx)(_.Fragment,{})};l.Z=E},70521:function(I,l,e){e.r(l);var c=e(25359),_=e.n(c),E=e(57213),h=e.n(E),s=e(49811),t=e.n(s),r=e(93236),D=e(14649),v=e(50336),M=e(87708),O=e(85968),u=e(90627),n=e(62086),j=u.Z.AdminActionLogsController.adminActionLogsItems;l.default=function(){(0,r.useEffect)(function(){},[]);var A=(0,r.useRef)(),C=[{title:"ID",dataIndex:"id",search:!1},{title:"\u7BA1\u7406\u5458",dataIndex:"admin",search:!1,render:function(d,i){return i.admin.mobile}},{title:"\u5730\u5740",dataIndex:"uri",search:!1},{title:"\u5907\u6CE8",dataIndex:"note",search:!1},{title:"\u53C2\u6570",dataIndex:"params",valueType:"jsonCode",width:"100px",search:!1,render:function(d,i){return JSON.stringify(i.params)}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",search:!1}];return(0,n.jsx)(v._z,{ghost:!0,children:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(M.Z,{actionRef:A,rowKey:"id",search:!1,toolBarRender:function(){return[(0,n.jsx)(O.Z,{action:"admin/admin/create",children:(0,n.jsx)(D.ZP,{type:"primary",onClick:function(){},children:"\u6E05\u9664"})},"admin/admin/create")]},request:function(){var m=t()(_()().mark(function d(i,P,R){var f,a,p;return _()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,j(h()(h()({},i),{},{sorter:P,filter:R}));case 2:return f=o.sent,a=f.data,p=f.success,o.abrupt("return",{data:(a==null?void 0:a.data)||[],total:a==null?void 0:a.total,success:p});case 6:case"end":return o.stop()}},d)}));return function(d,i,P){return m.apply(this,arguments)}}(),columns:C,pagination:{showSizeChanger:!0}})})})}}}]);
