fix 流程图样式

This commit is contained in:
赵霄
2024-02-01 11:41:35 +08:00
parent 22dabf123d
commit 2ce270d054
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -270,6 +270,7 @@ export default {
container: this.domId,
width: document.getElementById(this.domId).clientWidth,
height: document.getElementById(this.domId).clientHeight,
fitView: true,
layout: {
type: 'dagre',
nodesep: 70,
@@ -302,6 +303,8 @@ export default {
this.graph.data(this.chartData)
this.graph.render()
console.log(document.getElementById(this.domId).clientWidth,
document.getElementById(this.domId).clientHeight)
this.graph.on('node:click', event => {
this.handleNodeClick(event)
})
+1 -1
View File
@@ -5,7 +5,7 @@
</div>
<div class="approval-list">
<!--查询区域-->
<div style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<div class="table-page-search-submitButtons">
<!--催办-->
<a-button type="primary" @click="handleUrge" icon="bell" v-if="showUrgeButton">
{{ $t('workCenter.processDetail.urgeHandle') }}