"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5351],{986:function(I,c,e){e.r(c),e.d(c,{default:function(){return C}});var h=e(90228),s=e.n(h),p=e(87999),v=e.n(p),g=e(7485);function y(o){return u.apply(this,arguments)}function u(){return u=v()(s()().mark(function o(d){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,g.request)("/api/device/amount/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:d||{}}));case 1:case"end":return a.stop()}},o)})),u.apply(this,arguments)}var T=e(50959),x=e(16030),R=e(35384),l=e(11527),j=function(){var d=(0,T.useRef)(),f=[{title:"ID",dataIndex:"id",valueType:"text",search:!1},{title:"\u670D\u52A1\u8D39\u91D1\u989D",dataIndex:"amout",valueType:"text",search:!1},{title:"\u670D\u52A1\u8D39\u4EA7\u751F\u65E5\u671F",dataIndex:"incomeDay",valueType:"dateRange",render:function(n,r){return r==null?void 0:r.incomeDay},search:{transform:function(n){return{incomeDayBegin:n[0],incomeDayEnd:n[1]}}}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",valueType:"text",search:!1}];return(0,l.jsx)(x._z,{children:(0,l.jsx)("div",{style:{width:"100%",float:"right"},children:(0,l.jsx)(R.Z,{actionRef:d,rowKey:"id",search:{labelWidth:120},request:function(){var a=v()(s()().mark(function n(r,D,L){var m,t;return s()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,y(r);case 2:return m=i.sent,t=m.data,i.abrupt("return",{data:(t==null?void 0:t.records)||[],total:t==null?void 0:t.total});case 5:case"end":return i.stop()}},n)}));return function(n,r,D){return a.apply(this,arguments)}}(),columns:f},"logList")})})},C=j}}]);
