Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
时启龙 | 16b4496100 | |
时启龙 | 76e15dbf08 | |
时启龙 | 947199f6e4 |
|
@ -1,6 +1,6 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
/screen-web
|
/scr-web
|
||||||
|
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
|
|
|
@ -60,9 +60,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-title">项目云资源统计</div>
|
<div class="card-title">应用系统云资源统计</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<scroll-table :data="projectCount" :column-width="['80px']" :columns="['项目', 'CPU(核)' , '内存(GB)' , '存储(GB)']" :options="{singleHeight: 40}">
|
<scroll-table :data="projectCount" :column-width="['80px']" :columns="['应用系统', 'CPU(核)' , '内存(GB)' , '存储(GB)']" :options="{singleHeight: 40}">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<scroll-table-column :value="scope.row.name" width="80px">
|
<scroll-table-column :value="scope.row.name" width="80px">
|
||||||
</scroll-table-column>
|
</scroll-table-column>
|
||||||
|
@ -154,7 +154,7 @@ export default {
|
||||||
state.tenantCount = res.data
|
state.tenantCount = res.data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 项目资源统计
|
// 应用系统资源统计
|
||||||
const getProjectCount = async () => {
|
const getProjectCount = async () => {
|
||||||
const res = await getProjectResource(dcId)
|
const res = await getProjectResource(dcId)
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|
Loading…
Reference in New Issue