forked from gzzfw/frontEnd/gzDyh

dminyi
2024-09-08 a638a7918a2d05e343253dff9158ce0379a47bd4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
 * @Company: hugeInfo
 * @Author: lwh
 * @Date: 2023-05-09 11:28:47
 * @LastEditTime: 2023-05-11 20:21:18
 * @LastEditors: lwh
 * @Version: 1.0.0
 * @Description: 
 */
import React, { useState, useEffect } from 'react';
import { useSearchParams, useNavigate } from 'react-router-dom';
import { Tooltip, Popconfirm, Space, Popover, Descriptions, Typography, Button } from 'antd';
import { CheckCircleFilled } from '@ant-design/icons';
import * as $$ from '../../utils/utility';
import Page from '../../components/Page';
import ProgressStep from '../../components/ProgressStep';
 
 
const MediationWindowSuccess = () => {
  const [searchParams] = useSearchParams();
 
  const caseId = searchParams.get('caseId');
 
  const navigate = useNavigate();
 
  return (
    <Page>
      <div className="register-over">
        <div className="register-over-success">
          <CheckCircleFilled className="register-over-icon" />
          <div className="h6">提交成功</div>
          <div className="register-over-subtitle">
            调解已结束,可通过<span className="public-color">我的调解/调解结束</span>或<span className="public-color">调解总览</span>进行查看
          </div>
          <Space size="large" style={{ marginBottom: '24px' }}>
            <Button type='primary' onClick={() => {
              // /mediate/myAdjust
              let values = $$.getSessionStorage('/mediate/myAdjust');
              console.log('values', values);
              $$.setSessionStorage('/mediate/myAdjust', { ...values, search: { ...values.search, pageType: '3' }, isBack: true });
              navigate('/mediate/myAdjust?isBack=true')
            }}>我的调解</Button>
          </Space>
        </div>
        <div style={{ display: 'flex', justifyContent: 'center', backgroundColor: "#ffffff" }}>
          <div className="caseDetail-cardMain" style={{}}>
            <h5>进度</h5>
            <ProgressStep caseId={caseId} pageFrom="dispatchRecord" />
          </div>
        </div>
      </div>
    </Page>
  )
}
 
 
export default MediationWindowSuccess;