Commit 2d13be7d authored by 蒋忠杰's avatar 蒋忠杰

tj

parent ac43bfc8
...@@ -371,7 +371,7 @@ ...@@ -371,7 +371,7 @@
'memorySize': Math.ceil(item.memorySize / (1024 * 1024)), 'memorySize': Math.ceil(item.memorySize / (1024 * 1024)),
'memoryThreshold': item.memoryThreshold, 'memoryThreshold': item.memoryThreshold,
'disk': item.disk, 'disk': item.disk,
'diskSize': Math.ceil(item.diskSize / (1024 * 1024)), 'diskSize': Math.ceil(item.diskSize / (1024 * 1024 * 1024)),
'diskThreshold': item.diskThreshold, 'diskThreshold': item.diskThreshold,
'cpuSize': item.cpuSize, 'cpuSize': item.cpuSize,
'cpu': item.cpu, 'cpu': item.cpu,
......
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
for (let i in this.tableData) { for (let i in this.tableData) {
this.tableData[i].memorySize = Math.ceil(this.tableData[i].memorySize / (1024 * 1024)) this.tableData[i].memorySize = Math.ceil(this.tableData[i].memorySize / (1024 * 1024))
this.tableData[i].diskSize = Math.ceil(this.tableData[i].diskSize / (1024 * 1024)) this.tableData[i].diskSize = Math.ceil(this.tableData[i].diskSize / (1024 * 1024 * 1024))
if (Number(i) === 3) { if (Number(i) === 3) {
break break
} }
......
...@@ -414,7 +414,7 @@ ...@@ -414,7 +414,7 @@
'memorySize': Math.ceil(item.memorySize / (1024 * 1024)), 'memorySize': Math.ceil(item.memorySize / (1024 * 1024)),
'memoryThreshold': item.memoryThreshold, 'memoryThreshold': item.memoryThreshold,
'disk': item.disk, 'disk': item.disk,
'diskSize': Math.ceil(item.diskSize / (1024 * 1024)), 'diskSize': Math.ceil(item.diskSize / (1024 * 1024 * 1024)),
'diskThreshold': item.diskThreshold, 'diskThreshold': item.diskThreshold,
'cpuSize': item.cpuSize, 'cpuSize': item.cpuSize,
'cpu': item.cpu, 'cpu': item.cpu,
...@@ -539,7 +539,7 @@ ...@@ -539,7 +539,7 @@
'memorySize': Math.ceil(item.memorySize / (1024 * 1024)), 'memorySize': Math.ceil(item.memorySize / (1024 * 1024)),
'memoryThreshold': item.memoryThreshold, 'memoryThreshold': item.memoryThreshold,
'disk': item.disk, 'disk': item.disk,
'diskSize': Math.ceil(item.diskSize / (1024 * 1024)), 'diskSize': Math.ceil(item.diskSize / (1024 * 1024 * 1024)),
'diskThreshold': item.diskThreshold, 'diskThreshold': item.diskThreshold,
'cpuSize': item.cpuSize, 'cpuSize': item.cpuSize,
'cpu': item.cpu, 'cpu': item.cpu,
......
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
'memory': item.memory, 'memory': item.memory,
'memorySize': Math.ceil(item.memorySize / (1024 * 1024)), 'memorySize': Math.ceil(item.memorySize / (1024 * 1024)),
'disk': item.disk, 'disk': item.disk,
'diskSize': Math.ceil(item.diskSize / (1024 * 1024)), 'diskSize': Math.ceil(item.diskSize / (1024 * 1024 * 1024)),
'cpuSize': item.cpuSize, 'cpuSize': item.cpuSize,
'cpu': item.cpu, 'cpu': item.cpu,
'cpuUsedSize': item.cpuUsedSize, 'cpuUsedSize': item.cpuUsedSize,
...@@ -469,7 +469,7 @@ ...@@ -469,7 +469,7 @@
'memory': item.memory, 'memory': item.memory,
'memorySize': Math.ceil(item.memorySize / (1024 * 1024)), 'memorySize': Math.ceil(item.memorySize / (1024 * 1024)),
'disk': item.disk, 'disk': item.disk,
'diskSize': Math.ceil(item.diskSize / (1024 * 1024)), 'diskSize': Math.ceil(item.diskSize / (1024 * 1024 * 1024)),
'cpuSize': item.cpuSize, 'cpuSize': item.cpuSize,
'cpu': item.cpu, 'cpu': item.cpu,
'cpuUsedSize': item.cpuUsedSize, 'cpuUsedSize': item.cpuUsedSize,
......
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