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
19 KiB

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{40110:function(me,z,r){var X=r(1413),N=r(67294),_=r(509),ee=r(91146),ne=function(v,J){return N.createElement(ee.Z,(0,X.Z)((0,X.Z)({},v),{},{ref:J,icon:_.Z}))},m=N.forwardRef(ne);z.Z=m},28490:function(me,z,r){r.r(z),r.d(z,{default:function(){return $e}});var X=r(97857),N=r.n(X),_=r(13769),ee=r.n(_),ne=r(15009),m=r.n(ne),ue=r(99289),v=r.n(ue),J=r(5574),j=r.n(J),U=r(48357),R=r(52043),V=r(40110),de=r(3089),se=r(90930),h=r(8232),x=r(55102),O=r(42075),S=r(14726),ge=r(55241),oe=r(66309),Q=r(2453),Se=r(13169),he=r(72051),ie=r(17788),pe=r(34041),xe=r(71230),ve=r(15746),Ze=r(47676),re=r(16250),De=r(27484),le=r.n(De),F=r(67294),Ee=r(19632),je=r.n(Ee),Ie=r(32400),Ae=r(56448),Pe=r.n(Ae),ke=r(66476),e=r(85893),be=function(w){var I=w.onUploadSuccess,Z=w.onUploadError,D=(0,F.useState)(!1),$=j()(D,2),b=$[0],B=$[1],H=(0,F.useState)([]),L=j()(H,2),A=L[0],M=L[1],T=(0,F.useState)(null),W=j()(T,2),P=W[0],E=W[1],k=ke.Z.Dragger;(0,F.useEffect)(function(){function n(){return t.apply(this,arguments)}function t(){return t=v()(m()().mark(function c(){var u,l;return m()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.prev=0,f.next=3,(0,U.po)();case 3:if(u=f.sent,!(!u.data||!u.data.accessKeySecret||!u.data.accessKeyId)){f.next=7;break}return Q.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),f.abrupt("return");case 7:l=new(Pe())({region:"oss-cn-beijing",accessKeyId:u.data.accessKeyId,accessKeySecret:u.data.accessKeySecret,stsToken:u.data.securityToken,bucket:u.data.bucket}),E(l),f.next=15;break;case 11:f.prev=11,f.t0=f.catch(0),Q.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),Z&&Z(f.t0);case 15:case"end":return f.stop()}},c,null,[[0,11]])})),t.apply(this,arguments)}n()},[Z]);var Y=function(t){var c=(A||[]).filter(function(u){return u.url!==t.url});M(c)},d=function(){var n=v()(m()().mark(function t(c){var u,l,y,f;return m()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(u=c.file,!(u instanceof File)){p.next=26;break}return B(!0),p.prev=3,p.next=6,(0,Ie.p)(u);case 6:return l=p.sent,y="matrix/".concat(l,".").concat(u.name.split(".").pop()),p.next=10,P==null?void 0:P.put(y,u,{headers:{"Content-Type":u.type}});case 10:f="https://apks.bzgames.cn/".concat(y),I&&I(f),B(!1),M(function(ae){return[].concat(je()(ae),[{uid:u.uid,name:u.name+"\uFF1A"+f,status:"done",url:f}])}),p.next=21;break;case 16:p.prev=16,p.t0=p.catch(3),Q.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),Z&&Z(p.t0),M(function(ae){return[].concat(je()(ae),[{uid:u.uid,name:u.name,status:"error"}])});case 21:return p.prev=21,B(!1),p.finish(21);case 24:p.next=27;break;case 26:Q.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return p.stop()}},t,null,[[3,16,21,24]])}));return function(c){return n.apply(this,arguments)}}();return(0,e.jsxs)(k,{fileList:A,multiple:!0,customRequest:d,onRemove:Y,disabled:b||!P,onPreview:function(){var n=v()(m()().mark(function t(c){return m()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,navigator.clipboard.writeText(c.url||"");case 2:Q.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+c.url);case 3:case"end":return l.stop()}},t)}));return function(t){return n.apply(this,arguments)}}(),capture:void 0,children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)("i",{className:"anticon anticon-inbox"})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:"\u652F\u6301\u5355\u4E2A\u6216\u6279\u91CF\u4E0A\u4F20\u3002\u6587\u4EF6\u540D\u5C06\u4F7F\u7528\u6587\u4EF6\u7684 MD5 \u503C\u547D\u540D\u3002"})]})},Oe=be,ye=r(67539),te=r(4575),Be=function(){var w=(0,F.useState)(!1),I=j()(w,2),Z=I[0],D=I[1],$=(0,F.useState)([]),b=j()($,2),B=b[0],H=b[1],L=(0,F.useState)([]),A=j()(L,2),M=A[0],T=A[1],W=h.Z.useForm(),P=j()(W,1),E=P[0],k=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var t=n.setSelectedKeys,c=n.selectedKeys,u=n.confirm,l=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(x.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:c[0],onChange:function(f){return t(f.target.value?[f.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(S.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(S.ZP,{onClick:function(){return l&&l()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){return typeof n=="string"&&typeof(t==null?void 0:t.name)=="string"?t.name.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(V.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,filterDropdown:function(n){var t=n.setSelectedKeys,c=n.selectedKeys,u=n.confirm,l=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(x.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:c[0],onChange:function(f){return t(f.target.value?[f.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(S.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(S.ZP,{onClick:function(){return l&&l()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){return typeof n=="string"&&typeof(t==null?void 0:t.packageName)=="string"?t.packageName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(V.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(n){return(0,e.jsx)("a",{onClick:function(){D(!0),E.setFieldsValue(n)},children:"\u7F16\u8F91"},"edit")}}],Y=function(){var d=v()(m()().mark(function n(){var t;return m()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,te.ai)();case 2:t=u.sent,t.data&&(H(t.data),T(t.data));case 4:case"end":return u.stop()}},n)}));return function(){return d.apply(this,arguments)}}();return(0,F.useEffect)(function(){Y()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(S.ZP,{style:{marginBottom:"20px"},onClick:function(){D(!0),E.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(ye.Z,{search:!1,onReset:function(){T(B)},columns:k,dataSource:M}),(0,e.jsx)(ie.Z,{title:"\u7F16\u8F91",visible:Z,onOk:function(){E.submit(),D(!1)},onCancel:function(){D(!1)},children:(0,e.jsxs)(h.Z,{labelCol:{span:4},wrapperCol:{span:18},form:E,onFinish:function(){var d=v()(m()().mark(function n(t){return m()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,te.XM)(t);case 2:Y();case 3:case"end":return u.stop()}},n)}));return function(n){return d.apply(this,arguments)}}(),children:[(0,e.jsx)(h.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(x.Z,{type:"hidden"})}),(0,e.jsx)(h.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(h.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(x.Z,{})})]})})]})},Me=Be,Ce=r(37804),Te=r(42767),Ke=function(){var w=(0,F.useState)(!1),I=j()(w,2),Z=I[0],D=I[1],$=(0,F.useState)([]),b=j()($,2),B=b[0],H=b[1],L=(0,F.useState)([]),A=j()(L,2),M=A[0],T=A[1],W=h.Z.useForm(),P=j()(W,1),E=P[0],k=function(){var d=v()(m()().mark(function n(){var t;return m()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,te.nr)();case 2:t=u.sent,t.data&&(H(t.data),T(t.data));case 4:case"end":return u.stop()}},n)}));return function(){return d.apply(this,arguments)}}(),Y=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var t=n.setSelectedKeys,c=n.selectedKeys,u=n.confirm,l=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(x.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:c[0],onChange:function(f){return t(f.target.value?[f.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(S.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(S.ZP,{onClick:function(){return l&&l()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){return typeof n=="string"&&typeof(t==null?void 0:t.appName)=="string"?t.appName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(V.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(n,t){return(0,e.jsx)(Te.Z,{data:t.user||{}})},filterDropdown:function(n){var t=n.setSelectedKeys,c=n.selectedKeys,u=n.confirm,l=n.clearFilters,y=c[0]?String(c[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(Ce.Z,{placeholder:"\u641C\u7D22 userId",value:y,onChange:function(G){return t(G?[G]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(S.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(S.ZP,{onClick:function(){return l&&l()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){var c;return((c=t.user)===null||c===void 0?void 0:c.id)===n},filterIcon:function(n){return(0,e.jsx)(V.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u72B6\u6001",hideInSearch:!0,renderText:function(n){return n.status===0?(0,e.jsx)(oe.Z,{color:"green",children:"\u5DF2\u542F\u7528"}):(0,e.jsx)(oe.Z,{color:"red",children:"\u672A\u542F\u7528"})}},{title:"\u521B\u5EFA\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u4FEE\u6539\u65F6\u95F4",hideInSearch:!0,dataIndex:"updatedAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(n){return(0,e.jsx)("a",{onClick:v()(m()().mark(function t(){var c;return m()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,te.vE)({userId:((c=n.user)===null||c===void 0?void 0:c.id)||0,status:n.status===0?-1:0});case 2:k();case 3:case"end":return l.stop()}},t)})),children:n.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,F.useEffect)(function(){k()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(S.ZP,{style:{marginBottom:"20px"},onClick:function(){D(!0),E.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(ye.Z,{search:!1,onReset:function(){T(B)},columns:Y,dataSource:M}),(0,e.jsx)(ie.Z,{title:"\u7F16\u8F91",visible:Z,onOk:function(){E.submit(),D(!1)},onCancel:function(){D(!1)},children:(0,e.jsx)(h.Z,{labelCol:{span:4},wrapperCol:{span:18},form:E,onFinish:function(){var d=v()(m()().mark(function n(t){var c;return m()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(c=t.userId,!c){l.next=5;break}return l.next=4,(0,te.vE)({userId:c});case 4:k();case 5:case"end":return l.stop()}},n)}));return function(n){return d.apply(this,arguments)}}(),children:(0,e.jsx)(h.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(Ce.Z,{style:{width:200}})})})})]})},Ue=Ke,Re=["scheduleTime"],we=function(){var w=(0,F.useState)([]),I=j()(w,2),Z=I[0],D=I[1],$=(0,F.useState)([]),b=j()($,2),B=b[0],H=b[1],L=(0,F.useState)([]),A=j()(L,2),M=A[0],T=A[1],W=(0,F.useState)(!1),P=j()(W,2),E=P[0],k=P[1],Y=(0,F.useState)(!1),d=j()(Y,2),n=d[0],t=d[1],c=h.Z.useForm(),u=j()(c,1),l=u[0],y=h.Z.useForm(),f=j()(y,1),G=f[0],p=function(){var o=v()(m()().mark(function a(){var i;return m()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,U.hy)();case 2:i=s.sent,i.data&&H(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return o.apply(this,arguments)}}(),ae=function(){var o=v()(m()().mark(function a(i){return m()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(i){s.next=2;break}return s.abrupt("return");case 2:return s.next=4,(0,U.o9)({deviceId:i});case 4:p();case 5:case"end":return s.stop()}},a)}));return function(i){return o.apply(this,arguments)}}(),Le=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(a){var i=a.setSelectedKeys,C=a.selectedKeys,s=a.confirm,K=a.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(x.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:C[0],onChange:function(g){return i(g.target.value?[g.target.value]:[])},onPressEnter:function(){return s()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(S.ZP,{onClick:function(){return s()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(S.ZP,{onClick:function(){return K&&K()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,i){return typeof a=="string"&&typeof(i==null?void 0:i.deviceId)=="string"?i.deviceId.includes(a):!1},filterIcon:function(a){return(0,e.jsx)(V.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var i=(0,R.FG)(),C=i.find(function(s){return s.value===a});return C?C.label:a}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(a,i){return(0,e.jsx)(ge.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417",content:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsxs)("p",{children:["\u5220\u9664\u4E4B\u540Eecpm\u4F1A\u964D\u4F4E",(0,e.jsx)("br",{}),"\u4E5F\u4F1A\u5F71\u54CD\u5237\u6570\u636E\u53EF\u4F7F\u7528\u7684\u8BBE\u5907"]}),(0,e.jsx)("a",{onClick:function(){return ae(i.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],We=function(a){var i=Z.find(function(C){return C.id===a});return i?i.name:""},Ye=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},Ne=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(a){return(0,e.jsx)(oe.Z,{color:"blue",children:We(a)},a)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var i=(0,R.FG)(),C=i.find(function(s){return s.value===a});return C?C.label:a}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",render:function(a){return Ye(a)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",render:function(a){return le()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",render:function(a){switch(a){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return a}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",render:function(a){return le()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(a){return le()(a).format("YYYY-MM-DD HH:mm")}}],fe=function(){var o=v()(m()().mark(function a(){var i;return m()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,U.mW)();case 2:i=s.sent,i.data&&T(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return o.apply(this,arguments)}}(),Ve=function(){var o=v()(m()().mark(function a(){var i;return m()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,U.ln)();case 2:i=s.sent,i.data&&D(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return o.apply(this,arguments)}}();(0,F.useEffect)(function(){Ve(),p(),fe()},[]);var He=function(){var o=v()(m()().mark(function a(i){var C,s,K;return m()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return C=i.scheduleTime,s=ee()(i,Re),K=C.map(function(Fe){return le()(Fe.time).valueOf()}),g.prev=2,g.next=5,(0,U.tI)(N()({scheduleTime:K},s));case 5:g.next=10;break;case 7:return g.prev=7,g.t0=g.catch(2),g.abrupt("return");case 10:Q.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),fe(),t(!1);case 13:case"end":return g.stop()}},a,null,[[2,7]])}));return function(i){return o.apply(this,arguments)}}(),Ge=function(){l.resetFields(),k(!0)},ze=function(){G.resetFields(),t(!0)},Xe=function(){l.submit()},Je=function(){k(!1)},Qe=function(){G.submit()},qe=function(){t(!1)},_e=function(){var o=v()(m()().mark(function a(i){return m()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,(0,U.gz)({deviceId:i.deviceId||"",channel:i.channel||""});case 3:s.next=8;break;case 5:return s.prev=5,s.t0=s.catch(0),s.abrupt("return");case 8:k(!1),p();case 10:case"end":return s.stop()}},a,null,[[0,5]])}));return function(i){return o.apply(this,arguments)}}();return(0,e.jsx)(se._z,{children:(0,e.jsxs)(Se.Z,{defaultActiveKey:"1",onChange:function(a){a==="1"?p():a==="2"&&fe()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,e.jsx)(re.Z,{tab:"\u8BBE\u5907\u767D\u540D\u5355",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(S.ZP,{onClick:Ge,children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(he.Z,{columns:Le,dataSource:B}),(0,e.jsx)(ie.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:E,onOk:Xe,onCancel:Je,children:(0,e.jsxs)(h.Z,{form:l,onFinish:_e,children:[(0,e.jsx)(h.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(h.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(pe.Z,{options:(0,R.FG)()})})]})})]})},"1"),(0,e.jsx)(re.Z,{tab:"\u5237\u6570\u636E",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(S.ZP,{onClick:ze,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(he.Z,{columns:Ne,dataSource:M}),(0,e.jsx)(ie.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:n,onOk:Qe,onCancel:qe,children:(0,e.jsxs)(h.Z,{labelCol:{span:6},wrapperCol:{span:18},form:G,onFinish:He,children:[(0,e.jsx)(h.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(pe.Z,{mode:"multiple",options:Z.map(function(o){return{label:o.name,value:o.id}})})}),(0,e.jsx)(h.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(h.Z.List,{name:"scheduleTime",children:function(a,i){var C=i.add,s=i.remove;return(0,e.jsxs)(e.Fragment,{children:[a.map(function(K){var q=K.key,g=K.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(xe.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(ve.Z,{span:18,children:(0,e.jsx)(h.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[g,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,e.jsx)(Ze.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(ve.Z,{children:(0,e.jsx)(de.Z,{onClick:function(){return s(g)}})})]},q)})}),(0,e.jsx)(h.Z.Item,{children:(0,e.jsx)(S.ZP,{type:"dashed",onClick:function(){return C()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(re.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(Oe,{})},"3"),(0,e.jsx)(re.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(Me,{})},"4"),(0,e.jsx)(re.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(Ue,{})},"5")]})})},$e=we},32400:function(me,z,r){r.d(z,{p:function(){return ue}});var X=r(15009),N=r.n(X),_=r(99289),ee=r.n(_),ne=r(8322),m=r.n(ne);function ue(J){return v.apply(this,arguments)}function v(){return v=ee()(N()().mark(function J(j){return N()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.abrupt("return",new Promise(function(V,de){var se=new(m()).ArrayBuffer,h=new FileReader;h.onload=function(x){var O;se.append((O=x.target)===null||O===void 0?void 0:O.result),V(se.end())},h.onerror=function(x){de(x)},h.readAsArrayBuffer(j)}));case 1:case"end":return R.stop()}},J)})),v.apply(this,arguments)}}}]);