From 3ae864f005e8a874de01c15e14b83196a3f6f11b Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Wed, 18 Sep 2024 10:21:30 +0800
Subject: [PATCH] 新增一个测试环境

---
 gz-customerSystem/src/views/register/handleFeedback/component/AuditView.jsx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/gz-customerSystem/src/views/register/handleFeedback/component/AuditView.jsx b/gz-customerSystem/src/views/register/handleFeedback/component/AuditView.jsx
index 32121ac..d409482 100644
--- a/gz-customerSystem/src/views/register/handleFeedback/component/AuditView.jsx
+++ b/gz-customerSystem/src/views/register/handleFeedback/component/AuditView.jsx
@@ -7,6 +7,7 @@
 import * as $$ from '@/utils/utility';
 import { Scrollbars } from "react-custom-scrollbars";
 import { getOffset, getSize } from '@/utils/utility';
+import { useNavigate } from 'react-router-dom';
 
 const FormItem = Form.Item;
 const appUrl = $$.appUrl;
@@ -26,6 +27,7 @@
 }
 
 const AuditView = (props) => {
+  const navigate = useNavigate();
   const formRef = useRef();
   const scrollRef = useRef(null);
   const [id, setId] = useState();
@@ -89,6 +91,7 @@
     const res = await submit(data)
     if (res.type) {
       $$.infoSuccess({ content: '提交成功!' });
+      navigate('/mediate/visit/visitWorkBench')
     }
   }
 

--
Gitblit v1.8.0