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
12 KiB
2 lines
12 KiB
4 months ago
|
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{40110:function(ee,$,n){var d=n(1413),T=n(67294),b=n(509),_=n(91146),S=function(R,P){return T.createElement(_.Z,(0,d.Z)((0,d.Z)({},R),{},{ref:P,icon:b.Z}))},E=T.forwardRef(S);$.Z=E},47989:function(ee,$,n){n.r($);var d=n(97857),T=n.n(d),b=n(15009),_=n.n(b),S=n(99289),E=n.n(S),D=n(81072),R=n(90930),P=n(67539),A=n(35312),U=n(66309),H=n(86250),F=n(86738),M=n(67294),V=n(58125),W=n(42767),f=n(85893),z=function(){var k=(0,A.useParams)(),w=k.code,B=(0,M.useRef)();(0,M.useEffect)(function(){var p;(p=B.current)===null||p===void 0||p.reload()},[w]);var X=[{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(m,h){return(0,f.jsx)(W.Z,{data:h})}},{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(m){return m?(0,f.jsx)(U.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,f.jsx)(U.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function(m){return(0,V.P)(m)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function(m){return(0,V.D)(m)}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(m){return(0,f.jsx)(H.Z,{gap:"small",wrap:!0,children:(0,f.jsxs)(f.Fragment,{children:[m.status===0&&(0,f.jsx)(F.Z,{title:"\u5C01\u7981\u7528\u6237",description:"\u5C01\u7981\u540E\u7528\u6237\u5C06\u65E0\u6CD5\u767B\u5F55\u3001\u65E0\u6CD5\u83B7\u53D6\u6536\u76CA",onConfirm:E()(_()().mark(function h(){var t;return _()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,D.wv)({userId:m.id||0,status:-1});case 2:(t=B.current)===null||t===void 0||t.reload();case 3:case"end":return r.stop()}},h)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,f.jsx)("a",{children:"\u5C01\u7981"})}),m.status===-1&&(0,f.jsx)(F.Z,{title:"\u89E3\u5C01\u7528\u6237",description:"\u89E3\u5C01\u540E\u7528\u6237\u53EF\u4EE5\u6B63\u5E38\u767B\u5F55\u3001\u83B7\u53D6\u6536\u76CA",onConfirm:E()(_()().mark(function h(){var t;return _()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,D.wv)({userId:m.id||0,status:0});case 2:(t=B.current)===null||t===void 0||t.reload();case 3:case"end":return r.stop()}},h)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,f.jsx)("a",{children:"\u89E3\u5C01"})})]})})}}];return(0,f.jsx)(R._z,{children:(0,f.jsx)(P.Z,{actionRef:B,request:function(){var p=E()(_()().mark(function m(h){var t,l,r;return _()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,D.pb)(T()(T()({},h),{},{appCode:w}));case 2:return r=u.sent,u.abrupt("return",{data:(t=r.data)===null||t===void 0?void 0:t.data,total:(l=r.data)===null||l===void 0?void 0:l.total,success:!0});case 4:case"end":return u.stop()}},m)}));return function(m){return p.apply(this,arguments)}}(),columns:X})})};$.default=z},86250:function(ee,$,n){n.d($,{Z:function(){return h}});var d=n(67294),T=n(93967),b=n.n(T),_=n(98423),S=n(98065),E=n(53124),D=n(91945),R=n(45503);const P=["wrap","nowrap","wrap-reverse"],A=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],U=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],H=(t,l)=>{const r=l.wrap===!0?"wrap":l.wrap;return{[`${t}-wrap-${r}`]:r&&P.includes(r)}},F=(t,l)=>{const r={};return U.forEach(o=>{r[`${t}-align-${o}`]=l.align===
|