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