"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[8467],{27039:function(T,i,_){_.r(i);var D=_(26068),u=_.n(D),O=_(15558),f=_.n(O),M=_(48305),m=_.n(M),P=_(94675),j=_(953),r=_(50159),E=_(50959),v=_(75201),A=_(59806),n=_(11527);i.default=function(l){var C=l.modalOpenState,b=l.onModalOpenState,h=l.onSubmit,x=(0,E.useState)([]),c=m()(x,2),a=c[0],s=c[1],B=(0,E.useState)(!1),p=m()(B,2),S=p[0],I=p[1],U={onRemove:function(e){var t=a.indexOf(e),d=a.slice();d.splice(t,1),s(d)},beforeUpload:function(e){return s([].concat(f()(a),[e])),!1},fileList:a},L=function(){var e=new FormData;a.forEach(function(t){e.append("file",t)}),h(e),s([])};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(P.Z,{title:"\u5BFC\u5165\u8BBE\u5907",open:C,onCancel:function(){b(!1)},onOk:L,footer:function(e,t){var d=t.OkBtn,R=t.CancelBtn;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(R,{}),(0,n.jsx)(d,{})]})},children:(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)(j.Z,u()(u()({className:"mr-6"},U),{},{children:(0,n.jsx)(r.ZP,{icon:(0,n.jsx)(v.Z,{}),children:"\u9009\u62E9\u6587\u4EF6"})})),(0,n.jsx)(r.ZP,{icon:(0,n.jsx)(A.Z,{}),onClick:function(){window.open("https://zhongshuai-test.oss-cn-beijing.aliyuncs.com/upload/20240911/11ecca80-3f06-43c9-9c63-e9a9e4ef0173.xlsx")},children:"\u4E0B\u8F7D\u6A21\u677F"})]})})})}}}]);
