新增前端vue
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user