"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[2722],{15643:function(G,j,s){s.r(j);var C=s(26068),t=s.n(C),A=s(67825),_=s.n(A),p=s(90228),D=s.n(p),T=s(87999),U=s.n(T),y=s(48305),M=s.n(y),P=s(19869),w=s(50959),g=s(98984),F=s(16030),v=s(35384),R=s(52495),d=s(11527),I=["type","defaultRender","formItemProps","fieldProps"],b=function(){var E=(0,w.useRef)(),i=(0,w.useState)([]),l=M()(i,2),c=l[0],r=l[1],B=function(){var O=U()(D()().mark(function m(o){var f,L,h;return D()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,R.rb)({userName:o});case 2:f=a.sent,L=f.success,h=f.data,h.records.map(function(u){u.userName=u.userName+" "+u.phone}),r(h.records);case 7:case"end":return a.stop()}},m)}));return function(o){return O.apply(this,arguments)}}(),x=[{title:"ID",dataIndex:"id",valueType:"text",search:!1},{title:"\u7528\u6237\u4FE1\u606F",dataIndex:"userId",valueType:"text",render:function(m,o){return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{children:["\u7528\u6237ID:",o==null?void 0:o.userId]}),(0,d.jsxs)("div",{children:["\u7528\u6237\u540D\uFF1A",o==null?void 0:o.userName]}),(0,d.jsxs)("div",{children:["\u624B\u673A\u53F7\uFF1A",o==null?void 0:o.phone]})]})},renderFormItem:function(m,o,f){var L=o.type,h=o.defaultRender,n=o.formItemProps,a=o.fieldProps,u=_()(o,I);return(0,d.jsx)(g.Z,t()(t()({},a),{},{allowClear:!0,showSearch:!0,placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",style:{width:"100%"},filterOption:!1,onSearch:function(W){W&&B(W)},fieldNames:{label:"userName",value:"id"},options:c}))}},{title:"\u7528\u6237\u540D",dataIndex:"userName",valueType:"text",search:!0,hidden:!0},{title:"\u624B\u673A\u53F7",dataIndex:"phone",valueType:"text",search:!0,hidden:!0},{title:"\u94B1\u5305",dataIndex:"points2",valueType:"text",search:!1},{title:"\u4FEE\u6539\u65F6\u95F4",dataIndex:"updateTime",valueType:"text",search:!1},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",valueType:"text",search:!1}];return(0,d.jsx)(F._z,{children:(0,d.jsx)("div",{style:{width:"100%",float:"right"},children:(0,d.jsx)(v.Z,{actionRef:E,rowKey:"id",search:{labelWidth:120},request:function(){var O=U()(D()().mark(function m(o,f,L){var h,n;return D()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,P.xY)(o);case 2:return h=u.sent,n=h.data,u.abrupt("return",{data:(n==null?void 0:n.records)||[],total:n==null?void 0:n.total});case 5:case"end":return u.stop()}},m)}));return function(m,o,f){return O.apply(this,arguments)}}(),columns:x},"logList")})})};j.default=b},19869:function(G,j,s){s.d(j,{G6:function(){return R},I7:function(){return M},eq:function(){return U},hT:function(){return w},l_:function(){return I},xQ:function(){return S},xY:function(){return D}});var C=s(90228),t=s.n(C),A=s(87999),_=s.n(A),p=s(7485);function D(i){return T.apply(this,arguments)}function T(){return T=_()(t()().mark(function i(l){return t()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,p.request)("/api/userspoints/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:l||{}}));case 1:case"end":return r.stop()}},i)})),T.apply(this,arguments)}function U(i){return y.apply(this,arguments)}function y(){return y=_()(t()().mark(function i(l){return t()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,p.request)("/api/userspoints/extract/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:l||{}}));case 1:case"end":return r.stop()}},i)})),y.apply(this,arguments)}function M(i){return P.apply(this,arguments)}function P(){return P=_()(t()().mark(function i(l){return t()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,p.request)("/api/userspoints/record/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:l||{}}));case 1:case"end":return r.stop()}},i)})),P.apply(this,arguments)}function w(i){return g.apply(this,arguments)}function g(){return g=_()(t()().mark(function i(l){return t()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,p.request)("/api/userspoints/points/extract/export",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:l||{},responseType:"blob"}));case 1:case"end":return r.stop()}},i)})),g.apply(this,arguments)}function F(i){return v.apply(this,arguments)}function v(){return v=_asyncToGenerator(_regeneratorRuntime().mark(function i(l){return _regeneratorRuntime().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",request("/api/userspoints/points/export",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:l||{},responseType:"blob"}));case 1:case"end":return r.stop()}},i)})),v.apply(this,arguments)}function R(i){return d.apply(this,arguments)}function d(){return d=_()(t()().mark(function i(l){return t()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,p.request)("/api/userspoints/points/record/export",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:l||{},responseType:"blob"}));case 1:case"end":return r.stop()}},i)})),d.apply(this,arguments)}function I(i){return b.apply(this,arguments)}function b(){return b=_()(t()().mark(function i(l){return t()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,p.request)("/api/userspoints/importUsersPointsExtract",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:l||{},responseType:"blob"}));case 1:case"end":return r.stop()}},i)})),b.apply(this,arguments)}function S(i){return E.apply(this,arguments)}function E(){return E=_()(t()().mark(function i(l){return t()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,p.request)("/api/freeze/findPage",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:l||{}}));case 1:case"end":return r.stop()}},i)})),E.apply(this,arguments)}},52495:function(G,j,s){s.d(j,{JH:function(){return o},RZ:function(){return L},Xt:function(){return R},_L:function(){return I},_S:function(){return c},bO:function(){return U},bi:function(){return B},nA:function(){return F},rb:function(){return D},rw:function(){return i},t:function(){return w},w2:function(){return O},xD:function(){return M}});var C=s(90228),t=s.n(C),A=s(87999),_=s.n(A),p=s(7485);function D(n){return T.apply(this,arguments)}function T(){return T=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),T.apply(this,arguments)}function U(n){return y.apply(this,arguments)}function y(){return y=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/add",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),y.apply(this,arguments)}function M(n){return P.apply(this,arguments)}function P(){return P=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/update",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),P.apply(this,arguments)}function w(n){return g.apply(this,arguments)}function g(){return g=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/deleteBatchByIds",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),g.apply(this,arguments)}function F(n){return v.apply(this,arguments)}function v(){return v=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/updateUserLevel",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),v.apply(this,arguments)}function R(n){return d.apply(this,arguments)}function d(){return d=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/userTransferHanging",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),d.apply(this,arguments)}function I(n){return b.apply(this,arguments)}function b(){return b=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/export ",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{},responseType:"blob"}));case 1:case"end":return e.stop()}},n)})),b.apply(this,arguments)}function S(n){return E.apply(this,arguments)}function E(){return E=_asyncToGenerator(_regeneratorRuntime().mark(function n(a){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/api/users/upAndDownLevel?id=".concat(a),{method:"GET",headers:{"Content-Type":"application/json;charset=UTF-8"}}));case 1:case"end":return e.stop()}},n)})),E.apply(this,arguments)}function i(n){return l.apply(this,arguments)}function l(){return l=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/findFormUserId?id=".concat(a),{method:"GET",headers:{"Content-Type":"application/json;charset=UTF-8"}}));case 1:case"end":return e.stop()}},n)})),l.apply(this,arguments)}function c(n){return r.apply(this,arguments)}function r(){return r=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/userRecharge",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),r.apply(this,arguments)}function B(){return x.apply(this,arguments)}function x(){return x=_()(t()().mark(function n(){return t()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,p.request)("/api/sms/sensitiveSendSms",{method:"GET",headers:{"Content-Type":"application/json;charset=UTF-8"}}));case 1:case"end":return u.stop()}},n)})),x.apply(this,arguments)}function O(n){return m.apply(this,arguments)}function m(){return m=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/accountChange",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),m.apply(this,arguments)}function o(n){return f.apply(this,arguments)}function f(){return f=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/updateUserRoleType",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),f.apply(this,arguments)}function L(n){return h.apply(this,arguments)}function h(){return h=_()(t()().mark(function n(a){return t()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,p.request)("/api/users/updateUserPemType",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:a||{}}));case 1:case"end":return e.stop()}},n)})),h.apply(this,arguments)}}}]);