|
|
@@ -12,6 +12,9 @@
|
|
|
size="small"
|
|
|
icon="el-icon-rank"
|
|
|
@click="fitViewport">适中</el-button>
|
|
|
+ <el-button type="primary"
|
|
|
+ size="small"
|
|
|
+ icon="el-icon">{{ processVersion }}</el-button>
|
|
|
<div class="canvas" ref="flowCanvas"></div>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -28,7 +31,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- bpmnViewer: null
|
|
|
+ bpmnViewer: null,
|
|
|
+ processVersion: null
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -60,6 +64,7 @@ export default {
|
|
|
if (flowData.nodeData !==undefined && flowData.nodeData.length > 0 ) {
|
|
|
self.fillColor(flowData.nodeData)
|
|
|
}
|
|
|
+ this.processVersion=flowData.processVersion;
|
|
|
} catch (err) {
|
|
|
console.error(err.message, err.warnings)
|
|
|
}
|