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
0c08b7e8
Commit
0c08b7e8
authored
Jul 14, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://cloud.wodcloud.com/git/apaas/apaas-v3-ui
into dev
parents
8508dba8
892eaf39
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
src/pages/workbench/fwgl/fwglList.vue
src/pages/workbench/fwgl/fwglList.vue
+6
-3
src/pages/workbench/fwgl/organizationCloudResource.vue
src/pages/workbench/fwgl/organizationCloudResource.vue
+4
-2
No files found.
src/pages/workbench/fwgl/fwglList.vue
View file @
0c08b7e8
...
...
@@ -40,7 +40,7 @@
</p>
<p
class=
"dashboard_info"
>
<span>
剩余量
</span>
<span
v-text=
"item.value + item.unit"
></span>
<span
v-text=
"item.
total - item.
value + item.unit"
></span>
</p>
</div>
</div>
...
...
@@ -67,7 +67,7 @@
</p>
<p
class=
"dashboard_info"
>
<span>
剩余量
</span>
<span
v-text=
"item.value + item.unit"
></span>
<span
v-text=
"item.
total - item.
value + item.unit"
></span>
</p>
</div>
</div>
...
...
@@ -1515,7 +1515,9 @@ export default {
this
.
init
(
this
.
tempFliter
);
},
// 云资源分配成功
getDashboardOption
(
item
)
{
let
percent
=
Math
.
round
((
item
.
value
/
item
.
total
)
*
100
)
||
0
;
let
percent
=
parseFloat
(
((
item
.
value
/
item
.
total
)
*
100
||
0
).
toFixed
(
1
)
);
let
colors
=
[];
if
(
this
.
level
==
2
)
{
...
...
@@ -1791,6 +1793,7 @@ export default {
}
.dashboard_info
>
span
:nth-of-type
(
2
)
{
color
:
#0d1847
;
margin-left
:
10px
;
}
.admin_preview
{
display
:
flex
;
...
...
src/pages/workbench/fwgl/organizationCloudResource.vue
View file @
0c08b7e8
...
...
@@ -42,7 +42,7 @@
</p>
<p
class=
"dashboard_info"
>
<span>
剩余量
</span>
<span
v-text=
"item.value + item.unit"
></span>
<span
v-text=
"item.
total - item.
value + item.unit"
></span>
</p>
</div>
</div>
...
...
@@ -162,7 +162,9 @@ export default {
});
},
getDashboardOption
(
item
)
{
let
percent
=
Math
.
round
((
item
.
value
/
item
.
total
)
*
100
)
||
0
;
let
percent
=
parseFloat
(
((
item
.
value
/
item
.
total
)
*
100
||
0
).
toFixed
(
1
)
);
let
colors
=
[
"
#515fe7
"
,
"
#e7ecfd
"
];
if
(
percent
>=
80
)
{
...
...
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