From 716d18122fa5951c393c384965ce9e30c7cca040 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sat, 18 May 2024 20:52:14 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E5=B0=81=E8=A3=85=E5=B8=A6=E6=9C=89?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E5=8F=8A=E5=85=B6=E4=BB=96=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=9A=84=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AttachmentUpload.vue | 115 ++++++++++++++++ .../DetailComponent/CollectionDetail.vue | 5 +- .../implementation/check.vue | 124 +++++++----------- 3 files changed, 167 insertions(+), 77 deletions(-) create mode 100644 src/components/AttachmentUpload.vue diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue new file mode 100644 index 0000000..49aa5e9 --- /dev/null +++ b/src/components/AttachmentUpload.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/src/components/DetailComponent/CollectionDetail.vue b/src/components/DetailComponent/CollectionDetail.vue index a6a3a26..03a965b 100644 --- a/src/components/DetailComponent/CollectionDetail.vue +++ b/src/components/DetailComponent/CollectionDetail.vue @@ -39,7 +39,7 @@ import OperationRender from '@/views/workflow/common/OperationRender.vue' import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.vue' import {matterTree} from '@/utils/matterTree.js'; -const emit = defineEmits(['getInfo']) +const emit = defineEmits(['getInfo','download']) const form = ref() const showForm = ref(true) const loading = ref(false) @@ -139,6 +139,9 @@ const init = (newVal) => { const getInfo = () => { emit('getInfo') } +const handleDownload = (row) => { + emit('download',row) +} const getDataSourceOptionItem = (val) => { if (val instanceof Array) { val.forEach(item => { diff --git a/src/views/project-management/implementation/check.vue b/src/views/project-management/implementation/check.vue index a8e88b1..ee49e07 100644 --- a/src/views/project-management/implementation/check.vue +++ b/src/views/project-management/implementation/check.vue @@ -1,33 +1,18 @@