From ddb83f7eb4de371e6c6ed678682037c0fd7aaf79 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 1 Nov 2024 14:35:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B5=81=E7=A8=8B=E5=9B=BE=E6=94=B9?= =?UTF-8?q?=E5=8A=A8=EF=BC=88=E6=8A=BD=E5=87=BA=E7=BB=84=E4=BB=B6=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wf/degraD3.vue | 229 ++++++++++++++++++++++++++++++++++++++ src/views/wf/workflow.vue | 200 +++++---------------------------- 2 files changed, 254 insertions(+), 175 deletions(-) create mode 100644 src/views/wf/degraD3.vue diff --git a/src/views/wf/degraD3.vue b/src/views/wf/degraD3.vue new file mode 100644 index 00000000..98b198e5 --- /dev/null +++ b/src/views/wf/degraD3.vue @@ -0,0 +1,229 @@ + + + + + diff --git a/src/views/wf/workflow.vue b/src/views/wf/workflow.vue index bb1ad2c6..2cb8c95c 100644 --- a/src/views/wf/workflow.vue +++ b/src/views/wf/workflow.vue @@ -83,7 +83,7 @@ link size="small" type="primary" - @click="handleWatch(scope)" + @click="handleWatch(scope.row)" > 流程图 @@ -106,23 +106,14 @@ -
-
-
- 工作流流程图 -
-
- -
-
-
+ + @@ -487,44 +375,6 @@ export default { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5); background-color: #f5f5f5; } - -.svgMark { - width: 100%; - height: 100%; - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - overflow: auto; - margin: 0; - z-index: 2000; - background: rgba(0, 0, 0, 0.3); -} - -.svgWrapper { - background: #fff; - width: 800px; - margin: 5vh auto; - height: 90vh; - text-align: center; - border-radius: 2px; - overflow-y: scroll; -} - -.svgItem { - padding: 20px 40px 0; - font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, - Microsoft YaHei, Arial, sans-serif; - font-size: 18px; - display: flex; - justify-content: space-between; -} - -svg { - font-size: 14px; -} - .node rect { stroke: #606266; fill: #fff;