Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
4f4557f7
Commit
4f4557f7
authored
Aug 19, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程概览
parent
4aadfa9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
src/components/work-flow/workflows-view.vue
src/components/work-flow/workflows-view.vue
+13
-7
No files found.
src/components/work-flow/workflows-view.vue
View file @
4f4557f7
<
template
>
<div
class=
"workflows-view"
>
<div
class=
"workflows-view"
ref=
"flowContainer"
>
<super-flow
ref=
"superFlow"
:node-list=
"nodeList"
...
...
@@ -35,11 +35,7 @@
<p>
节点插件:
</p>
<div
class=
"plug-in-list"
>
<span
v-for=
"(plugin, index) in meta.plugins"
:key=
"index"
>
{{
[
"
-
"
,
"
接口插件
"
,
"
流程插件
"
,
"
超时插件
"
][
plugin
.
plugin_type
||
0
]
}}
{{
getTypeText
(
plugin
.
plugin_type
)
}}
</span>
</div>
</div>
...
...
@@ -67,7 +63,7 @@ export default {
},
data
()
{
return
{
origin
:
[
0
,
0
],
origin
:
[],
nodeList
:
[],
linkList
:
[],
};
...
...
@@ -113,8 +109,18 @@ export default {
console
.
log
(
error
);
});
},
setOrigin
()
{
this
.
$nextTick
(()
=>
{
this
.
origin
=
[
this
.
$refs
.
flowContainer
.
clientWidth
/
2
,
0
];
console
.
log
(
this
.
origin
);
});
},
getTypeText
(
type
)
{
return
[
"
-
"
,
"
接口插件
"
,
"
流程插件
"
,
"
超时插件
"
][
type
||
0
];
},
},
created
()
{
this
.
setOrigin
();
this
.
init
();
},
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment