From d0d1701d2a56ff29d5fa3165f36c4c95bcd4b000 Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Tue, 10 Sep 2024 11:28:59 +0800
Subject: [PATCH] 交办

---
 gz-customerSystem/src/views/register/matterDetail/index.jsx |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gz-customerSystem/src/views/register/matterDetail/index.jsx b/gz-customerSystem/src/views/register/matterDetail/index.jsx
index 49176cf..6f259da 100644
--- a/gz-customerSystem/src/views/register/matterDetail/index.jsx
+++ b/gz-customerSystem/src/views/register/matterDetail/index.jsx
@@ -7,7 +7,7 @@
 import FileTable from "./FileTable";
 
 function getCaseInfoApi(id) {
-  return $$.ax.request({ url: 'caseInfo/getCaseInfo?id=' + id, type: 'get', service: 'mediate' });
+  return $$.ax.request({ url: '/caseInfo/getCaseInfo?id=' + id, type: 'get', service: 'mediate' });
 }
 
 
@@ -20,9 +20,10 @@
     getCaseInfo(props.caseId)
   }, [props.caseId])
 
+
   //获取id
   const getCaseInfo = async (id) => {
-    const res = await getCaseInfoApi(id)
+    const res = await getCaseInfoApi(props.caseId)
     if (res.type) {
       let data = res.data
       const partyList = data.personList.concat(data.agentList)
@@ -182,7 +183,7 @@
               <div>{infoData.createTime || '-'}</div>
             </Col>
           </Row>
-          {props.hasEditBtn && <Button type='primary' style={{ marginTop: '20px' }}>修改</Button>}
+          {/* {props.hasEditBtn && <Button type='primary' style={{ marginTop: '20px' }}>修改</Button>} */}
         </div>
 
       </Typography.Paragraph>

--
Gitblit v1.8.0