From bb3bc1c8508dc28d1780c2b0e068595baedb5100 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期五, 12 一月 2024 16:42:17 +0800 Subject: [PATCH] 修改 --- web/src/views/modules/flowChart/flowChartView.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/web/src/views/modules/flowChart/flowChartView.vue b/web/src/views/modules/flowChart/flowChartView.vue index 5a1aa6d..ef2013a 100644 --- a/web/src/views/modules/flowChart/flowChartView.vue +++ b/web/src/views/modules/flowChart/flowChartView.vue @@ -200,8 +200,7 @@ this.graph.positionContent('top',{ padding: { left: 0 }}) // this.graph.zoomToFit() this.graph.freeze('flowChartView') - if(flowCode!='planFlow' && flowCode!='wltFlow' && flowCode!='xbsy' && flowCode!='hxsy' && flowCode!='kybgFlow' - && flowCode!='jsfaFlow' && flowCode!='jzjysFlow' && flowCode!='zjgcFlow'){ + /* if(params.flowCode!='planFlow'){ if(this.graph.scroller){ for(let graph in this.graph.scroller.widgetOptions){ this.graph.scroller.widgetOptions[graph] = false @@ -209,7 +208,7 @@ } // this.graph.disablePanning() this.graph.lockScroller() - } + }*/ } else { this.graph.unfreeze('flowChartView') this.dataForm.id = null @@ -224,7 +223,7 @@ this.graph = new Graph({ container: document.getElementById('flowChartView'), width: document.documentElement.clientWidth*0.5, - height:this.flowChartHeight? 595:document.documentElement.clientHeight-220, + height:550, // async: true, // grid: { // visible: true, -- Gitblit v1.9.1