fix: 修复数个bug

1.asset-account exporter项在编辑时不可见;
2.asset cli下拉选择项中去掉snmp;
3.alert-rule 文字标题更改;
4.修复endpoint-query时会自己弹出chartbox的问题;
5.优化了asset-box代码逻辑
This commit is contained in:
chenjinsong
2020-07-06 19:49:04 +08:00
parent c8beabe69a
commit 09a50ffc60
9 changed files with 81 additions and 72 deletions

View File

@@ -85,8 +85,7 @@
oldUChecked:[],
}
},
created(){
this.queryIdcInfos();
mounted(){
},
methods:{
toggleDropdown:function(){
@@ -366,11 +365,8 @@
}
}
},
mounted() {
},
computed:{
inputShowInfo:function(){
console.log(this.selectedData)
let idcName=this.selectedData.idc?this.selectedData.idc.name+'/':'';
let cabinetName=this.selectedData.cabinet?this.selectedData.cabinet.name+'/':'';
@@ -395,6 +391,13 @@
handler(n,o){
this.$emit('change',n);
}
},
idcOption: {
deep: true,
immediate: true,
handler(n, o) {
this.queryIdcInfos();
}
}
}
}