This commit is contained in:
PC-202306242200\Administrator
2024-10-09 15:08:04 +08:00
parent 0fa6b5dc41
commit 806d745daa
7 changed files with 5 additions and 5 deletions

2
dist/index.html vendored
View File

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.7267f8fa.js"></script>
<script src="/umi.b04d55c9.js"></script>
</body></html>

View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5829],{85751:function(T,i,_){_.r(i);var p=_(26068),u=_.n(p),O=_(15558),M=_.n(O),P=_(48305),m=_.n(P),j=_(94675),A=_(953),r=_(50159),E=_(50959),f=_(75201),v=_(59806),n=_(11527);i.default=function(l){var B=l.modalOpenState,C=l.onModalOpenState,x=l.onSubmit,b=(0,E.useState)([]),D=m()(b,2),a=D[0],s=D[1],h=(0,E.useState)(!1),c=m()(h,2),g=c[0],S=c[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(M()(a),[e])),!1},fileList:a},L=function(){var e=new FormData;a.forEach(function(t){e.append("file",t)}),x(e),s([])};return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(j.Z,{title:"\u5BFC\u5165\u63D0\u73B0\u7ED3\u679C",open:B,onCancel:function(){C(!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)(A.Z,u()(u()({className:"mr-6"},U),{},{children:(0,n.jsx)(r.ZP,{icon:(0,n.jsx)(f.Z,{}),children:"\u9009\u62E9\u6587\u4EF6"})})),(0,n.jsx)(r.ZP,{icon:(0,n.jsx)(v.Z,{}),onClick:function(){window.open("https://guangdongxingdong.oss-cn-beijing.aliyuncs.com/template/%E4%BD%93%E7%8E%B0%E8%AE%B0%E5%BD%95%E6%A8%A1%E6%9D%BF.xlsx")},children:"\u4E0B\u8F7D\u6A21\u677F"})]})})})}}}]);

View File

@@ -1 +0,0 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5829],{85751:function(T,i,_){_.r(i);var p=_(26068),u=_.n(p),O=_(15558),f=_.n(O),M=_(48305),m=_.n(M),P=_(94675),j=_(953),r=_(50159),E=_(50959),v=_(75201),C=_(59806),n=_(11527);i.default=function(l){var A=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),D=m()(B,2),S=D[0],I=D[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\u63D0\u73B0\u7ED3\u679C",open:A,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)(C.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"})]})})})}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -54,7 +54,7 @@ export default ({ modalOpenState, onModalOpenState, onSubmit }) => {
<Button icon={<UploadOutlined />}></Button>
</Upload>
<Button icon={<DownloadOutlined />} onClick={() => {
window.open('https://zhongshuai-test.oss-cn-beijing.aliyuncs.com/upload/20240911/11ecca80-3f06-43c9-9c63-e9a9e4ef0173.xlsx');
window.open('https://guangdongxingdong.oss-cn-beijing.aliyuncs.com/template/%E4%BD%93%E7%8E%B0%E8%AE%B0%E5%BD%95%E6%A8%A1%E6%9D%BF.xlsx');
}}></Button>
</div>
</Modal>