33 lines
498 B
Vue
33 lines
498 B
Vue
<template>
|
|
<div>
|
|
<bpmn-modeler
|
|
ref="refNode"
|
|
:xml="xmlData"
|
|
:is-view="true"
|
|
:taskList="taskData"
|
|
/>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import bpmnModeler from '@/views/Process/index'
|
|
export default {
|
|
name: "Flow",
|
|
components: {
|
|
bpmnModeler
|
|
},
|
|
props: {
|
|
xmlData: {
|
|
type: String,
|
|
default: ''
|
|
},
|
|
taskData: {
|
|
type: Array,
|
|
default: () => []
|
|
}
|
|
},
|
|
data() {
|
|
return {};
|
|
}
|
|
};
|
|
</script>
|