From 7bec45c3da050deda516f96b0a89f94b06814ae9 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Tue, 10 Sep 2024 16:59:11 +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 | 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 49176cf..57af84b 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,15 +20,16 @@ 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) setInfoData({ ...data, - questionName: data.queProvName === null ? '-' : data.queProvName + '/' + data.queCityName + '/' + data.queAreaName + '/' + data.queRoadName + '/' + data.queVillageName, + questionName: data.queProvName === null ? '-' : data.queProvName + '/' + data.queCityName + '/' + data.queAreaName + '/' + data.queRoadName, caseType: data.caseTypeFirstName === null ? '-' : data.caseTypeFirstName + '/' + data.caseTypeName }) setFakeData(partyList.map(item => { @@ -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