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
15 KiB
2 lines
15 KiB
5 months ago
|
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{38171:function(w,D,t){var d=t(55241),C=t(2487),I=t(71230),_=t(7134),R=t(67294),x=t(52043),E=t(58125),c=t(85893),o=function(f){var y=(0,x.E7)(f.data.env);return(0,c.jsx)(d.Z,{content:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,E.P)(f.data.income),"\u5143"]}),(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,E.D)(f.data.realMoney),"\u5143"]}),y.length>0&&(0,c.jsx)(C.Z,{size:"small",header:(0,c.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:y,renderItem:function(v){return(0,c.jsx)(C.Z.Item,{children:v})}})]}),children:(0,c.jsxs)(I.Z,{children:[(0,c.jsx)(_.C,{src:f.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,c.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:y.length>0?"red":""},children:["id:",f.data.id,(0,c.jsx)("br",{}),f.data.nickname||f.data.mobile]})]})})};D.Z=o},47989:function(w,D,t){t.r(D);var d=t(97857),C=t.n(d),I=t(15009),_=t.n(I),R=t(99289),x=t.n(R),E=t(81072),c=t(90930),o=t(67539),b=t(35312),f=t(66309),y=t(86250),M=t(86738),v=t(67294),T=t(58125),U=t(38171),p=t(85893),h=function(){var q=(0,b.useParams)(),H=q.code,N=(0,v.useRef)();(0,v.useEffect)(function(){var B;(B=N.current)===null||B===void 0||B.reload()},[H]);var Y=[{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(O,$){return(0,p.jsx)(U.Z,{data:$})}},{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(O){return O?(0,p.jsx)(f.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,p.jsx)(f.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function(O){return(0,T.P)(O)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function(O){return(0,T.D)(O)}},{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(O){return(0,p.jsx)(y.Z,{gap:"small",wrap:!0,children:(0,p.jsxs)(p.Fragment,{children:[O.status===0&&(0,p.jsx)(M.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:x()(_()().mark(function $(){var n;return _()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,E.wv)({userId:O.id||0,status:-1});case 2:(n=N.current)===null||n===void 0||n.reload();case 3:case"end":return r.stop()}},$)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,p.jsx)("a",{children:"\u5C01\u7981"})}),O.status===-1&&(0,p.jsx)(M.Z,{title:"\u89E3\u5C01\u7528\u6237",description:"\u89E3\u5C01\u540E\u7528\u6237\u53EF\u4EE5\u6B63\u5E38\u767B\u5F55\u3001\u83B7\u53D6\u6536\u76CA",onConfirm:x()(_()().mark(function $(){var n;return _()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,E.wv)({userId:O.id||0,status:0});case 2:(n=N.current)===null||n===void 0||n.reload();case 3:case"end":return r.stop()}},$)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,p.jsx)("a",{children:"\u89E3\u5C01"})})]})})}}];return(0,p.jsx)(c._z,{children:(0,p.jsx)(o.Z,{actionRef:N,request:function(){var B=x()(_()().mark(function O($){var n,l,r;return _()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,(0,E.pb)(C()(C()({},$),{},{appCode:H}));case 2:return r=g.sent,g.abrupt("return",{data:(n=r.data)===null||n===void
|