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.
2 lines
9.0 KiB
2 lines
9.0 KiB
2 months ago
|
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[526],{40110:function(G,P,r){var o=r(1413),d=r(67294),b=r(509),_=r(91146),O=function(y,h){return d.createElement(_.Z,(0,o.Z)((0,o.Z)({},y),{},{ref:h,icon:b.Z}))},m=d.forwardRef(O);P.Z=m},58371:function(G,P,r){r.r(P);var o=r(15009),d=r.n(o),b=r(97857),_=r.n(b),O=r(99289),m=r.n(O),T=r(81072),y=r(58125),h=r(90930),A=r(67539),S=r(35312),W=r(66309),I=r(67294),u=r(42767),i=r(85893),f=function(){var l=(0,S.useParams)(),H=l.code,X=(0,I.useRef)();(0,I.useEffect)(function(){var p;(p=X.current)===null||p===void 0||p.reload()},[H]);var Q=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"id",dataIndex:"id",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"nickname",valueType:"textarea",renderText:function(g,K){return(0,i.jsx)(u.Z,{data:K})}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(g){return g?(0,i.jsx)(W.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,i.jsx)(W.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function(g){return(0,y.P)(g)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function(g){return(0,y.D)(g)}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0}];return(0,i.jsx)(h._z,{children:(0,i.jsx)(A.Z,{actionRef:X,request:function(){var p=m()(d()().mark(function g(K){var V,x,N;return d()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,(0,T.pb)(_()(_()({},K),{},{appCode:H}));case 2:return N=B.sent,B.abrupt("return",{data:(V=N.data)===null||V===void 0?void 0:V.data,total:(x=N.data)===null||x===void 0?void 0:x.total,success:!0});case 4:case"end":return B.stop()}},g)}));return function(g){return p.apply(this,arguments)}}(),columns:Q})})};P.default=f},81072:function(G,P,r){r.d(P,{fn:function(){return W},pb:function(){return A},wv:function(){return y}});var o=r(15009),d=r.n(o),b=r(97857),_=r.n(b),O=r(99289),m=r.n(O),T=r(35312);function y(u,i){return h.apply(this,arguments)}function h(){return h=m()(d()().mark(function u(i,f){return d()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,T.request)("/api/admin/user/changeStatus",_()({method:"POST",params:_()({},i)},f||{})));case 1:case"end":return l.stop()}},u)})),h.apply(this,arguments)}function A(u,i){return S.apply(this,arguments)}function S(){return S=m()(d()().mark(function u(i,f){return d()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,T.request)("/api/admin/user/list",_()({method:"POST",headers:{"Content-Type":"application/json"},data:i},f||{})));case 1:case"end":return l.stop()}},u)})),S.apply(this,arguments)}function W(u,i){return I.apply(this,arguments)}function I(){return I=m()(d()().mark(function u(i,f){return d()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,T.request)("/api/admin/user/queryById",_()({method:"GET",params:_()({},i)},f||{})));case 1:case"end":return l.stop()}},u)})),I.apply(this,arguments)}},66309:function(G,P,r){r.d(P,{Z:function(){return ie}});var o=r(67294),d=r(93967),b=r.n(d),_=r(98423),O=r(98787),m=r(69760),T=r(96159),y=r(45353),h=r(53124),A=r(54548),S=r(10274),W=r(14747),I=r(45503),u=r(91945);const i=e=>{const{paddingXXS:a,lineWidth:s,tagPaddingHorizontal:n,componentCls:t,calc:C}=e,c=C(n).sub(s).equal(),U=C(a).sub(s).equal();return{[t]:Object.assign(Object.assign({},(0,W.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:c,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,A.
|