From a8230f1ab02069431738bd72f36ab95a0ace01ae Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期二, 06 八月 2024 15:22:22 +0800
Subject: [PATCH] 修改仿真后台
---
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