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/AssignedModel.jsx |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx b/gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx
index 17f1ec2..5cc265c 100644
--- a/gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx
+++ b/gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx
@@ -4,7 +4,6 @@
 import ArcoUpload from '@/components/ArcoUpload';
 import { Scrollbars } from "react-custom-scrollbars";
 import SelectObjModal from '@/components/SelectObjModal/selectPerson';
-import { useParams } from 'react-router-dom';
 import * as $$ from '@/utils/utility';
 import { useNavigate } from 'react-router-dom';
 
@@ -18,11 +17,10 @@
 }
 
 function delFile(id) {
-  return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'delete', service: 'sys', data: { id } });
+  return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'get', service: 'sys', data: { id } });
 }
 
 export default function BackModel(props) {
-  const routeData = useParams();
   const navigate = useNavigate();
   const formRef = useRef();
   const [isModalVisible, setIsModalVisible] = useState(false);
@@ -38,7 +36,7 @@
     formRef.current.validate(undefined, (errors, values) => {
       if (!errors) {
         handleAssign({
-          caseTaskId: routeData.caseTaskId,
+          caseTaskId: props.caseTaskId,
           assignContent: values.assignContent,
           handleUnitId: wantUser['handleUnit'][0].value,
           handleUnitName: wantUser['handleUnit'][0].name,
@@ -55,7 +53,7 @@
 
   const handleTemplate = (type) => {
     if (type === 1) {
-      formRef.current.setFieldValue('assignContent', '本事项经初步核实,认为属于贵部门职责范围内的矛盾纠纷化解工作。请组织专门人员负责此事,尽快查明事实真相,依法依规进行处理,并在处理过程中充分考虑当事人的合理诉求,确保公平公正,维护当事人的合法权益。同时,请务必保持与当事人的沟通畅通,及时反馈办理进展,以增强矛盾纠纷化解工作的透明度和公信力。')
+      formRef.current.setFieldValue('assignContent', '本事项经初步核实,认为属于贵部门职责范围内的矛盾纠纷化解工作。请指定专人负责跟进此事,尽快核清事实,依法依规进行处理,并在处理过程中充分考虑当事人的合理诉求,确保公平公正,维护当事人的合法权益。同时,请务必做好与当事人的沟通解释,及时反馈办理进展,以增强矛盾纠纷化解工作的透明度和公信力')
     } else {
       formRef.current.setFieldValue('assignContent', '')
     }
@@ -63,7 +61,7 @@
 
   //交办请求
   const handleAssign = async (data) => {
-    const res = await assign({ ...data, caseTaskId: props.caseTaskId })
+    const res = await assign(data)
     if (res.type) {
       $$.infoSuccess({ content: '交办成功!' });
       props.onCancel();

--
Gitblit v1.8.0