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
4fca02b1
Commit
4fca02b1
authored
Mar 05, 2021
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
e04a80c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
src/components/service-info/service-info.vue
src/components/service-info/service-info.vue
+3
-3
src/components/work-flow/workflows-view.vue
src/components/work-flow/workflows-view.vue
+9
-1
src/pages/workbench/workPlace.vue
src/pages/workbench/workPlace.vue
+5
-5
No files found.
src/components/service-info/service-info.vue
View file @
4fca02b1
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
class=
"main_container-left"
v-if=
"data.cover"
>
<div
class=
"main_container-left"
v-if=
"data.cover"
>
<img
:src=
"data.cover"
width=
"100%"
v-if=
"data.type !== 'workflow'"
/>
<img
:src=
"data.cover"
width=
"100%"
v-if=
"data.type !== 'workflow'"
/>
<workflows-view
<workflows-view
:
zoom=
"0.6
"
:
isShop=
"true
"
:id=
"parseInt(data.workflows_id)"
:id=
"parseInt(data.workflows_id)"
:hideDetail=
"true"
:hideDetail=
"true"
v-if=
"data.type == 'workflow'"
v-if=
"data.type == 'workflow'"
...
@@ -381,8 +381,8 @@ export default {
...
@@ -381,8 +381,8 @@ export default {
}
}
.main_container-left
>
.map_view
{
.main_container-left
>
.map_view
{
position
:
absolute
;
position
:
absolute
;
right
:
3
px
;
right
:
1
px
;
bottom
:
3
px
;
bottom
:
2
px
;
}
}
.main_container-right
{
.main_container-right
{
width
:
896px
;
width
:
896px
;
...
...
src/components/work-flow/workflows-view.vue
View file @
4fca02b1
<
template
>
<
template
>
<div
class=
"workflows-view"
ref=
"flowContainer"
:style=
"
{ zoom: zoom, height: Number(max_height + 180) + 'px' }">
<div
class=
"workflows-view"
ref=
"flowContainer"
:style=
"
{ zoom:
isShop ? maxParentHeight / Number(max_height + 180) :
zoom, height: Number(max_height + 180) + 'px' }">
<super-flow
<super-flow
ref=
"superFlow"
ref=
"superFlow"
:node-list=
"nodeList"
:node-list=
"nodeList"
...
@@ -80,6 +80,14 @@ export default {
...
@@ -80,6 +80,14 @@ export default {
type
:
Number
,
type
:
Number
,
default
:
1
,
default
:
1
,
},
},
maxParentHeight
:
{
type
:
Number
,
default
:
200
,
},
isShop
:
{
type
:
Boolean
,
default
:
false
,
}
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/pages/workbench/workPlace.vue
View file @
4fca02b1
...
@@ -1628,7 +1628,7 @@ export default {
...
@@ -1628,7 +1628,7 @@ export default {
}
}
};
};
var
data
=
[];
var
data
=
[];
var
color
=
[
"
#515fe7
"
,
"
#36a5ec
"
,
"
#da9f2a
"
,
"
#23b2a7
"
,
"
#d46002
"
];
var
color
=
[
"
#515fe7
"
,
"
#36a5ec
"
,
"
#da9f2a
"
,
"
#23b2a7
"
,
"
#d46002
"
,
"
#44a072
"
];
var
legendarr
=
[];
var
legendarr
=
[];
var
temp2_data
=
0
;
var
temp2_data
=
0
;
data_val
.
forEach
(
e
=>
{
data_val
.
forEach
(
e
=>
{
...
@@ -1661,8 +1661,8 @@ export default {
...
@@ -1661,8 +1661,8 @@ export default {
name
:
""
,
name
:
""
,
type
:
"
pie
"
,
type
:
"
pie
"
,
clockWise
:
false
,
clockWise
:
false
,
radius
:
[
52
,
54
],
radius
:
[
44
,
46
],
center
:
[
"
5
1
%
"
,
"
45%
"
],
center
:
[
"
5
0
%
"
,
"
45%
"
],
z
:
5
,
z
:
5
,
hoverAnimation
:
false
,
hoverAnimation
:
false
,
itemStyle
:
{
itemStyle
:
{
...
@@ -1693,8 +1693,8 @@ export default {
...
@@ -1693,8 +1693,8 @@ export default {
{
{
type
:
'
pie
'
,
type
:
'
pie
'
,
z
:
4
,
z
:
4
,
center
:[
'
5
1
%
'
,
'
45%
'
],
center
:[
'
5
0
%
'
,
'
45%
'
],
radius
:[
'
43%
'
,
'
63
%
'
],
radius
:[
'
36%
'
,
'
54
%
'
],
hoverAnimation
:
false
,
hoverAnimation
:
false
,
avoidLabelOverlap
:
false
,
avoidLabelOverlap
:
false
,
label
:
{
label
:
{
...
...
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