From 8c7d843afaa32fc77204e86e1fa80e1abe0756d9 Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Tue, 10 Sep 2024 10:36:28 +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 | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/gz-customerSystem/src/views/register/eventFlow/index.jsx b/gz-customerSystem/src/views/register/eventFlow/index.jsx
index 5fa937c..36b134a 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 />
@@ -92,6 +95,8 @@
return <Examine type={key} caseTaskId={routeData.caseTaskId} caseId={routeData.caseId} />
}
}
+
+ console.log(caseId, 'caseId')
return (
<div style={{ position: 'relative' }}>
@@ -118,7 +123,7 @@
{getTypeDom(item.key)}
</TabPane>
})}
- </Tabs> : <EventFlow authorData={authorData} />
+ </Tabs> : <EventFlow authorData={authorData} caseId={caseId} />
}
</NewPage>
</div>
--
Gitblit v1.8.0