From 336a519d0481f9f1678e84bd47d46b66942b1ae0 Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Fri, 06 Sep 2024 10:43:35 +0800
Subject: [PATCH] feat: 事件流转改变

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

diff --git a/gz-customerSystem/src/views/register/matterDetail/index.jsx b/gz-customerSystem/src/views/register/matterDetail/index.jsx
index 8e3cd09..810cb2e 100644
--- a/gz-customerSystem/src/views/register/matterDetail/index.jsx
+++ b/gz-customerSystem/src/views/register/matterDetail/index.jsx
@@ -11,7 +11,7 @@
 }
 
 
-export default function MatterDetail() {
+export default function MatterDetail(props) {
   const [fakeData, setFakeData] = useState([{
     "trueName": "王大锤",
     "mobile": "13380313412",
@@ -169,15 +169,16 @@
   return (
     <div style={{ position: 'relative' }}>
       <Typography.Paragraph>
-        <div className='dataSync-page'>
+        <div className='dataSync-noScrollPage'>
 
           <Col span={24} style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
             <Space size='small'>
               <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h5>当事人信息</h5>
             </Space>
-            <div>
+            {props.hasApplet && <div>
               <Switch checkedChildren="当事人小程序可见" unCheckedChildren="当事人小程序不可见" defaultChecked />
             </div>
+            }
           </Col>
           <div style={{ margin: '16px 0' }}>
             <PersonCard
@@ -294,7 +295,7 @@
               <div>{infoData.createTime || '-'}</div>
             </Col>
           </Row>
-          <Button type='primary' style={{ marginTop: '20px' }}>修改</Button>
+          {props.hasEditBtn && <Button type='primary' style={{ marginTop: '20px' }}>修改</Button>}
         </div>
 
       </Typography.Paragraph>

--
Gitblit v1.8.0