forked from JointCloud/JCC-RIP
This commit is contained in:
parent
45e3ac9acd
commit
e2de0730a1
|
@ -12,6 +12,8 @@ import { getServerResources } from '@/api/container/cluster'
|
|||
const getServerResourceData = (clusterName, params) => {
|
||||
return new Promise(function(resolve) {
|
||||
getServerResources(params).then(res => {
|
||||
const data = res.data
|
||||
data[data.length - 1].flops = (data[data.length - 1].flops / 1000000).toFixed(2) + 'PFlops'
|
||||
resolve({ total: 0, rows: res.data })
|
||||
})
|
||||
})
|
||||
|
|
|
@ -39,7 +39,7 @@ export default {
|
|||
{ prop: 'cpuGFlops', label: 'cpu理论峰值/GFlops' },
|
||||
{ prop: 'gpuGFlops', label: 'gpu理论峰值/GFlops' },
|
||||
{ prop: 'region', label: '地域' },
|
||||
{ prop: 'flops', label: '理论峰值/GFlops' }
|
||||
{ prop: 'flops', label: '理论峰值/PFlops' }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue