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

View File

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

View File

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