From 4e3b493f07b4bc7f325a4b8ebc91704ec8e902a9 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Tue, 10 Sep 2024 16:54:43 +0800 Subject: [PATCH] PC端来访登记 --- gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx b/gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx index fbcbc7c..b815c0e 100644 --- a/gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx +++ b/gz-customerSystem/src/views/register/eventFlow/component/AssignedModel.jsx @@ -16,7 +16,7 @@ } function delFile(id) { - return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'get', service: 'sys', data: { id } }); + return $$.ax.request({ url: `fileInfo/deleteFileById`, type: 'delete', service: 'sys', data: { id } }); } export default function BackModel(props) { @@ -154,7 +154,7 @@ <Col span={24} className="doubleFile"> <ArcoUpload params={{ - action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.caseId}&ownerId=${routeData.caseTaskId}&ownerType=22_00018-501`, + action: `${appUrl.fileUrl}/${appUrl.sys}/api/web/fileInfo/upload?mainId=${props.caseId}&ownerId=${props.caseId}&ownerType=22_00018-501`, }} field='file' label='附件材料' -- Gitblit v1.8.0