forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-11 8617a79951c9c45d60ffdf84d1627062408c131c
gz-customerSystem/src/views/register/matterDetail/fileMessage.jsx
@@ -46,7 +46,7 @@
  const [current, setCurrent] = useState(7);
  const [grade, setGrade] = useState(null);
  const [caseInfo, setCaseInfo] = useState({})
  const [TransactResult, setTransactResult] = useState({})
  const [TransactResult, setTransactResult] = useState(null)
  const [tabsList, setTabList] = useState([
    {
      img: result,
@@ -79,8 +79,14 @@
  const getTransactResult = async (id) => {
    const res = await getTransactResultApi(id)
    console.log(res);
    if (res.type) {
      setTransactResult({ ...res.data, fileName: res.data.fileInfoBaseDTOList.map(item => item.trueName) })
      if(res.data) {
        setTransactResult({ ...res.data, fileName: res.data.fileInfoBaseDTOList?.map(item => item.trueName) })
      } else {
        setTransactResult(null)
      }
    }
  }
@@ -196,7 +202,9 @@
                      </span>
                    }
                  >
                    <Scrollbars style={{ height: 'calc(100vh - 300px)' }} autoHide>
                    <ProgressStep progressData={progressData} hasTab={true} />
                    </Scrollbars>
                  </TabPane>
                  <TabPane
                    key='2'
@@ -207,9 +215,9 @@
                      </span>
                    }
                  >
                    <div style={{ marginBottom: '20px' }}>
                    <Scrollbars style={{ height: 'calc(100vh - 300px)' }} autoHide>
                      <SupervisingView id={''} />
                    </div>
                    </Scrollbars>
                  </TabPane>
                </Tabs>
              </div>