jinlin
2024-02-23 1772fc5e211f9e9e0ab4cdc6c29b436aac178c2a
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,