From 899e81654c9389785d58f9dbdf2ea7d2b2bc9082 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 13 Sep 2024 14:55:51 +0800
Subject: [PATCH] feat: 对接流程

---
 gz-customerSystem/src/views/register/eventFlow/index.jsx |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/gz-customerSystem/src/views/register/eventFlow/index.jsx b/gz-customerSystem/src/views/register/eventFlow/index.jsx
index e41522d..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;
@@ -28,11 +27,11 @@
 		label: '事项详情',
 		key: 'sxxq',
 	},
-	// {
-	// 	img: applyRecord,
-	// 	label: '申请记录',
-	// 	key: 'sqjl',
-	// },
+	{
+		img: applyRecord,
+		label: '申请记录',
+		key: 'sqjl',
+	},
 	{
 		img: examine,
 		label: '回退审核',
@@ -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' }}>

--
Gitblit v1.8.0