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

tj

parent 2d13be7d
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="right_td">cpu:</td> <td class="right_td">cpu:{{item.cpuType}}</td>
<td>{{item.cpu === null ? '': '占用:'}} <td>{{item.cpu === null ? '': '占用:'}}
<font :color="item.cpuThreshold === true ? 'red':''"> <font :color="item.cpuThreshold === true ? 'red':''">
{{item.cpu === null ? '': ''+item.cpu+'%' }} {{item.cpu === null ? '': ''+item.cpu+'%' }}
...@@ -375,6 +375,7 @@ ...@@ -375,6 +375,7 @@
'diskThreshold': item.diskThreshold, 'diskThreshold': item.diskThreshold,
'cpuSize': item.cpuSize, 'cpuSize': item.cpuSize,
'cpu': item.cpu, 'cpu': item.cpu,
'cpuType': item.cpuType,
'cpuUsedSize': item.cpuUsedSize, 'cpuUsedSize': item.cpuUsedSize,
'cpuThreshold': item.cpuThreshold, 'cpuThreshold': item.cpuThreshold,
'name': item.name, 'name': item.name,
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
td {{item.disk === null ? '': '占用:'}} td {{item.disk === null ? '': '占用:'}}
font(:color="item.diskThreshold === true ? 'red':''") {{item.disk === null ? '': ''+item.disk+'%' }} font(:color="item.diskThreshold === true ? 'red':''") {{item.disk === null ? '': ''+item.disk+'%' }}
tr tr
td(class="right_td") cpu: td(class="right_td") cpu:{{item.cpuType}}
td {{item.cpu === null ? '': '占用:'}} td {{item.cpu === null ? '': '占用:'}}
font(:color="item.cpuThreshold === true ? 'red':''") {{item.cpu === null ? '': ''+item.cpu+'%' }} font(:color="item.cpuThreshold === true ? 'red':''") {{item.cpu === null ? '': ''+item.cpu+'%' }}
tr tr
......
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
<td>${item.disk === null ? '': item.diskThreshold === true ? '占用:<font color="red">'+item.disk+'%</font>':'占用:'+item.disk+'%'}</td> <td>${item.disk === null ? '': item.diskThreshold === true ? '占用:<font color="red">'+item.disk+'%</font>':'占用:'+item.disk+'%'}</td>
</tr> </tr>
<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> <td>${item.cpu === null ? '': item.cpuThreshold === true ? '占用:<font color="red">'+item.cpu+'%</font>':'占用:'+item.cpu+'%'}</td>
</tr> </tr>
<tr> <tr>
...@@ -543,6 +543,7 @@ ...@@ -543,6 +543,7 @@
'diskThreshold': item.diskThreshold, 'diskThreshold': item.diskThreshold,
'cpuSize': item.cpuSize, 'cpuSize': item.cpuSize,
'cpu': item.cpu, 'cpu': item.cpu,
'cpuType': item.cpuType,
'cpuUsedSize': item.cpuUsedSize, 'cpuUsedSize': item.cpuUsedSize,
'cpuThreshold': item.cpuThreshold, 'cpuThreshold': item.cpuThreshold,
'name': item.name, 'name': item.name,
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<td>{{item.disk === null ? '': '占用:'+item.disk+'%' }}</td> <td>{{item.disk === null ? '': '占用:'+item.disk+'%' }}</td>
</tr> </tr>
<tr> <tr>
<td class="right_td">cpu:</td> <td class="right_td">cpu:{{item.cpuType}}</td>
<td>{{item.cpu === null ? '': '占用:'+item.cpu+'%' }}</td> <td>{{item.cpu === null ? '': '占用:'+item.cpu+'%' }}</td>
</tr> </tr>
<tr> <tr>
...@@ -367,6 +367,7 @@ ...@@ -367,6 +367,7 @@
'diskSize': Math.ceil(item.diskSize / (1024 * 1024 * 1024)), 'diskSize': Math.ceil(item.diskSize / (1024 * 1024 * 1024)),
'cpuSize': item.cpuSize, 'cpuSize': item.cpuSize,
'cpu': item.cpu, 'cpu': item.cpu,
'cpuType': item.cpuType,
'cpuUsedSize': item.cpuUsedSize, 'cpuUsedSize': item.cpuUsedSize,
'name': item.name, 'name': item.name,
'specifications': item.specifications '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