This commit is contained in:
jhnine 2022-11-28 16:56:54 +08:00
parent 222ad5a02c
commit 9ea949fd5c
2 changed files with 7 additions and 7 deletions

View File

@ -26,7 +26,7 @@
</el-col>
</el-row>
<Exhibition :data="exhibitionArray" :span="6" class="exhibition" />
<el-button style="float: right; padding: 0 9px 18px" type="text" @click="toResourceList">更多</el-button>
<el-button style="float: right; padding: 0 9px 15px" type="text" @click="toResourceList">资源清单</el-button>
</el-card>
</el-col>
<el-col :span="8">
@ -94,7 +94,7 @@ export default {
}
],
columns: [
{ prop: 'namespace', width: 100, label: '项目名称', formatter: (row) => { return (row.state === 'Active' ? <div><span class='round ' />{row.namespace}</div> : <div><span class='round error' />{row.namespace}</div>) } },
{ prop: 'namespace', width: 100, label: '项目名称', formatter: (row) => { return <div><span class='round ' />{row.namespace}</div> } },
{ prop: 'count', width: 90, label: 'Pods', formatter: (row) => { return <span class='box'>{row.count}</span> } },
{ prop: 'domainType', width: 80, label: '任务类型', formatter: (row) => { return row.domainType ? '广域任务' : '单域任务' } }
],

View File

@ -31,15 +31,15 @@ export default {
{ prop: 'cpuName', label: 'cpu名称' },
{ prop: 'cpuGHz', label: 'cpu单核主频' },
{ prop: 'cpuCores', label: 'cpu单节点核心数' },
{ prop: 'totalThreads', label: 'cpu单节点线程数' },
{ prop: 'memory', label: '内存' },
{ prop: 'gpuDcu', label: 'gpu或dcu名称' },
{ prop: 'cpuSingleCycle', label: 'cpu单周期指令执行数' },
{ prop: 'num', label: '节点数' },
{ prop: 'cpuGFlops', label: 'cpu理论峰值/GFlops' },
{ prop: 'totalThreads', label: 'cpu单节点线程数' },
{ prop: 'gpuDcu', label: 'gpu或dcu名称' },
{ prop: 'gpuGFlops', label: 'gpu理论峰值/GFlops' },
{ prop: 'memory', label: '内存' },
{ prop: 'num', label: '节点数' },
{ prop: 'region', label: '地域' },
{ prop: 'flops', label: '理论峰值/PFlops' }
{ prop: 'flops', width: 140, label: '理论峰值/GFlops' }
]
}
},