2 lines
7.6 KiB
JavaScript
2 lines
7.6 KiB
JavaScript
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8314],{63449:function(R,g,p){p.r(g);var U=p(48305),r=p.n(U),f=p(50959),i=p(94675),u=p(33917),w=p(52495),a=p(11527);g.default=function(T){var o=T.values,E=T.modalOpenState,_=T.onModalOpenState,O=(0,f.useState)(null),h=r()(O,2),P=h[0],y=h[1],j=(0,f.useState)(null),m=r()(j,2),D=m[0],v=m[1];(0,f.useEffect)(function(){o!=null&&o.id&&(0,w.rw)(o==null?void 0:o.id).then(function(c){var d=c.data,l=c.success;l&&(v((d==null?void 0:d.userUp)||[]),y(d==null?void 0:d.userDown))}).catch(function(){})},[o]);var A=[{title:"ID",dataIndex:"id",search:!1},{title:"\u7528\u6237",dataIndex:"shop",search:!1,render:function(d,l){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{children:["\u7528\u6237\u540D\uFF1A",l==null?void 0:l.userName]}),(0,a.jsxs)("div",{children:["\u624B\u673A\u53F7\uFF1A",l==null?void 0:l.phone]}),(0,a.jsxs)("div",{children:["\u7B49\u7EA7\uFF1A",l==null?void 0:l.level]})]})}},{title:"\u4F59\u989D",dataIndex:"points2",search:!1},{title:"\u6536\u76CA",dataIndex:"points1",search:!1},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",search:!1}];return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(i.Z,{width:"800px",title:"",open:E,onOk:function(){_(!1)},onCancel:function(){_(!1)},children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{margin:"15px 0"},children:"\u4E0A\u7EA7"}),(0,a.jsx)(u.Z,{rowKey:"id",columns:A,dataSource:D,pagination:!1}),(0,a.jsx)("div",{style:{margin:"15px 0"},children:"\u4E0B\u7EA7"}),(0,a.jsx)(u.Z,{rowKey:"id",columns:A,dataSource:P,pagination:!1})]})})})}},52495:function(R,g,p){p.d(g,{JH:function(){return x},RZ:function(){return K},Xt:function(){return j},_L:function(){return D},_S:function(){return L},bO:function(){return T},bi:function(){return B},nA:function(){return P},rb:function(){return w},rw:function(){return d},t:function(){return O},w2:function(){return $},xD:function(){return E},z9:function(){return G}});var U=p(90228),r=p.n(U),f=p(87999),i=p.n(f),u=p(7485);function w(n){return a.apply(this,arguments)}function a(){return a=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),a.apply(this,arguments)}function T(n){return o.apply(this,arguments)}function o(){return o=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/add",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),o.apply(this,arguments)}function E(n){return _.apply(this,arguments)}function _(){return _=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/update",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),_.apply(this,arguments)}function O(n){return h.apply(this,arguments)}function h(){return h=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/deleteBatchByIds",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),h.apply(this,arguments)}function P(n){return y.apply(this,arguments)}function y(){return y=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/updateUserLevel",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),y.apply(this,arguments)}function j(n){return m.apply(this,arguments)}function m(){return m=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/userTransferHanging",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),m.apply(this,arguments)}function D(n){return v.apply(this,arguments)}function v(){return v=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/export ",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{},responseType:"blob"}));case 1:case"end":return e.stop()}},n)})),v.apply(this,arguments)}function A(n){return c.apply(this,arguments)}function c(){return c=_asyncToGenerator(_regeneratorRuntime().mark(function n(t){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/api/users/upAndDownLevel?id=".concat(t),{method:"GET",headers:{"Content-Type":"application/json;charset=UTF-8"}}));case 1:case"end":return e.stop()}},n)})),c.apply(this,arguments)}function d(n){return l.apply(this,arguments)}function l(){return l=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/findFormUserId?id=".concat(t),{method:"GET",headers:{"Content-Type":"application/json;charset=UTF-8"}}));case 1:case"end":return e.stop()}},n)})),l.apply(this,arguments)}function L(n){return C.apply(this,arguments)}function C(){return C=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/userRecharge",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),C.apply(this,arguments)}function B(){return b.apply(this,arguments)}function b(){return b=i()(r()().mark(function n(){return r()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,u.request)("/api/sms/sensitiveSendSms",{method:"GET",headers:{"Content-Type":"application/json;charset=UTF-8"}}));case 1:case"end":return s.stop()}},n)})),b.apply(this,arguments)}function $(n){return F.apply(this,arguments)}function F(){return F=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/accountChange",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),F.apply(this,arguments)}function x(n){return S.apply(this,arguments)}function S(){return S=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/updateUserRoleType",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),S.apply(this,arguments)}function K(n){return M.apply(this,arguments)}function M(){return M=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/users/updateUserPemType",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),M.apply(this,arguments)}function G(n){return I.apply(this,arguments)}function I(){return I=i()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/api/activity/activity10s1UserAdd",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),I.apply(this,arguments)}}}]);
|