CN-333 feat : Dashboard--dns 实时告警信息图表开发 以及CN-332的一些样式修改

This commit is contained in:
zhangxiaolong
2022-03-07 09:41:11 +08:00
28 changed files with 671 additions and 1103 deletions

View File

@@ -16,6 +16,7 @@
:chart-data="chartData"
:query-params="queryParams"
:entity="entity"
@query="query"
@showLoading="showLoading"
></chart-map>
@@ -79,7 +80,7 @@
></chart-ip-open-port-bar>
<chart-table
v-else-if="isTable && isCurrentTable"
v-else-if="isTable && isBasicTable"
:chart-info="chartInfo"
:chart-data="chartData"
:table="table"
@@ -245,7 +246,7 @@ import {
isEchartsLine,
isSingleValue,
isTable,
isCurrentTable,
isBasicTable,
isActiveIpTable,
isTitle,
isMap,
@@ -371,6 +372,9 @@ export default {
`chart${this.chartInfo.id}`
)
},
query (params) {
this.$emit('query', params)
}
},
watch: {
chartData: {
@@ -401,7 +405,7 @@ export default {
),
isRelationShip: isRelationShip(props.chartInfo.type),
isTable: isTable(props.chartInfo.type),
isCurrentTable: isCurrentTable(props.chartInfo.type),
isBasicTable: isBasicTable(props.chartInfo.type),
isActiveIpTable: isActiveIpTable(props.chartInfo.type),
isMap: isMap(props.chartInfo.type),
isTitle: isTitle(props.chartInfo.type),