From 71e242b85800588e66645aa0df1ed24469dfad45 Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Tue, 10 Sep 2024 10:14:41 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master

---
 gz-customerSystem/src/views/register/eventFlow/index.jsx |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gz-customerSystem/src/views/register/eventFlow/index.jsx b/gz-customerSystem/src/views/register/eventFlow/index.jsx
index 5fa937c..b96e734 100644
--- a/gz-customerSystem/src/views/register/eventFlow/index.jsx
+++ b/gz-customerSystem/src/views/register/eventFlow/index.jsx
@@ -46,6 +46,8 @@
 ]
 const Organization = () => {
 	const routeData = useParams();
+	const caseTaskId = $$.getQueryString('caseTaskId')
+	const caseId = $$.getQueryString('caseId')
 	const [authorData, setAuthorData] = useState({});
 	const [tabsList, setTabsList] = useState([]);
 	const [tabsActive, setTabsActive] = useState();
@@ -57,8 +59,9 @@
 
 	//获取权限tab和按钮权限
 	const getAuthor = async () => {
+		console.log(routeData, 'routeData')
 		const res = await getTabButton({
-			caseTaskId: routeData.caseTaskId
+			caseTaskId: caseTaskId
 		})
 		if (res.type) {
 			const { tabList } = res.data
@@ -83,7 +86,7 @@
 	//根据id定义组件
 	const getTypeDom = (key) => {
 		if (key === 'dslxq' || key === 'sxxq') {
-			return <EventFlow authorData={authorData} caseId={routeData.caseId} />
+			return <EventFlow authorData={authorData} caseId={caseId} caseTaskId={caseTaskId}/>
 		}
 		if (key === 'sqjl') {
 			return <ApplyInfo />
@@ -93,6 +96,8 @@
 		}
 	}
 
+	console.log(caseId, 'caseId')
+
 	return (
 		<div style={{ position: 'relative' }}>
 			<NewPage

--
Gitblit v1.8.0