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

@@ -512,7 +512,7 @@
this.dataList.push({
id: -10,
panelId: 0,
title: this.$t("dashboard.panel.chartForm.statistics"),
title: this.$t("alert.config.chart.affectEntity"),
span: 4,
height: 350,
type: "alertRuleInfo",
@@ -1425,7 +1425,7 @@
if (response.code == 200) {
response.data && function () {
if (response.data.project && response.data.project.length > 0) {
detail.push({title: vm.$t("project.project.project"), data: convert(response.data.project)});
detail.push({title: vm.$t("overall.entity"), data: convert(response.data.project)});
}
/*if (response.data.module && response.data.module.length > 0) {
detail.push({title: vm.$t("project.module.module"), data: convert(response.data.module)});