feat: module侧滑新增、修改增加snmp类型

This commit is contained in:
陈劲松
2020-04-01 21:21:42 +08:00
parent 052de1f8ff
commit 1b1c31b73f
6 changed files with 342 additions and 31 deletions

View File

@@ -292,7 +292,23 @@
port: '',
path: '',
param: '',
paramObj: []
type: '',
paramObj: [],
//snmp setting 下划线命名是因为业务需求
walk: [],
walkStr: '', //转为string的walk用于回显
version: 2, //2/3
max_repetitions: 25,
retries: 3,
timeout: 10, //s
community: 'public',
username: '',
security_level: 'noAuthNoPriv', //noAuthNoPriv/authNoPriv/authPriv
password: '',
auth_protocol: 'MD5', //MD5/SHA
priv_protocol: 'DES', //DES/AES
priv_password: '',
context_name: ''
};
} else if (item.type == 3) {
this.$refs.addEndpointBox.show(true);