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
8.1 KiB
2 lines
8.1 KiB
5 months ago
|
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{18174:function(re,O,r){r.r(O),r.d(O,{default:function(){return X}});var l=r(15009),m=r.n(l),b=r(97857),d=r.n(b),Z=r(99289),j=r.n(Z),Q=r(90930),J=r(67539),N=r(35312),V=r(7134),W=r(66309),L=r(67294);function K(z,R){return T.apply(this,arguments)}function T(){return T=j()(m()().mark(function z(R,P){return m()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",(0,N.request)("/api/admin/user/list",d()({method:"POST",headers:{"Content-Type":"application/json"},data:R},P||{})));case 1:case"end":return C.stop()}},z)})),T.apply(this,arguments)}var U=r(58125),g=r(85893),B=function(){var R=(0,N.useParams)(),P=R.code,F=(0,L.useRef)();(0,L.useEffect)(function(){var i;(i=F.current)===null||i===void 0||i.reload()},[P]);var C=[{title:"id",dataIndex:"id",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u6635\u79F0",hideInSearch:!0,dataIndex:"nickname",valueType:"textarea",renderText:function(s,p){return s||p.mobile}},{title:"\u5934\u50CF",hideInSearch:!0,dataIndex:"avatar",valueType:"textarea",renderText:function(s){return(0,g.jsx)(V.C,{src:s})}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name"},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount"},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",renderText:function(s){return s?(0,g.jsx)(W.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,g.jsx)(W.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",dataIndex:"income",renderText:function(s){return(0,U.P)(s)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",dataIndex:"realMoney",renderText:function(s){return(0,U.D)(s)}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}];return(0,g.jsx)(Q._z,{children:(0,g.jsx)(J.Z,{search:!1,actionRef:F,request:function(){var i=j()(m()().mark(function s(p){var H,M,G;return m()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,K(d()(d()({},p),{},{appCode:P}));case 2:return G=h.sent,h.abrupt("return",{data:(H=G.data)===null||H===void 0?void 0:H.data,total:(M=G.data)===null||M===void 0?void 0:M.total,success:!0});case 4:case"end":return h.stop()}},s)}));return function(s){return i.apply(this,arguments)}}(),columns:C})})},X=B},58125:function(re,O,r){r.d(O,{D:function(){return m},P:function(){return l}});var l=function(d){return d?parseFloat((d/1e5).toFixed(2)):0},m=function(d){return d?parseFloat((d/100).toFixed(2)):0}},66309:function(re,O,r){r.d(O,{Z:function(){return h}});var l=r(67294),m=r(93967),b=r.n(m),d=r(98423),Z=r(98787),j=r(69760),Q=r(96159),J=r(45353),N=r(53124),V=r(54548),W=r(10274),L=r(14747),K=r(45503),T=r(91945);const U=e=>{const{paddingXXS:a,lineWidth:o,tagPaddingHorizontal:t,componentCls:n,calc:f}=e,c=f(t).sub(o).equal(),S=f(a).sub(o).equal();return{[n]:Object.assign(Object.assign({},(0,L.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,V.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:S,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHo
|