{{$t('project.endpoint.moduleParameter')}}:
-
+
{{item.key}}={{item.value}}
-
+
@@ -264,17 +265,17 @@
{
label: this.$t("project.endpoint.asset"),
prop: 'asset',
- width: 123,
+ width: 121,
show: true,
},{
label: this.$t("project.endpoint.host"),
prop: 'host',
- width: 123,
+ width: 121,
show: true,
},{
label: this.$t("project.endpoint.port"),
prop: 'port',
- width: 55,
+ width: 54,
show: true,
},{
label: this.$t("project.endpoint.param"),
@@ -634,6 +635,13 @@
if(n) {
this.endpointForm.moduleId = n.id;
this.currentModuleCopy = JSON.parse(JSON.stringify(n));
+ if (n.type && n.type.toLowerCase() == 'snmp') {
+ this.endpointTableTitle[3].show = false;
+ this.endpointTableTitle[4].show = false;
+ } else {
+ this.endpointTableTitle[3].show = true;
+ this.endpointTableTitle[4].show = true;
+ }
}
}
},
@@ -648,6 +656,9 @@