| | |
| | | import RateModule from './RateModule'; |
| | | import RegisInfoModule from './RegisInfoModule'; |
| | | import SupervisingView from "./Supervising"; |
| | | import { useNavigate } from 'react-router-dom'; |
| | | |
| | | const Step = Steps.Step; |
| | | const TabPane = Tabs.TabPane; |
| | |
| | | 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 navigate = useNavigate(); |
| | | const caseTaskId = $$.getQueryString('caseTaskId') |
| | | const caseId = $$.getQueryString('caseId') |
| | | const [tabsActive, setTabsActive] = useState('1'); |
| | |
| | | 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) |
| | | } |
| | |
| | | <div className="dataSync-excel"> |
| | | <Space size="large" style={{ margin: '4px 14px' }}> |
| | | <Button type='primary' >导出</Button> |
| | | <Button type='secondary' >返回上级页面</Button> |
| | | <Button type='secondary'onClick={() => navigate(-1)}>返回上级页面</Button> |
| | | </Space> |
| | | </div> |
| | | </> |
| | |
| | | </span> |
| | | } |
| | | > |
| | | <ProgressStep progressData={progressData} hasTab={true}/> |
| | | <ProgressStep progressData={progressData} hasTab={true} /> |
| | | </TabPane> |
| | | <TabPane |
| | | key='2' |