From f6ada880268e26e7be842bb129512b1075441bbb Mon Sep 17 00:00:00 2001 From: clay <20932067@zju.edu.cn> Date: Sun, 2 Jun 2024 22:36:02 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E9=99=84=E4=BB=B6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/project-manage/attachment.js | 10 + src/components/SearchFilesByTag.vue | 13 +- .../project-management/filing/attachment.vue | 185 +++++++-------- .../filing/attachment45.vue | 214 ++++++++++++++++++ .../filing/attachment56.vue | 94 ++++++++ 5 files changed, 406 insertions(+), 110 deletions(-) create mode 100644 src/api/project-manage/attachment.js create mode 100644 src/views/project-management/filing/attachment45.vue create mode 100644 src/views/project-management/filing/attachment56.vue diff --git a/src/api/project-manage/attachment.js b/src/api/project-manage/attachment.js new file mode 100644 index 0000000..3e72a02 --- /dev/null +++ b/src/api/project-manage/attachment.js @@ -0,0 +1,10 @@ +import request from '@/utils/request.js' + + +export const searchFileList = (params) => { + return request({ + url: `/workflow/mosr/attachment/list`, + method: "get", + params: params + }); +}; diff --git a/src/components/SearchFilesByTag.vue b/src/components/SearchFilesByTag.vue index 0105888..aa45d28 100644 --- a/src/components/SearchFilesByTag.vue +++ b/src/components/SearchFilesByTag.vue @@ -3,7 +3,7 @@ - + 搜索 - 上传附件 + 上传附件 @@ -44,9 +44,14 @@ const props = defineProps({ otherFileList: { type: Array, default: [] - }, type: { + }, + type: { type: String, default: '0' + }, + uploadState:{ + type: Boolean, + default: true } }) const tagsOption = ref([]) @@ -122,7 +127,7 @@ const handleDownload = (row) => { }) } watch(() => props.type, (val) => { - console.log('va四川省l',val) + console.log('va四川省l', val) props.type = val if (val === '3') { getTagsOption() diff --git a/src/views/project-management/filing/attachment.vue b/src/views/project-management/filing/attachment.vue index 7653e0d..3e36c1d 100644 --- a/src/views/project-management/filing/attachment.vue +++ b/src/views/project-management/filing/attachment.vue @@ -1,34 +1,31 @@ diff --git a/src/views/project-management/filing/attachment56.vue b/src/views/project-management/filing/attachment56.vue new file mode 100644 index 0000000..6acfb93 --- /dev/null +++ b/src/views/project-management/filing/attachment56.vue @@ -0,0 +1,94 @@ + + + + +