From 4bee8bf9e4c782cb8ec7af05bd20a04bacf4b006 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Fri, 21 Jun 2024 17:15:01 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=AE=9E=E6=96=BD/=E5=BD=92=E6=A1=A3=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E9=99=84=E4=BB=B6=E6=98=BE=E7=A4=BA,?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/project-manage/attachment.js | 14 ++ src/components/SearchFilesByTag.vue | 2 +- src/layout/navbar/index.vue | 14 +- .../project-management/filing/attachment.vue | 2 +- src/views/project-management/filing/index.vue | 27 +++ .../implementation/attachment.vue | 9 +- .../workflow/process/DefaultNodeProps.js | 183 +++++++++--------- src/views/workflow/process/ProcessEdit.vue | 11 -- .../process/config/ApprovalNodeConfig.vue | 1 - 9 files changed, 151 insertions(+), 112 deletions(-) diff --git a/src/api/project-manage/attachment.js b/src/api/project-manage/attachment.js index 6a53b27..cbe1916 100644 --- a/src/api/project-manage/attachment.js +++ b/src/api/project-manage/attachment.js @@ -15,3 +15,17 @@ export const uploadFileList = (data) => { data: data }); }; +export const searchImplementationFileList = (params) => { + return request({ + url: '/workflow/mosr/attachment/implementation/list', + method: "get", + params: params + }); +}; +export const switchAttachmentState = (data) => { + return request({ + url: '/workflow/mosr/project/filing/attachment/switch', + method: "post", + data + }); +}; diff --git a/src/components/SearchFilesByTag.vue b/src/components/SearchFilesByTag.vue index 729c0b9..f605219 100644 --- a/src/components/SearchFilesByTag.vue +++ b/src/components/SearchFilesByTag.vue @@ -52,7 +52,7 @@ const props = defineProps({ }, uploadState: { type: Boolean, - default: true + default: false }, loading: { type: Boolean, diff --git a/src/layout/navbar/index.vue b/src/layout/navbar/index.vue index ecd4904..cbb1621 100644 --- a/src/layout/navbar/index.vue +++ b/src/layout/navbar/index.vue @@ -17,7 +17,9 @@