From eb65923fafe836f8fcd56d3efee4d0fd3a33ac5f Mon Sep 17 00:00:00 2001 From: dminyi <1301963064@qq.com> Date: Tue, 10 Sep 2024 09:15:05 +0800 Subject: [PATCH] 工作台 --- gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx b/gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx index 0f4785b..d76dd19 100644 --- a/gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx +++ b/gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx @@ -14,8 +14,8 @@ const TabPane = Tabs.TabPane; const Step = Steps.Step; -function getListCaseFlow(data) { - return $$.ax.request({ url: `caseTask/listCaseFlow`, type: 'get', service: 'mediate', data }); +function getListCaseFlow(caseId) { + return $$.ax.request({ url: `caseTask/listCaseFlow?caseId=${caseId}`, type: 'get', service: 'mediate' }); } function accept(data) { @@ -35,7 +35,7 @@ const res = await accept({ caseTaskId: props.caseTaskId }) - if(res.type) { + if (res.type) { $$.infoSuccess({ content: '受理成功!' }); } }, @@ -120,14 +120,17 @@ //获取流程信息 const getData = async () => { - const res = await getListCaseFlow({ - caseId: props.caseId - }) + const res = await getListCaseFlow( + props.caseId + ) if (res.type) { setProgressData(res.data) } } + + + return ( <Fragment> <div style={{ backgroundColor: '#fff', margin: '0 16px 0px 16px', paddingTop: '16px', paddingLeft: '91px' }}> -- Gitblit v1.8.0