From ea744c63bf10f14fe5a51addf37083c384093e21 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期五, 02 八月 2024 17:16:59 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 web/src/views/modules/taskReliability/TimeDiagramTemp.vue |   30 ------------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/web/src/views/modules/taskReliability/TimeDiagramTemp.vue b/web/src/views/modules/taskReliability/TimeDiagramTemp.vue
index f5fa205..8deee7a 100644
--- a/web/src/views/modules/taskReliability/TimeDiagramTemp.vue
+++ b/web/src/views/modules/taskReliability/TimeDiagramTemp.vue
@@ -372,20 +372,11 @@
         if (res.data !== null && res.data.content != null) {
           this.dataForm = res.data
           this.diagramJson = JSON.parse(this.dataForm.content)
-          // console.log(this.dataForm.content,'this.Diagram content')
           console.log(this.diagramJson, 'this.Diagram json')
           this.graph.fromJSON(this.diagramJson)
-          // this.graph.centerContent()
-          // this.graph.zoomToFit()
         } else {
           this.dataForm.id = null
-          // await this.$alert('璇ラ」鐩繕鏈紪鍒剁綉缁滃浘', '鎻愮ず', {
-          //   confirmButtonText: '纭畾'
-          // })
           this.graph.fromJSON(this.emptyJson)
-          // this.graph.centerContent()
-          // this.graph.zoomToFit()
-          // this.graph.freeze()
         }
       },
       init() {
@@ -414,19 +405,6 @@
               })
             }
           },
-          // translating: {
-          //   restrict(view) {
-          //     const cell = view.cell
-          //     if (cell.isNode()) {
-          //       const parent = cell.getParent()
-          //       if (parent) {
-          //         return parent.getBBox()
-          //       }
-          //     }
-          //
-          //     return null
-          //   },
-          // },
           onToolItemCreated({tool}) {
             const handle = tool
             const options = handle.options
@@ -492,14 +470,6 @@
                       text: ''
                     }
                   },
-                  // position: {
-                  //   distance: 0.5,
-                  //   angle: 180,
-                  //   options: {
-                  //     keepGradient: true,
-                  //     ensureLegibility: true
-                  //   }
-                  // }
                 }],
                 zIndex: 0,
               })

--
Gitblit v1.9.1