From 0eca6aea6132685e860a49eb983598ccc858dc47 Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Tue, 10 Sep 2024 15:46:49 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx b/gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx index d76dd19..807b3da 100644 --- a/gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx +++ b/gz-customerSystem/src/views/register/eventFlow/component/EventFlow.jsx @@ -10,6 +10,7 @@ import MatterDetail from '../../matterDetail'; import SupervisingView from "../../matterDetail/Supervising"; import * as $$ from '@/utils/utility'; +import { useNavigate } from 'react-router-dom'; const TabPane = Tabs.TabPane; const Step = Steps.Step; @@ -76,6 +77,7 @@ }, ] const scrollRef = useRef(null) + const navigate = useNavigate(); const [backVisible, setBackVisible] = useState(false) const [height, setHeight] = useState(500) const [escalationVisible, setEscalationVisible] = useState(false) @@ -212,7 +214,7 @@ autoFocus={false} focusLock={false} > - <AssignedModel caseId={props.caseId} onCancel={() => { setAssignedVisible(false) }} /> + <AssignedModel caseId={props.caseId} caseTaskId={props.caseTaskId} onCancel={() => { setAssignedVisible(false) }} /> </Modal> <div className="dataSync-excel"> <Space size="large" style={{ margin: '4px 14px' }}> @@ -220,7 +222,7 @@ const { label, key, click, ...rest } = item; return <Button key={key} onClick={click} {...rest} >{label}</Button> })} - <Button type='secondary' >返回上级页面</Button> + <Button type='secondary' onClick={() => navigate(-1)}>返回上级页面</Button> </Space> </div> </div> -- Gitblit v1.8.0