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 @@ + + + + +