fix: 修复问题:app-risk筛选、实体下拉预览地图、实体下拉npm值

This commit is contained in:
chenjinsong
2022-02-26 23:45:38 +08:00
parent 5a2cc50ccf
commit c85e747b5d
9 changed files with 27 additions and 23 deletions

View File

@@ -171,7 +171,7 @@
:chart-info="chart"
:chart-data="chartData"
:entity="entityCopy"
:query-params="getQueryParams"
:query-params="queryParams"
:hide-header="true"
@getCurrentTimeRange="getCurrentTimeRange"
></chart>
@@ -281,7 +281,7 @@ export default {
}
},
watch: {
'entityData.appName': {
entityData: {
immediate: true,
deep: true,
handler (n) {
@@ -290,6 +290,7 @@ export default {
this.singleValues.chartDatas.splice(1, 1, this.$_.get(n, 'httpResponseLatency'))
this.singleValues.chartDatas.splice(2, 1, this.$_.get(n, 'sslConLatency'))
this.singleValues.chartDatas.splice(3, 1, this.$_.get(n, 'sequenceGapLossPercent'))
this.singleValues.chartDatas.splice(4, 1, this.$_.get(n, 'pktRetransPercent'))
this.$nextTick(() => {
this.getRelatedServerDataOne(this.relatedServerDomainUrl)
this.getRelatedServerDataTow(this.relatedServerIpUrl)
@@ -299,6 +300,7 @@ export default {
}
},
mounted () {
this.queryParams = this.getQueryParams()
this.$nextTick(() => {
setTimeout(() => {
this.chartGetMap()

View File

@@ -179,7 +179,7 @@
:chart-info="chart"
:chart-data="chartData"
:entity="entityCopy"
:query-params="getQueryParams"
:query-params="queryParams"
:hide-header="true"
@getCurrentTimeRange="getCurrentTimeRange"
></chart>
@@ -288,7 +288,7 @@ export default {
}
},
watch: {
'entityData.domainName': {
entityData: {
immediate: true,
deep: true,
handler (n) {
@@ -307,6 +307,7 @@ export default {
}
},
mounted () {
this.queryParams = this.getQueryParams()
this.$nextTick(() => {
setTimeout(() => {
this.chartGetMap()

View File

@@ -163,7 +163,7 @@
:chart-info="chart"
:chart-data="chartData"
:entity="entityCopy"
:query-params="getQueryParams"
:query-params="queryParams"
:hide-header="true"
@getCurrentTimeRange="getCurrentTimeRange"
></chart>
@@ -275,7 +275,7 @@ export default {
}
},
watch: {
'entityData.ipAddr': {
entityData: {
deep: true,
handler (n) {
if (n) {
@@ -293,6 +293,7 @@ export default {
}
},
mounted () {
this.queryParams = this.getQueryParams()
this.$nextTick(() => {
setTimeout(() => {
this.chartGetMap()

View File

@@ -23,7 +23,8 @@ export default {
chartOption: null,
sentChart: null,
receivedChart: null
}
},
queryParams: {}
}
},
computed: {