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.5 KiB

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[15],{42767:function(N,b,r){r.d(b,{Z:function(){return i}});var x=r(5574),u=r.n(x),C=r(55241),o=r(2487),F=r(71230),f=r(7134),c=r(67294),m=r(52043),s=r(58125),g=r(15009),y=r.n(g),A=r(97857),h=r.n(A),D=r(99289),I=r.n(D),Z=r(40110),T=r(67539),K=r(55102),L=r(42075),U=r(14726),M=r(17788),$=r(4575),n=r(85893),k=function(e){var a=(0,c.useState)(),B=u()(a,2),W=B[0],V=B[1],w=(0,c.useState)(),R=u()(w,2),G=R[0],X=R[1],Q=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(l){var d=l.setSelectedKeys,P=l.selectedKeys,j=l.confirm,_=l.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(K.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:P[0],onChange:function(v){return d(v.target.value?[v.target.value]:[])},onPressEnter:function(){return j()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(L.Z,{children:[(0,n.jsx)(U.ZP,{onClick:function(){return j()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(U.ZP,{onClick:function(){return _&&_()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,d){return typeof l=="string"&&typeof(d==null?void 0:d.appName)=="string"?d.appName.includes(l):!1},filterIcon:function(l){return(0,n.jsx)(Z.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(l){var d=l.setSelectedKeys,P=l.selectedKeys,j=l.confirm,_=l.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(K.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:P[0],onChange:function(v){return d(v.target.value?[v.target.value]:[])},onPressEnter:function(){return j()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(L.Z,{children:[(0,n.jsx)(U.ZP,{onClick:function(){return j()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(U.ZP,{onClick:function(){return _&&_()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,d){return typeof l=="string"&&typeof(d==null?void 0:d.packageName)=="string"?d.packageName.includes(l):!1},filterIcon:function(l){return(0,n.jsx)(Z.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],H=function(){var E=I()(y()().mark(function l(){var d,P,j,_;return y()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,(0,$.ai)();case 2:d=v.sent,d.data&&(j=[],_=[],(P=e.data.localAppList)===null||P===void 0||P.forEach(function(Y){var z;(z=d.data)!==null&&z!==void 0&&z.some(function(J){return J.packageName===Y.packageName})?j.push(h()(h()({},Y),{},{evil:!0})):_.push(h()(h()({},Y),{},{evil:!1}))}),V([].concat(j,_)),X([].concat(j,_)));case 4:case"end":return v.stop()}},l)}));return function(){return E.apply(this,arguments)}}();return(0,c.useEffect)(function(){H()},[]),(0,n.jsx)(M.Z,{style:{width:600},onCancel:e.onClose,visible:!0,footer:[],children:(0,n.jsx)(T.Z,{onRow:function(l){return{style:{backgroundColor:l.evil?"red":"transparent"}}},search:!1,onReset:function(){X(W)},columns:Q,dataSource:G})})},O=k,t=function(e){var a=(0,c.useState)(!1),B=u()(a,2),W=B[0],V=B[1],w=(0,m.E7)(e.data.env);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C.Z,{content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,s.P)(e.data.income),"\u5143"]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,s.D)(e.data.realMoney),"\u5143"]}),e.data.localAppList&&e.data.localAppList.length>0&&(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),e.data.localAppList.length,"\u4E2A",(0,n.jsx)("a",{onClick:function(){V(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),w.length>0&&(0,n.jsx)(o.Z,{size:"small",header:(0,n.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:w,renderItem:function(G){return(0,n.jsx)(o.Z.Item,{children:G})}})]}),children:(0,n.jsxs)(F.Z,{children:[(0,n.jsx)(f.C,{src:e.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,n.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:w.length>0?"red":""},children:["id:",e.data.id,(0,n.jsx)("br",{}),e.data.nickname||e.data.mobile]})]})}),W&&(0,n.jsx)(O,{onClose:function(){V(!1)},data:e.data})]})},i=t},4575:function(N,b,r){r.d(b,{Rn:function(){return m},SN:function(){return Z},XM:function(){return D},ai:function(){return g},k_:function(){return A},nN:function(){return U},nr:function(){return k},re:function(){return $},vE:function(){return K}});var x=r(15009),u=r.n(x),C=r(97857),o=r.n(C),F=r(99289),f=r.n(F),c=r(35312);function m(t,i){return s.apply(this,arguments)}function s(){return s=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/addSchedule",o()({method:"POST",headers:{"Content-Type":"application/json"},data:i},p||{})));case 1:case"end":return a.stop()}},t)})),s.apply(this,arguments)}function g(t){return y.apply(this,arguments)}function y(){return y=f()(u()().mark(function t(i){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,c.request)("/api/admin/superAdmin/evilAppList",o()({method:"GET"},i||{})));case 1:case"end":return e.stop()}},t)})),y.apply(this,arguments)}function A(t){return h.apply(this,arguments)}function h(){return h=f()(u()().mark(function t(i){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,c.request)("/api/admin/superAdmin/innerUserList",o()({method:"GET"},i||{})));case 1:case"end":return e.stop()}},t)})),h.apply(this,arguments)}function D(t,i){return I.apply(this,arguments)}function I(){return I=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/saveEvilApp",o()({method:"POST",headers:{"Content-Type":"application/json"},data:i},p||{})));case 1:case"end":return a.stop()}},t)})),I.apply(this,arguments)}function Z(t,i){return T.apply(this,arguments)}function T(){return T=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/saveInnerUser",o()({method:"POST",params:o()({},i)},p||{})));case 1:case"end":return a.stop()}},t)})),T.apply(this,arguments)}function K(t,i){return L.apply(this,arguments)}function L(){return L=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/saveWhiteUser",o()({method:"POST",params:o()({},i)},p||{})));case 1:case"end":return a.stop()}},t)})),L.apply(this,arguments)}function U(t){return M.apply(this,arguments)}function M(){return M=f()(u()().mark(function t(i){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,c.request)("/api/admin/superAdmin/scheduleList",o()({method:"GET"},i||{})));case 1:case"end":return e.stop()}},t)})),M.apply(this,arguments)}function $(t,i){return n.apply(this,arguments)}function n(){return n=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/transfer",o()({method:"POST",params:o()({},i)},p||{})));case 1:case"end":return a.stop()}},t)})),n.apply(this,arguments)}function k(t){return O.apply(this,arguments)}function O(){return O=f()(u()().mark(function t(i){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,c.request)("/api/admin/superAdmin/whiteUserList",o()({method:"GET"},i||{})));case 1:case"end":return e.stop()}},t)})),O.apply(this,arguments)}},52043:function(N,b,r){r.d(b,{E7:function(){return u},FG:function(){return x},RQ:function(){return F},XY:function(){return C},aV:function(){return f},m0:function(){return o}});var x=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},u=function(m){var s=[];if(!m)return s;for(var g=m>>1,y=["\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"],A=0,h=y;A<h.length;A++){var D=h[A];g&1&&s.push(D),g>>=1}return s},C=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"}]},o=function(m){var s=new Date(m),g=s.getFullYear().toString().padStart(4,"0"),y=(s.getMonth()+1).toString().padStart(2,"0"),A=s.getDate().toString().padStart(2,"0");return g+y+A},F=function(m,s){var g=m.toString();return g.padStart(s,"0")},f=function(m){var s=m;return s<1024?s+" B":(s=parseFloat((s/1024).toFixed(2)),s<1024?s+" KB":(s=parseFloat((s/1024).toFixed(2)),s+" MB"))}},58125:function(N,b,r){r.d(b,{D:function(){return u},P:function(){return x}});var x=function(o){return o?parseFloat((o/1e5).toFixed(2)):0},u=function(o){return o?parseFloat((o/100).toFixed(2)):0}}}]);