Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
C
crsf-ptvue
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhan
crsf-ptvue
Commits
0eda6942
Commit
0eda6942
authored
Oct 09, 2021
by
蒋忠杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
2d13be7d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
index.vue
src/pages/eq/topology/index.vue
+2
-1
topplpgy.vue
src/pages/routes/eq/eqm/topplpgy.vue
+1
-1
index.vue
src/pages/routes/eq/topology/index.vue
+2
-1
index1.vue
src/pages/routes/eq/topology/index1.vue
+2
-1
No files found.
src/pages/eq/topology/index.vue
View file @
0eda6942
...
...
@@ -43,7 +43,7 @@
</td>
</tr>
<tr>
<td
class=
"right_td"
>
cpu:
</td>
<td
class=
"right_td"
>
cpu:
{{
item
.
cpuType
}}
</td>
<td>
{{
item
.
cpu
===
null
?
''
:
'占用:'
}}
<font
:color=
"item.cpuThreshold === true ? 'red':''"
>
{{
item
.
cpu
===
null
?
''
:
''
+
item
.
cpu
+
'%'
}}
...
...
@@ -375,6 +375,7 @@
'diskThreshold'
:
item
.
diskThreshold
,
'cpuSize'
:
item
.
cpuSize
,
'cpu'
:
item
.
cpu
,
'cpuType'
:
item
.
cpuType
,
'cpuUsedSize'
:
item
.
cpuUsedSize
,
'cpuThreshold'
:
item
.
cpuThreshold
,
'name'
:
item
.
name
,
...
...
src/pages/routes/eq/eqm/topplpgy.vue
View file @
0eda6942
...
...
@@ -21,7 +21,7 @@
td
{{
item
.
disk
===
null
?
''
:
'占用:'
}}
font(:color="item.diskThreshold === true ? 'red':''")
{{
item
.
disk
===
null
?
''
:
''
+
item
.
disk
+
'%'
}}
tr
td(class="right_td") cpu:
td(class="right_td") cpu:
{{
item
.
cpuType
}}
td
{{
item
.
cpu
===
null
?
''
:
'占用:'
}}
font(:color="item.cpuThreshold === true ? 'red':''")
{{
item
.
cpu
===
null
?
''
:
''
+
item
.
cpu
+
'%'
}}
tr
...
...
src/pages/routes/eq/topology/index.vue
View file @
0eda6942
...
...
@@ -240,7 +240,7 @@
<td>
${
item
.
disk
===
null
?
''
:
item
.
diskThreshold
===
true
?
'占用:<font color="red">'
+
item
.
disk
+
'%</font>'
:
'占用:'
+
item
.
disk
+
'%'
}
</td>
</tr>
<tr>
<td class='right_td_'>cpu:</td>
<td class='right_td_'>cpu:
{{item.cpuType}}
</td>
<td>
${
item
.
cpu
===
null
?
''
:
item
.
cpuThreshold
===
true
?
'占用:<font color="red">'
+
item
.
cpu
+
'%</font>'
:
'占用:'
+
item
.
cpu
+
'%'
}
</td>
</tr>
<tr>
...
...
@@ -543,6 +543,7 @@
'diskThreshold'
:
item
.
diskThreshold
,
'cpuSize'
:
item
.
cpuSize
,
'cpu'
:
item
.
cpu
,
'cpuType'
:
item
.
cpuType
,
'cpuUsedSize'
:
item
.
cpuUsedSize
,
'cpuThreshold'
:
item
.
cpuThreshold
,
'name'
:
item
.
name
,
...
...
src/pages/routes/eq/topology/index1.vue
View file @
0eda6942
...
...
@@ -36,7 +36,7 @@
<td>
{{
item
.
disk
===
null
?
''
:
'占用:'
+
item
.
disk
+
'%'
}}
</td>
</tr>
<tr>
<td
class=
"right_td"
>
cpu:
</td>
<td
class=
"right_td"
>
cpu:
{{
item
.
cpuType
}}
</td>
<td>
{{
item
.
cpu
===
null
?
''
:
'占用:'
+
item
.
cpu
+
'%'
}}
</td>
</tr>
<tr>
...
...
@@ -367,6 +367,7 @@
'diskSize'
:
Math
.
ceil
(
item
.
diskSize
/
(
1024
*
1024
*
1024
)),
'cpuSize'
:
item
.
cpuSize
,
'cpu'
:
item
.
cpu
,
'cpuType'
:
item
.
cpuType
,
'cpuUsedSize'
:
item
.
cpuUsedSize
,
'name'
:
item
.
name
,
'specifications'
:
item
.
specifications
...
...
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