This commit is contained in:
PC-202306242200\Administrator
2024-09-11 17:09:42 +08:00
parent 8c0d331916
commit bd9b2ef2d2
5 changed files with 6 additions and 3 deletions

2
dist/index.html vendored
View File

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.90d654b2.js"></script>
<script src="/umi.595d7575.js"></script>
</body></html>

View File

@@ -0,0 +1 @@
"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}}]);

View File

@@ -1 +0,0 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5351],{986:function(L,d,e){e.r(d),e.d(d,{default:function(){return C}});var m=e(90228),s=e.n(m),p=e(87999),c=e.n(p),g=e(7485);function y(l){return i.apply(this,arguments)}function i(){return i=c()(s()().mark(function l(o){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:o||{}}));case 1:case"end":return a.stop()}},l)})),i.apply(this,arguments)}var T=e(50959),x=e(16030),R=e(35384),u=e(11527),j=function(){var o=(0,T.useRef)(),v=[{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",search:{transform:function(r){return{incomeDayBegin:r[0],incomeDayEnd:r[1]}}}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",valueType:"text",search:!1}];return(0,u.jsx)(x._z,{children:(0,u.jsx)("div",{style:{width:"100%",float:"right"},children:(0,u.jsx)(R.Z,{actionRef:o,rowKey:"id",search:{labelWidth:120},request:function(){var a=c()(s()().mark(function r(f,I,P){var h,t;return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,y(f);case 2:return h=n.sent,t=h.data,n.abrupt("return",{data:(t==null?void 0:t.records)||[],total:t==null?void 0:t.total});case 5:case"end":return n.stop()}},r)}));return function(r,f,I){return a.apply(this,arguments)}}(),columns:v},"logList")})})},C=j}}]);

File diff suppressed because one or more lines are too long

View File

@@ -29,6 +29,9 @@ const LogTableList: React.FC = () => {
title: '服务费产生日期',
dataIndex: 'incomeDay',
valueType: 'dateRange',
render: (_, record) => {
return record?.incomeDay
},
search: {
transform: (value) => {
return {