Skip to content

Commit

Permalink
feat(frontend): 资源池统计视图默认列宽调整 TencentBlueKing#6519
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 20233
  • Loading branch information
JustaCattt committed Oct 11, 2024
1 parent c2a6be1 commit d10c629
Showing 1 changed file with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,27 @@
<template v-if="isSpec">
<BkTableColumn
:label="t('规格类型')"
prop="specTypeDisplay" />
prop="specTypeDisplay"
:width="150" />
<BkTableColumn
:label="t('规格')"
prop="spec_name" />
prop="spec_name"
:width="150" />
</template>
<template v-else>
<BkTableColumn
:label="t('机型(硬盘)')"
prop="deviceDisplay" />
prop="deviceDisplay"
:width="150" />
<BkTableColumn
:label="t('CPU 内存')"
prop="cpu_mem_summary" />
prop="cpu_mem_summary"
:width="150" />
</template>
<BkTableColumn
:label="t('园区分布(台)')"
prop="sub_zone_detail">
prop="sub_zone_detail"
:width="400">
<template #default="{ row }">
<span
v-for="(item, subzoneId, index) in row.sub_zone_detail"
Expand All @@ -62,7 +67,9 @@
</template>
</BkTableColumn>
<BkTableColumn
fixed="right"
:label="t('总数(台)')"
:min-width="100"
prop="count"
:width="100">
<template #default="{ row }">
Expand Down

0 comments on commit d10c629

Please sign in to comment.