From b30dcd3d4a078aa0217a07234a58c1fbdaa57fd5 Mon Sep 17 00:00:00 2001 From: dminyi <1301963064@qq.com> Date: Sat, 31 Aug 2024 16:34:41 +0800 Subject: [PATCH] 接口 --- gz-customerSystem/src/views/register/visit/index.jsx | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/index.jsx b/gz-customerSystem/src/views/register/visit/index.jsx index 8a3be63..bdf6dc2 100644 --- a/gz-customerSystem/src/views/register/visit/index.jsx +++ b/gz-customerSystem/src/views/register/visit/index.jsx @@ -2,7 +2,7 @@ * @Author: dminyi 1301963064@qq.com * @Date: 2024-08-09 09:59:43 * @LastEditors: dminyi 1301963064@qq.com - * @LastEditTime: 2024-08-28 14:38:20 + * @LastEditTime: 2024-08-31 16:21:47 * @FilePath: \gzDyh\gz-customerSystem\src\views\basicInformation\organization\index.jsx * @Description: 来访登记 */ @@ -39,7 +39,7 @@ const formRef = useRef(); const [isReview, setIsReview] = useState(false);//预览页面控制 - const [current, setCurrent] = useState(2); + const [current, setCurrent] = useState(3); const [tabsActive, setTabsActive] = useState('1'); const [tabsList, setTabList] = useState([ { @@ -50,7 +50,7 @@ { img: transfer, label: '流转办理', - key: '3', + key: '2', isNeedStep: true,//加上这个就有进度条 }, ]) @@ -194,7 +194,11 @@ } { (current === 2 || current === 3) && - <Tabs defaultActiveTab='1' onChange={(v) => setTabsActive(v)}> + <Tabs + defaultActiveTab='1' + onChange={(v) => setTabsActive(v)} + className='myTabContent' + > {tabsList?.map(item => { return <TabPane key={item.key} @@ -217,7 +221,7 @@ </Steps> </div> } - <MattersInfo active={tabsActive} current={current}/> + <MattersInfo active={tabsActive} current={current} /> </TabPane> })} </Tabs> -- Gitblit v1.8.0