| | |
| | | import TableView from '../../../../components/TableView'; |
| | | import '../../index.less'; |
| | | import ApplyDialog from "./applyDialog"; |
| | | import AgentDialog from "./agentDialog"; |
| | | import FilesCheck from '../../../filesCheck'; |
| | | import { |
| | | IconFileAudio, |
| | |
| | | const [upload, setUpLoad] = useState(false); |
| | | const [sourceType, setSourceType] = useState('09_01010-1'); |
| | | const [filesCheck, setFilesCheck] = useState(false); |
| | | const [file, setFile] = useState(); |
| | | const [fileView, setFileView] = useState(); |
| | | const [selectedAddress, setSelectedAddress] = useState(''); |
| | | const [fileTip, setFileTip] = useState('0'); |
| | | |
| | |
| | | // 更多地址... |
| | | ]; |
| | | |
| | | const [agentVisible, setAgentVisible] = useState(false); |
| | | |
| | | const personIconType = (v) => { |
| | | switch (v) { |
| | |
| | | |
| | | //添加申请人: 0、被申请人: 1、代理人: 2 |
| | | const handleAdd = (type) => { |
| | | if(type === 2) { |
| | | setAgentVisible(true) |
| | | } else { |
| | | setAddVisabled(true) |
| | | } |
| | | setDialogType(type) |
| | | setAddVisabled(true) |
| | | } |
| | | |
| | | |
| | |
| | | if (info.length > 0) { |
| | | setScanImage(true); |
| | | } |
| | | setFile({ |
| | | setFileView({ |
| | | ...currentFile, |
| | | url: URL.createObjectURL(currentFile.originFile), |
| | | |
| | |
| | | </Modal> |
| | | <Modal style={{ width: '944px' }} visible={scanImage} onCancel={() => setScanImage(false)} footer={null} title='选择识别范围' centered> |
| | | <img |
| | | src={file?.url} |
| | | src={fileView?.url} |
| | | alt="" |
| | | style={{ |
| | | display: 'block', // 确保图片在容器中居中显示 |
| | |
| | | > |
| | | <ApplyDialog /> |
| | | </Modal> |
| | | <Modal |
| | | title={'添加代理人'} |
| | | visible={agentVisible} |
| | | onOk={() => setAgentVisible(false)} |
| | | onCancel={() => setAgentVisible(false)} |
| | | autoFocus={false} |
| | | focusLock={true} |
| | | footer={null} |
| | | > |
| | | <AgentDialog /> |
| | | </Modal> |
| | | </div> |
| | | ) |
| | | } |