From dfca64c71e4b06989e66f5d68fc5d89d98386b7b Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Wed, 11 Sep 2024 12:49:49 +0800
Subject: [PATCH] fix: 预览状态下的办理记录不显示编辑图标

---
 gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx b/gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx
index f677318..acb04d2 100644
--- a/gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx
+++ b/gz-customerSystem/src/views/register/eventFlow/component/BackModel.jsx
@@ -15,7 +15,7 @@
 }
 
 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 } });
 }
 
 function returnApply(data) {
@@ -134,7 +134,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