| | |
| | | import { Scrollbars } from "react-custom-scrollbars"; |
| | | import * as $$ from '@/utils/utility'; |
| | | import { getOffset, getSize } from '@/utils/utility'; |
| | | import { useNavigate } from 'react-router-dom'; |
| | | |
| | | const RadioGroup = Radio.Group; |
| | | const FormItem = Form.Item; |
| | |
| | | } |
| | | |
| | | export default function Examine(props) { |
| | | const navigate = useNavigate(); |
| | | const formRef = useRef(); |
| | | const scrollRef = useRef(null); |
| | | const [infoData, setInfoData] = useState({}); |
| | |
| | | const res = await submit(props.type, data) |
| | | if (res.type) { |
| | | $$.infoSuccess({ content: '提交成功!' }); |
| | | navigate('/mediate/visit/visitWorkBench') |
| | | } |
| | | } |
| | | |
| | |
| | | {infoData?.fileInfoList?.map(res => { |
| | | return res.fileList.map((result, resIndex) => { |
| | | return <a href="your-link-here.html" target="_blank"> |
| | | <img src={link} alt="" className="title-file" />{result.trueName} |
| | | <img src={link} alt="" className="title-file" />{result.name} |
| | | {resIndex !== res.fileList.length - 1 && <>,</>} |
| | | </a> |
| | | }) |