fix(系统设置): 修复资源池容量字段展示bug

This commit is contained in:
xinxin.wu 2024-10-24 17:04:46 +08:00 committed by 刘瑞斌
parent be9c06a76d
commit e31dc32ec3
3 changed files with 11 additions and 9 deletions

View File

@ -119,14 +119,12 @@
});
const statusList = computed(() => {
return Object.keys(ReportStatus)
.map((key) => {
return {
value: key,
label: t(ReportStatus[key].label),
};
})
.filter((e) => e.value !== 'FAKE_ERROR');
return Object.keys(ReportStatus).map((key) => {
return {
value: key,
label: t(ReportStatus[key].label),
};
});
});
const columns: MsTableColumn = [
@ -143,6 +141,8 @@
slotName: 'taskName',
dataIndex: 'taskName',
showDrag: true,
width: 150,
showTooltip: true,
},
{
title: 'system.resourcePool.useCaseName',
@ -153,7 +153,7 @@
showDrag: true,
},
{
title: 'system.resourcePool.tableColumnStatus',
title: 'system.resourcePool.tableColumnExecuteStatus',
dataIndex: 'status',
slotName: 'status',
filterConfig: {

View File

@ -9,6 +9,7 @@ export default {
'system.resourcePool.editPool': 'Edit',
'system.resourcePool.tableColumnName': 'Name',
'system.resourcePool.tableColumnStatus': 'Status',
'system.resourcePool.tableColumnExecuteStatus': 'Execution state',
'system.resourcePool.tableColumnType': 'Type',
'system.resourcePool.tableColumnCreateTime': 'CreateTime',
'system.resourcePool.tableColumnUpdateTime': 'UpdateTime',

View File

@ -9,6 +9,7 @@ export default {
'system.resourcePool.editPool': '编辑',
'system.resourcePool.tableColumnName': '名称',
'system.resourcePool.tableColumnStatus': '状态',
'system.resourcePool.tableColumnExecuteStatus': '执行状态',
'system.resourcePool.tableColumnType': '类型',
'system.resourcePool.tableColumnCreateTime': '创建时间',
'system.resourcePool.tableColumnUpdateTime': '更新时间',