From c510d2aea211856b4259bdadfd43ac227f00f2ee Mon Sep 17 00:00:00 2001
From: zhongshizhi <zhongshizhi@cdzhiyong.com>
Date: Tue, 6 Dec 2022 16:24:56 +0800
Subject: [PATCH] =?UTF-8?q?31792=20=E8=B5=84=E5=8A=A9=E4=BA=8B=E5=8A=A1?=
 =?UTF-8?q?=E7=AE=A1=E7=90=86/=E5=9B=BD=E5=AE=B6=E4=B8=89=E9=87=91/?=
 =?UTF-8?q?=E5=9B=BD=E5=AE=B6=E5=8A=B1=E5=BF=97=E5=A5=96=E5=AD=A6=E9=87=91?=
 =?UTF-8?q?=E5=AE=A1=E6=A0=B8=EF=BC=88=E9=AB=98=E8=81=8C=EF=BC=89=E7=AD=89?=
 =?UTF-8?q?=E6=A8=A1=E5=9D=97=EF=BC=8C=E6=9F=A5=E8=AF=A2=E2=80=9C=E5=B9=B4?=
 =?UTF-8?q?=E7=BA=A7=E2=80=9D=E4=BC=98=E5=8C=96=EF=BC=88101565=EF=BC=8Cbdk?=
 =?UTF-8?q?@2022*$=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 FormInsertDiy/AffairPage/AuditPage/index.js | 2 +-
 FormInsertDiy/AffairPage/destruction.js     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/FormInsertDiy/AffairPage/AuditPage/index.js b/FormInsertDiy/AffairPage/AuditPage/index.js
index 10c41bc..773b610 100644
--- a/FormInsertDiy/AffairPage/AuditPage/index.js
+++ b/FormInsertDiy/AffairPage/AuditPage/index.js
@@ -44,7 +44,7 @@ class Index extends React.Component {
         if (typeof response.unifiedServicePatternModel === 'undefined') {
           return false;
         }
-        destructionFunc.destructionGetDetail(response)
+        destructionFunc.destructionGetDetail(response, workId)
           .then((x) => {
             const {
               addFields,
diff --git a/FormInsertDiy/AffairPage/destruction.js b/FormInsertDiy/AffairPage/destruction.js
index 9a179c5..b4f6f80 100644
--- a/FormInsertDiy/AffairPage/destruction.js
+++ b/FormInsertDiy/AffairPage/destruction.js
@@ -189,7 +189,7 @@ const funcHandleFileds = (source, obj, fieldsColumns) => {
   return fileds;
 };
 
-export async function destructionGetDetail(response) {
+export async function destructionGetDetail(response, workId) {
   /**
    * 如果数据校验不通过直接pass 返回默认值,
    * */
@@ -297,7 +297,7 @@ export async function destructionGetDetail(response) {
     }
   }
 
-  const searchCondition = await getSearchCondition(basicPatternModel?.dataObjModels[0]?.id);  // ,response.id),
+  const searchCondition = await getSearchCondition(basicPatternModel?.dataObjModels[0]?.id, workId);  // ,response.id),
   if (response.isShowWaitTaskDef || response.isShowHandledTaskDef) {
     let optProcess = await findListTaskDefinition({
       appId: response.id,
-- 
2.17.1