From 74b57df17b4f57105f0be567aa13eb29ffdc6f01 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Sat, 17 Aug 2024 09:09:32 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx index 5cc88a9..8ec2bd4 100644 --- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx +++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx @@ -18,6 +18,7 @@ import TableView from '../../../../components/TableView'; import '../../index.less'; import ApplyDialog from "./applyDialog"; +import AgentDialog from "./agentDialog"; import FilesCheck from '../../../filesCheck'; import { IconFileAudio, @@ -104,6 +105,7 @@ 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) { @@ -134,6 +136,8 @@ }} tip='支持png、 jpg、excel、word、pdf等格式的文件上传,每次上传大小不超过10M' /> + + </FormItem> </Col> </> @@ -270,8 +274,12 @@ //添加申请人: 0、被申请人: 1、代理人: 2 const handleAdd = (type) => { + if(type === 2) { + setAgentVisible(true) + } else { + setAddVisabled(true) + } setDialogType(type) - setAddVisabled(true) } function handleChangeFile() { @@ -511,6 +519,7 @@ rows={5} placeholder='' wrapperStyle={{ width: '100%' }} + defaultValue='识别内容' /> <div style={{ marginTop: '24px' }}><Button type="primary" onClick={() => setScaned(true)}>使用文字</Button></div> </MyModal> @@ -570,6 +579,17 @@ > <ApplyDialog /> </Modal> + <Modal + title={'添加代理人'} + visible={agentVisible} + onOk={() => setAgentVisible(false)} + onCancel={() => setAgentVisible(false)} + autoFocus={false} + focusLock={true} + footer={null} + > + <AgentDialog /> + </Modal> </div> ) } -- Gitblit v1.8.0