From 221546808c11df777199def992e4abbf1fc31b5a Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Sat, 14 Sep 2024 10:03:47 +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, 2 insertions(+), 7 deletions(-)
diff --git a/gz-customerSystem/src/views/register/eventFlow/index.jsx b/gz-customerSystem/src/views/register/eventFlow/index.jsx
index 1f7019b..1e4ece1 100644
--- a/gz-customerSystem/src/views/register/eventFlow/index.jsx
+++ b/gz-customerSystem/src/views/register/eventFlow/index.jsx
@@ -8,7 +8,6 @@
import EventFlow from './component/EventFlow';
import Examine from "./component/Examine";
import ApplyInfo from "../matterDetail/ApplyInfo";
-import { useParams } from 'react-router-dom';
const Step = Steps.Step;
const TabPane = Tabs.TabPane;
@@ -45,7 +44,6 @@
},
]
const Organization = () => {
- const routeData = useParams();
const caseTaskId = $$.getQueryString('caseTaskId')
const caseId = $$.getQueryString('caseId')
const [authorData, setAuthorData] = useState({});
@@ -59,7 +57,6 @@
//获取权限tab和按钮权限
const getAuthor = async () => {
- console.log(caseTaskId, caseId)
const res = await getTabButton({
caseTaskId: caseTaskId
})
@@ -92,11 +89,9 @@
return <ApplyInfo />
}
if (key === 'htsh' || key === 'sbsh' || key === 'lhczsh') {
- return <Examine type={key} caseTaskId={routeData.caseTaskId} caseId={routeData.caseId} />
+ return <Examine type={key} caseTaskId={caseTaskId} caseId={caseId} />
}
}
-
- console.log(caseId, 'caseId')
return (
<div style={{ position: 'relative' }}>
@@ -123,7 +118,7 @@
{getTypeDom(item.key)}
</TabPane>
})}
- </Tabs> : <EventFlow authorData={authorData} />
+ </Tabs> : <EventFlow authorData={authorData} caseId={caseId} />
}
</NewPage>
</div>
--
Gitblit v1.8.0