From d2280c384e4b8f6acef1e01f400e3c61c97d82d9 Mon Sep 17 00:00:00 2001 From: dminyi <1301963064@qq.com> Date: Sat, 07 Sep 2024 16:56:54 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master --- gz-customerSystem/src/views/register/matterDetail/index.jsx | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/gz-customerSystem/src/views/register/matterDetail/index.jsx b/gz-customerSystem/src/views/register/matterDetail/index.jsx index 810cb2e..a058c98 100644 --- a/gz-customerSystem/src/views/register/matterDetail/index.jsx +++ b/gz-customerSystem/src/views/register/matterDetail/index.jsx @@ -143,11 +143,15 @@ // 更多数据... ]; - + + useEffect(() => { + console.log(props); + getCaseInfo(props.caseId) + }, [props.caseId]) //获取id - const getCaseInfo = async () => { - const res = await getCaseInfoApi('24083010062110001') + const getCaseInfo = async (id) => { + const res = await getCaseInfoApi(id) if (res.type) { let data = res.data @@ -160,11 +164,6 @@ } } - - - // useEffect(() => { - // getCaseInfo() - // }, []) return ( <div style={{ position: 'relative' }}> @@ -186,7 +185,7 @@ data={fakeData} /> </div> - <Col span={24} style={{ display: 'flex', alignItems: 'center', marginBottom: '4px' }}> + <Col span={24} className='title'> <Space size='small'> <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h5>纠纷基本情况</h5> </Space> @@ -272,7 +271,7 @@ bordered={true} style={{ marginBottom: '20px' }} /> - <Col span={24} style={{ display: 'flex', alignItems: 'center', marginBottom: '4px' }}> + <Col span={24} className='title'> <Space size='small'> <div className='MediationInfo-subTitle' style={{ marginTop: '-9px' }}></div><h5>登记信息</h5> </Space> -- Gitblit v1.8.0