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/closingReview/index.jsx |   22 ++--------------------
 1 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/gz-customerSystem/src/views/register/closingReview/index.jsx b/gz-customerSystem/src/views/register/closingReview/index.jsx
index a4c2a37..c692ec3 100644
--- a/gz-customerSystem/src/views/register/closingReview/index.jsx
+++ b/gz-customerSystem/src/views/register/closingReview/index.jsx
@@ -4,20 +4,15 @@
 import "@arco-themes/react-gzzz/css/arco.css";
 import '../index.less';
 import { Tabs } from '@arco-design/web-react';
-import { examine, Matter, transfer, applyRecord } from '@/assets/images'
+import { examine, Matter, applyRecord } from '@/assets/images'
 import EventFlow from '../eventFlow/component/EventFlow';
 import ApplyInfo from "../matterDetail/ApplyInfo";
-import { useParams } from 'react-router-dom';
 import ReviewExamine from './component/ReviewExamine';
 
 const TabPane = Tabs.TabPane;
 
 function getTabButton(caseTaskId) {
 	return $$.ax.request({ url: `caseTask/getTabButton?caseTaskId=${caseTaskId}`, type: 'get', service: 'mediate' });
-}
-
-function getCaseInfoApi(id) {
-  return $$.ax.request({ url: '/caseInfo/getCaseInfo?id=' + id, type: 'get', service: 'mediate' });
 }
 
 const myTab = [
@@ -40,18 +35,13 @@
 const ClosingReview = () => {
 	const caseId = $$.getQueryString('caseId')
 	const caseTaskId = $$.getQueryString('caseTaskId')
-	const windupId = $$.getQueryString('windupId')
 
-	const routeData = useParams();
 	const [authorData, setAuthorData] = useState({});
 	const [tabsList, setTabsList] = useState([]);
 	const [tabsActive, setTabsActive] = useState();
-	const [newId, setNewId] = useState(caseId)
 
 	useEffect(() => {
 		getAuthor();
-		getCaseInfo()
-		console.log(caseId,caseTaskId,'caseId','caseTaskId')
 	}, [])
 
 	//获取权限tab和按钮权限
@@ -76,14 +66,6 @@
 		}
 	}
 
-	const getCaseInfo = async (id) => {
-    const res = await getCaseInfoApi(caseId)
-		if(res.type){
-			console.log(res.data?.id,'res.data?.idres.data?.id')
-			setNewId(res.data?.id)
-		}
-		}
-
 	//根据id定义组件
 	const getTypeDom = (key) => {
 		if (key === 'dslxq' || key === 'sxxq') {
@@ -93,7 +75,7 @@
 			return <ApplyInfo />
 		}
 		if (key === 'jash') {
-			return <ReviewExamine caseTaskId={caseTaskId} caseId={caseId} id={windupId} />
+			return <ReviewExamine caseTaskId={caseTaskId} caseId={caseId} />
 		}
 	}
 

--
Gitblit v1.8.0