Compare commits

...

3 Commits

Author SHA1 Message Date
时启龙 16b4496100 chore: 项目 -> 应用系统 2024-10-21 17:12:33 +08:00
时启龙 76e15dbf08 chore: 项目 -> 应用系统 2024-10-21 16:56:26 +08:00
时启龙 947199f6e4 chore: 增加忽略文件 2024-09-23 17:05:47 +08:00
2 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,6 +1,6 @@
.DS_Store .DS_Store
node_modules node_modules
/screen-web /scr-web
# local env files # local env files

View File

@ -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) {