fix 流程图样式
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
@@ -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') }}
|
||||
|
||||
Reference in New Issue
Block a user