| | |
| | | import React, { Fragment, useEffect, useState, useRef } from 'react'; |
| | | import * as $$ from '@/utils/utility'; |
| | | import ArcoUpload from '@/components/ArcoUpload'; |
| | | import NewFileCheck from '../../filesCheck/newFileCheck'; |
| | | import { IconLink } from '@arco-design/web-react/icon'; |
| | | import NewFileCheck from './NewFileCheck'; |
| | | import { Row, Col, Button } from 'antd'; |
| | | import { Form, Modal } from '@arco-design/web-react'; |
| | | import { |
| | |
| | | { value: '22_00018-102', label: '证据材料' }, |
| | | ] |
| | | |
| | | useEffect(() => { |
| | | console.log(props.fileInfoList); |
| | | },[props.fileInfoList]) |
| | | |
| | | const personIconType = (v) => { |
| | | switch (v) { |
| | | case '22_00018-101': |
| | |
| | | |
| | | const handleUpload = () => { |
| | | const newList = tableData.map(item => { |
| | | if(item.ownerType == sourceType) { |
| | | if (item.ownerType == sourceType) { |
| | | const data = fileMap[sourceType] |
| | | return { |
| | | ...item, |
| | |
| | | label='' |
| | | // editData={props.editData} |
| | | handleDelFile={handleDelFile} |
| | | onFileListChange={(v) => { |
| | | onFileListChange={(v) => { |
| | | setFileMap({ |
| | | '22_00018-101': v |
| | | }) |
| | |
| | | label='' |
| | | // editData={props.editData} |
| | | handleDelFile={handleDelFile} |
| | | onFileListChange={(v) => { |
| | | onFileListChange={(v) => { |
| | | setFileMap({ |
| | | '22_00018-102': v |
| | | }) |
| | |
| | | </div> |
| | | |
| | | </Modal > |
| | | <Modal style={{ width: '1200px' }} visible={filesCheck} onCancel={() => setFilesCheck(false)} footer={null} title='查看事件材料' centered> |
| | | <Modal |
| | | style={{ width: '1200px' }} |
| | | visible={filesCheck} |
| | | onCancel={() => setFilesCheck(false)} |
| | | footer={null} |
| | | title='查看事件材料' |
| | | centered |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <div style={{ marginTop: '-16px' }}> |
| | | <NewFileCheck /> |
| | | </div> |