From e7e6c4618860aa0899ffb00c5eb892df1ac895eb Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Thu, 22 Aug 2024 08:35:34 +0800 Subject: [PATCH] 小程序复制 --- gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx index 68bf76c..432d9bd 100644 --- a/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx +++ b/gz-customerSystem/src/views/register/visit/component/visitorRegister.jsx @@ -352,9 +352,9 @@ return `${year}-${month}-${day} ${hours}:${minutes}`; } - //添加申请人: 0、被申请人: 1、代理人: 2 + //添加申请人: 0、被申请人: 1、申请代理人: 2、被申请代理人:3 const handleAdd = (type) => { - if (type === 2) { + if (type === 2 || type === 3) { setAgentVisible(true) } else { setAddVisabled(true) @@ -729,11 +729,14 @@ autoFocus={false} focusLock={true} footer={null} + unmountOnExit={true} + maskClosable={false} > <AgentDialog handleAddParty={handleAddParty} onClose={() => setAgentVisible(false)} fakeData={fakeData} + dialogType={dialogType} /> </Modal> <Modal -- Gitblit v1.8.0