新增前端vue
This commit is contained in:
@@ -114,20 +114,21 @@
|
|||||||
{
|
{
|
||||||
label: t('监测端口'),
|
label: t('监测端口'),
|
||||||
field: 'checkTargetPort',
|
field: 'checkTargetPort',
|
||||||
|
defaultValue: '2375',
|
||||||
component: 'InputNumber',
|
component: 'InputNumber',
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('运行数量'),
|
label: t('运行数量'),
|
||||||
field: 'runTargetNums',
|
field: 'runTargetNums',
|
||||||
defaultValue: 0,
|
defaultValue: '0',
|
||||||
component: 'InputNumber',
|
component: 'InputNumber',
|
||||||
dynamicDisabled: true,
|
dynamicDisabled: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('监测数量'),
|
label: t('监测数量'),
|
||||||
field: 'checkTargetNums',
|
field: 'checkTargetNums',
|
||||||
defaultValue: 0,
|
defaultValue: '0',
|
||||||
component: 'InputNumber',
|
component: 'InputNumber',
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -209,6 +209,22 @@
|
|||||||
width: 180,
|
width: 180,
|
||||||
align: 'center',
|
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('物理位置'),
|
title: t('物理位置'),
|
||||||
dataIndex: 'locationName',
|
dataIndex: 'locationName',
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ onMounted(() => {
|
|||||||
|
|
||||||
/* 预警标题(仅修改这部分样式) */
|
/* 预警标题(仅修改这部分样式) */
|
||||||
.alert-title {
|
.alert-title {
|
||||||
width: 155px; /* 固定宽度,可根据需求调整(比如200px/400px) */
|
width: 100px; /* 固定宽度,可根据需求调整(比如200px/400px) */
|
||||||
flex-shrink: 0; /* 关键:禁止宽度被压缩,保证固定宽度生效 */
|
flex-shrink: 0; /* 关键:禁止宽度被压缩,保证固定宽度生效 */
|
||||||
color: #666;
|
color: #666;
|
||||||
white-space: nowrap; /* 强制不换行 */
|
white-space: nowrap; /* 强制不换行 */
|
||||||
@@ -436,4 +436,4 @@ onMounted(() => {
|
|||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user