feat : 封装带有附件及其他文件上传的组件
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user