You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
9.2 KiB
1 lines
9.2 KiB
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[971],{42767:function(R,C,e){e.d(C,{Z:function(){return z}});var D=e(5574),a=e.n(D),S=e(55241),s=e(2487),O=e(71230),j=e(7134),i=e(67294),m=e(52043),t=e(58125),g=e(15009),p=e.n(g),E=e(97857),d=e.n(E),_=e(99289),f=e.n(_),P=e(40110),L=e(67539),r=e(55102),c=e(42075),y=e(14726),v=e(17788),o=e(4575),n=e(85893),G=function(h){var W=(0,i.useState)(),T=a()(W,2),Z=T[0],K=T[1],F=(0,i.useState)(),B=a()(F,2),V=B[0],w=B[1],Q=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(u){var l=u.setSelectedKeys,I=u.selectedKeys,A=u.confirm,x=u.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(r.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:I[0],onChange:function(b){return l(b.target.value?[b.target.value]:[])},onPressEnter:function(){return A()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(y.ZP,{onClick:function(){return A()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(y.ZP,{onClick:function(){return x&&x()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(u,l){return typeof u=="string"&&typeof(l==null?void 0:l.appName)=="string"?l.appName.includes(u):!1},filterIcon:function(u){return(0,n.jsx)(P.Z,{style:{color:u?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(u){var l=u.setSelectedKeys,I=u.selectedKeys,A=u.confirm,x=u.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(r.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:I[0],onChange:function(b){return l(b.target.value?[b.target.value]:[])},onPressEnter:function(){return A()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(y.ZP,{onClick:function(){return A()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(y.ZP,{onClick:function(){return x&&x()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(u,l){return typeof u=="string"&&typeof(l==null?void 0:l.packageName)=="string"?l.packageName.includes(u):!1},filterIcon:function(u){return(0,n.jsx)(P.Z,{style:{color:u?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],H=function(){var U=f()(p()().mark(function u(){var l,I,A,x;return p()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,(0,o.ai)();case 2:l=b.sent,l.data&&(A=[],x=[],(I=h.data.localAppList)===null||I===void 0||I.forEach(function($){var N;(N=l.data)!==null&&N!==void 0&&N.some(function(J){return J.packageName===$.packageName})?A.push(d()(d()({},$),{},{evil:!0})):x.push(d()(d()({},$),{},{evil:!1}))}),K([].concat(A,x)),w([].concat(A,x)));case 4:case"end":return b.stop()}},u)}));return function(){return U.apply(this,arguments)}}();return(0,i.useEffect)(function(){H()},[]),(0,n.jsx)(v.Z,{style:{width:600},onCancel:h.onClose,visible:!0,footer:[],children:(0,n.jsx)(L.Z,{onRow:function(u){return{style:{backgroundColor:u.evil?"red":"transparent"}}},search:!1,onReset:function(){w(Z)},columns:Q,dataSource:V})})},Y=G,k=function(h){var W=(0,i.useState)(!1),T=a()(W,2),Z=T[0],K=T[1],F=(0,m.E7)(h.data.env);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S.Z,{content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,t.P)(h.data.income),"\u5143"]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,t.D)(h.data.realMoney),"\u5143"]}),h.data.localAppList&&h.data.localAppList.length>0&&(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),h.data.localAppList.length,"\u4E2A",(0,n.jsx)("a",{onClick:function(){K(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),F.length>0&&(0,n.jsx)(s.Z,{size:"small",header:(0,n.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:F,renderItem:function(V){return(0,n.jsx)(s.Z.Item,{children:V})}})]}),children:(0,n.jsxs)(O.Z,{children:[(0,n.jsx)(j.C,{src:h.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,n.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:F.length>0?"red":""},children:["id:",h.data.id,(0,n.jsx)("br",{}),h.data.nickname||h.data.mobile]})]})}),Z&&(0,n.jsx)(Y,{onClose:function(){K(!1)},data:h.data})]})},z=k},81072:function(R,C,e){e.d(C,{fn:function(){return E},pb:function(){return g},wv:function(){return m}});var D=e(15009),a=e.n(D),S=e(97857),s=e.n(S),O=e(99289),j=e.n(O),i=e(35312);function m(_,f){return t.apply(this,arguments)}function t(){return t=j()(a()().mark(function _(f,P){return a()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,i.request)("/api/admin/user/changeStatus",s()({method:"POST",params:s()({},f)},P||{})));case 1:case"end":return r.stop()}},_)})),t.apply(this,arguments)}function g(_,f){return p.apply(this,arguments)}function p(){return p=j()(a()().mark(function _(f,P){return a()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,i.request)("/api/admin/user/list",s()({method:"POST",headers:{"Content-Type":"application/json"},data:f},P||{})));case 1:case"end":return r.stop()}},_)})),p.apply(this,arguments)}function E(_,f){return d.apply(this,arguments)}function d(){return d=j()(a()().mark(function _(f,P){return a()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,i.request)("/api/admin/user/queryById",s()({method:"GET",params:s()({},f)},P||{})));case 1:case"end":return r.stop()}},_)})),d.apply(this,arguments)}},4575:function(R,C,e){e.d(C,{XM:function(){return g},ai:function(){return m},nr:function(){return P},re:function(){return _},vE:function(){return E}});var D=e(15009),a=e.n(D),S=e(97857),s=e.n(S),O=e(99289),j=e.n(O),i=e(35312);function m(r){return t.apply(this,arguments)}function t(){return t=j()(a()().mark(function r(c){return a()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,i.request)("/api/superAdmin/evilAppList",s()({method:"GET"},c||{})));case 1:case"end":return v.stop()}},r)})),t.apply(this,arguments)}function g(r,c){return p.apply(this,arguments)}function p(){return p=j()(a()().mark(function r(c,y){return a()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,i.request)("/api/superAdmin/saveEvilApp",s()({method:"POST",headers:{"Content-Type":"application/json"},data:c},y||{})));case 1:case"end":return o.stop()}},r)})),p.apply(this,arguments)}function E(r,c){return d.apply(this,arguments)}function d(){return d=j()(a()().mark(function r(c,y){return a()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,i.request)("/api/superAdmin/saveWhiteUser",s()({method:"POST",params:s()({},c)},y||{})));case 1:case"end":return o.stop()}},r)})),d.apply(this,arguments)}function _(r,c){return f.apply(this,arguments)}function f(){return f=j()(a()().mark(function r(c,y){return a()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,i.request)("/api/superAdmin/transfer",s()({method:"POST",params:s()({},c)},y||{})));case 1:case"end":return o.stop()}},r)})),f.apply(this,arguments)}function P(r){return L.apply(this,arguments)}function L(){return L=j()(a()().mark(function r(c){return a()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,i.request)("/api/superAdmin/whiteUserList",s()({method:"GET"},c||{})));case 1:case"end":return v.stop()}},r)})),L.apply(this,arguments)}},52043:function(R,C,e){e.d(C,{E7:function(){return a},FG:function(){return D},RQ:function(){return O},XY:function(){return S},aV:function(){return j},m0:function(){return s}});var D=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},a=function(m){var t=[];if(!m)return t;for(var g=m>>1,p=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],E=0,d=p;E<d.length;E++){var _=d[E];g&1&&t.push(_),g>>=1}return t},S=function(){return[{label:"\u5F85\u5BA1\u6279",value:"0",color:"orange"},{label:"\u5BA1\u6279\u901A\u8FC7",value:"1",color:"green"},{label:"\u8F6C\u8D26\u4E2D",value:"2",color:"orange"},{label:"\u8F6C\u8D26\u6210\u529F",value:"3",color:"green"},{label:"\u8F6C\u8D26\u5931\u8D25",value:"-1",color:"red"},{label:"\u5BA1\u6279\u62D2\u7EDD",value:"-2",color:"red"}]},s=function(m){var t=new Date(m),g=t.getFullYear().toString().padStart(4,"0"),p=(t.getMonth()+1).toString().padStart(2,"0"),E=t.getDate().toString().padStart(2,"0");return g+p+E},O=function(m,t){var g=m.toString();return g.padStart(t,"0")},j=function(m){var t=m;return t<1024?t+" B":(t=parseFloat((t/1024).toFixed(2)),t<1024?t+" KB":(t=parseFloat((t/1024).toFixed(2)),t+" MB"))}},58125:function(R,C,e){e.d(C,{D:function(){return a},P:function(){return D}});var D=function(s){return s?parseFloat((s/1e5).toFixed(2)):0},a=function(s){return s?parseFloat((s/100).toFixed(2)):0}}}]);
|
|
|