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
7.4 KiB
2 lines
7.4 KiB
4 months ago
|
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[526],{40110:function(w,y,r){var l=r(1413),C=r(67294),p=r(509),T=r(91146),x=function(j,I){return C.createElement(T.Z,(0,l.Z)((0,l.Z)({},j),{},{ref:I,icon:p.Z}))},h=C.forwardRef(x);y.Z=h},58371:function(w,y,r){r.r(y);var l=r(15009),C=r.n(l),p=r(97857),T=r.n(p),x=r(99289),h=r.n(x),W=r(81072),j=r(90930),I=r(67539),L=r(35312),K=r(66309),N=r(67294),H=r(42767),d=r(85893),F=function(){var M=(0,L.useParams)(),D=M.code,Z=(0,N.useRef)();(0,N.useEffect)(function(){var u;(u=Z.current)===null||u===void 0||u.reload()},[D]);var k=[{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,$){return(0,d.jsx)(H.Z,{data:$})}},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(b){return b?(0,d.jsx)(K.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,d.jsx)(K.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}];return(0,d.jsx)(j._z,{children:(0,d.jsx)(I.Z,{actionRef:Z,request:function(){var u=h()(C()().mark(function b($){var B,R,m;return C()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,(0,W.pb)(T()(T()({},$),{},{appCode:D}));case 2:return m=g.sent,g.abrupt("return",{data:(B=m.data)===null||B===void 0?void 0:B.data,total:(R=m.data)===null||R===void 0?void 0:R.total,success:!0});case 4:case"end":return g.stop()}},b)}));return function(b){return u.apply(this,arguments)}}(),columns:k})})};y.default=F},66309:function(w,y,r){r.d(y,{Z:function(){return se}});var l=r(67294),C=r(93967),p=r.n(C),T=r(98423),x=r(98787),h=r(69760),W=r(96159),j=r(45353),I=r(53124),L=r(54548),K=r(10274),N=r(14747),H=r(45503),d=r(91945);const F=e=>{const{paddingXXS:o,lineWidth:a,tagPaddingHorizontal:t,componentCls:n,calc:i}=e,s=i(t).sub(a).equal(),E=i(o).sub(a).equal();return{[n]:Object.assign(Object.assign({},(0,N.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:s,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,L.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:E,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.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:s}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},z=e=>{const{lineWidth:o,fontSizeIcon:a,calc:t}=e,n=e.fontSizeSM;return(0,H.TS)(e,{tagFontSize:n,tagLineHeight:(0,L.bf)(t(e.lineHeightSM).mul(n).equal()),tagIconSize:t(a).sub(t(o).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},M=e=>({defaultBg:new K.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var D=(0,d.I$)("Tag",e=>{const o=z(e);return F(o)},M),Z=function(e,o){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&
|