Commit 0eda6942 authored by 蒋忠杰's avatar 蒋忠杰

tj

parent 2d13be7d
......@@ -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,
......
......@@ -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
......
......@@ -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,
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment