From 200b3f9e47195b19484a9e8530079ee8e2c9aa5f Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sun, 15 Sep 2024 22:37:54 +0800
Subject: [PATCH] fix: 配合部门
---
gz-customerSystem/src/views/register/closingReview/index.jsx | 27 +++++++--------------------
1 files changed, 7 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..3664b7e 100644
--- a/gz-customerSystem/src/views/register/closingReview/index.jsx
+++ b/gz-customerSystem/src/views/register/closingReview/index.jsx
@@ -4,10 +4,9 @@
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;
@@ -16,11 +15,12 @@
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 = [
+ {
+ img: Matter,
+ label: '详情',
+ key: 'dslxq',
+ },
{
img: Matter,
label: '事项详情',
@@ -40,18 +40,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 +71,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 +80,7 @@
return <ApplyInfo />
}
if (key === 'jash') {
- return <ReviewExamine caseTaskId={caseTaskId} caseId={caseId} id={windupId} />
+ return <ReviewExamine caseTaskId={caseTaskId} caseId={caseId} />
}
}
--
Gitblit v1.8.0