| | |
| | | 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 [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) |
| | | } |
| | | |
| | | function handleChangeFile() { |
| | |
| | | > |
| | | <ApplyDialog /> |
| | | </Modal> |
| | | <Modal |
| | | title={'添加代理人'} |
| | | visible={agentVisible} |
| | | onOk={() => setAgentVisible(false)} |
| | | onCancel={() => setAgentVisible(false)} |
| | | autoFocus={false} |
| | | focusLock={true} |
| | | footer={null} |
| | | > |
| | | <AgentDialog /> |
| | | </Modal> |
| | | </div> |
| | | ) |
| | | } |