Files
GDstarmotion-admin/dist/src__pages__finance__integral__index.d214e68a.async.js
PC-202306242200\Administrator aee19297ad 1
2024-11-01 17:19:31 +08:00

2 lines
12 KiB
JavaScript

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