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