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

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{38171:function(H,S,t){var u=t(55241),p=t(2487),I=t(71230),_=t(7134),R=t(67294),x=t(52043),C=t(58125),i=t(85893),o=function(g){var y=(0,x.E7)(g.data.env);return(0,i.jsx)(u.Z,{content:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,C.P)(g.data.income),"\u5143"]}),(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,C.D)(g.data.realMoney),"\u5143"]}),y.length>0&&(0,i.jsx)(p.Z,{size:"small",header:(0,i.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:y,renderItem:function(v){return(0,i.jsx)(p.Z.Item,{children:v})}})]}),children:(0,i.jsxs)(I.Z,{children:[(0,i.jsx)(_.C,{src:g.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,i.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:y.length>0?"red":""},children:["id:",g.data.id,(0,i.jsx)("br",{}),g.data.nickname||g.data.mobile]})]})})};S.Z=o},47989:function(H,S,t){t.r(S);var u=t(97857),p=t.n(u),I=t(15009),_=t.n(I),R=t(99289),x=t.n(R),C=t(81072),i=t(90930),o=t(67539),b=t(35312),g=t(66309),y=t(86250),D=t(86738),v=t(67294),M=t(38171),f=t(85893),W=function(){var Y=(0,b.useParams)(),J=Y.code,V=(0,v.useRef)();(0,v.useEffect)(function(){var $;($=V.current)===null||$===void 0||$.reload()},[J]);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(B,F){return(0,f.jsx)(M.Z,{data:F})}},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(B){return B?(0,f.jsx)(g.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,f.jsx)(g.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{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(B){return(0,f.jsx)(y.Z,{gap:"small",wrap:!0,children:(0,f.jsxs)(f.Fragment,{children:[B.status===0&&(0,f.jsx)(D.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 F(){var E;return _()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,C.wv)({userId:B.id||0,status:-1});case 2:(E=V.current)===null||E===void 0||E.reload();case 3:case"end":return r.stop()}},F)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,f.jsx)("a",{children:"\u5C01\u7981"})}),B.status===-1&&(0,f.jsx)(D.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 F(){var E;return _()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,C.wv)({userId:B.id||0,status:0});case 2:(E=V.current)===null||E===void 0||E.reload();case 3:case"end":return r.stop()}},F)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,f.jsx)("a",{children:"\u89E3\u5C01"})})]})})}}];return(0,f.jsx)(i._z,{children:(0,f.jsx)(o.Z,{actionRef:V,request:function(){var $=x()(_()().mark(function B(F){var E,n,r;return _()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,C.pb)(p()(p()({},F),{},{appCode:J}));case 2:return r=a.sent,a.abrupt("return",{data:(E=r.data)===null||E===void 0?void 0:E.data,total:(n=r.data)===null||n===void 0?void 0:n.total,success:!0});case 4:case"end":return a.stop()}},B)}));return function(B){return $.apply(this,arguments)}}(),columns:Q})})};S.default=W},81072:function(H,S,t){t.d(S,{fn:function(){return y},pb:function(){return b},wv:function(){return i}});var u=t(15009),p=t.n(u),I=t(97857),_=t.n(I),R=t(99289),x=t.n(R),C=t(35312);function i(v,M){return o.apply(this