Files
GDstarmotion-admin/dist/1026.d47f1c0b.async.js
PC-202306242200\Administrator 0be8e91b13 广东星动代码提交
2025-12-29 16:45:05 +08:00

2 lines
9.9 KiB
JavaScript

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[1026],{91026:function(N,M,a){a.r(M);var F=a(90228),r=a.n(F),R=a(87999),u=a.n(R),i=a(48305),B=a.n(i),E=a(50959),d=a(49547),P=a(35748),L=a(27610),m=a(19014),I=a(92323),U=a(50925),G=a(94675),D=a(7485),W=a(2733),O=a(52495),l=a(11527),b=function(_){var K=U.Z.useForm(),C=B()(K,1),f=C[0],p=_.values;(0,E.useEffect)(function(){console.log(p,"values"),f.resetFields(),f.setFieldsValue(p)},[f,_]);var x=(0,D.useIntl)(),j=function(){f.submit()},$=function(){_.onCancel()},w=function(){var T=u()(r()().mark(function c(g){return r()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:_.onSubmit(g);case 1:case"end":return y.stop()}},c)}));return function(g){return T.apply(this,arguments)}}();return(0,l.jsx)(G.Z,{width:640,title:"\u7BA1\u7406\u7528\u6237",open:_.open,forceRender:!0,destroyOnClose:!0,onOk:j,onCancel:$,children:(0,l.jsxs)(d.A,{form:f,submitter:!1,layout:"horizontal",onFinish:w,children:[(0,l.jsx)(P.Z,{name:"id",label:"ID",disabled:!0,hidden:!0}),(0,l.jsx)(d.A.Group,{children:(0,l.jsx)(L.Z,{width:"md",colProps:{xl:8,md:12},name:"formUserId",label:"\u63A8\u8350\u4EBA",fieldProps:{fieldNames:{label:"userName",value:"id"},placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",showSearch:!0},request:function(){var T=u()(r()().mark(function c(g){var h,y,v;return r()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,O.rb)({userName:g.keyWords});case 2:return h=o.sent,y=h.success,v=h.data,v.records.map(function(A){A.userName=A.userName+" "+A.phone}),o.abrupt("return",v.records);case 7:case"end":return o.stop()}},c)}));return function(c){return T.apply(this,arguments)}}()})}),(0,l.jsxs)(d.A.Group,{children:[(0,l.jsx)(m.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],name:"userName",label:"\u7528\u6237\u540D",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D"}),(0,l.jsx)(m.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],name:"nickName",label:"\u6635\u79F0",placeholder:"\u8BF7\u8F93\u5165\u6635\u79F0"})]}),(0,l.jsxs)(d.A.Group,{children:[(0,l.jsx)(m.Z,{rules:[{required:!0,message:"\u8BF7\u8F93\u5165"}],name:"phone",label:"\u624B\u673A\u53F7",placeholder:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7"}),(0,l.jsx)(m.Z,{rules:p.id?[]:[{required:!0,message:"\u8BF7\u8F93\u5165"}],name:"passwd",label:"\u5BC6\u7801",placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801"}),(0,l.jsx)(I.Z,{checkedChildren:"\u6B63\u5E38",unCheckedChildren:"\u7981\u7528",name:"status",label:"\u662F\u5426\u7981\u7528",fieldProps:{defaultChecked:!0}})]}),(0,l.jsx)(d.A.Group,{children:(0,l.jsx)(d.A.Item,{label:"\u5934\u50CF",name:"avatar",children:(0,l.jsx)(W.Z,{fileType:"image",defaultValue:p==null?void 0:p.avatar,count:1,mode:""})})})]})})};M.default=b},52495:function(N,M,a){a.d(M,{JH:function(){return y},RZ:function(){return Z},Xt:function(){return W},_L:function(){return l},_S:function(){return x},bO:function(){return d},bi:function(){return T},kj:function(){return $},lv:function(){return z},nA:function(){return G},nJ:function(){return K},rb:function(){return B},rw:function(){return f},t:function(){return I},w2:function(){return g},xD:function(){return L},z9:function(){return A}});var F=a(90228),r=a.n(F),R=a(87999),u=a.n(R),i=a(7485);function B(n){return E.apply(this,arguments)}function E(){return E=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.request)("/api/users/page",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),E.apply(this,arguments)}function d(n){return P.apply(this,arguments)}function P(){return P=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.request)("/api/users/add",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),P.apply(this,arguments)}function L(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,i.request)("/api/users/update",{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 I(n){return U.apply(this,arguments)}function U(){return U=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.request)("/api/users/deleteBatchByIds",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),U.apply(this,arguments)}function G(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,i.request)("/api/users/updateUserLevel",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),D.apply(this,arguments)}function W(n){return O.apply(this,arguments)}function O(){return O=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.request)("/api/users/userTransferHanging",{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 l(n){return b.apply(this,arguments)}function b(){return b=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.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)})),b.apply(this,arguments)}function H(n){return _.apply(this,arguments)}function _(){return _=_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)})),_.apply(this,arguments)}function K(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,i.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)})),C.apply(this,arguments)}function f(n){return p.apply(this,arguments)}function p(){return p=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.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)})),p.apply(this,arguments)}function x(n){return j.apply(this,arguments)}function j(){return j=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.request)("/api/users/userRecharge",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),j.apply(this,arguments)}function $(n){return w.apply(this,arguments)}function w(){return w=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.request)("/api/users/backendBasics",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),w.apply(this,arguments)}function T(){return c.apply(this,arguments)}function c(){return c=u()(r()().mark(function n(){return r()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,i.request)("/api/sms/sensitiveSendSms",{method:"GET",headers:{"Content-Type":"application/json;charset=UTF-8"}}));case 1:case"end":return s.stop()}},n)})),c.apply(this,arguments)}function g(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,i.request)("/api/users/accountChange",{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 y(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,i.request)("/api/users/updateUserRoleType",{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},data:t||{}}));case 1:case"end":return e.stop()}},n)})),v.apply(this,arguments)}function Z(n){return o.apply(this,arguments)}function o(){return o=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.request)("/api/users/updateUserPemType",{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 A(n){return S.apply(this,arguments)}function S(){return S=u()(r()().mark(function n(t){return r()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,i.request)("/api/activity/activity10s1UserAdd",{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 z(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,i.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)}}}]);