| | |
| | | return $$.ax.request({ url: `caseFeedback/listFeedback?id=` + id, type: 'get', service: 'mediate' }); |
| | | } |
| | | |
| | | 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' }); |
| | | } |
| | | |
| | | |
| | | const FileMessage = (props) => { |
| | | const caseTaskId = $$.getQueryString('caseTaskId') |
| | |
| | | const [progressData, setProgressData] = useState({}); |
| | | |
| | | useEffect(() => { |
| | | console.log(caseId, 'caseId') |
| | | getByCaseId(caseId); |
| | | getTransactResult(caseId); |
| | | getCaseInfo(caseId); |
| | |
| | | } |
| | | |
| | | const getData = async (id) => { |
| | | const res = await getListCaseFlow({ |
| | | caseId: id |
| | | }) |
| | | const res = await getListCaseFlow(id) |
| | | if (res.type) { |
| | | setProgressData(res.data) |
| | | } |
| | |
| | | </span> |
| | | } |
| | | > |
| | | <ProgressStep progressData={progressData} hasTab={true}/> |
| | | <ProgressStep progressData={progressData} hasTab={true} /> |
| | | </TabPane> |
| | | <TabPane |
| | | key='2' |