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/eventFlow/component/BackModel.jsx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx b/gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx
index a7e9b0e..5eae568 100644
--- a/gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx
+++ b/gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx
@@ -4,6 +4,7 @@
 import ArcoUpload from '@/components/ArcoUpload';
 import { Scrollbars } from "react-custom-scrollbars";
 import * as $$ from '@/utils/utility';
+import { useNavigate } from 'react-router-dom';
 
 const RadioGroup = Radio.Group;
 const FormItem = Form.Item;
@@ -23,6 +24,7 @@
 }
 
 export default function BackModel(props) {
+  const navigate = useNavigate();
   const formRef = useRef();
   const [id, setId] = useState();
   const options = [
@@ -67,6 +69,7 @@
           handleReturn({
             id,
             caseId: props.caseId,
+            caseTaskId: props.caseTaskId,
             returnContent: values.returnContent
           })
         }
@@ -88,6 +91,7 @@
     if (res.type) {
       $$.infoSuccess({ content: '提交申请成功!' });
       props.onCancel()
+      navigate('/mediate/visit/visitWorkBench')
     }
   }
 
@@ -134,7 +138,7 @@
             <Col span={24} className="doubleFile">
               <ArcoUpload
                 params={{
-                  action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.caseId}&ownerId=${id}&ownerType=22_00018-520`,
+                  action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.caseId}&ownerId=${id}&ownerType=22_00018-510`,
                 }}
                 field='file'
                 label='附件材料'

--
Gitblit v1.8.0