新增前端vue

This commit is contained in:
2026-02-09 18:04:16 +08:00
parent 58012f0297
commit 6aa2a58db2
3 changed files with 21 additions and 4 deletions

View File

@@ -114,20 +114,21 @@
{
label: t('监测端口'),
field: 'checkTargetPort',
defaultValue: '2375',
component: 'InputNumber',
required: true,
},
{
label: t('运行数量'),
field: 'runTargetNums',
defaultValue: 0,
defaultValue: '0',
component: 'InputNumber',
dynamicDisabled: true,
},
{
label: t('监测数量'),
field: 'checkTargetNums',
defaultValue: 0,
defaultValue: '0',
component: 'InputNumber',
required: true,
},

View File

@@ -209,6 +209,22 @@
width: 180,
align: 'center',
},
{
title: t('运行数量'),
dataIndex: 'runTargetNums',
key: 'a.run_target_nums',
sorter: true,
width: 130,
align: 'center',
},
{
title: t('监测数量'),
dataIndex: 'checkTargetNums',
key: 'a.check_target_nums',
sorter: true,
width: 130,
align: 'center',
},
{
title: t('物理位置'),
dataIndex: 'locationName',

View File

@@ -308,7 +308,7 @@ onMounted(() => {
/* 预警标题(仅修改这部分样式) */
.alert-title {
width: 155px; /* 固定宽度可根据需求调整比如200px/400px */
width: 100px; /* 固定宽度可根据需求调整比如200px/400px */
flex-shrink: 0; /* 关键:禁止宽度被压缩,保证固定宽度生效 */
color: #666;
white-space: nowrap; /* 强制不换行 */
@@ -436,4 +436,4 @@ onMounted(() => {
max-height: 200px;
}
}
</style>
</style>