From f1befbe3e6328364bfe2cc0419cfb677da36352a Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期四, 19 九月 2024 16:07:53 +0800 Subject: [PATCH] 修改 --- web/src/views/modules/taskReliability/RBD-edit-img.vue | 41 ++++++++++++++++++++--------------------- 1 files changed, 20 insertions(+), 21 deletions(-) diff --git a/web/src/views/modules/taskReliability/RBD-edit-img.vue b/web/src/views/modules/taskReliability/RBD-edit-img.vue index b6b9c82..8eb84ff 100644 --- a/web/src/views/modules/taskReliability/RBD-edit-img.vue +++ b/web/src/views/modules/taskReliability/RBD-edit-img.vue @@ -468,7 +468,11 @@ "shape": "edge", "id": "66c81c68-0827-4a3c-8343-e2c453d3e9e7", "router": { - "name": "manhattan" + "name": "manhattan", + "args": { + "startDirections": ["right"], + "endDirections": ["left"] + } }, "connector": { "name": "rounded" @@ -485,7 +489,11 @@ "shape": "edge", "id": "a0f3cf90-6d37-4ee0-a254-90b4ec2b6a7f", "router": { - "name": "manhattan" + "name": "manhattan", + "args": { + "startDirections": ["right"], + "endDirections": ["left"] + } }, "connector": { "name": "rounded" @@ -519,22 +527,22 @@ timer: null, imagesList: [ { - imgPath: 'parallel', - imgName: 'parallel', - nodeType: 'parallel', - imgWidth: 50, - imgHeight: 50, - imgId: '9', - data: {} - }, - {imgPath: 'vote', imgName: 'vote', nodeType: 'vote', imgWidth: 50, imgHeight: 50, imgId: '6', data: {}}, - { imgPath: 'switch', imgName: 'switch', nodeType: 'switch', imgWidth: 50, imgHeight: 50, imgId: '5', + data: {} + }, + {imgPath: 'vote', imgName: 'vote', nodeType: 'vote', imgWidth: 50, imgHeight: 50, imgId: '6', data: {}}, + { + imgPath: 'parallel', + imgName: 'parallel', + nodeType: 'parallel', + imgWidth: 50, + imgHeight: 50, + imgId: '9', data: {} }, { @@ -546,15 +554,6 @@ imgId: '10', data: {} }, - // { - // imgPath: 'dashedBox', - // imgName: 'dashedBox', - // nodeType: 'dashedBox', - // imgWidth: 60, - // imgHeight: 60, - // imgId: '10000', - // data: {} - // }, ], imagesList2: [], nodeType: '', -- Gitblit v1.9.1