feat:集成metric表格 增加type列

This commit is contained in:
zyh
2023-02-28 14:55:46 +08:00
parent 0bb607f9e8
commit f9013e4622

View File

@@ -27,9 +27,7 @@
<div class="col-resize-area"></div>
</template>
<template slot-scope="scope" :column="item">
<template v-if="item.prop === 'type'">
</template>
<span v-else-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
<span v-if="scope.row[item.prop]">{{scope.row[item.prop]}}</span>
<template v-else>-</template>
</template>
</el-table-column>
@@ -67,12 +65,12 @@ export default {
prop: 'remark',
show: true,
minWidth: 250
},
{
label: this.$t('overall.type'),
prop: 'type',
width: 150
}
// {
// label: this.$t('alert.config.unit'),
// prop: 'unit',
// width: 150
// }
],
loading: false,
tableData: [],