Commit 740a719d authored by Sixiang_Zzb's avatar Sixiang_Zzb

修改批量上传

parent 77a80fae
import React, { useState, useEffect, useRef } from 'react';
import { Input, Tabs, Table, Result, Button } from 'antd';
const { TabPane } = Tabs;
import React, { useState, useEffect } from 'react';
import { Result, Button } from 'antd';
import { connect, history } from 'umi';
import { getCookie } from '@/utils/method';
import { RA } from '@/utils/method';
const module = 'User';
const ResultPageFailed = (props: any) => {
const { dispatch, Data } = props;
const formRef = useRef(null);
const [resultTime, setResultTime] = useState(3);
const [resultId, setResultId] = useState(3);
const backPage = () => {
history.go(-1);
};
useEffect(() => {
const id = localStorage.getItem('userInfo') || '';
setResultId(JSON.parse(id).userModel.id);
}, []);
return (
<div style={{ width: '100%', minWidth: 1020, padding: 34, backgroundColor: '#ffffff' }}>
<Result
......@@ -27,9 +27,7 @@ const ResultPageFailed = (props: any) => {
{/* <a href={'http://47.74.233.180:8651/tos/excel/down?operator_id=' + getCookie('id')}>
Download
</a> */}
<a href={'http://192.168.1.28:8651/tos/excel/down?operator_id=' + getCookie('id')}>
Download
</a>
<a href={'http://192.168.1.28:8651/tos/excel/down?operator_id=' + resultId}>Download</a>
</Button>,
<Button key="back" onClick={backPage}>
Back
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment