forked from gzzfw/frontEnd/gzDyh

liuwh
2024-09-10 71e242b85800588e66645aa0df1ed24469dfad45
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' }}>