From 9f705a54328c4b59ad9566c521bc6e0e7577acb3 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Fri, 13 Sep 2024 19:10:30 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master --- gz-customerSystem/src/views/register/closingReview/component/ReviewExamine.jsx | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gz-customerSystem/src/views/register/closingReview/component/ReviewExamine.jsx b/gz-customerSystem/src/views/register/closingReview/component/ReviewExamine.jsx index 28d201c..f25b545 100644 --- a/gz-customerSystem/src/views/register/closingReview/component/ReviewExamine.jsx +++ b/gz-customerSystem/src/views/register/closingReview/component/ReviewExamine.jsx @@ -6,6 +6,7 @@ import { Scrollbars } from "react-custom-scrollbars"; import ReviewProgress from './ReviewProgress'; import * as $$ from '@/utils/utility'; +import { useNavigate } from 'react-router-dom'; const RadioGroup = Radio.Group; const FormItem = Form.Item; @@ -33,6 +34,7 @@ } export default function ReviewExamine(props) { + const navigate = useNavigate(); const formRef = useRef(); const [result, setResult] = useState() const [infoData, setInfoData] = useState({}); @@ -56,7 +58,7 @@ value: '4' }, ] - + console.log(props.id,'props.idprops.id') useEffect(() => { getInfoData() getAppId() @@ -95,7 +97,7 @@ if (!errors) { const { file, myNoUp, ...rest } = formRef.current.getFields() requestSubmit({ - id, + id: props.id, caseId: props.caseId, caseTaskId: props.caseTaskId, ...rest @@ -109,6 +111,7 @@ const res = await submit(data) if (res.type) { $$.infoSuccess({ content: '提交成功!' }); + navigate(`/mediate/visit/visitWorkBench`) } } @@ -139,7 +142,7 @@ </Col> <Col span={24}> <div><div className="title-text">结案意见</div></div> - <div>{infoData?.windupContent || '-'}</div> + <div>{infoData?.auditContent || '-'}</div> </Col> {/* <Col span={24}> <div><div className="title-text">是否转诉讼案件</div></div> @@ -151,7 +154,7 @@ </Col> */} <Col span={24}> <div><div className="title-text">申请时间</div></div> - <div>{infoData?.applyTime || '-'}</div> + <div>{$$.myTimeFormat(infoData?.applyTime, 'YYYY-MM-DD HH:mm') || '-'}</div> </Col> <Col span={24}> <div><div className="title-text">申请人</div></div> -- Gitblit v1.8.0