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/eventFlow/component/EscalationModel.jsx |   30 ++++++++++++++----------------
 1 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/gz-customerSystem/src/views/register/eventFlow/component/EscalationModel.jsx b/gz-customerSystem/src/views/register/eventFlow/component/EscalationModel.jsx
index b76c6a2..1bb57d2 100644
--- a/gz-customerSystem/src/views/register/eventFlow/component/EscalationModel.jsx
+++ b/gz-customerSystem/src/views/register/eventFlow/component/EscalationModel.jsx
@@ -58,21 +58,19 @@
   }
 
   const handleSubmit = () => {
-    formRef.current.validate(undefined, (errors, values) => {
-      if (formRef.current) {
-        formRef.current.validate(undefined, (errors, values) => {
-          if (!errors) {
-            handleEscala({
-              id,
-              caseId: props.caseId,
-              caseTaskId: props.caseTaskId,
-              returnContent: values.returnContent,
-              ...unitData
-            })
-          }
-        })
-      }
-    })
+    if (formRef.current) {
+      formRef.current.validate(undefined, (errors, values) => {
+        if (!errors) {
+          handleEscala({
+            id,
+            caseId: props.caseId,
+            caseTaskId: props.caseTaskId,
+            appearContent: values.appearContent,
+            ...unitData
+          })
+        }
+      })
+    }
   }
 
   const handleTemplate = (type) => {
@@ -130,7 +128,7 @@
               </div>
               <FormItem
                 label={(<div style={{ display: 'flex' }}>上报意见<div className="must">必填</div></div>)}
-                field='returnContent'
+                field='appearContent'
                 rules={[{ required: true, message: '请选择回退理由' }]}
               >
                 <TextArea

--
Gitblit v1.8.0