From 558043a024fccd7ebb86b6927ae12757922c24c8 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 30 Aug 2024 14:57:34 +0800
Subject: [PATCH] feat:更改当事人组件

---
 gz-customerSystem/src/views/register/visit/index.jsx |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gz-customerSystem/src/views/register/visit/index.jsx b/gz-customerSystem/src/views/register/visit/index.jsx
index 869ad11..8a3be63 100644
--- a/gz-customerSystem/src/views/register/visit/index.jsx
+++ b/gz-customerSystem/src/views/register/visit/index.jsx
@@ -39,7 +39,7 @@
 	const formRef = useRef();
 
 	const [isReview, setIsReview] = useState(false);//预览页面控制
-	const [current, setCurrent] = useState(1);
+	const [current, setCurrent] = useState(2);
 	const [tabsActive, setTabsActive] = useState('1');
 	const [tabsList, setTabList] = useState([
 		{
@@ -56,6 +56,7 @@
 	])
 	const breadcrumbDataMap = {
 		1: { breadcrumbData: [{ title: '工作台' }, { title: '来访登记' }], title: '来访登记' },
+		2: { breadcrumbData: [{ title: '工作台' }, { title: '事件中心' }], title: '办理反馈' },
 		3: { breadcrumbData: [{ title: '工作台' }, { title: '事件中心' }], title: '办理反馈' }
 	}
 
@@ -192,7 +193,7 @@
 					</Fragment>
 				}
 				{
-					current === 3 &&
+					(current === 2 || current === 3) &&
 					<Tabs defaultActiveTab='1' onChange={(v) => setTabsActive(v)}>
 						{tabsList?.map(item => {
 							return <TabPane
@@ -216,7 +217,7 @@
 										</Steps>
 									</div>
 								}
-								<MattersInfo active={tabsActive} />
+								<MattersInfo active={tabsActive} current={current}/>
 							</TabPane>
 						})}
 					</Tabs>

--
Gitblit v1.8.0